|
From: | Dmitry Gutov |
Subject: | Re: UI inconveniences with M-. |
Date: | Tue, 5 May 2015 00:34:08 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 |
On 05/04/2015 04:41 PM, Vitalie Spinu wrote:
At each moment of time there is only one active "set" which you can change with `xref-rotate-level`. The user then can customize levels of backends: xref-backend-level-1 . (xref-default-mode-backend) xref-backend-level-2 . (xref-etags elisp-xref) xref-backend-level-3 . .... A set corresponding to level N would automatically include all backends from the lower levels. In the above example, if you set the level to 2 xref will merge default-backend, etags and elisp-xref.
I'd rather not concern myself with this kind of complexity. However, if you're fine with merge logic simply concatenating the results (and it will be hard to do better), this shouldn't be hard to implement on top of the basic one-backend-at-a-time xref system, in a minor mode.
[Prev in Thread] | Current Thread | [Next in Thread] |