[Top][All Lists]

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

Re: kbd vs read-key-sequence

From: Stefan Monnier
Subject: Re: kbd vs read-key-sequence
Date: Wed, 28 Mar 2007 15:52:57 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

>> Or do you mean only use one encoding for all the files you edit?
>     And not only that: also for keyboard-coding-system, locale-coding-system,
>     ...

> keyboard-coding-system says how your keyboard encodes characters.
> Of course you should not change that, unless you change your keyboard.

I didn't mean to change it, but to use the same coding system for it than
the one used for files etc...

> How is the encoding of files you edit relevant to this at all?

It has to match: the event is decoded with keyboard-coding-system whereas
the define-key statement is decoded via the .emacs file's coding system.

> How is locale-coding-system relevant to this at all?

IIRC in some circumstances Emacs uses it to decode keyboard input (IIRC
this is not the case any more in Emacs-22, but I wouldn't bet on it).


reply via email to

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