all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Eric M. Ludlam" <eric@siege-engine.com>
To: dhruva <dhruva@ymail.com>
Cc: Chong Yidong <cyd@stupidchicken.com>,
	Emacs Development <emacs-devel@gnu.org>
Subject: Re: Improving cscope support in emacs
Date: Sat, 01 May 2010 09:17:32 -0400	[thread overview]
Message-ID: <4BDC29EC.4060506@siege-engine.com> (raw)
In-Reply-To: <267864.94466.qm@web65811.mail.ac4.yahoo.com>

On 05/01/2010 12:27 AM, dhruva wrote:
> Hi,
>
>
> ----- Original Message ----
>> From: Chong Yidong<cyd@stupidchicken.com>
>
> 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




  reply	other threads:[~2010-05-01 13:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-01  4:06 Improving cscope support in emacs dhruva
2010-05-01  4:20 ` Chong Yidong
2010-05-01  4:27   ` dhruva
2010-05-01 13:17     ` Eric M. Ludlam [this message]
2010-05-01 13:33       ` dhruva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BDC29EC.4060506@siege-engine.com \
    --to=eric@siege-engine.com \
    --cc=cyd@stupidchicken.com \
    --cc=dhruva@ymail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.