From: David Reitter <dr@davids-welt.de>
Cc: yamaoka@jpl.org
Subject: Re: echo area message after selection of menu-bar item
Date: Thu, 22 Dec 2005 15:12:46 +0000 [thread overview]
Message-ID: <84D4880B-E081-47BD-8326-16561B2120DD@davids-welt.de> (raw)
> t may perhaps be the show-help-function variable, though it
> defaults to tooltip-show-help-function or tooltip-show-help
> which won't echo such a message. Does this help?
Nope, doesn't make a difference.
But Drew's suggestion to bind `echo-keystrokes' to nil helps.
Interestingly, the following menu item shows the problematic echo
message. When I bind `echo-keystrokes' to nil, I get the "One-Buffer-
One-Frame-Mode dis/enabled" message which is output by what menu-bar-
make-mm-toggle produces. So it seems like the keystroke echo message
even overwrites the previous (much better) message.
The menu item I'm talking about is defined like this:
(define-key-after menu-bar-options-menu [oneonone]
(menu-bar-make-mm-toggle
one-buffer-one-frame-mode
"Display Buffers in Separate Frames"
"Open a new Frame (window) for each new buffer."
(:visible (boundp 'one-buffer-one-frame-mode)))
'edit-options-separator)
Other entries, e.g., save-place, behave differently. Here, the "en/
disabled" message appears after the keystrokes echo. This one is
defined with `menu-bar-make-toggle' (in menu-bar.el) rather than with
the minor-mode version.
Note that the minibuffer must be empty to reproduce this (see use of
Vecho_keystrokes in the code).
Of course, the echo-keystrokes solution can't be the final word for me.
Echo-keystrokes is meant to be for unfinished keyboard commands. The
menu item selection is a finished command, however.
Does it behave like this in other ports (I'm a Mac guy) as well?
Sounds almost like a bug in either the Carbon port or even in the
general implementation.
next reply other threads:[~2005-12-22 15:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-22 15:12 David Reitter [this message]
[not found] <mailman.20062.1135180909.20277.help-gnu-emacs@gnu.org>
2005-12-22 0:47 ` echo area message after selection of menu-bar item Katsumi Yamaoka
-- strict thread matches above, loose matches on Subject: below --
2005-12-21 14:50 David Reitter
2005-12-21 18:02 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84D4880B-E081-47BD-8326-16561B2120DD@davids-welt.de \
--to=dr@davids-welt.de \
--cc=yamaoka@jpl.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 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.