unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Richard Riley <rileyrgdev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Help needed to enable cscope
Date: Wed, 03 Dec 2008 04:26:17 +0100	[thread overview]
Message-ID: <gh4uaf$dmb$1@news.motzarella.org> (raw)
In-Reply-To: a2bbc2d2-d223-4c09-85ee-ff3c4069520e@z28g2000prd.googlegroups.com

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



       reply	other threads:[~2008-12-03  3:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <a2bbc2d2-d223-4c09-85ee-ff3c4069520e@z28g2000prd.googlegroups.com>
2008-12-03  3:26 ` Richard Riley [this message]
2008-12-03  4:02 ` Help needed to enable cscope Chetan
2008-12-03  2:46 ZelluX

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='gh4uaf$dmb$1@news.motzarella.org' \
    --to=rileyrgdev@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.
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).