From: Thibaut Verron <thibaut.verron@gmail.com>
To: hw <hw@adminart.net>, help-gnu-emacs@gnu.org
Subject: Re: vterm and Meta?
Date: Tue, 1 Aug 2023 17:09:44 +0200 [thread overview]
Message-ID: <84a152e2-2332-9a18-3bd6-51b08ea4e6a1@gmail.com> (raw)
In-Reply-To: <c9db2daa19dfd8a6b4be84bf7bd1a30325e1754b.camel@adminart.net>
On 01/08/2023 16:21, hw wrote:
>
>> If not, Meta is usually bound to a modifier key (afaik by default the
>> one immediately left of the space bar, e.g. alt on PC keyboards), and
>> that works in vterm.
> Uhm, I've been using emacs for over 30 years and in all these years,
> the ESC key was always used for a meta key across all instances by
> default. It's the same when running emacs in a terminal, as an X11
> client or with wayland.
Yes, that is still the case. Alt is bound to Meta (as a modifier) on GUI
clients, and so is Esc (as a prefix).
> The key left of the space bar has always been the Alt key on all PC
> keyboards I've used so far. Pressing, for example, Alt-x, inserts x
> into the buffer (like into this buffer I'm writing this reply in, and
> into the vterm buffer).
>
> How is it that it's different for you?
I have no idea! It should be the default behavior, at least for GUI
Emacs: Meta (the emacs modifier) is bound to Alt (the modifier key), and
Alt is free to bind to another modifier. I would guess that either your
keyboard has an unconventional mapping, or your Emacs has an
unconventional setting.
How is it with emacs -q?
What key does C-h k Alt-x look up for you? M-x, A-x, or x?
Best wishes,
Thibaut
PS. I just tried it in a terminal and it also works there, I was not
expecting it. But it might depend on the capabilities of your terminal
emulator.
next prev parent reply other threads:[~2023-08-01 15:09 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-01 11:55 vterm and Meta? hw
2023-08-01 12:12 ` Thibaut Verron
2023-08-01 14:21 ` hw
2023-08-01 14:40 ` how to configure Meta key with wayland (was: vterm and Meta?) hw
2023-08-01 15:05 ` vterm and Meta? Spencer Baugh
2023-08-01 16:36 ` hw
2023-08-03 19:56 ` Spencer Baugh
2023-08-01 15:09 ` Thibaut Verron [this message]
2023-08-01 16:25 ` hw
2023-08-01 19:54 ` Thibaut Verron
2023-08-02 0:39 ` hw
2023-08-02 7:54 ` Thibaut Verron
2023-08-02 14:21 ` hw
2023-08-02 14:29 ` hw
2023-08-02 15:10 ` Yuri Khan
2023-08-03 14:02 ` hw
2023-08-03 19:46 ` tpeplt
2023-08-03 21:32 ` hw
2023-08-03 22:29 ` tpeplt
2023-08-04 20:08 ` hw
2023-08-04 21:20 ` PierGianLuca
2023-08-06 16:32 ` hw
2023-08-06 17:09 ` PierGianLuca
2023-08-06 17:39 ` Yuri Khan
2023-08-04 21:42 ` tpeplt
2023-08-06 19:41 ` hw
2023-08-06 19:54 ` Emanuel Berg
2023-08-02 15:05 ` Thibaut Verron
2023-08-03 13:50 ` hw
2023-08-01 19:01 ` Akib Azmain Turja
2023-08-02 0:45 ` hw
2023-08-02 9:02 ` Akib Azmain Turja
2023-08-02 18:01 ` Emanuel Berg
2023-08-03 14:15 ` hw
2023-08-03 18:49 ` Akib Azmain Turja
2023-08-04 20:30 ` hw
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=84a152e2-2332-9a18-3bd6-51b08ea4e6a1@gmail.com \
--to=thibaut.verron@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=hw@adminart.net \
/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.
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).