[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Allow xref to use other than current major-mode
From: |
Eli Zaretskii |
Subject: |
Re: Allow xref to use other than current major-mode |
Date: |
Tue, 25 Aug 2015 18:23:20 +0300 |
> From: Dmitry Gutov <address@hidden>
> Date: Tue, 25 Aug 2015 14:48:34 +0300
>
> > There are similar use cases; from a LaTeX document buffer, looking at the
> > description of an Ada function, find the Ada code that defines that
> > function. Or from a text mode notes file, look for a definition in any
> > one of several languages.
>
> All similar cases can be solved by a project-aware xref backend that
> knows about all languages used, and allows navigating to identifiers in
> all of them.
It would be nice to have that capability without the need to create a
project. E.g., how about adding to Emacs a few back-ends that support
widely used combinations of languages, like C and Lisp in our case?