help-global
[Top][All Lists]
Advanced

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

Re: How to tell global to ignore specific extensions?


From: Joseph Garvin
Subject: Re: How to tell global to ignore specific extensions?
Date: Mon, 24 May 2010 22:23:55 -0500

 

On Mon, May 24, 2010 at 9:05 PM, Shigio YAMAGUCHI <address@hidden> wrote:
Hi,
> From --help I know about langmap, but global seems to ignore it. I'm using
> the default but global still tries to search pdf and xls files because I get
> messages like these:
>
> Warning: 'share/scripts/optmon/dependency cache/UnnamedPackage.dependency'
> ignored, because it includes blank.
>
> .dependency isn't in the default langmap at all. Bug or do I misunderstand
> how this works? I only want .c/.C/.cpp/.h/.H/.hpp files tagged.

'langmap' is related only to the source files.
Gtags(1) picks up text files other than source (README, Makefile and etc)
for the -Po or -go command, but it doesn't treat them as a source file.

I'm using neither option, just "global -u". Does global pass those to gtags by default? Is there a way to disable it? It's picking up PDFs and excel spreadsheets, neither of which I would consider to be text files.

reply via email to

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