Public bug reported:

Binary package hint: python-mode
python mode no longer auto loads on emacs21 with gutsy.

Looks like the /etc/emacs/site-start.d/50python-mode.el isn't quite
right, I suspect it got broke while fixing 155681.

By my eye, the entire file should be executed when emacs21 is used, but
the form of the if statement only executes the first line. The rest of
the file is executed on emacs22/emacs20 which does not seem to be the
intent. I fixed it by wrapping the bulk of the file in a progn block.

(if (not (or (eq (symbol-name debian-emacs-flavor) "emacs20")
             (eq (symbol-name debian-emacs-flavor) "emacs22")))
  (progn
     (autoload 'python-mode "python-mode" "Python editing mode." t)
[..]

The execution of the bulk of this file as an else block is probbably
related to 155681, but the fix from there is needed too, the eq should
be string=.

** Affects: python-mode (Ubuntu)
     Importance: Undecided
         Status: New

-- 
python-mode does not autoload on emacs21
https://bugs.launchpad.net/bugs/159432
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to