unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Tom Browder <tom.browder@gmail.com>, help-gnu-emacs@gnu.org
Subject: RE: An imemu attempt: cannot sort list
Date: Wed, 27 Jul 2016 16:13:55 -0700 (PDT)	[thread overview]
Message-ID: <f79dc8a5-9a76-4497-82cf-1363c15df47a@default> (raw)
In-Reply-To: <CAFMGiz99kezLVo1QSibwR-ymC2tpH38sKapLtpD_jWaJW_PLNg@mail.gmail.com>

> I have a working solution (albeit rudimentary) to adding imenu support to
> my fork of "perl6-mode" at <github.com/tbrowder/perl6-mode>, but I can't
> get the two index subcategory lists to sort.
> 
> Could someone look at my solution (branch "my-branch") and suggest a fix
> for sorting the lists?

I haven't the got time to check your code, but you might want to
make use of `imenu+.el', which sorts submenus before splitting them, etc.
Maybe you'll have better luck with its code, which extends vanilla imenu.el.

https://www.emacswiki.org/emacs/imenu%2b.el

https://www.emacswiki.org/emacs/ImenuMode#ImenuPlus




  reply	other threads:[~2016-07-27 23:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-27 22:53 An imemu attempt: cannot sort list Tom Browder
2016-07-27 23:13 ` Drew Adams [this message]
2016-07-28 15:40   ` Tom Browder
2016-07-28 16:51     ` Drew Adams
2016-07-28 17:05       ` Tom Browder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f79dc8a5-9a76-4497-82cf-1363c15df47a@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tom.browder@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).