[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help needed to enable cscope
From: |
Richard Riley |
Subject: |
Re: Help needed to enable cscope |
Date: |
Wed, 03 Dec 2008 04:26:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
ZelluX <zellux@gmail.com> writes:
> Hi, all
>
> I'm new to emacs and now have some difficulty in enabling cscope in
> emacs.
>
> I've installed cscope on my ArchLinux and downloaded xcscope.el and
> cscope-indexer from cscope.sf.net
>
> Then i copied cscope-indexer to /usr/bin(with executable permission)
> and xcscope.el to ~/emacs, and add lines to ~/.emacs like this:
>
> (setq load-path (cons "~/emacs" load-path))
> (require 'xcscope)
>
> But when i start emacs again, and press Ctrl-c s, it says 'C-c s is
> undefined'. At first i thought it was because emacs couldnot find
> xcscope, but when i renamed xcscope.el to xcscope1.el, the emacs said
> 'cannot find xcscope', which didn't occur before renaming, so i think
> the path is just right.
>
> Could you help me find out where the problem lies? Thanks for your
> reply.
Did you open a C file first? Is there a cscope menu item?
Check the functions are available
C-h f cscope-find-global-definition
or
M-x cscope<TAB>
Are functions defined?
My set up for cscope can be seen here:
http://richardriley.net/default/projects/emacs/dotprogramming#sec-1.2
- Re: Help needed to enable cscope,
Richard Riley <=