From: Dmitry Gutov <dgutov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: xref-query-replace
Date: Sat, 9 Jan 2016 23:46:21 +0300 [thread overview]
Message-ID: <5691719D.4030308@yandex.ru> (raw)
In-Reply-To: <83poxamqpb.fsf@gnu.org>
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.
next prev parent reply other threads:[~2016-01-09 20:46 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-09 15:28 xref-query-replace Eli Zaretskii
2016-01-09 15:50 ` xref-query-replace Dmitry Gutov
2016-01-09 16:36 ` xref-query-replace Eli Zaretskii
2016-01-09 16:48 ` xref-query-replace Dmitry Gutov
2016-01-09 17:08 ` xref-query-replace Eli Zaretskii
2016-01-09 20:05 ` xref-query-replace Dmitry Gutov
2016-01-09 20:10 ` xref-query-replace Eli Zaretskii
2016-01-09 20:22 ` xref-query-replace Dmitry Gutov
2016-01-09 20:27 ` xref-query-replace Eli Zaretskii
2016-01-09 20:35 ` xref-query-replace Dmitry Gutov
2016-01-09 20:40 ` xref-query-replace Eli Zaretskii
2016-01-09 20:46 ` Dmitry Gutov [this message]
2016-01-10 3:32 ` xref-query-replace Eli Zaretskii
2016-01-10 3:54 ` xref-query-replace Dmitry Gutov
2016-01-10 15:52 ` xref-query-replace Eli Zaretskii
2016-01-10 16:02 ` xref-query-replace Dmitry Gutov
2016-01-19 0:11 ` xref-query-replace John Wiegley
2016-01-19 0:19 ` xref-query-replace Dmitry Gutov
2016-01-19 0:28 ` xref-query-replace John Wiegley
2016-01-19 0:35 ` xref-query-replace Dmitry Gutov
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=5691719D.4030308@yandex.ru \
--to=dgutov@yandex.ru \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.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).