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(#<buffer lws> "~/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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs