unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs + cscope (xcscope.el)
@ 2007-10-11 17:52 Iakie
  2007-10-11 20:33 ` Thorsten Bonow
  0 siblings, 1 reply; 3+ messages in thread
From: Iakie @ 2007-10-11 17:52 UTC (permalink / raw)
  To: help-gnu-emacs

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?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-10-12 17:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-11 17:52 Emacs + cscope (xcscope.el) Iakie
2007-10-11 20:33 ` Thorsten Bonow
2007-10-12 17:41   ` Richard G Riley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).