[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: read-char doesn't use input-decode-map
From: |
Lennart Borgman |
Subject: |
Re: read-char doesn't use input-decode-map |
Date: |
Sun, 3 Jan 2010 02:59:27 +0100 |
On Thu, Dec 31, 2009 at 3:51 AM, Stefan Monnier
<address@hidden> 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))
- Re: read-char doesn't use input-decode-map,
Lennart Borgman <=