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:
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 filesCode:(load-file "/usr/share/emacs/site-lisp/xcscope.el") (require 'xcscope)
When I tried to find symbol definition using C-c s d, it returns no matched resultCode:me@box:~/linux-source-2.6.22$ cscope -R -q -b me@box:~/linux-source-2.6.22$ emacs kernel/time.c
Can someone tell me what I did wrong?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.



Adv Reply


Bookmarks