[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: my search/paste idiom not supported in emacs
From: |
Peter Dyballa |
Subject: |
Re: my search/paste idiom not supported in emacs |
Date: |
Thu, 30 Dec 2010 11:01:35 +0100 |
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.
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.
--
Greetings
Pete
Ce qui été compris n'existe plus.
(Paul Eluard)