unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Water Lin <WaterLin@ymail.invalid>
To: help-gnu-emacs@gnu.org
Subject: Two questions about Emacs gtags mode
Date: Tue, 08 Dec 2009 18:14:46 +0800	[thread overview]
Message-ID: <87my1t7ox5.fsf@ymail.invalid> (raw)


1. My Emacs can't find tags

I am trying to use Gtags mode in my Emacs to read source code. In my
project folder, I use cammad $ gtags from shell to establish four
necessary files like GPATH, GTAGS.

I also use command $ gtags to establish index in my /usr/include folder,
and I also add /usr/include to environment variable GTAGSLIBPATH. So now
I can use command

$ global timeval

, and I will get output like:
-----------
$ global timeval
../../../../../../usr/include/X11/Xos.h
../../../../../../usr/include/audio/Aos.h
../../../../../../usr/include/bits/time.h
../../../../../../usr/include/linux/time.h
-----------

It seems that global works all right now.

But when I use Emacs gtags-mode, I use M-. to check the declaration of

timeval

, Emacs prompts me that "timeval: tag not found [2 times]".

Why my Emacs can't find this tag?

2. What is the difference between the Google-gtags and Emacs default
gtags-mode? The Google-gtags link is:
-----------
http://code.google.com/p/google-gtags/
-----------

Hope someone can help me!

Thanks

Water Lin
-- 
Water Lin's notes and pencils: http://en.waterlin.org
Email: WaterLin@ymail.com


                 reply	other threads:[~2009-12-08 10:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87my1t7ox5.fsf@ymail.invalid \
    --to=waterlin@ymail.invalid \
    --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).