emacs-devel
[Top][All Lists]
Advanced

[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: Tue, 27 Mar 2007 20:57:29 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

>     I guess "only ever use one and only one encoding".  E.g. don't mix
>     latin-1 and latin-9.
> Do you mean don't mix encodings in .emacs?

No.  Not just in .emacs.

> 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,
...

>> Can you avoid this by specifying the coding-system explicitly in .emacs?
>> We could recommend that users do so.

>     Yes, with -*- coding -*-.  It should also work correctly as long as
>     they *don't* specify the encoding via elisp code in their .emacs (with
>     calls to set-language-environment, for example).

> That sounds like a practical recommendation.
> Can you (or someone) write it up for the Emacs manual, then ack?

I have no idea where to put such a thing.


        Stefan




reply via email to

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