bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15560: 24.3.50; [patch] * imenu.el (imenu--generic-function): Don't


From: William Xu
Subject: bug#15560: 24.3.50; [patch] * imenu.el (imenu--generic-function): Don't generate index for comments area.
Date: Wed, 9 Oct 2013 17:21:08 +0800

2013/10/9 Drew Adams <address@hidden>

    > It is annoying when imenu generates index also for functions found
    > in comments area.

    Yes!  And no.  It depends what you want at the particular time.
    Sometimes you have multiple versions of a definition, with all
    but one commented out, and you *want* Imenu to present you with
    all of them, for easy navigation among them.

In the source codes i'm working with, there are very long change history at the
beginning of file.  So for me, imenu becomes almost useless.  I'm using imenu as
a function indexer, like those in modern IDEs, where they usually ignore
commentted defs.


-William


reply via email to

[Prev in Thread] Current Thread [Next in Thread]