[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: catching keyboard-quit from read-char
From: |
Noam Postavsky |
Subject: |
Re: catching keyboard-quit from read-char |
Date: |
Fri, 27 Jul 2018 21:13:44 -0400 |
On 27 July 2018 at 13:15, Eric Abrahamsen <address@hidden> wrote:
>> Other possibilities are read-multiple-choice (currently uses
>> read-char, but maybe should be changed to read-event, see Bug#32257),
>> read-answer (uses read-from-minibuffer + keymap) which is new in
>> master, but I plan to backport to emacs-26 soon (see Bug#31782).
>
> Thanks for this -- I hadn't seen read-answer yet. A bit of scratch
> buffer experimentation makes it look like they behave almost exactly the
> same way -- why do we have two?
read-answer can take both single character and full string input
depending on user preference.