[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug#435452: emacs22: `set-keyboard-coding-system' fails in non-X11 m
From: |
Stefan Monnier |
Subject: |
Re: Bug#435452: emacs22: `set-keyboard-coding-system' fails in non-X11 mode] |
Date: |
Fri, 31 Aug 2007 10:36:16 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
> Typing M-x yields the `ø' ("o slash") character instead of running
> `execute-extended-command'.
This is because your terminal sends the exact same byte sequence (in this
case it's actually a single byte) when you type M-x as when you type ø, so
Emacs has no way to distinguish the two: it chooses to interpret the byte as
ø here (which messes up the M-x case) and you could tell it to interpret it
as M-x (which would mess up the ø case).
>>> Checking the "Meta Sends Escape" box of the xterm in which I run Emacs
>>> 22 also fixes the problem, even with a non-C locale.
Indeed, that's the right solution because it tells your Terminal to use
different byte-sequences for the two different cases.
Stefan