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


Message #58 received at 7787 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Juri Linkov <juri <at> linkov.net>
Cc: Perry Wagle <wagle <at> mac.com>, 7787 <at> debbugs.gnu.org
Subject: Re: bug#7787: 23.2; wrong meaning for mouse-2 while in search mode
Date: Wed, 12 Aug 2020 14:50:32 -0700
Juri Linkov <juri <at> linkov.net> writes:

> Stefan, could you please help to reproduce the issue.
> What are the necessary steps?

Sorry for not following up on this sooner.

  0. emacs -Q
  1. M-: (setq mouse-yank-at-point t) RET
  2. double click any word to mark it
  3. C-s
  4. mouse-2 [with cursor still over the original window, not in
     minibuffer]

> I see that the existing implementation of isearch-mouse-2
> allows yanking the selection when clicked in the echo area,
> but when clicked in the buffer it goes into infinite recursion,
> because isearch-mouse-2 calls itself again.

This is what I see as well, on current master.

Using 26.3, it yanks the text at point in the original buffer.

> Should it yank the selection when clicked in the buffer too?

That was the requested behaviour AFAIU, yes.

Best regards,
Stefan Kangas




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

Previous Next


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