]> git.eshelyaron.com Git - emacs.git/commit
New faster Imenu implementation.
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Fri, 19 Apr 2013 02:31:09 +0000 (23:31 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Fri, 19 Apr 2013 02:31:09 +0000 (23:31 -0300)
commitadc3121366c4cc6d90b0122036bdfb0eb6308e3f
tree502e58d0fa27c68dd1afa0f380b26c3f864dfb4c
parent7e00831f518cf4c9ca505ec3e8767bf0787766b4
New faster Imenu implementation.

* lisp/progmodes/python.el:
(python-imenu-prev-index-position):
(python-imenu-format-item-label-function)
(python-imenu-format-parent-item-label-function)
(python-imenu-format-parent-item-jump-label-function):
New vars.
(python-imenu-format-item-label)
(python-imenu-format-parent-item-label)
(python-imenu-format-parent-item-jump-label)
(python-imenu--put-parent, python-imenu--build-tree)
(python-imenu-create-index, python-imenu-create-flat-index)
(python-util-popn): New functions.
(python-mode): Set imenu-create-index-function to
python-imenu-create-index.

* test/automated/python-tests.el (python-imenu-prev-index-position-1):
Removed test.
(python-imenu-create-index-1, python-imenu-create-flat-index-1):
New tests.

Fixes: debbugs:14058
lisp/ChangeLog
lisp/progmodes/python.el
test/ChangeLog
test/automated/python-tests.el