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

Am 07.06.2013 11:19, schrieb daniel:
> 2013/6/7 Andreas Röhler <andreas.roehler@easy-emacs.de>
>
>>  From a first entry call your Build-function.
>> When created, pass it to the mode-map, i.e. redefine mode-map. Reload
>> mode. Extended menu should appear.
>> And so on.
>> Below an example how to create a menu entry from a single known command in
>> python-mode.el.
>>
>
> I saw your code in devel/python-mode-util.el which is not loaded by default
> in python-mode.

That's for developing purposes only. It stores helper functions once used. Not certain it's useful again.

Don't know how to execute it! Can you give more details?
>

Some commands there generate menu resp. parts of it, based on exiting commands.

BTW not quite sure what you need.
IIUC you are looking for a listing of directories in menu, right?


generation so it is much faster. Anyway, I wish to know!
>





  reply	other threads:[~2013-06-07 10:13 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 [this message]
2013-06-07 10:26       ` daniel
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=51B1B22C.80903@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=idnael@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).