bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47060: mouse-1-click-follows-link double broken by 3d5e31eceb9dc1fb6


From: Eli Zaretskii
Subject: bug#47060: mouse-1-click-follows-link double broken by 3d5e31eceb9dc1fb62b2b27bcab549df3bd04ce9
Date: Thu, 11 Mar 2021 17:55:00 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Thu, 11 Mar 2021 09:55:24 -0500
> Cc: 47060@debbugs.gnu.org
> 
> > Setting the variable mouse-1-click-follows-link to 'double was broken by
> > the commit 3d5e31eceb9dc1fb62b2b27bcab549df3bd04ce9 .
> 
> Indeed!  And since this code can be sometimes tricky to debug and tune,
> your report got me scared that I was going to have to rethink the way it
> works, but ... it was a silly mistake: I called `event-convert-list`
> with a list whose last element was not always a "basic" event,
> so we ended up comparing `down-double-mouse-1` and `double-down-mouse-1`
> and deciding these are different events.
> 
> The patch below should fix it.
> I think this patch should go to `emacs-27`.  Eli any objection?

No, please go ahead, and thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]