[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Do we need to bind to both RET and <return> variants?
From: |
Stefan Monnier |
Subject: |
Re: Do we need to bind to both RET and <return> variants? |
Date: |
Wed, 23 Jan 2019 23:27:35 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> So for the Modifier + RET bindings, we need to define the Modifier +
> <return> bindings too, right?
Actually, for most modifiers <mod> + RET simply doesn't exist (in the
sense that the terminals will typically simply send the same byte
sequence as if you had typed RET).
And AFAIK for M-RET (which is also known as `ESC RET`) we do have
a corresponding remapping from M-return to M-RET, so you only need to
bind M-RET and not M-return.
If you find this messy, it's because it is.
Other messy details include the fact that M-RET is the same as `ESC
RET`, but M-left is not the same as `ESC left`.
If someone wants to straighten this out, it'd be great.
Stefan