unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dmitry@gutov.dev>
To: Evan Moses <evan@emoses.org>, 65831@debbugs.gnu.org
Subject: bug#65831: 29.1; Mouse click on xref buffer doesn't go to reference
Date: Tue, 12 Sep 2023 01:40:58 +0300	[thread overview]
Message-ID: <f2ee5406-1c62-6e88-7627-5b209b47adbd@gutov.dev> (raw)
In-Reply-To: <5f61138f-8da6-4f02-8499-1968a49ec1ed@app.fastmail.com>

Hi Evan,

On 08/09/2023 22:21, Evan Moses wrote:
> This appears to be because [mouse-1] and [mouse-2] are bound to
> xref-goto-ref, which calls (xref--item-at-point) to find the current
> item; however, at least in my (fairly complex) environment, the point
> isn't first moved to where the mouse was clicked and xref can't find any
> item at the point where it was previously.

That sounds like a problem, but could you try to find out first what 
makes your environment different? Perhaps it's better to have fixed 
there, or perhaps it's using some existing Emacs feature that we could 
fix ourselves too.

As it is, though, [mouse-1] seems to function okay in the scenario you 
described (non-selected window) when I try it with 'emacs -Q' or my own 
config.





      parent reply	other threads:[~2023-09-11 22:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-08 19:21 bug#65831: 29.1; Mouse click on xref buffer doesn't go to reference Evan Moses
2023-09-08 19:29 ` bug#65830: " Evan Moses
2023-09-09  6:11   ` Eli Zaretskii
2023-09-11 22:40 ` Dmitry Gutov [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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=f2ee5406-1c62-6e88-7627-5b209b47adbd@gutov.dev \
    --to=dmitry@gutov.dev \
    --cc=65831@debbugs.gnu.org \
    --cc=evan@emoses.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).