unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thorsten Bonow <thorsten.bonow@post.rwth-aachen.de>
To: help-gnu-emacs@gnu.org
Subject: Re: xcscope.el does NOT search in .h files
Date: Mon, 30 Jul 2007 13:32:18 +0200	[thread overview]
Message-ID: <871weqcekd.fsf@post.rwth-aachen.de> (raw)
In-Reply-To: 1185718889.247261.19990@q75g2000hsh.googlegroups.com

>>>>> "Rafal" == Rafal Kurcz <pawlaczus@yahoo.com> 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

  reply	other threads:[~2007-07-30 11:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-29 14:21 xcscope.el does NOT search in .h files Rafal Kurcz
2007-07-30 11:32 ` Thorsten Bonow [this message]
2007-07-30 11:49   ` Hadron
2007-07-30 14:04   ` Rafal Kurcz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871weqcekd.fsf@post.rwth-aachen.de \
    --to=thorsten.bonow@post.rwth-aachen.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).