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

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

Cannot remap umlaut keys


From: Andreas Voegele
Subject: Cannot remap umlaut keys
Date: Fri, 07 Nov 2003 18:08:07 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

I used to remap the umlaut keys in CC Mode but the following key
bindings no longer work when Emacs 21.3.1 is run under X.  The
bindings work if Emacs is started on the Linux console though.

(add-hook 'c-mode-common-hook
 '(lambda ()
    (local-set-key [?\366] "{")    ; ö -> {
    (local-set-key [?\344] "}")    ; ä -> }
    (local-set-key [?\326] "[")    ; Ö -> [
    (local-set-key [?\304] "]")    ; Ä -> ]
    (local-set-key [?\337] "\\"))) ; ß -> \

Is there another way to remap the umlaut keys that works under X and
on the Linux console?


reply via email to

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