Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Ubuntu 10.10 as my os, I am using emacs in Gnome.

I have installed emacs and cscope successfully:

sudo apt-get install emacs

sudo apt-get install cscope

then run command in the directory of the source code folder in my terminal, and the index files have been produced.

cscope-indexer

and add the following stuf in .emacs in home/username folder

(require 'xcscope)

However, there isn't a short-cut ,'CSCOPE', in the emacs ui and when I use ctrl_c + s to use cscope, emacs said it's undefined.

What should i do now to make cscope run.

share|improve this question
up vote 0 down vote accepted

This documentation of xcscope seems to provide a lot of information on the default keybindings and how to configure it properly.

However, you seem to have a bit too many ) in your require statement, did you copy it right? it should just be:

(require 'xcscope)

and that's it, outside of any other parenthesis.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .