From: Chong Yidong <cyd@stupidchicken.com>
To: herring@lanl.gov
Cc: emacs-devel@gnu.org
Subject: Re: Reading char choices
Date: Sat, 08 Jan 2011 14:35:13 -0500 [thread overview]
Message-ID: <874o9jmbny.fsf@stupidchicken.com> (raw)
In-Reply-To: <45079.130.55.118.19.1294420600.squirrel@webmail.lanl.gov> (Davis Herring's message of "Fri, 7 Jan 2011 09:16:40 -0800 (PST)")
"Davis Herring" <herring@lanl.gov> 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.
prev parent reply other threads:[~2011-01-08 19:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-07 16:14 Reading char choices Chong Yidong
2011-01-07 17:16 ` Davis Herring
2011-01-08 19:35 ` Chong Yidong [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=874o9jmbny.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=herring@lanl.gov \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).