all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to configure xcscope
@ 2009-05-06  0:20 Lucius Fox
  0 siblings, 0 replies; 2+ messages in thread
From: Lucius Fox @ 2009-05-06  0:20 UTC (permalink / raw)
  To: help-gnu-emacs

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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to configure xcscope
       [not found] <mailman.6700.1241569251.31690.help-gnu-emacs@gnu.org>
@ 2009-05-06  7:14 ` Richard Riley
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Riley @ 2009-05-06  7:14 UTC (permalink / raw)
  To: help-gnu-emacs

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-06  7:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.6700.1241569251.31690.help-gnu-emacs@gnu.org>
2009-05-06  7:14 ` How to configure xcscope Richard Riley
2009-05-06  0:20 Lucius Fox

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.