all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Iakie <accelas@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Emacs + cscope (xcscope.el)
Date: Thu, 11 Oct 2007 10:52:38 -0700	[thread overview]
Message-ID: <1192125158.891481.309610@y42g2000hsy.googlegroups.com> (raw)

Hi there:

Can anyone give me some tips on using cscope and emacs?

I was able to load xcscope.el from cscope package. However, whenever i
tries to use it, it says it finds nothing.

I edited my .emacs like this:
Code:

(load-file "/usr/share/emacs/site-lisp/xcscope.el")
(require 'xcscope)

Then, I untar-ed linux kernel in my home folder, under which I ran
cscope to generate search database. And I tried to edit some files

Code:

me@box:~/linux-source-2.6.22$ cscope -R -q -b
me@box:~/linux-source-2.6.22$ emacs kernel/time.c

When I tried to find symbol definition using C-c s d, it returns no
matched result

Code:

Finding symbol: tv_nsec

Database directory: /home/me/linux-source-2.6.22/
-------------------------------------------------------------------------------
cscope: no source files found

-------------------------------------------------------------------------------

Search complete.  Search time = 0.01 seconds.

Can someone tell me what I did wrong?

             reply	other threads:[~2007-10-11 17:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-11 17:52 Iakie [this message]
2007-10-11 20:33 ` Emacs + cscope (xcscope.el) Thorsten Bonow
2007-10-12 17:41   ` Richard G Riley

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=1192125158.891481.309610@y42g2000hsy.googlegroups.com \
    --to=accelas@gmail.com \
    --cc=help-gnu-emacs@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.