From: Lennart Borgman <lennart.borgman@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Rob Giardina <rgiar@yahoo.com>, emacs-devel@gnu.org
Subject: Re: read-char doesn't use input-decode-map
Date: Sun, 3 Jan 2010 02:59:27 +0100 [thread overview]
Message-ID: <e01d8a51001021759u5daa7469m31d461ab8126c7f6@mail.gmail.com> (raw)
In-Reply-To: <jwv8wcjzwnt.fsf-monnier+emacs@gnu.org>
On Thu, Dec 31, 2009 at 3:51 AM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>
> Most uses of reac-char should be replaced by read-key instead.
Then it is perhaps the time to use the prompt face for read-key too?
It is a bit confusing now. I suggest something like:
(progn
(use-global-map read-key-empty-map)
(message (concat (apply 'propertize prompt (member 'face
minibuffer-prompt-properties))
(propertize " " 'face 'cursor)))
(aref (catch 'read-key (read-key-sequence-vector nil nil t)) 0))
next prev parent reply other threads:[~2010-01-03 1:59 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
2009-12-31 2:51 ` Stefan Monnier
2010-01-03 1:59 ` Lennart Borgman [this message]
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=e01d8a51001021759u5daa7469m31d461ab8126c7f6@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=rgiar@yahoo.com \
/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.