From: philipk@posteo.net (Philip K.)
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: emacs-devel@gnu.org
Subject: Re: Xref Fallback
Date: Tue, 11 Aug 2020 20:19:17 +0200 [thread overview]
Message-ID: <87a6z159lm.fsf@posteo.net> (raw)
In-Reply-To: <6288a8d5-1891-7382-0404-422821f6a37f@yandex.ru> (message from Dmitry Gutov on Mon, 10 Aug 2020 22:01:34 +0300)
Dmitry Gutov <dgutov@yandex.ru> writes:
>> What I would want to know, is if there have been discussion on this
>> issue, what the status is, and if not what would have to be done. I can
>> imagine, that falling back onto the next backend isn't always desirable
>> (especially if etags is next, and it demands a TAGS file that doesn't
>> exist).
>
> How would you feel about creating an xref backend that would implement
> the fallback logic? It would basically only do the combining, without
> having any navigation logic of its own.
>
> This way users could include it in the xref-backend-functions to enable
> fallback mechanics. The said combinator backend could also hardcode some
> particular backends to skip.
This sounds interesting, I'll try to get something like this
working. Would this be merged into Xref, or should it be a separate package?
next prev parent reply other threads:[~2020-08-11 18:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-10 17:10 Xref Fallback Philip K.
2020-08-10 19:01 ` Dmitry Gutov
2020-08-11 18:19 ` Philip K. [this message]
2020-08-11 18:51 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a6z159lm.fsf@posteo.net \
--to=philipk@posteo.net \
--cc=dgutov@yandex.ru \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.