From: Rob Giardina <rgiar@yahoo.com>
To: emacs-devel@gnu.org
Subject: Re: read-char doesn't use input-decode-map
Date: Wed, 30 Dec 2009 19:56:14 +0000 (UTC) [thread overview]
Message-ID: <loom.20091230T203058-364@post.gmane.org> (raw)
In-Reply-To: jwveimcz50l.fsf-monnier+emacs@gnu.org
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:
> > I've noticed that read-char doesn't use input-decode-map.
>
> Indeed. And changing that can introduce bugs elsewhere.
> That's why Emacs-23.2 introduced read-key which obeys input-decode-map
> and friends (to the extent possible).
Wow, read-key is pretty wild. I didn't realize you could do that
with idle timers. Perhaps that's vanilla if you're used to
emacs' event handling :)
This apparently means that code like I attached has no way to
reliably translate all of a certain key into another key, at
least for existing code that uses read-char. For example,
y-or-n-p.
-Rob
next prev parent reply other threads:[~2009-12-30 19:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-30 17:44 read-char doesn't use input-decode-map Rob Giardina
2009-12-30 18:34 ` Stefan Monnier
2009-12-30 19:56 ` Rob Giardina [this message]
2009-12-31 2:51 ` Stefan Monnier
2010-01-03 1:59 ` Lennart Borgman
2010-01-04 2:18 ` Stefan Monnier
2010-01-04 2:31 ` Lennart Borgman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20091230T203058-364@post.gmane.org \
--to=rgiar@yahoo.com \
--cc=emacs-devel@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.