unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Andreas Voegele <voegelas@gmx.net>
Subject: Cannot remap umlaut keys
Date: Fri, 07 Nov 2003 18:08:07 +0100	[thread overview]
Message-ID: <878ymsf6o8.fsf@ID-28718.user.uni-berlin.de> (raw)

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	other threads:[~2003-11-07 17:08 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-07 17:08 Andreas Voegele [this message]
2003-11-07 18:21 ` Cannot remap umlaut keys Stefan Monnier
2003-11-07 19:57   ` Andreas Voegele
2003-11-10 16:17     ` Stefan Monnier
2003-11-12  8:12       ` Andreas Voegele
2003-11-12 13:53         ` Stefan Monnier
2003-11-14 13:11           ` Andreas Voegele
2003-11-14 17:23             ` Stefan Monnier
2003-11-07 21:02   ` Reiner Steib
2003-11-08  1:23     ` Andreas Voegele
2003-11-08 12:34       ` Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878ymsf6o8.fsf@ID-28718.user.uni-berlin.de \
    --to=voegelas@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).