From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski 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: Tue, 08 Mar 2016 17:47:48 +0100 Message-ID: <87mvq8ykzv.fsf@mbork.pl> References: <545DD62F.3000106@gmail.com> <87vb50ztae.fsf@mbork.pl> <83y49wwye9.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457455767 7071 80.91.229.3 (8 Mar 2016 16:49:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Mar 2016 16:49:27 +0000 (UTC) Cc: 18996@debbugs.gnu.org, lgp171188@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 08 17:49:14 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 1adKoo-0004Ob-U3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Mar 2016 17:49:11 +0100 Original-Received: from localhost ([::1]:35891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adKoo-0003VD-Ev for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Mar 2016 11:49:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adKoj-0003SB-6l for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 11:49:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adKog-0007SC-0V for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 11:49:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adKof-0007S0-Tz for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 11:49:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1adKof-000372-KP for bug-gnu-emacs@gnu.org; Tue, 08 Mar 2016 11:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Marcin Borkowski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Mar 2016 16:49:01 +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.145745568211893 (code B ref 18996); Tue, 08 Mar 2016 16:49:01 +0000 Original-Received: (at 18996) by debbugs.gnu.org; 8 Mar 2016 16:48:02 +0000 Original-Received: from localhost ([127.0.0.1]:39934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adKni-00035k-E7 for submit@debbugs.gnu.org; Tue, 08 Mar 2016 11:48:02 -0500 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:56615) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1adKng-00035L-QL for 18996@debbugs.gnu.org; Tue, 08 Mar 2016 11:48:01 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 820FC9E88CF; Tue, 8 Mar 2016 17:47:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M5T8Xx56Rtda; Tue, 8 Mar 2016 17:47:52 +0100 (CET) Original-Received: from localhost (unknown [IPv6:2001:808:114:6:a288:b4ff:fe90:5e24]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 65EE99E88CA; Tue, 8 Mar 2016 17:47:52 +0100 (CET) User-agent: mu4e 0.9.13; emacs 25.1.50.6 In-reply-to: <83y49wwye9.fsf@gnu.org> 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:114583 Archived-At: On 2016-03-05, at 19:52, Eli Zaretskii wrote: >> 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? AFAIU, OP wants to see "M-g-" and not "ESC g-" after pressing M-g in an Emacs session in a terminal. This looks reasonable to me, though definitely not a high priority. If it's not possible/desirable, it would be better to close this as "wontfix", but I do not know that. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University