From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Baylis Newsgroups: gmane.emacs.help Subject: Cscope in many large trees Date: Tue, 9 Dec 2008 14:10:11 -0800 (PST) Organization: http://groups.google.com Message-ID: <5b3b9209-fc02-4c2b-8609-51f3abfed1fe@r15g2000prh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1228889845 18129 80.91.229.12 (10 Dec 2008 06:17:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Dec 2008 06:17:25 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 10 07:18:30 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LAIP0-0003i3-8O for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Dec 2008 07:18:30 +0100 Original-Received: from localhost ([127.0.0.1]:56432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAINo-0000vj-TN for geh-help-gnu-emacs@m.gmane.org; Wed, 10 Dec 2008 01:17:16 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r15g2000prh.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 147.145.40.44 Original-X-Trace: posting.google.com 1228860611 19448 127.0.0.1 (9 Dec 2008 22:10:11 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 9 Dec 2008 22:10:11 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r15g2000prh.googlegroups.com; posting-host=147.145.40.44; posting-account=dNm1mAoAAADEStfarqbdhwZIMTNBGDT8 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008111317 Ubuntu/8.04 (hardy) Firefox/3.0.4, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:165189 X-Mailman-Approved-At: Wed, 10 Dec 2008 01:16:45 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60525 Archived-At: What's the canonical way to use cscope under the following scenario: I frequently check out a large source tree from some old revision of a project. The source tree contains hundreds of directories and thousands of source files. I'm interested in the files in maybe a few dozen directories, scattered throughout the tree. (These are all .c and .h files). I would have maybe 10 of these trees checked out at the same time, and I'm switching between them frequently, to work on different development tasks. They all have basically the same structure, just with different versions of files in them. How should I set up cscope to index the parts I want? Is there a way to tell it to always index the same directories, relative to the top of the tree? I currently (require 'xcscope) but don't have any other cscope settings. It seems to find things in the current drectory, but nowhere else.