From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18996: 24.4; Pressing Alt-g shows Esc g- when running emacs inside terminal and in GUI mode it shows M-g Date: Sat, 05 Mar 2016 20:52:14 +0200 Message-ID: <83y49wwye9.fsf@gnu.org> References: <545DD62F.3000106@gmail.com> <87vb50ztae.fsf@mbork.pl> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1457204012 24106 80.91.229.3 (5 Mar 2016 18:53:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2016 18:53:32 +0000 (UTC) Cc: 18996@debbugs.gnu.org, lgp171188@gmail.com To: Marcin Borkowski Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 05 19:53:17 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1acHKB-0002Jo-IN for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Mar 2016 19:53:11 +0100 Original-Received: from localhost ([::1]:47709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acHKB-0005By-08 for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Mar 2016 13:53:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acHK7-0005Bh-Ie for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 13:53:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acHK2-0003xv-Pt for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 13:53:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acHK2-0003xf-Mk for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 13:53:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1acHK2-0003O0-Hy for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 13:53:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Mar 2016 18:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18996 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18996-submit@debbugs.gnu.org id=B18996.145720394912975 (code B ref 18996); Sat, 05 Mar 2016 18:53:02 +0000 Original-Received: (at 18996) by debbugs.gnu.org; 5 Mar 2016 18:52:29 +0000 Original-Received: from localhost ([127.0.0.1]:35788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acHJU-0003ND-Mx for submit@debbugs.gnu.org; Sat, 05 Mar 2016 13:52:28 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:32993) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acHJT-0003Mz-00 for 18996@debbugs.gnu.org; Sat, 05 Mar 2016 13:52:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acHJJ-0003sg-8J for 18996@debbugs.gnu.org; Sat, 05 Mar 2016 13:52:21 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acHJJ-0003sc-53; Sat, 05 Mar 2016 13:52:17 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2021 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1acHJI-0007J3-8I; Sat, 05 Mar 2016 13:52:16 -0500 In-reply-to: <87vb50ztae.fsf@mbork.pl> (message from Marcin Borkowski on Sat, 05 Mar 2016 19:14:17 +0100) 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114461 Archived-At: > From: Marcin Borkowski > Date: Sat, 05 Mar 2016 19:14:17 +0100 > Cc: 18996@debbugs.gnu.org > > > When I press Alt-g as part of executing the shortcut M-g g, when running > > emacs within the terminal using the -nw flag, it shows up in the > > minibuffer as "Esc g-". But when I run the same in the GUI Emacs, it > > shows up as "M-g". This can be misleading and confusing to users who do > > not know Esc and Meta keys are equivalent. > > Confirmed on GNU Emacs 25.1.50.6 (commit ac9a931). > > > Further, when I press Alt-x, it shows up as M-x in both the > > scenarios. So it doesn't look like Emacs cannot differentiate between > > the two when running inside the terminal without a GUI. > > This is not true: M-x is bound (by default) to > `execute-extended-command', which calls `read-extended-command', which > has at one point the literal string "M-x ", which is fed (via > a `concat', which shows prefix arguments, if any) directly to > `completing-read'. > > > I vaguely remember seeing M-g in the terminal on pressing Alt-g some > > time back, maybe in an older emacs version. But not sure. > > No idea, though I doubt. > > All in all, I'll assign this a "wishlist" level - I agree with the OP > that it would be nice to have this solved To have what solved? If you type "C-h l" after M-x, what do you see?