[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two question about gtags in Emacs

From: Water Lin
Subject: Two question about gtags in Emacs
Date: Wed, 16 Dec 2009 12:16:34 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

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

It seems that global works all right now.

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


, 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:

Hope someone can help me!


Water Lin

Water Lin's notes and pencils:
Email: address@hidden
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]