[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C-<digit> key bindings not working on console
From: |
Thorsten Jolitz |
Subject: |
Re: C-<digit> key bindings not working on console |
Date: |
Mon, 27 Jan 2014 10:18:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> One would be tempted to think that if Emacs knows how to deal with C-
>> and M- and S- as modifiers alone or in some combinations it should be
>> able to deal with them always.
>
> The byte sequences used for various key-combos in a text-terminal have
> evolved in an "organic" way over the years, starting from plain ASCII
> (which already includes 32 "key combined with CTRL") but without ever
> someone coming and saying "OK, let's scrap this mess and use a regular
> encoding".
So the 'organic mess' is itself a bit complicated, and not only hard to
understand.
> IOW, C-M-v is not sent as "the encoding of CTRL plus the encoding of
> META plus the encoding of `v'", so there's no natural generalization for
> C-M-V.
I see, explains some surprising behaviour
> And of course, it's not even clear whether C-M-V should be the same as
> C-M-S-v or C-M-v (Emacs decided C-M-V is the same as C-M-v, which are
> different from C-M-S-v). After all, it's not clear if ASCII code
> 1 should be considered as C-a or C-A or both (Emacs considers C-a is
> equal to C-A, which is different from C-S-a).
How can you produce C-M-V without typing C-M-S-v (at least on a German
QWERTZ keyboard its the only way I can see)?
--
cheers,
Thorsten