* Two questions about Emacs gtags mode
@ 2009-12-08 10:14 Water Lin
0 siblings, 0 replies; only message in thread
From: Water Lin @ 2009-12-08 10:14 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-12-08 10:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-08 10:14 Two questions about Emacs gtags mode Water Lin
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).