help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non-ASCII characters Key binding (emacs 21.4)


From: Pascal Bourguignon
Subject: Re: Non-ASCII characters Key binding (emacs 21.4)
Date: Wed, 19 Oct 2005 03:47:54 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Mounir AITTAHAR <mounir.aittahar@fri.fr> writes:

> Mounir AITTAHAR wrote:
>> This problem occurs when emacs is launched in X11 mode (console mode works)
>
> In true console mode, yes.
>
> Even in Xterm-mode it doenst work, and this is more serious :
>   * typing "é" produces "M-i" !
>   * "C-xxx" doesn'nt work too...
>
> I'm feeling lost...

Not surprizing, if you change random variables.

In a terminal, the input is much more basic.  You have only a stream
of 8-bit codes.  The terminal can be configured to send ESC c when you
type Meta-C, or to send c|0x80.  Unfortunately, if you use another
encoding than ASCII, codes with the high order bit set are used (to
encode non ASCII characters).

So if  you want to  be able to  distinguish an ISO-8859-1 é  from M-i,
you'll have to configure the terminal to send ESC i for M-i instead of
'i'|0x80.  And of course, configure emacs accordingly.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/


reply via email to

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