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: Stefan Monnier
Subject: Re: `y-or-n-p' does not wait for input - assumes `n'
Date: Tue, 25 Jan 2005 08:20:23 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

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

As Luc mentioned, it's probably not that simple.

> 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.

The problem is normally shifted elsewhere: make sure you don't put bindings
like that on a down-mouse-N key but on a mouse-N key instead.

In the case of a command in a menu, the menu entry is always selected by the
mouse-up part of a click, which also avoids the problem.


        Stefan




reply via email to

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