GNU bug report logs - #14058
24.3; which-func-mode / python-mode == crazy slow

Previous Next

Package: emacs;

Reported by: Dave Abrahams <dave <at> boostpro.com>

Date: Tue, 26 Mar 2013 14:54:02 UTC

Severity: normal

Fixed in version 24.3

Done: fgallina <at> gnu.org

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: fgallina <at> gnu.org
To: 14058 <at> debbugs.gnu.org
Subject: bug#14058: 24.3; which-func-mode / python-mode == crazy slow
Date: Fri, 05 Apr 2013 19:12:23 -0300
I can confirm this happens and that this is not python.el's
python-info-current-defun fault directly.

which-func-mode detects if a mode is elegible to use it by building the
imenu index. So the real issue here is how much python.el takes for
building it.

For now a simple workaround that avoids building the index at startup
when which-func-mode does the detection is to add 'python-mode to the
`which-func-modes' list. This way the `imenu-create-index-function' will
not be invoked.




This bug report was last modified 12 years and 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.