From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24596: 25.1; `f10' behavior Date: Thu, 06 Oct 2016 21:49:39 +0300 Message-ID: <83h98pjosc.fsf@gnu.org> References: <<>> <<<838tu5pg0x.fsf@gnu.org>>> <> <<834m4tpcsb.fsf@gnu.org>> <21fda037-417c-487b-b918-c6a5da1ff622@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1475779835 22624 195.159.176.226 (6 Oct 2016 18:50:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2016 18:50:35 +0000 (UTC) Cc: 24596-done@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 06 20:50:30 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsDkC-0003JB-TJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2016 20:50:13 +0200 Original-Received: from localhost ([::1]:58860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsDkB-00014L-Jn for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2016 14:50:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsDk4-00013e-My for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2016 14:50:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsDk2-0000Yk-LE for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2016 14:50:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsDk2-0000Yc-IL for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2016 14:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bsDk2-0000NJ-Cz for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2016 14:50:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2016 18:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 24596 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 24596@debbugs.gnu.org, eliz@gnu.org, drew.adams@oracle.com Original-Received: via spool by 24596-done@debbugs.gnu.org id=D24596.14757798011426 (code D ref 24596); Thu, 06 Oct 2016 18:50:02 +0000 Original-Received: (at 24596-done) by debbugs.gnu.org; 6 Oct 2016 18:50:01 +0000 Original-Received: from localhost ([127.0.0.1]:46864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsDk1-0000Mv-1m for submit@debbugs.gnu.org; Thu, 06 Oct 2016 14:50:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bsDjz-0000Mf-RD for 24596-done@debbugs.gnu.org; Thu, 06 Oct 2016 14:50:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsDjr-0000Uv-EF for 24596-done@debbugs.gnu.org; Thu, 06 Oct 2016 14:49:54 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59383) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsDjr-0000Ur-BB; Thu, 06 Oct 2016 14:49:51 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4256 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bsDjn-00057p-OT; Thu, 06 Oct 2016 14:49:50 -0400 In-reply-to: <21fda037-417c-487b-b918-c6a5da1ff622@default> (message from Drew Adams on Mon, 3 Oct 2016 10:45:19 -0700 (PDT)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:124128 Archived-At: > Date: Mon, 3 Oct 2016 10:45:19 -0700 (PDT) > From: Drew Adams > Cc: 24596@debbugs.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've now done that, and I'm marking this bug done. Thanks.