From: Eli Zaretskii <eliz@gnu.org>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: 18996@debbugs.gnu.org, lgp171188@gmail.com
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 [thread overview]
Message-ID: <83y49wwye9.fsf@gnu.org> (raw)
In-Reply-To: <87vb50ztae.fsf@mbork.pl> (message from Marcin Borkowski on Sat, 05 Mar 2016 19:14:17 +0100)
> From: Marcin Borkowski <mbork@mbork.pl>
> 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?
next prev parent reply other threads:[~2016-03-05 18:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-08 8:37 bug#18996: 24.4; Pressing Alt-g shows Esc g- when running emacs inside terminal and in GUI mode it shows M-g L. Guruprasad
2016-03-05 18:14 ` Marcin Borkowski
2016-03-05 18:52 ` Eli Zaretskii [this message]
2016-03-08 16:47 ` Marcin Borkowski
2016-03-08 17:10 ` Eli Zaretskii
2016-03-08 17:35 ` Eli Zaretskii
2016-03-09 6:01 ` Marcin Borkowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83y49wwye9.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=18996@debbugs.gnu.org \
--cc=lgp171188@gmail.com \
--cc=mbork@mbork.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).