[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `y-or-n-p' does not wait for input - assumes `n'
From: |
Luc Teirlinck |
Subject: |
Re: `y-or-n-p' does not wait for input - assumes `n' |
Date: |
Mon, 24 Jan 2005 22:06:10 -0600 (CST) |
Drew Adams wrote:
I'm probably missing something, but shouldn't y-or-n-p insist on a
character `y' or `n' input event?
Yes, but you can enter any event you like as response to y-or-n-p. It
will be read. If it is not y, Y, n, N, <SPC>, <DEL>, C-] or C-g,
y-or-n-p will respond by asking the more emphatic form of the question.
Just do:
M-: (y-or-n-p "Event: ")
and then click the mouse somewhere on the Emacs frame.
How could a mouse event be used to answer the question?
Richard's quote said: "tried to answer the question".
Sincerely,
Luc.
- Re: `y-or-n-p' does not wait for input - assumes `n', (continued)
- Re: `y-or-n-p' does not wait for input - assumes `n', Stefan Monnier, 2005/01/27
- Re: `y-or-n-p' does not wait for input - assumes `n', Richard Stallman, 2005/01/28
- Re: `y-or-n-p' does not wait for input - assumes `n', Stefan Monnier, 2005/01/28
- RE: `y-or-n-p' does not wait for input - assumes `n', Drew Adams, 2005/01/28
- Re: `y-or-n-p' does not wait for input - assumes `n', Richard Stallman, 2005/01/28
- RE: `y-or-n-p' does not wait for input - assumes `n', Drew Adams, 2005/01/29
- Re: `y-or-n-p' does not wait for input - assumes `n', Luc Teirlinck, 2005/01/26
- RE: `y-or-n-p' does not wait for input - assumes `n', Drew Adams, 2005/01/24
- Re: `y-or-n-p' does not wait for input - assumes `n',
Luc Teirlinck <=
- RE: `y-or-n-p' does not wait for input - assumes `n', Drew Adams, 2005/01/24
- Re: `y-or-n-p' does not wait for input - assumes `n', Stefan Monnier, 2005/01/25
- Re: `y-or-n-p' does not wait for input - assumes `n', Richard Stallman, 2005/01/26
- Re: `y-or-n-p' does not wait for input - assumes `n', Luc Teirlinck, 2005/01/26
- Re: `y-or-n-p' does not wait for input - assumes `n', Richard Stallman, 2005/01/26
- Re: `y-or-n-p' does not wait for input - assumes `n', Luc Teirlinck, 2005/01/26
- Re: `y-or-n-p' does not wait for input - assumes `n', Richard Stallman, 2005/01/30
- Re: `y-or-n-p' does not wait for input - assumes `n', Stefan Monnier, 2005/01/26