[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generalizing find-definition
From: |
Stefan Monnier |
Subject: |
Re: Generalizing find-definition |
Date: |
Thu, 11 Dec 2014 22:05:56 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> If identifier is restricted to just the string, ada-mode needs a
> guarantee that xref-find-definitions will be called with current-buffer
> the same as the buffer containing the string, and point in the same
> place, so the backend can determine the file, line, column.
That's the idea behind using the value t as an "identifier at point".
It seems like a reasonable constraint on the use of
xref-find-definitions. But if you can think of a case where it might be
impractical to call xref-find-definitions from the right place, we could
use a marker instead of the value t.
Stefan
- Re: Generalizing find-definition, (continued)
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/11
- Re: Generalizing find-definition, Helmut Eller, 2014/12/11
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/11
- Re: Generalizing find-definition, Helmut Eller, 2014/12/11
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/11
- Re: Generalizing find-definition, Stephen Leake, 2014/12/11
- Re: Generalizing find-definition,
Stefan Monnier <=
- Re: Generalizing find-definition, Stephen Leake, 2014/12/12
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/12
- Re: Generalizing find-definition, Dmitry Gutov, 2014/12/13
- Re: Generalizing find-definition, Dmitry Gutov, 2014/12/12
- Re: Generalizing find-definition, Stephen Leake, 2014/12/10
- Re: Generalizing find-definition, Dmitry Gutov, 2014/12/10
- Re: Generalizing find-definition, Stephen Leake, 2014/12/10
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/10
- Re: Generalizing find-definition, Stephen Leake, 2014/12/11
- Re: Generalizing find-definition, Stefan Monnier, 2014/12/10