unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: daniel <idnael@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: create large menu on the fly
Date: Fri, 7 Jun 2013 11:26:59 +0100	[thread overview]
Message-ID: <CABX3oxYwX8aKUhnG1cWhD+65s2u4OW2FQUBiVNsKT6wTCuR9yA@mail.gmail.com> (raw)
In-Reply-To: <51B1B22C.80903@easy-emacs.de>

2013/6/7 Andreas Röhler <andreas.roehler@easy-emacs.de>

> BTW not quite sure what you need.
> IIUC you are looking for a listing of directories in menu, right?
>
>
That was just an example. What I wish is to populate the menu when it is
activated.

That would also be useful when you don't know in advance what will be
displayed in the menu... like a context menu! Suppose you want a submenu in
python-mode called "navigate to method" which shows menu itens for all the
methods in the current file.

As Stefan told, that is not possible as is in Emacs.


  reply	other threads:[~2013-06-07 10:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-06 21:36 create large menu on the fly daniel
2013-06-07  1:05 ` Stefan Monnier
2013-06-07  5:50 ` Andreas Röhler
2013-06-07  9:19   ` daniel
2013-06-07 10:13     ` Andreas Röhler
2013-06-07 10:26       ` daniel [this message]
2013-06-07 10:57         ` Andreas Röhler
2013-06-07 11:26           ` daniel
2013-06-07 11:59             ` Andreas Röhler
2013-06-07 16:54 ` Michael Heerdegen

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=CABX3oxYwX8aKUhnG1cWhD+65s2u4OW2FQUBiVNsKT6wTCuR9yA@mail.gmail.com \
    --to=idnael@gmail.com \
    --cc=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@gnu.org \
    /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).