GNU bug report logs -
#58158
29.0.50; [overlay] Interval tree iteration considered harmful
Previous Next
Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Date: Thu, 29 Sep 2022 05:30:02 UTC
Severity: normal
Found in version 29.0.50
Fixed in version 30.1
Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Tue, 11 Oct 2022 05:12:11 +0300
> Cc: gerd.moellmann <at> gmail.com, 58158 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
> From: Dmitry Gutov <dgutov <at> yandex.ru>
>
> What is a "subset of matches"?
Feel free to suggest a less vague description. The idea is that the
list in Xref buffer doesn't show all the references to the identifier,
making renaming infeasible.
> Perhaps we should make the error very specific, like "you can't replace
> inside xref-find-definitions results". Since that is going to be the
> exception in like 99.9% of the cases.
That'd be my preference, but what are those 0.1% of cases where the
Xref buffer produced by other commands could fit?
More generally, what exactly does xref.el test to produce the error
message, and how to describe that in user-level terms?
> It's possible for other backend commands (such as find-references) to
> return unsuitable xref values in third-party backends, or for other code
> to use xref-show-xrefs with such, but those will be really very rare, if
> happen at all.
You are saying that 'r' is only useful after M-?, is that right? The
manual says so, but the manual doesn't have to say "the whole truth".
The doc string should.
This bug report was last modified 1 year and 311 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.