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

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

Re: Cannot remap umlaut keys


From: Reiner Steib
Subject: Re: Cannot remap umlaut keys
Date: Fri, 07 Nov 2003 22:02:06 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

On Fri, Nov 07 2003, Stefan Monnier wrote:

>    (local-set-key [ö] "{")
>
> This might not always work, tho.  If it doesn't, then maybe your
> locale is not set properly.  The problem is that the .emacs file
> should be in the same coding-system as your keyboard (and the
> keyboard's coding system under X is determined by your locale).

In Emacs 21.3, with LC_CTYPE=en_US.ISO_8859-1, I tested this:

,----[ ~/.emacs (complete, nothing else) ]
| (global-set-key [2276] 'test2276) ; ä
| (global-set-key [ö]    'testoe) ; ö
| (global-set-key [252]  'test252) ; ü
`----

Result:

ä -> Symbol's function definition is void: test2276
ö -> ö (i.e. self-insert-command)
ü -> ü (i.e. self-insert-command)

Bye, Reiner.

Followup-To: gnu.emacs.help; Andreas, I doesn't make much sense to
post in English to a German speaking newsgroup (additionally, in
d.c.e, you should tag Emacs questions with "[Emacs]").
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/


reply via email to

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