Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.