From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel Subject: Re: Improving cscope support in emacs Date: Sat, 01 May 2010 09:17:32 -0400 Message-ID: <4BDC29EC.4060506@siege-engine.com> References: <793868.89308.qm@web65815.mail.ac4.yahoo.com> <87fx2cuubp.fsf@stupidchicken.com> <267864.94466.qm@web65811.mail.ac4.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1272719884 604 80.91.229.12 (1 May 2010 13:18:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 1 May 2010 13:18:04 +0000 (UTC) Cc: Chong Yidong , Emacs Development To: dhruva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 01 15:17:54 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O8CZm-0004mc-UB for ged-emacs-devel@m.gmane.org; Sat, 01 May 2010 15:17:47 +0200 Original-Received: from localhost ([127.0.0.1]:58842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8CZm-0002Z6-1T for ged-emacs-devel@m.gmane.org; Sat, 01 May 2010 09:17:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8CZg-0002Y6-En for emacs-devel@gnu.org; Sat, 01 May 2010 09:17:40 -0400 Original-Received: from [140.186.70.92] (port=51870 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8CZf-0002XI-8g for emacs-devel@gnu.org; Sat, 01 May 2010 09:17:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8CZe-00046U-BU for emacs-devel@gnu.org; Sat, 01 May 2010 09:17:39 -0400 Original-Received: from bird.interbax.net ([75.126.100.114]:43331) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8CZe-00045G-5J for emacs-devel@gnu.org; Sat, 01 May 2010 09:17:38 -0400 Original-Received: (qmail 3230 invoked from network); 1 May 2010 08:17:25 -0500 Original-Received: from static-71-184-83-10.bstnma.fios.verizon.net (HELO ?192.168.1.201?) (71.184.83.10) by interbax.net with SMTP; 1 May 2010 08:17:25 -0500 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.3a1pre) Gecko/20091222 Shredder/3.1a1pre In-Reply-To: <267864.94466.qm@web65811.mail.ac4.yahoo.com> X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:124390 Archived-At: On 05/01/2010 12:27 AM, dhruva wrote: > Hi, > > > ----- Original Message ---- >> From: Chong Yidong > > The Semantic package included in Emacs >> from 23.2 onward has optional > cscope integration. I haven't had the >> time to look into how well it > works, 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