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


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

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Nils Berg <nilsb <at> google.com>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 23288 <at> debbugs.gnu.org
Subject: Re: bug#23288: 25.0.92; Clicking on links inserts primary X selection
Date: Wed, 11 May 2016 13:01:55 +0000
[Message part 1 (text/plain, inline)]
There was a small bug in the patch. I've attached a new version that
hopefully fixes that.

Nils Berg <nilsb <at> google.com> schrieb am Mi., 11. Mai 2016 um 10:32 Uhr:

> Still no dice, sorry.  I just tried the patched version with the original
> example:
> echo -n bar | xsel -i && \
>   emacs -Q -eval \
>   "(insert (propertize \"foo\" 'follow-link (lambda (pos) \"a\")))"
>
> Now when I click foo nothing happens in the buffer, but there's an error
> message:
> Function mouse--down-1-maybe-follows-link returns invalid key sequence
>
> I can't think of a reason why though :(
>
> M-x version: GNU Emacs 25.0.93.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.8)
>
> On Wed, May 11, 2016 at 10:14 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
>> > From: Philipp Stephani <p.stephani2 <at> gmail.com>
>> > Date: Tue, 10 May 2016 21:25:47 +0000
>> > Cc: 23288 <at> debbugs.gnu.org
>> >
>> >  Agreed. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=17887 might
>> also be related.
>> >
>> > I've attached a new patch that should hopefully correct the behavior.
>>
>> Thanks.  If no one objects in a week, please push to the master
>> branch.
>>
>
>
[Message part 2 (text/html, inline)]
[0001-Fix-handling-of-mouse-on-link-p.patch (text/x-patch, 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.