[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#35376: 26.2; (emacs) `Xref Commands' - no mention of `mouse-1'
From: |
Lars Ingebrigtsen |
Subject: |
bug#35376: 26.2; (emacs) `Xref Commands' - no mention of `mouse-1' |
Date: |
Tue, 31 Aug 2021 04:50:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Dmitry Gutov <dgutov@yandex.ru> writes:
>> The mouse bindings are a bit confusing:
>> (defvar xref--button-map
>> (let ((map (make-sparse-keymap)))
>> (define-key map [mouse-1] #'xref-goto-xref)
>> (define-key map [mouse-2] #'xref--mouse-2)
>> map))
>> Why is the command called xref--mouse-2? That's a very
>> non-descriptive
>> command name.
>
> It's been that way from the beginning. You can rename it, I think, if
> you have a better name in mind.
Now renamed and updated the documentation to mention mouse-1 and
mouse-2.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#35376: 26.2; (emacs) `Xref Commands' - no mention of `mouse-1',
Lars Ingebrigtsen <=