From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: keyboard-translate does suddenly not work anymore
Date: Wed, 11 May 2005 10:14:36 -0400 [thread overview]
Message-ID: <87r7gd7t2u.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: 87psvydalu.fsf@ortler.iwr.uni-heidelberg.de
> until today the following translation from the German "Umlaut" ö to the
> bracket [ has worked fine in my .emacs:
> (keyboard-translate ?\366 ?\[)
> However, something has broken this (Maybe some software update, because I
> installed Motif today? Before this I have also reconfigured the X
I see you've found a better solution, but just for your information: ?\366
is not "ö". Recent Emacsen have improved the keyboard handling such that
the byte sequence coming in from the tty is more properly decoded into
a sequence of chars. So maybe your problem was that you should have
now used:
(keyboard-translate ?\ö ?\[)
of course, assuming the file in which the above expression is written uses
an appropriate encoding corresponding to the encoding used on your keyboard.
Admittedly, I can't remember in which order things like keyboard-translate
and keyboard decoding take place, so maybe I'm just wrong.
Stefan
prev parent reply other threads:[~2005-05-11 14:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-10 21:39 keyboard-translate does suddenly not work anymore Nicolas Neuss
2005-05-10 22:57 ` Peter Dyballa
[not found] ` <mailman.4521.1115766269.2819.help-gnu-emacs@gnu.org>
2005-05-11 5:41 ` Nicolas Neuss
2005-05-11 14:14 ` Stefan Monnier [this message]
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=87r7gd7t2u.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
/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).