all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrgdev@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to configure xcscope
Date: Wed, 06 May 2009 09:14:46 +0200	[thread overview]
Message-ID: <gtrdd8$fgp$1@news.motzarella.org> (raw)
In-Reply-To: mailman.6700.1241569251.31690.help-gnu-emacs@gnu.org

Lucius Fox <lucius.fox08@gmail.com> writes:

> Hi,
>
> I am following this link http://frodo.syminet.com/~deep/emacside.html
> in setting up cscope with emacs.
>
> But how can I configure it so that it looks at *.mm files when
> building the  cscope database?
>
> Symbol Lookup with cscope
>
> Download cscope program, and xcscope.el and cscope-indexer from an OSS
> repository. Save the xcscope.el onto some directory in Emacs'
> load-path. Edit your ~/.emacs as follows:
> (require 'xcscope)
>
> Thank you.
>
>

I dont know what an .mm file is but you can see my working setup here in
case it helps you or some others.

http://richardriley.net/projects/emacs/dotprogramming#sec-1.2

(FWIW, just listing key strokes without the name of the commands is not a
good thing since key strokes can and do change)

With this setup I also have some code to generate cscope databases:

,----
| SRC=~/programming
| cd $SRC
| ctags-exuberant  -e --recurse=yes --links=yes --verbose=no > /dev/null
| find -L $SRC -name "*.[chxsS]" -print > cscope.files
| cscope -b -q -u
| 
| SRC=~/programming/c
| cd $SRC
| ctags-exuberant  -e --recurse=yes --links=yes --verbose=no > /dev/null
| find -L $SRC -name "*.[chxsS]" -print > cscope.files
| cscope -b -q -u
`----

(The Linux kernel has a cscope target in it's Makefile)

Cscope is a nice tool.



       reply	other threads:[~2009-05-06  7:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6700.1241569251.31690.help-gnu-emacs@gnu.org>
2009-05-06  7:14 ` Richard Riley [this message]
2009-05-06  0:20 How to configure xcscope Lucius Fox

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

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

  git send-email \
    --in-reply-to='gtrdd8$fgp$1@news.motzarella.org' \
    --to=rileyrgdev@googlemail.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.