|
From: | Eric M. Ludlam |
Subject: | Re: Improving cscope support in emacs |
Date: | Sat, 01 May 2010 09:17:32 -0400 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a1pre) Gecko/20091222 Shredder/3.1a1pre |
On 05/01/2010 12:27 AM, dhruva wrote:
Hi, ----- Original Message ----From: Chong Yidong<address@hidden>The Semantic package included in Emacsfrom 23.2 onward has optionalcscope integration. I haven't had thetime to look into how well itworks, tho. I just had a look at the file cedet-cscope.el, if calls cscope process for every command invocation. Looks like some plumbing to allow talking to a cscope process would help (for line mode: cscope -l)
The cedet-cscope support just is about invoking cscope. It is used by EDE (file location) and the semantic-symref functions (symbol references.)
It could probably be used for tag lookup, but no-one has written that interface yet.
It doesn't use the line interface because the different places from which it is called can be for different locations, and possibly different cscope dictionaries. Not insurmountable, obviously, but I took the easy route that mimicked GNU Global.
CScope itself has more features than what is used by the CEDET support, so for the original question, it depends on if the EDE or Semantic features covers what he wants to do.
Eric
[Prev in Thread] | Current Thread | [Next in Thread] |