all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 35376@debbugs.gnu.org
Subject: bug#35376: 26.2; (emacs) `Xref Commands' - no mention of `mouse-1'
Date: Tue, 31 Aug 2021 04:50:51 +0200	[thread overview]
Message-ID: <87sfyq499w.fsf@gnus.org> (raw)
In-Reply-To: <48497e67-9a11-66b5-e3f6-adc1c5d7cf51@yandex.ru> (Dmitry Gutov's message of "Tue, 30 Jul 2019 17:08:04 +0300")

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





      parent reply	other threads:[~2021-08-31  2:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-22 12:49 bug#35376: 26.2; (emacs) `Xref Commands' - no mention of `mouse-1' Drew Adams
2019-07-09 14:13 ` Lars Ingebrigtsen
2019-07-30 14:08   ` Dmitry Gutov
2019-07-31 18:47     ` Lars Ingebrigtsen
2019-12-23 16:28       ` Dmitry Gutov
2021-08-31  2:50     ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sfyq499w.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=35376@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.