[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Xref Fallback
From: |
Philip K. |
Subject: |
Re: Xref Fallback |
Date: |
Tue, 11 Aug 2020 20:19:17 +0200 |
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?