GNU bug report logs -
#25784
25.2; mouse-1 binding in debbugs-gnu.el
Previous Next
Reported by: charles <at> aurox.ch (Charles A. Roelli)
Date: Sat, 18 Feb 2017 11:21:02 UTC
Severity: normal
Found in version 25.2
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 20 Feb 2017 09:16:26 +0100
with message-id <87d1eds2ed.fsf <at> detlef>
and subject line Re: bug#25784: 25.2; mouse-1 binding in debbugs-gnu.el
has caused the debbugs.gnu.org bug report #25784,
regarding 25.2; mouse-1 binding in debbugs-gnu.el
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
25784: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25784
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
`mouse-1' is bound in debbugs-gnu.el, which means that a nil value of
`mouse-1-click-follows-link' is not respected. The following patch is
needed:
--- debbugs-0.12/debbugs-gnu.el.~2~ 2017-02-17 17:54:15.000000000 +0100
+++ debbugs-0.12/debbugs-gnu.el 2017-02-18 12:07:56.000000000 +0100
@@ -909,7 +909,6 @@
(menu-map (make-sparse-keymap)))
(set-keymap-parent map tabulated-list-mode-map)
(define-key map "\r" 'debbugs-gnu-select-report)
- (define-key map [mouse-1] 'debbugs-gnu-select-report)
(define-key map [mouse-2] 'debbugs-gnu-select-report)
(define-key map "g" 'debbugs-gnu-rescan)
(define-key map "R" 'debbugs-gnu-show-all-blocking-reports)
@@ -1587,7 +1586,6 @@
(let ((map (make-sparse-keymap)))
(set-keymap-parent map tabulated-list-mode-map)
(define-key map "\r" 'debbugs-gnu-select-usertag)
- (define-key map [mouse-1] 'debbugs-gnu-select-usertag)
(define-key map [mouse-2] 'debbugs-gnu-select-usertag)
map))
There already was a ChangeLog entry to this effect in the past:
2012-12-23 Lars Ingebrigtsen <larsi <at> gnus.org>
Don't explicitly bind mouse-1.
As Michael Heerdegen <michael_heerdegen <at> web.de> says:
However, also binding mouse-1 is not necessary. Depending on the
setting of `mouse-1-click-follows-link', which is non-nil by default,
mouse-1 already follows links - see its doc. We should leave it up to
the user if he wants to use mouse-1 for following or not.
But the change does not seem to have been made, or maybe it was reverted
at some point.
[Message part 3 (message/rfc822, inline)]
charles <at> aurox.ch (Charles A. Roelli) writes:
Hi Charles,
>> This commit only changed debbugs-gnu-widget-map, not the other
>> occurrences.
>
> Thanks for pointing that out. The other occurrences should be changed
> too.
I've applied your patch, extended to the other occurences. debbugs
version is increased to 0.14, shall appear soon.
Thanks for your report, and best regards, Michael.
This bug report was last modified 8 years and 88 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.