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


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

From: Alex <agrambot <at> gmail.com>
To: 28658 <at> debbugs.gnu.org
Subject: Re: bug#28658: 27.0.50;
 [PATCH] double/triple clicking in xterm-mouse-mode doesn't respect
 mouse position
Date: Sat, 30 Sep 2017 21:56:58 -0600
[Message part 1 (text/plain, inline)]
I also found another issue, but it doesn't really warrant a new report.
If you double click right after entering xterm-mouse-mode, then you'll
see:

xterm-mouse-translate-1: Wrong type argument: number-or-marker-p, nil

This is because click-count isn't set to 1 when `xterm-mouse-last-click'
is first set in `xterm-mouse-event'.

Here's a patch:

[0001-Set-xterm-click-count-to-1-even-with-no-last-click.patch (text/x-diff, attachment)]
[Message part 3 (text/plain, inline)]
P.S. Why is the error prefixed by `xterm-mouse-translate-1' instead of
`xterm-mouse-event'?

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

Previous Next


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