GNU bug report logs -
#5582
23.1.92; Unnecessary headings in makefile-mode imenu
Previous Next
Full log
Message #8 received at 5582 <at> debbugs.gnu.org (full text, mbox):
> Severity: wishlist
> In makefile-mode, M-x imenu requires you to specify "Dependencies" or
> "Macro assignments" before you can type the name of the thing you want
> to jump to. I think that's unnecessary, since having a macro assignment
> with the same name as a dependency is very unusual. The patch below
> gives you a flat list instead:
> * progmodes/make-mode.el (makefile-imenu-generic-expression):
> Remove headings, turning the tree of targets into a flat list.
I agree with the goal, but I'm not sure this is the best way to
get there. IIUC, this is a fairly common situation where there are
several namespaces, hence with potential clashes, but in practice
clashes are rare. So, I think that the change should be made in imenu
itself to always accept an "unqualified" name and look for it in each of
the sublists.
Stefan
This bug report was last modified 15 years and 122 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.