GNU bug report logs - #28658
27.0.50; [PATCH] double/triple clicking in xterm-mouse-mode doesn't respect mouse position

Previous Next

Package: emacs;

Reported by: Alex <agrambot <at> gmail.com>

Date: Sat, 30 Sep 2017 22:07:02 UTC

Severity: normal

Tags: patch

Found in version 27.0.50

Done: Alex <agrambot <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alex <agrambot <at> gmail.com>
Cc: 28658 <at> debbugs.gnu.org
Subject: bug#28658: 27.0.50; [PATCH] double/triple clicking in xterm-mouse-mode doesn't respect mouse position
Date: Sun, 08 Oct 2017 10:42:20 +0300
> From: Alex <agrambot <at> gmail.com>
> Cc: 28658 <at> debbugs.gnu.org
> Date: Sat, 07 Oct 2017 15:57:04 -0600
> 
> > I don't know why the units are 1/8th of a character, perhaps so that a
> > user could set the same value for both GUI and TTY frames.  In any
> > case, dividing the value of double-click-fuzz by 8 before comparing
> > with coordinate differences is easy enough, no?
> 
> Yes, I was just confused about the units, but that makes sense. Though
> in my GTK Emacs, (frame-char-width) returns 9 instead of 8 for me...

Yes, the 8 thing cannot be anything but an approximation.

> Anyway, here's the patch:

LGTM, thanks.  Please mention the bug number in the log message when
you push (to the emacs-26 branch).




This bug report was last modified 7 years and 221 days ago.

Previous Next


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