GNU bug report logs - #63651
possible eglot xref-find-references optimization

Previous Next

Package: emacs;

Reported by: Alan Donovan <adonovan <at> google.com>

Date: Mon, 22 May 2023 17:47:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Alan Donovan <adonovan <at> google.com>
To: João Távora <joaotavora <at> gmail.com>
Cc: 63651 <at> debbugs.gnu.org
Subject: bug#63651: possible eglot xref-find-references optimization
Date: Tue, 4 Jul 2023 09:55:57 -0400
Any progress? Were you able to observe the problem?

cheers
alan

On Wed, 24 May 2023 at 17:22, Alan Donovan <adonovan <at> google.com> wrote:
>
> On Wed, 24 May 2023 at 12:29, João Távora <joaotavora <at> gmail.com> wrote:
> > Thanks for reporting this Alan, it is an interesting point. (Next time you can add me on CC directly so that i don't miss the message in this list, which i don't always track closely)
>
> Will do.
>
> > Could you provide a test case where these ~= 1300 xref matches are produced? I suppose it is some Go repository? With a standard gopls? But which file/position and which command should one use?
>
> $ git clone https://github.com/golang/tools
> $ cd tools
> $ (cd gopls && go install)   # if you don't have it already
> $ emacs gopls/internal/lsp/cache/analysis.go
> Then search for fmt.Sprintf (e.g. on L246) and do xref-find-references
> on it. I get about 1300 matches.
>
> cheers
> alan




This bug report was last modified 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.