GNU bug report logs - #8725
23.2; imenu--split-menu should not deliver surprises

Previous Next

Package: emacs;

Reported by: dino chiesa <dpchiesa <at> hotmail.com>

Date: Tue, 24 May 2011 13:17:02 UTC

Severity: minor

Found in version 23.2

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Hui Liu <liuhui.zy <at> gmail.com>
Cc: 8725 <at> debbugs.gnu.org
Subject: bug#8725: imenu--split-menu should not deliver surprises
Date: Sat, 12 Apr 2014 16:03:50 -0400
> and the reason is Imenu put items with submenus at the top. Such
> behaviour may be reasonable for programming modes, but is clearly
> unnecessary for text modes.

Actually it doesn't have much to do with text-modes vs programming-modes
but with the way the menu is built.  E.g. the menu could look like

   Index
   |- ...
   Section 1
   Section 2
   Section 3

if org-mode provided an "Index" submenu, in which case it would make a lot
of sense to put it on top.  So a better option is to let the major
mode decide.


        Stefan




This bug report was last modified 11 years and 63 days ago.

Previous Next


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