unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: More imenu questions
Date: Fri, 11 Nov 2005 09:04:01 -0800	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICCEKHCOAA.drew.adams@oracle.com> (raw)
In-Reply-To: <1131727394.648824.142840@g43g2000cwa.googlegroups.com>

    I wish someone would tell me I'm wrong but imenu doesn't support any
    kind of heirarchy.  You're getting a "Section" menu that contains a
    bunch of "setup" entries without any indication of which subtest it
    belongs to right?

    AFAIK, the best you can do is to specify () or nil for the menu names
    and include the testcase/subtest/section keyword in your match group.
    Obviously, then, you can't use any sorting on the imenu index because
    it's only the position in the list that gives you an idea of what
    groups your entities belong to.

    I've been trying to find time to enhance imenu myself because I have
    several modes that need hierarchy support but it's just not happening.
    If someone else has done something I'll be downloading it right away
    but I've not seen anything.

I haven't been following this thread, so I'm not sure what you mean by
"hierarchy". If you're looking for how to make an imenu menu with submenus,
you might look at library `imenu+.el' for an example:
http://www.emacswiki.org/cgi-bin/wiki/imenu%2b.el.

HTH,

  Drew

  reply	other threads:[~2005-11-11 17:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-10 19:23 More imenu questions gamename
2005-11-10 21:11 ` Peter Dyballa
2005-11-10 22:00 ` Kevin Rodgers
2005-11-10 23:55 ` rgb
     [not found] ` <mailman.14783.1131660316.20277.help-gnu-emacs@gnu.org>
2005-11-11  0:15   ` rgb
     [not found] ` <mailman.14778.1131657088.20277.help-gnu-emacs@gnu.org>
2005-11-11  1:57   ` gamename
2005-11-11 16:43     ` rgb
2005-11-11 17:04       ` Drew Adams [this message]
2005-11-11 23:58       ` Donal K. Fellows
2005-11-14 22:24         ` Bruce Stephens
2005-11-12 17:20       ` gamename

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=DNEMKBNJBGPAOPIJOOICCEKHCOAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.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).