GNU bug report logs - #23288
25.0.92; Clicking on links inserts primary X selection

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Thu, 14 Apr 2016 12:32:02 UTC

Severity: normal

Tags: confirmed

Merged with 22434

Found in versions 25.0.50, 25.0.92

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Nils Berg <nilsb <at> google.com>, 23288 <at> debbugs.gnu.org
Subject: bug#23288: 25.0.92; Clicking on links inserts primary X selection
Date: Sat, 16 Apr 2016 13:36:35 +0000
[Message part 1 (text/plain, inline)]
Nils Berg <nilsb <at> google.com> schrieb am Do., 14. Apr. 2016 um 19:18 Uhr:

> I've tracked down the bug to mouse--down-1-maybe-follows-link too, but
> don't think read-event is the culprit here.
>
> Rather, mouse--down-1-maybe-follows-link discards the result of
> mouse-on-link-p, which contains the event a click is supposed to be
> translated into. Instead, it just replaces the mouse event with mouse-2 if
> mouse-on-link-p returns non-nil.
>

I've attached a patch that should fix this. According to the documentation
of mouse-on-link-p no such translation should happen if the return value is
a string or vector.
[Message part 2 (text/html, inline)]
[0001-Fix-link-handling.patch (application/octet-stream, attachment)]

This bug report was last modified 9 years and 45 days ago.

Previous Next


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