* Disabled menu items disable HELP
@ 2006-02-08 17:18 Eli Zaretskii
2006-02-10 1:12 ` Richard M. Stallman
0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2006-02-08 17:18 UTC (permalink / 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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Disabled menu items disable HELP
2006-02-08 17:18 Disabled menu items disable HELP Eli Zaretskii
@ 2006-02-10 1:12 ` Richard M. Stallman
2006-02-10 7:48 ` Eli Zaretskii
2006-02-11 16:05 ` Eli Zaretskii
0 siblings, 2 replies; 4+ messages in thread
From: Richard M. Stallman @ 2006-02-10 1:12 UTC (permalink / raw)
Cc: emacs-devel
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.
That is exactly the solution I thought of, after I read the first half
of your message. C-h c and C-h k can bind that variable in their
interactive specs, around calling read-key-sequence.
Would you like to implement this?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Disabled menu items disable HELP
2006-02-10 1:12 ` Richard M. Stallman
@ 2006-02-10 7:48 ` Eli Zaretskii
2006-02-11 16:05 ` Eli Zaretskii
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2006-02-10 7:48 UTC (permalink / raw)
Cc: emacs-devel
> From: "Richard M. Stallman" <rms@gnu.org>
> CC: emacs-devel@gnu.org
> Date: Thu, 09 Feb 2006 20:12:16 -0500
>
> 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.
>
> That is exactly the solution I thought of, after I read the first half
> of your message. C-h c and C-h k can bind that variable in their
> interactive specs, around calling read-key-sequence.
>
> Would you like to implement this?
I will look into it.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Disabled menu items disable HELP
2006-02-10 1:12 ` Richard M. Stallman
2006-02-10 7:48 ` Eli Zaretskii
@ 2006-02-11 16:05 ` Eli Zaretskii
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2006-02-11 16:05 UTC (permalink / raw)
Cc: emacs-devel
> From: "Richard M. Stallman" <rms@gnu.org>
> CC: emacs-devel@gnu.org
> Date: Thu, 09 Feb 2006 20:12:16 -0500
>
> 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.
>
> That is exactly the solution I thought of, after I read the first half
> of your message. C-h c and C-h k can bind that variable in their
> interactive specs, around calling read-key-sequence.
>
> Would you like to implement this?
Done.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-02-11 16:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-08 17:18 Disabled menu items disable HELP Eli Zaretskii
2006-02-10 1:12 ` Richard M. Stallman
2006-02-10 7:48 ` Eli Zaretskii
2006-02-11 16:05 ` Eli Zaretskii
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.