[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: Ludovic Courtès
Subject: Re: Bug#435452: emacs22: `set-keyboard-coding-system' fails in non-X11 mode]
Date: Wed, 29 Aug 2007 22:05:47 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)


Sven Joachim <address@hidden> writes:

>>> Invoking `set-keyboard-coding-system' in an "emacs -nw" session fails.
>>> For instance, asking it `no-conversion' (which is needed so that dead
>>> keys work as expected) fails:
>>>   Unsupported coding system in Encoded-kbd mode: no-conversion
>> I don't understand why you have to set
>> keyboard-coding-system to no-conversion for dead keys.  Dead
>> keys must be handled by terminal, and Emacs just receives
>> the resulting character (encoded in your locale) from the
>> terminal.  So, setting keyboard-coding-system to what is
>> appropriate for your locale should work well, and that
>> should be done automatically.

Indeed, using "C" as my locale fixes the problem (I used to have

Strangely enough, Emacs 21.4.1 with "LC_CTYPE=fr_FR" doesn't have the
problem (i.e., dead keys are usable).

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.

I guess I'm just displaying my lack of familiarity with how terminals

>> What other choices were tried?  utf-8, latin-X should all
>> work.  What is your locale?

With a "C" locale, utf-8, latin-1, and others are accepted, whereas
`no-conversion' yields the above error message.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]