[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xref-find-references in elisp (Was: Re: grep-at-point)
From: |
Kaushal Modi |
Subject: |
Re: xref-find-references in elisp (Was: Re: grep-at-point) |
Date: |
Wed, 11 Jan 2017 23:42:11 +0000 |
Sorry for the noise. I now understand what's happening.
On Wed, Jan 11, 2017 at 6:37 PM Dmitry Gutov <dgutov@yandex.ru> wrote:
> 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.
>
Yup, thanks!
> > 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.
>
Got it. I edebugged that function and saw it execute.
> > 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!
>
Understood. Thanks.
--
Kaushal Modi
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