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

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

Re: my search/paste idiom not supported in emacs


From: Perry Wagle
Subject: Re: my search/paste idiom not supported in emacs
Date: Thu, 30 Dec 2010 08:26:06 -0800

On Dec 30, 2010, at 2:01 AM, Peter Dyballa wrote:

> 
> Am 30.12.2010 um 01:39 schrieb Perry Wagle:
> 
>> For some reason, the middle mouse button *ABORTS* the search mode, and then 
>> pastes the word under the mouse.  Why would you want that?
> 
> 
> Because it's consistent with X11: <down-mouse-2> or <mouse-2> insert text.

No, you are inserting the saved text into the search mode prompt, which is 
being *aborted* to provide the current behavior.

> Consider changing isearch-mode-map to remap which has
> 
>    (define-key map [mouse-movement] nil)
>    ;; People expect to be able to paste with the mouse.
>    (define-key map [mouse-2] #'isearch-mouse-2)
>    (define-key map [down-mouse-2] nil)
> 
> and which is defined in isearch.el.

I will try that, thanks!

-- Perry





reply via email to

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