GNU bug report logs - #7787
23.2; wrong meaning for mouse-2 while in search mode

Previous Next

Package: emacs;

Reported by: Perry Wagle <wagle <at> mac.com>

Date: Wed, 5 Jan 2011 06:54:01 UTC

Severity: minor

Tags: confirmed, moreinfo

Found in versions 26.3, 23.2, 28.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: Juri Linkov <juri <at> linkov.net>, Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "7787 <at> debbugs.gnu.org" <7787 <at> debbugs.gnu.org>, Perry Wagle <wagle <at> mac.com>, Stefan Kangas <stefan <at> marxist.se>
Subject: bug#7787: 23.2; wrong meaning for mouse-2 while in search mode
Date: Thu, 21 Apr 2022 18:14:52 +0000
Caveat: I'm not following this thread.
___

I'll just mention that in `isearch+.el' I redefine
`isearch-mouse-2' (bound to `mouse-2' in Isearch)
so that it respects option `isearchp-mouse-2-flag':

 If `isearchp-mouse-2-flag' is non-nil, yank the X selection.
 If `isearchp-mouse-2-flag' is nil, yank it only if the
 `mouse-2' click is in the echo area.  Otherwise, invoke
 whatever `mouse-2' is bound to outside of Isearch.

I think this handles OP's use case (yanks selection to
Isearch string), but I could be wrong.





This bug report was last modified 3 years and 81 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.