[Top][All Lists]

[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: Sat, 27 Oct 2007 01:43:48 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>     The beginning of the minibuffer is the wrong position to put point,
>     because the prompt is read-only, and to start editing the user needs to
>     move point to the editable area.  The right position is where the mouse
>     was clicked,
> Ok, now I understand you.  Indeed, that is the right position.
> So why does the event have the wrong position in it?

I guess this is because clicking mouse button with the code

(let ((cursor-in-echo-area t))

always returns an event where the buffer position is 1.

PS: I already suggested trying an alternative solution that gets rid of
using `read-event', and binds C-w to a new command in the minibuffer
for editing the search string.

Juri Linkov

reply via email to

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