GNU bug report logs - #22292
25.0.50; xref-find-references doesn't find anything for Lisp symbols

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 2 Jan 2016 13:24:01 UTC

Severity: normal

Found in version 25.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 22292-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 22292-done <at> debbugs.gnu.org
Subject: Re: bug#22292: 25.0.50; xref-find-references doesn't find anything
 for Lisp symbols
Date: Sat, 02 Jan 2016 17:32:24 +0200
> Cc: 22292 <at> debbugs.gnu.org
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> Date: Sat, 2 Jan 2016 16:29:57 +0200
> 
> > Can you guide me through the call sequence?  Debugging xref and its
> > back-ends is a pain.
> 
> You don't need to worry about xref backends here, only about CEDET 
> tools. Try debugging xref-collect-references.

I did, but Edebug cannot step into cl-defmethod's, cl-defgeneric etc.
Any tricks up your sleeves to make that work?  I'd give half the
kingdom for being able to debug into those.

> It calls semantic-symref-find-references-by-name, which
> calls semantic-symref-instantiate (which detects the tool used in the 
> current directory), then delegates the search to the tool's logic via 
> the generics semantic-symref-get-result and semantic-symref-perform-search.
> 
> The Grep implementation for that stuff lives in 
> lisp/cedet/semantic/symref/grep.el.

Thanks, that was what I needed.

I fixed the problem.  I cannot believe we still have (had) such code
in our repository, but facts are stubborn.

So, one less bug that's blocking v25.1 ;-)




This bug report was last modified 9 years and 145 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.