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

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

Re: I-search: Clicking in minibuf during I-search fails.


From: Juri Linkov
Subject: Re: I-search: Clicking in minibuf during I-search fails.
Date: Wed, 24 Oct 2007 02:52:54 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>     It doesn't read the mouse button release event (mouse-1), so the mouse
>     release happens in the minibuffer after read-from-minibuffer activates it.
>
> I see.
>
> It could detect that e is a down-event and reads the next event too,
> then unreads both after.  Does that approach work?

It works, but there are still problems.  The recorded event has the
position of the beginning of the echo area, so after unreading this
event of clicking the button in the echo area, it puts point to the
beginning of the minibuffer before the prompt.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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