[Top][All Lists]

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

Re: global-set-key [? \ M-ö]

From: Kai Großjohann
Subject: Re: global-set-key [? \ M-ö]
Date: Wed, 28 May 2003 18:51:03 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

"Eli Zaretskii" <address@hidden> writes:

> IIRC, there's more here than meets the eye.  Binding non-ASCII keys in
> a .emacs requires that (a) Emacs reads the key correctly from the init
> file and converts it to the internal representation that the user
> meant, and (b) that keyboard decoding produces a code that matches
> what was read from the init file.  It could be a bit tricky to satisfy
> both in a given language environment, since .emacs files generally
> don't have coding cookies.

I've changed the Emacs manual to advise people to put coding cookies
into the .emacs file.  WDYT?

(I notice that I forgot to also tell them to save .emacs with the
right encoding.  Excuse me while I fix this...)

> Also, if I'm not mistaken, non-ASCII keys with modifiers are very
> hard to express unless you go unibyte.

I don't have such a kbd.  Doesn't (kbd "C-M-ß"), say, work, if the
.emacs encoding and the kbd encoding match?

This line is not blank.

reply via email to

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