Re: Finding all references on Windows

"Eric M. Ludlam" <[email protected]> Mon, 15 Sep 2014 20:54:41 -0400
Newsgroups gmane.emacs.semantic
Message-ID <[email protected]>
On 09/15/2014 07:21 AM, Nadales Agut, Damian wrote:
> Hello,
>
> Sadly I need to use Emacs under Windows. I would like to use semantics for finding the references to symbols. However, the command ``semantic-symref`` just reports ``No references found``. I have grep and find installed in my system, but I suspect some incompatibility with these tools.
>
> Any ideas on how I can figure out what is wrong?
>
> Thank you in advance,
> Damian.

Hi Damian,

For the symref tool to work, you will also need to have an EDE project 
setup that identifies the root of your project.  Only then will it be 
able to start in the right place and have grep-find find all your 
references.  Of course, even in your proposed situation, it should find 
the symbol you are looking for if your cursor was on it to begin with.

You can also use 'semantic-symref-data-debug-last-result' to get a dump 
of what is found.  Chances are it will be empty, but it's worth a shot.

It might also have auto-detected some other tool (like an IDUtils or GNU 
Global) tags file at your project root, and tried to use that.  You can 
force it by setting `semantic-symref-tool' to 'grep directly with a 
(setq-default ...) in your .emacs.  Or delete the offending GPATH, ID, 
or cscope.out file.

Good Luck
Eric

------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk