From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Iakie Newsgroups: gmane.emacs.help Subject: Emacs + cscope (xcscope.el) Date: Thu, 11 Oct 2007 10:52:38 -0700 Organization: http://groups.google.com Message-ID: <1192125158.891481.309610@y42g2000hsy.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1192170406 23696 80.91.229.12 (12 Oct 2007 06:26:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2007 06:26:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 12 08:26:36 2007 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 1IgDyk-00020D-LD for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Oct 2007 08:26:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IgDye-0002K2-H1 for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Oct 2007 02:26:28 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!y42g2000hsy.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: 208.181.115.2 Original-X-Trace: posting.google.com 1192125159 2933 127.0.0.1 (11 Oct 2007 17:52:39 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 11 Oct 2007 17:52:39 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20061011 Fedora/1.5.0.7-7.fc6 Firefox/1.5.0.7,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: y42g2000hsy.googlegroups.com; posting-host=208.181.115.2; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Original-Xref: shelby.stanford.edu gnu.emacs.help:152839 X-Mailman-Approved-At: Fri, 12 Oct 2007 02:25:38 -0400 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:48349 Archived-At: Hi there: Can anyone give me some tips on using cscope and emacs? I was able to load xcscope.el from cscope package. However, whenever i tries to use it, it says it finds nothing. I edited my .emacs like this: Code: (load-file "/usr/share/emacs/site-lisp/xcscope.el") (require 'xcscope) Then, I untar-ed linux kernel in my home folder, under which I ran cscope to generate search database. And I tried to edit some files Code: me@box:~/linux-source-2.6.22$ cscope -R -q -b me@box:~/linux-source-2.6.22$ emacs kernel/time.c When I tried to find symbol definition using C-c s d, it returns no matched result Code: Finding symbol: tv_nsec Database directory: /home/me/linux-source-2.6.22/ ------------------------------------------------------------------------------- cscope: no source files found ------------------------------------------------------------------------------- Search complete. Search time = 0.01 seconds. Can someone tell me what I did wrong?