all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Drew Adams <drew.adams@oracle.com>
Cc: 24596@debbugs.gnu.org
Subject: bug#24596: 25.1; `f10' behavior
Date: Mon, 3 Oct 2016 10:45:19 -0700 (PDT)	[thread overview]
Message-ID: <21fda037-417c-487b-b918-c6a5da1ff622@default> (raw)
In-Reply-To: <<834m4tpcsb.fsf@gnu.org>>

> > > ESC ESC works for me on MS-Windows GUI frames.
> >
> > For me, with emacs -Q, a single ESC cancels.  A second ESC acts as
> > a prefix key for the next key sequence.
> 
> Sorry, I omitted a crucial detail: the number of ESC presses needed to
> exit the menu depends on whether you already dropped a menu or not.
> That is, if you press F10, then the down-arrow, to drop the File menu,
> you need 2 ESC: the first will pop down the menu, the second will exit
> the menu bar.  But if you just press F10, or only type right-arrow or
> left-arrow after that, i.e. there's no menu dropped down, then just
> one ESC is enough.

Got it.  Can the doc please say this?  I tried ESC ESC ESC with just
f10, and I thought that the behavior was not as described.

> > > ESC ESC ESC and C-g
> > > work for me on TTY frames.  C-g doesn't work on a GUI frame because
> > > the menu is controlled by Windows, not by Emacs, and Windows doesn't
> > > know about C-g.  IOW, this is a limitation we can do very little
> > > about.
> >
> > OK.  Then the fix is to fix the doc, which says something quite
> > different from what the behavior really is.
> 
> I can only add a note there saying that with some toolkits the exact
> keys to exit the menu might be different.  Any better ideas?

That will help.  Thx.  Is the ESC behavior as you described above?  If
so then it would help to mention it, I think.

I guess you are also saying that C-g is supported for at least some
toolkits.

> > The part about `C-g' and `ESC ESC ESC' is wrong, for Windows.  And if
> > `C-g' is Emacs only and `menu-bar-open' passes the behavior off to a
> > toolkit, then perhaps `C-g' is also incorrect for other toolkits/window
> > managers?
> 
> I guess so, but I don't really know and have no way if verifying
> that.  Help is welcome.

Hopefully someone with another platform/toolkit will help here.





       reply	other threads:[~2016-10-03 17:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<<ef8ce118-4fc8-4bc1-9606-468839196ffb@default>
     [not found] ` <<<838tu5pg0x.fsf@gnu.org>
     [not found]   ` <<c37596f6-47bc-4624-b948-c938c87bc74e@default>
     [not found]     ` <<834m4tpcsb.fsf@gnu.org>
2016-10-03 17:45       ` Drew Adams [this message]
2016-10-03 18:14         ` bug#24596: 25.1; `f10' behavior Eli Zaretskii
2016-10-06 18:49         ` Eli Zaretskii
     [not found] <<ef8ce118-4fc8-4bc1-9606-468839196ffb@default>
     [not found] ` <<838tu5pg0x.fsf@gnu.org>
2016-10-03 16:33   ` Drew Adams
2016-10-03 17:23     ` Eli Zaretskii
2016-10-03 15:41 Drew Adams
2016-10-03 16:13 ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21fda037-417c-487b-b918-c6a5da1ff622@default \
    --to=drew.adams@oracle.com \
    --cc=24596@debbugs.gnu.org \
    --cc=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 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.