[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xref-find-references in elisp (Was: Re: grep-at-point)
From: |
Dmitry Gutov |
Subject: |
Re: xref-find-references in elisp (Was: Re: grep-at-point) |
Date: |
Thu, 12 Jan 2017 02:37:39 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Thunderbird/50.0 |
On 12.01.2017 02:24, Kaushal Modi wrote:
After calls to
xref-find-references, the value of semantic-symref-tool stays at 'detect.
That's because it creates a local binding for this variable before
detecting the tool. In order not to interfere with its other uses.
Only after I do M-: semantic-symref-detect-symref-tool, the value of
semantic-symref-tool changes to 'global (because I have GPATH file
generated in rootdir).
So global is not used at all by xref-find-references.
Try M-x debug-on-entry, maybe.
It was my mistake earlier; semantic/symref IS required. But
semantic-symref-detect-symref-tool doesn't seem be called at all because
the semantic-symref-tool value stays at 'detect unless I call
semantic-symref-detect-symref-tool manually.
Can you confirm the above?
Nope!
Re: grep-at-point, John Mastro, 2017/01/11
RE: grep-at-point, Drew Adams, 2017/01/11
RE: grep-at-point, Drew Adams, 2017/01/11
Re: grep-at-point, Eric Abrahamsen, 2017/01/11
Re: grep-at-point, Thien-Thi Nguyen, 2017/01/11