Discussion:
exclude folders/files in cscope
(too old to reply)
str
2008-05-25 08:49:08 UTC
Permalink
Hello,



I'm using the cscope package and its works fine.

When cscope database menu is selected, it scan all the folders and prepare
the cscope database files.



My question is how can I setup the cscope emacs setup in order to exclude
some folders/files (for instance ignore all folder which includes "/abcd/"
in the folder name string)



Regards

shlomo
Thorsten Bonow
2008-05-26 14:07:37 UTC
Permalink
str> My question is how can I setup the cscope emacs setup in order to
str> exclude some folders/files (for instance ignore all folder which
str> includes "/abcd/" in the folder name string)

Hi,

quick workaraound: in the cscope menu, choose "edit files to index". No regexps,
you have to remove files/dirs by hand.

Toto
--
Contact information and PGP key at
http://www.withouthat.org/~toto/contact.html

On the whole, I preferred cats to women because cats seldom if ever
used the word "relationship".

Friedman, Kinky (1993), Greenwich Killing Time. New York (Wings
Books), 135
str
2008-05-27 07:52:57 UTC
Permalink
Hi,

But for large projects it's a lot of work.
maybe there is easy way in the cscope command.

Thanks,
Post by Thorsten Bonow
str> My question is how can I setup the cscope emacs setup in order to
str> exclude some folders/files (for instance ignore all folder which
str> includes "/abcd/" in the folder name string)
Hi,
quick workaraound: in the cscope menu, choose "edit files to index". No regexps,
you have to remove files/dirs by hand.
Toto
--
Contact information and PGP key at
http://www.withouthat.org/~toto/contact.html
On the whole, I preferred cats to women because cats seldom if ever
used the word "relationship".
Friedman, Kinky (1993), Greenwich Killing Time. New York (Wings
Books), 135
Friedrich Dominicus
2008-05-27 12:03:07 UTC
Permalink
Post by str
Hi,
But for large projects it's a lot of work.
maybe there is easy way in the cscope command.
a look at
`cscope-edit-list-of-files-to-index' (buffer: *Hyper Apropos*, mode: Hyper-Apropos)


Interactive compiled Lisp function,
(loaded from "xcscope"):

arguments: ()

Search for and edit the list of files to index.
If this functions causes a new file to be edited, that means that a
cscope.out file was found without a corresponding cscope.files file.

should be quite helpful I guess. Maybe there is some list build and
then you just have to filter this list with some regular expression...

Regards
Friedrich
--
Please remove just-for-news- to reply via e-mail.
Loading...