emacs-pretest-bug
[Top][All Lists]
Advanced

[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: Richard Stallman
Subject: Re: `y-or-n-p' does not wait for input - assumes `n'
Date: Mon, 24 Jan 2005 20:04:18 -0500

    If you set use-dialog-box to nil and then select "Foo Bar" _with the mouse_,
    "Please answer y or n.  foo: (y or n)" appears in the echo area.
    The "foo: (y or n)" _was_ asked (which you can see by looking at the
    *Messages* buffer), but the mouse click got apparently treated as an
    (invalid) answer to the first "foo: (y or n)" question.

It sounds like the down-event invoked the command,
and the up-event tried to answer the question.

I agree that is a bug.  The up-event really ought to get ignored in
such a case.  However, I don't see what criterion to use to
distinguish these cases from other cases where the up-event should not
be ignored.

Any ideas?




reply via email to

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