From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Bonow Newsgroups: gmane.emacs.help Subject: Re: xcscope.el does NOT search in .h files Date: Mon, 30 Jul 2007 13:32:18 +0200 Message-ID: <871weqcekd.fsf@post.rwth-aachen.de> References: <1185718889.247261.19990@q75g2000hsh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185799402 19171 80.91.229.12 (30 Jul 2007 12:43:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2007 12:43:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 30 14:43:15 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 1IFUag-0007y2-W4 for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jul 2007 14:43:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IFUag-0004N8-Es for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Jul 2007 08:43:14 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 35 Original-X-Trace: news.dfncis.de 9aRs1nhqA28WPIXL9kMYLQ7MCKB47AaorF/f8bdA9mGc/UCCMq6sB/8JUg Cancel-Lock: sha1:/1AnwQ0GMKlgHslO6QG3Kim9iHg= sha1:GcP92/uzYIREtg0qb41OI+lz5t8= User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.20 (linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:150608 X-Mailman-Approved-At: Mon, 30 Jul 2007 08:41:55 -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:46192 Archived-At: >>>>> "Rafal" == Rafal Kurcz writes: Rafal> Hello I found that sometimes the following cscope commands do not Rafal> work for Rafal> *.h C++ files: Hi, no time to dig deep, but... Rafal> 1. cscope-find-functions-calling-this-function Rafal> - when the function calling the function is inside the struct in *.h Rafal> file the Earth::speed() from class.h below function is not taken into Rafal> account ... since hiding functions in struct's is a C++ feature and not valid C and (quoting from the man page) "cscope is an interactive, screen-oriented tool that allows the user to browse through C source files for specified elements of code.": Have you checked by calling cscope directly (and not via it's xcscope interface) that it's not a problem using cscope for a language it doesn't really support? Toto -- Contact information and PGP key at http://www-users.rwth-aachen.de/thorsten.bonow "The Prius is so slow, the child could run on the street, retrieve the ball and grow to puberty before you actually hit it." Jeremy Clarkson, Topgear