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: Sat, 05 Mar 2016 19:14:17 +0100 Message-ID: <87vb50ztae.fsf@mbork.pl> References: <545DD62F.3000106@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1457201721 22764 80.91.229.3 (5 Mar 2016 18:15:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2016 18:15:21 +0000 (UTC) Cc: 18996@debbugs.gnu.org To: "L. Guruprasad" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 05 19:15:10 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 1acGjN-0008Ok-TR for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Mar 2016 19:15:10 +0100 Original-Received: from localhost ([::1]:47592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acGjN-00053e-8U for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Mar 2016 13:15:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acGjJ-00051v-Tc for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 13:15:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1acGjF-0003QV-UR for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 13:15:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1acGjF-0003QR-Rd for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 13:15:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1acGjF-0000bl-Ll for bug-gnu-emacs@gnu.org; Sat, 05 Mar 2016 13:15: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: Sat, 05 Mar 2016 18:15: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.14572016762288 (code B ref 18996); Sat, 05 Mar 2016 18:15:01 +0000 Original-Received: (at 18996) by debbugs.gnu.org; 5 Mar 2016 18:14:36 +0000 Original-Received: from localhost ([127.0.0.1]:35770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acGiq-0000aq-0W for submit@debbugs.gnu.org; Sat, 05 Mar 2016 13:14:36 -0500 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:38551) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1acGin-0000ah-M0 for 18996@debbugs.gnu.org; Sat, 05 Mar 2016 13:14:33 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 30C179D5CA5; Sat, 5 Mar 2016 19:14:33 +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 k5m6SLwUjqxE; Sat, 5 Mar 2016 19:14:18 +0100 (CET) Original-Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id DEC409D5CA2; Sat, 5 Mar 2016 19:14:17 +0100 (CET) In-Reply-To: <545DD62F.3000106@gmail.com> (L. Guruprasad's message of "Sat, 08 Nov 2014 14:07:03 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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:114457 Archived-At: On 2014-11-08, at 14:07, "L. Guruprasad" wrote: > Hi, > > 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, but I don't think this would really confuse anyone. (IMHO, if someone uses Emacs in a terminal, s?he probably is advanced enough to know that M-g and Esc g are equivalent.) -- Marcin Borkowski