[Bug 374797] Re: emacs does not depend on python-mode
The bug is definitely in pylint, but I'm leaving the bug task for emacs22 open still, since this might still require coordination or at least triage from the Emacs side. pylint's elisp code should definitely depend on python-mode in one way or another, or not relquire functionality which is not present in the "plain Jane" python-mode installed as part of the emacs22 package. -- emacs does not depend on python-mode https://bugs.launchpad.net/bugs/374797 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 374797] Re: emacs does not depend on python-mode
So basically pylint should depend on python-mode, but of course that would cause it to pull in Emacs when you install pylint. Hmm. How about adding that as a Suggests: at least? ** Changed in: emacs22 (Ubuntu) Status: Incomplete => New ** Also affects: pylint (Ubuntu) Importance: Undecided Status: New -- emacs does not depend on python-mode https://bugs.launchpad.net/bugs/374797 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 374797] Re: emacs does not depend on python-mode
Here is a recipe for reproduction, I believe. As the Debian bug suggests, the problem is really with pylint, which works with python- mode but not with emacs's built-in python.el. The function causing trouble is pylint-python-hook in /usr/share/emacs/site- lisp/pylint/pylint.el. (On Ubuntu 9.04) 1. Install emacs22-gtk and pylint. 2. $ emacs -q 3. C-x C-f /any/python/file.py RET Debugger entered--Lisp error: (void-variable py-mode-map) pylint-python-hook() run-hooks(python-mode-hook) apply(run-hooks python-mode-hook) run-mode-hooks(python-mode-hook) python-mode() set-auto-mode-0(python-mode nil) set-auto-mode() normal-mode(t) after-find-file(nil t) find-file-noselect-1(# "~/scripts/lws" nil nil "~/scripts/lws" (447726 2049)) find-file-noselect("~/scripts/lws" nil nil t) find-file("~/scripts/lws" t) call-interactively(find-file) -- emacs does not depend on python-mode https://bugs.launchpad.net/bugs/374797 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 374797] Re: emacs does not depend on python-mode
While the python-mode add-on may be desirable for Python programmers, Emacs is used by people who are not Python programmers or who for other reasons do not want or need the add-on. As per comments in Debian bug #475939 the reverse can be arranged, i.e. python-mode can coexist with emacs22, but that seems tangential to the error message you are reporting. However, I was unable to reproduce the error on a fresh install of 9.04 with emacs22-gtk. If you are able to reproduce the bug, could you M-: (setq debug-on-error t) before loading a ,py file for the first time, and post the resulting *Backtrace* buffer here. Also, could you please indicate whether the error is reproducible with emacs -q on your system. Thanks. I am setting the status of this bug to "Incomplete" to indicate that we need more information from you in order to investigate this bug report. Once the requested information is added here, feel free to set it back to "New". ** Changed in: emacs22 (Ubuntu) Status: New => Incomplete -- emacs does not depend on python-mode https://bugs.launchpad.net/bugs/374797 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs