emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: xref-query-replace


From: Dmitry Gutov
Subject: Re: xref-query-replace
Date: Sat, 9 Jan 2016 23:46:21 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Thunderbird/43.0

On 01/09/2016 11:40 PM, Eli Zaretskii wrote:

I don't really understand why.

If you have a set of matches for a C++ method A::C#foo, what value should xref-match-length return for each of them? Can you tell that value in advance, just based on the method's qualified name?

But if you insist, the only way to
explain this is to explicitly mention all the commands that produce
"good" XREF buffers in the error message.  Yes, it will be a long
one.  But that's not a catastrophe.

Technically, this list is an open one: anyone can call xref--show-xrefs with a list of appropriate values. This function, or one like it, should be public in some next release.

If we define a collective term for such xref functions, we could mention it in their docstrings.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]