From: Lars Ingebrigtsen <larsi@gnus.org>
To: Kevin Ryde <user42_kevin@yahoo.com.au>
Cc: 18442@debbugs.gnu.org
Subject: bug#18442: 24.3; easy-menu-define docstring of menu :label and :help
Date: Sat, 03 Aug 2019 20:32:41 +0200 [thread overview]
Message-ID: <877e7uf6ba.fsf@mouse.gnus.org> (raw)
In-Reply-To: <87oauoklo7.fsf@blah.blah> (Kevin Ryde's message of "Wed, 10 Sep 2014 16:57:12 +1000")
Kevin Ryde <user42_kevin@yahoo.com.au> writes:
> I see easy-menu-define accepts :label for the menu name, ie. the button
> which opens the menu or sub-menu. Eg. a top-level item changing on
> every redisplay,
>
> (easy-menu-define my-menu global-map "my menu docstring"
> '("MyTest"
> :label (format "MyTest-%d" (random 100))
> ["Foo" doctor t]))
>
> Is this a documented feature? It'd be good to describe it in the
> docstring. Perhaps something like below, with :help similarly too.
>
> 2014-09-09 Kevin Ryde <user42_kevin@yahoo.com.au>
>
> * emacs-lisp/easymenu.el (easy-menu-define): Docstring :label and
> :help of the menu itself.
Thanks; applied to Emacs 27.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2019-08-03 18:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-10 6:57 bug#18442: 24.3; easy-menu-define docstring of menu :label and :help Kevin Ryde
2019-08-03 18:32 ` Lars Ingebrigtsen [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877e7uf6ba.fsf@mouse.gnus.org \
--to=larsi@gnus.org \
--cc=18442@debbugs.gnu.org \
--cc=user42_kevin@yahoo.com.au \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.