GNU bug report logs -
#51561
29.0.50; overlay keymaps do not respect mouse-1 logic
Previous Next
Reported by: Lars Ingebrigtsen <larsi <at> gnus.org>
Date: Tue, 2 Nov 2021 02:41:02 UTC
Severity: normal
Tags: notabug
Found in version 29.0.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Putting follow-link in a keymap is supposed to make
mouse-1-click-follows-link do its thing.
(progn
(insert "hello")
(let ((o (make-overlay (- (point) 5) (point))))
(overlay-put o 'help-echo "Click to hide")
(overlay-put o 'keymap
(define-keymap
[follow-link] 'mouse-face
[mouse-2] (lambda () (interactive) (message "click"))))))
But it doesn't.
In GNU Emacs 29.0.50 (build 107, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
of 2021-10-31 built on elva
Repository revision: b75e79138cbafd804f83bcea96c0754f468a8075
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux bookworm/sid
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 201 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.