emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading char choices


From: Chong Yidong
Subject: Re: Reading char choices
Date: Sat, 08 Jan 2011 14:35:13 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

"Davis Herring" <address@hidden> writes:

> Couldn't we pass the prompt to read-event?  Also, how does this
> inhibit quitting out of the whole function?
> ...
> If I'm missing something and we really do inhibit quitting, surely
> this should be (unless inhibit-keyboard-quit ...).

Fixed, thanks.  Seems that dired-query, from which I factored out this
code, was a bit buggy.

>> ((setq done (memq char chars))))))
>
> So if it's not valid, we just ignore it.  Would we rather display a
> message (as for `y-or-n-p'), at least optionally?

That's fine if someone wants to implement it.  Currently, we don't do
this for the risky local variables prompt, nor for dired-query.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]