unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 44454@debbugs.gnu.org
Subject: bug#44454: 26.3; Enhancement request: let :help in menus take a FORM arg, i.e., be eval'd
Date: Mon, 09 Nov 2020 17:02:05 +0100	[thread overview]
Message-ID: <87v9eejz7m.fsf@gnus.org> (raw)
In-Reply-To: <93a9e82b-3799-492f-9632-dfe61db9a7dd@default> (Drew Adams's message of "Wed, 4 Nov 2020 13:34:17 -0800 (PST)")

Drew Adams <drew.adams@oracle.com> writes:

> Enhancement request:
>
> In extended menu items and the easy-menu stuff, the value of :help must
> be a literal string.  Consider perhaps letting it be a FORM, i.e., have
> it be evaluated, like :visible and :enable.
>
> It would be backward compatible.  If you use a sexp now the result is
> that you just don't get any help echo.

:visible and :enable have to allow forms as values.  What's the use case
for forms for :help elements?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2020-11-09 16:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-04 21:34 bug#44454: 26.3; Enhancement request: let :help in menus take a FORM arg, i.e., be eval'd Drew Adams
2020-11-09 16:02 ` Lars Ingebrigtsen [this message]
2020-11-09 16:26   ` Drew Adams
2020-11-10 13:57     ` Lars Ingebrigtsen
2020-11-10 17:27       ` Drew Adams

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=87v9eejz7m.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=44454@debbugs.gnu.org \
    --cc=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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).