unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Subject: Disabled menu items disable HELP
Date: Wed, 08 Feb 2006 19:18:46 +0200	[thread overview]
Message-ID: <uvevp4vm1.fsf@gnu.org> (raw)

There's a problem with our code that disables menu items if some
conditions for invoking the respective commands are not satisfied:
there's no way to get help for these menu items (e.g., with C-h c or
C-h k) as long as the menu item is disabled.

I'm not sure how best to solve this, but it looks to me like a serious
problem.  A user who wants to know what a menu item does should be
able to do that even if the command itself cannot be invoked.

Perhaps we should introduce a special variable that, when non-nil,
allows the disabled menu items to send their events to the input
queue.  HELP commands could then bind this variable.

             reply	other threads:[~2006-02-08 17:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-08 17:18 Eli Zaretskii [this message]
2006-02-10  1:12 ` Disabled menu items disable HELP Richard M. Stallman
2006-02-10  7:48   ` Eli Zaretskii
2006-02-11 16:05   ` Eli Zaretskii

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=uvevp4vm1.fsf@gnu.org \
    --to=eliz@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.
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).