From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#24596: 25.1; `f10' behavior Date: Mon, 3 Oct 2016 10:45:19 -0700 (PDT) Message-ID: <21fda037-417c-487b-b918-c6a5da1ff622@default> References: <<>> <<<838tu5pg0x.fsf@gnu.org>>> <> <<834m4tpcsb.fsf@gnu.org>> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1475516789 13596 195.159.176.226 (3 Oct 2016 17:46:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 3 Oct 2016 17:46:29 +0000 (UTC) Cc: 24596@debbugs.gnu.org To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 03 19:46:24 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 1br7Jg-0001v4-0l for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2016 19:46:16 +0200 Original-Received: from localhost ([::1]:38410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br7Je-0006Kl-IE for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Oct 2016 13:46:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br7JW-0006JD-8Y for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2016 13:46:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1br7JR-00036E-Ty for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2016 13:46:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37035) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1br7JR-000368-RU for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2016 13:46:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1br7JR-0007mJ-My for bug-gnu-emacs@gnu.org; Mon, 03 Oct 2016 13:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Oct 2016 17:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24596 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24596-submit@debbugs.gnu.org id=B24596.147551674129860 (code B ref 24596); Mon, 03 Oct 2016 17:46:01 +0000 Original-Received: (at 24596) by debbugs.gnu.org; 3 Oct 2016 17:45:41 +0000 Original-Received: from localhost ([127.0.0.1]:43225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1br7J7-0007lY-Bj for submit@debbugs.gnu.org; Mon, 03 Oct 2016 13:45:41 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:48152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1br7J5-0007lD-Ky for 24596@debbugs.gnu.org; Mon, 03 Oct 2016 13:45:40 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u93HjWGv003578 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 3 Oct 2016 17:45:32 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id u93HjVMH027236 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 3 Oct 2016 17:45:31 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u93HjP5d011625; Mon, 3 Oct 2016 17:45:31 GMT In-Reply-To: <<834m4tpcsb.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] 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:123968 Archived-At: > > > 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. >=20 > 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. >=20 > 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? >=20 > 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.