unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Two question about gtags in Emacs
@ 2009-12-16  4:16 Water Lin
  0 siblings, 0 replies; only message in thread
From: Water Lin @ 2009-12-16  4:16 UTC (permalink / raw)
  To: emacs-help


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
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-16  4:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-16  4:16 Two question about gtags in Emacs 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).