GNU bug report logs - #18268
24.3.92; Make imenu sort submenus also (fix included)

Previous Next

Package: emacs;

Reported by: carlosjosepita <at> gmail.com

Date: Thu, 14 Aug 2014 23:19:02 UTC

Severity: minor

Tags: patch

Found in version 24.3.92

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Carlos Pita <carlosjosepita <at> gmail.com>
To: 18268 <at> debbugs.gnu.org
Subject: bug#18268: 
Date: Thu, 14 Aug 2014 20:56:56 -0300
Besides that, I see no point in the keep-at-top behaviour of
imenu--split-menu, which pushes every submenu to the top of its parent
menu. The user is looking for a name in a list sorted according to
some required criterion. Splitting this list in two sorted lists in
virtue of a totally different criterion will only bring confusion.
It's ok to make this the default behaviour, in case the user isn't
interested in any particular ordering (that is, imenu-sort-function is
nil). But if a particular ordering is required, then it should be
honoured. Or, at least, an option should be provided to turn off
keep-at-top.

If you agree I will gladly provide a patch.

Regards
--
Carlos




This bug report was last modified 5 years and 333 days ago.

Previous Next


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