From MAILER-DAEMON Thu Jan 12 05:43:46 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1RlI8I-0002PY-Ht
	for mharc-bug-global@gnu.org; Thu, 12 Jan 2012 05:43:46 -0500
Received: from eggs.gnu.org ([140.186.70.92]:59191)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <widon1104@qq.com>) id 1Rl0IP-0000gC-GL
	for bug-global@gnu.org; Wed, 11 Jan 2012 10:41:07 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <widon1104@qq.com>) id 1Rl0IG-0004pu-8J
	for bug-global@gnu.org; Wed, 11 Jan 2012 10:41:01 -0500
Received: from smtpbg55.qq.com ([64.71.138.44]:49414)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <widon1104@qq.com>) id 1Rl0IF-0004oq-G5
	for bug-global@gnu.org; Wed, 11 Jan 2012 10:40:52 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s0907;
	t=1326296445; bh=J5TFQXm3m4kqSXd67CMhsqEkeFbgK3cUufq8TH5eHDY=;
	h=X-QQ-mid:Received:X-QQ-SSF:Message-ID:Date:From:User-Agent:
	MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding;
	b=jhKdqzCUdxGSaAeVVc1h8EFWNWADCHiciVAKVgyEKUKtmTjzKFZe3VQaskfWe6v+C
	lnROLlM4z0MD1ME2sNbCzqof+emtu8k+fpkvSdS9c0ziTFvdDlyi+lWKEdsdm1S
X-QQ-mid: esmtp8t1326296440t779t22712
Received: from [119.136.70.35] (unknown [119.136.70.35])
	by esmtp4.qq.com (ESMTP) with 
	id ; Wed, 11 Jan 2012 23:40:40 +0800 (CST)
X-QQ-SSF: 0000000000000080FPF012000000000
Message-ID: <4F0DAD78.4040402@qq.com>
Date: Wed, 11 Jan 2012 23:40:40 +0800
From: widon <widon1104@qq.com>
User-Agent: Mozilla/5.0 (X11; Linux i686;
	rv:9.0) Gecko/20111220 Thunderbird/9.0
MIME-Version: 1.0
To: shigio@tamacom.com, bug-global@gnu.org
Subject: bug report of gtags
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 64.71.138.44
X-Mailman-Approved-At: Thu, 12 Jan 2012 05:43:43 -0500
X-BeenThere: bug-global@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU GLOBAL <bug-global.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-global>
List-Post: <mailto:bug-global@gnu.org>
List-Help: <mailto:bug-global-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Jan 2012 15:41:07 -0000

hello

I use gtags, It's great. But I have a lot of problems when I use it to
fake cscope.
If I set autochdir in vimrc when I use vim.Everything goes wrong. If I
change directory, cs connection will be lost.

Even I do not set autochdir in vimrc if I set grepprg=grep\ -nri\
--include=*.{c,h} and use :grep main . searching in linux kernel source
and :cs f s MD5_DIGEST_SIZE
E262: error reading cscope connection 0
now I must cs kill 0 and cs add GTAGS again....

If I use global I can't change directory and use grep in vim...I fell
really disappoint..

widon@widon-laptop:~$ uname -a
Linux widon-laptop 3.0.0-13-generic #22~lucid1-Ubuntu SMP Thu Nov 3
14:28:51 UTC 2011 i686 GNU/Linux
widon@widon-laptop:~/linux/linux-2.6.30.4$ gtags --version
gtags - GNU GLOBAL 6.1
Copyright (c) 2011 Tama Communications Corporation
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
This is also commercial (for-profit) software based on BOKIN model.
Please see the donation page
<http://www.gnu.org/software/global/donation.html>.






From MAILER-DAEMON Thu Jan 12 06:42:34 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1RlJ3C-0004Oh-Ij
	for mharc-bug-global@gnu.org; Thu, 12 Jan 2012 06:42:34 -0500
Received: from eggs.gnu.org ([140.186.70.92]:33643)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1RlJ3A-0004Nu-Pb
	for bug-global@gnu.org; Thu, 12 Jan 2012 06:42:33 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1RlJ39-00079T-JF
	for bug-global@gnu.org; Thu, 12 Jan 2012 06:42:32 -0500
Received: from msa101lp.auone-net.jp ([222.3.140.164]:60642)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1RlJ39-00078R-AN
	for bug-global@gnu.org; Thu, 12 Jan 2012 06:42:31 -0500
Received: from choota.tamacom.com (KHP059138043202.ppp-bb.dion.ne.jp
	[59.138.43.202])
	by msa101lp.auone-net.jp (au one net msa) with ESMTP id 836C418C03C;
	Thu, 12 Jan 2012 20:42:16 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id q0CBgEH8002011;
	Thu, 12 Jan 2012 20:42:14 +0900 (JST)
Message-Id: <201201121142.q0CBgEH8002011@tamacom.com>
To: widon <widon1104@qq.com>
Subject: Re: bug report of gtags
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <4F0DAD78.4040402@qq.com>
In-reply-to: Message from widon <widon1104@qq.com>
	of "Wed, 11 Jan 2012 23:40:40 +0800." <4F0DAD78.4040402@qq.com>
Date: Thu, 12 Jan 2012 20:42:14 +0900
Sender: shigio@tamacom.com
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 222.3.140.164
Cc: shigio@tamacom.com, bug-global@gnu.org
X-BeenThere: bug-global@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU GLOBAL <bug-global.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-global>
List-Post: <mailto:bug-global@gnu.org>
List-Help: <mailto:bug-global-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jan 2012 11:42:33 -0000

Hello,
> I use gtags, It's great. But I have a lot of problems when I use it to
> fake cscope.
> If I set autochdir in vimrc when I use vim.Everything goes wrong. If I
> change directory, cs connection will be lost.

Yes. It won't work. It is the specification. (You can use 'cs reset')
But connection should not be lost.

> Even I do not set autochdir in vimrc if I set grepprg=grep\ -nri\
> --include=*.{c,h} and use :grep main . searching in linux kernel source
> and :cs f s MD5_DIGEST_SIZE
> E262: error reading cscope connection 0
> now I must cs kill 0 and cs add GTAGS again....
> 
> If I use global I can't change directory and use grep in vim...I fell
> really disappoint..

This is not reproduced in my environment.
Could you please tell me the exact reappearance method?
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


From MAILER-DAEMON Fri Jan 13 11:52:40 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1RlkMq-0004kX-3W
	for mharc-bug-global@gnu.org; Fri, 13 Jan 2012 11:52:40 -0500
Received: from eggs.gnu.org ([140.186.70.92]:35459)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1RlkMl-0004j7-7M
	for bug-global@gnu.org; Fri, 13 Jan 2012 11:52:39 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1RlkMf-0001Bu-4v
	for bug-global@gnu.org; Fri, 13 Jan 2012 11:52:35 -0500
Received: from msa104lp.auone-net.jp ([222.3.140.167]:54907)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1RlkMe-0001Af-T1
	for bug-global@gnu.org; Fri, 13 Jan 2012 11:52:29 -0500
Received: from choota.tamacom.com (KHP059138043202.ppp-bb.dion.ne.jp
	[59.138.43.202])
	by msa104lp.auone-net.jp (au one net msa) with ESMTP id F136065003A;
	Sat, 14 Jan 2012 01:52:23 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id q0DGqMkL003833;
	Sat, 14 Jan 2012 01:52:22 +0900 (JST)
Message-Id: <201201131652.q0DGqMkL003833@tamacom.com>
To: widon <widon1104@qq.com>
Subject: Re: bug report of gtags
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <4F1041D9.6000206@qq.com>
In-reply-to: Message from widon <widon1104@qq.com>
	of "Fri, 13 Jan 2012 22:38:17 +0800." <4F1041D9.6000206@qq.com>
Date: Sat, 14 Jan 2012 01:52:22 +0900
Sender: shigio@tamacom.com
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 222.3.140.167
Cc: bug-global@gnu.org
X-BeenThere: bug-global@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU GLOBAL <bug-global.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-global>
List-Post: <mailto:bug-global@gnu.org>
List-Help: <mailto:bug-global-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jan 2012 16:52:39 -0000

> >> It's easy to reappearance the second problem.
> > Could you make a reappearance environment compact by removing
> > unrelated elements?  (Linux is required?)
> >  
> >> widon@widon-laptop:~$ cd /home/widon/linux/linux-2.6.30.4
> >> widon@widon-laptop:~/linux/linux-2.6.30.4$ vim
> >> vim command:
> >> :cs add GTAGS
> >> :grep main .
> >> use CTRL-C to terminate
> >> now will jump into the first result
> >> the first main symbol is in crypto/md5.c
> >> now use GTAGS to find the first macro definition MD5_DIGEST_SIZE in line 25
> >> :cs f s MD5_DIGEST_SIZE
> >> you will find
> >> E262: error reading cscope connection 0
> >> E259: no matches found for cscope query s of MD5_DIGEST_SIZE
> >>
> >> but if I use :cs reset now everything will be fine, but I hope this
> >> problem will be fixed
> >>
> >> I put my vimrc in attach.
> >>
> >> widon@widon-laptop:~/.vim$ ls plugin/
> >> autoload_cscope.vim fuf.vim lookupfile.vim session.vim
> >> a.vim genutils.vim NERD_commenter.vim SingleCompile.vim
> >> conqueterm_2.2.vmb gtags.vim NERD_tree.vim taglist.vim
> >> conque_term.vim l9.vim SearchComplete.vim vimcdoc.vim
> > --
> > Shigio YAMAGUCHI <shigio@gnu.org>
> > PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
> >
> I know why E262: error reading cscope connection 0 happen
> 
> :grep main .
> use CTRL-C to terminate
> 
> I use grep to search in vim command 
> if I use CTRL-C to terminate the search
> E262 error will occur
> If I wait the search complete everything will be fine
> 
> If I use cscope instead of gtags The same thing happens too.

Indeed. This seems to be a problem in the cscope interface and
the implementation of vim.
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


From MAILER-DAEMON Mon Jan 16 05:49:33 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Rmk85-0001RL-3L
	for mharc-bug-global@gnu.org; Mon, 16 Jan 2012 05:49:33 -0500
Received: from eggs.gnu.org ([140.186.70.92]:47252)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <h-iwamoto@kit.hi-ho.ne.jp>) id 1Rmk7z-0001RE-3z
	for bug-global@gnu.org; Mon, 16 Jan 2012 05:49:31 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <h-iwamoto@kit.hi-ho.ne.jp>) id 1Rmk7v-0002wo-1x
	for bug-global@gnu.org; Mon, 16 Jan 2012 05:49:27 -0500
Received: from mow600.mserv.hi-ho.ne.jp ([202.32.78.136]:37392
	helo=mow.mserv.hi-ho.ne.jp) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <h-iwamoto@kit.hi-ho.ne.jp>)
	id 1Rmk7o-0002w0-Ls; Mon, 16 Jan 2012 05:49:17 -0500
Received: by mow.mserv.hi-ho.ne.jp (mow600) id q0GAnAYO021500;
	Mon, 16 Jan 2012 19:49:10 +0900
Received: from [127.0.0.1] (osk34-p23.flets.hi-ho.ne.jp [121.102.170.23])
	by mbox.mserv.hi-ho.ne.jp (hiho-mbox604) id q0GAn9jx010635;
	Mon, 16 Jan 2012 19:49:09 +0900
Date: Mon, 16 Jan 2012 19:49:10 +0900
From: Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp>
To: Shigio YAMAGUCHI <shigio@gnu.org>
Subject: Re: [Global-commit] global/global global.c
In-Reply-To: <E1Rmige-0003wh-Ty@vcs.savannah.gnu.org>
References: <E1Rmige-0003wh-Ty@vcs.savannah.gnu.org>
Message-Id: <20120116194909.1C4F.1976CC75@kit.hi-ho.ne.jp>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver. 2.58 [ja]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 202.32.78.136
Cc: bug-global <bug-global@gnu.org>
X-BeenThere: bug-global@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU GLOBAL <bug-global.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-global>
List-Post: <mailto:bug-global@gnu.org>
List-Help: <mailto:bug-global-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jan 2012 10:49:31 -0000

Hi.

> http://cvs.savannah.gnu.org/viewcvs/global/global/global.c?cvsroot=global&r1=1.256&r2=1.257

This change caused a compilation error on Fedora Core 4.
<sys/params.h> is not portable.


Making all in global
global.c:26:24: error: sys/params.h: No such file or directory
global.c: In function 'main':
global.c:696: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
global.c:703: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
global.c:710: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
global.c:717: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
make[2]: *** [global.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

On Mon, 16 Jan 2012 09:17:08 +0000
Shigio YAMAGUCHI <shigio@gnu.org> wrote:

> CVSROOT:	/sources/global
> Module name:	global
> Changes by:	Shigio YAMAGUCHI <shigio>	12/01/16 09:17:08
> 
> Modified files:
> 	global         : global.c 
> 
> Log message:
> 	[Bug fixed] Couldn't read a file list with relative path name.
> 
> CVSWeb URLs:
> http://cvs.savannah.gnu.org/viewcvs/global/global/global.c?cvsroot=global&r1=1.256&r2=1.257
> 
> _______________________________________________
> Global-commit mailing list
> Global-commit@gnu.org
> https://lists.gnu.org/mailman/listinfo/global-commit

-- 
Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp>



From MAILER-DAEMON Mon Jan 16 06:28:48 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Rmkk4-0007jV-2H
	for mharc-bug-global@gnu.org; Mon, 16 Jan 2012 06:28:48 -0500
Received: from eggs.gnu.org ([140.186.70.92]:49282)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1Rmkjz-0007jP-6H
	for bug-global@gnu.org; Mon, 16 Jan 2012 06:28:47 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1Rmkjy-0000J9-2p
	for bug-global@gnu.org; Mon, 16 Jan 2012 06:28:43 -0500
Received: from msa104lp.auone-net.jp ([222.3.140.167]:33460)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>)
	id 1Rmkjx-00007H-Qt; Mon, 16 Jan 2012 06:28:42 -0500
Received: from choota.tamacom.com (KHP059138043202.ppp-bb.dion.ne.jp
	[59.138.43.202])
	by msa104lp.auone-net.jp (au one net msa) with ESMTP id 28F3465003A;
	Mon, 16 Jan 2012 20:28:32 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id q0GBSVHo025491;
	Mon, 16 Jan 2012 20:28:31 +0900 (JST)
Message-Id: <201201161128.q0GBSVHo025491@tamacom.com>
To: Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp>
Subject: Re: [Global-commit] global/global global.c
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <20120116194909.1C4F.1976CC75@kit.hi-ho.ne.jp>
In-reply-to: Message from Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> of "Mon,
	16 Jan 2012 19:49:10 JST."
	<20120116194909.1C4F.1976CC75@kit.hi-ho.ne.jp>
Date: Mon, 16 Jan 2012 20:28:31 +0900
Sender: shigio@tamacom.com
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 222.3.140.167
Cc: bug-global <bug-global@gnu.org>
X-BeenThere: bug-global@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU GLOBAL <bug-global.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-global>
List-Post: <mailto:bug-global@gnu.org>
List-Help: <mailto:bug-global-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 16 Jan 2012 11:28:47 -0000

Hi,
Sorry. It's was my mistake.
I have committed the fix.

> > http://cvs.savannah.gnu.org/viewcvs/global/global/global.c?cvsroot=global&r1=1.256&r2=1.257
> 
> This change caused a compilation error on Fedora Core 4.
> <sys/params.h> is not portable.
> 
> 
> Making all in global
> global.c:26:24: error: sys/params.h: No such file or directory
> global.c: In function 'main':
> global.c:696: warning: ignoring return value of 'chdir', declared with attribute warn_unused_resu
lt
> global.c:703: warning: ignoring return value of 'chdir', declared with attribute warn_unused_resu
lt
> global.c:710: warning: ignoring return value of 'chdir', declared with attribute warn_unused_resu
lt
> global.c:717: warning: ignoring return value of 'chdir', declared with attribute warn_unused_resu
lt
> make[2]: *** [global.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> On Mon, 16 Jan 2012 09:17:08 +0000
> Shigio YAMAGUCHI <shigio@gnu.org> wrote:
> 
> > CVSROOT:	/sources/global
> > Module name:	global
> > Changes by:	Shigio YAMAGUCHI <shigio>	12/01/16 09:17:08
> > 
> > Modified files:
> > 	global         : global.c 
> > 
> > Log message:
> > 	[Bug fixed] Couldn't read a file list with relative path name.
> > 
> > CVSWeb URLs:
> > http://cvs.savannah.gnu.org/viewcvs/global/global/global.c?cvsroot=global&r1=1.256&r2=1.257
> > 
> > _______________________________________________
> > Global-commit mailing list
> > Global-commit@gnu.org
> > https://lists.gnu.org/mailman/listinfo/global-commit
> 
> -- 
> Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp>
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


From MAILER-DAEMON Thu Jan 19 10:19:00 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1RntlU-0007C1-OV
	for mharc-bug-global@gnu.org; Thu, 19 Jan 2012 10:19:00 -0500
Received: from eggs.gnu.org ([140.186.70.92]:40732)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Rolf.Schreiber@non.verigy.com>) id 1RnoYa-0000Hf-Kd
	for bug-global@gnu.org; Thu, 19 Jan 2012 04:45:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Rolf.Schreiber@non.verigy.com>) id 1RnoYZ-00083a-SG
	for bug-global@gnu.org; Thu, 19 Jan 2012 04:45:20 -0500
Received: from mail95.messagelabs.com ([216.82.242.147]:25914)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Rolf.Schreiber@non.verigy.com>) id 1RnoYZ-00083K-Pq
	for bug-global@gnu.org; Thu, 19 Jan 2012 04:45:19 -0500
X-Env-Sender: Rolf.Schreiber@non.verigy.com
X-Msg-Ref: server-7.tower-95.messagelabs.com!1326966316!10189435!1
X-Originating-IP: [192.85.154.72]
X-StarScan-Version: 6.4.3; banners=-,-,-
X-VirusChecked: Checked
Received: (qmail 26818 invoked from network); 19 Jan 2012 09:45:17 -0000
Received: from ahmler2.mail.eds.com (HELO ahmler2.mail.eds.com) (192.85.154.72)
	by server-7.tower-95.messagelabs.com with DHE-RSA-AES256-SHA encrypted
	SMTP; 19 Jan 2012 09:45:17 -0000
Received: from ahmler2.mail.eds.com (localhost.localdomain [127.0.0.1])
	by ahmler2.mail.eds.com (8.14.4/8.13.8) with ESMTP id q0J9iwgJ022117
	for <bug-global@gnu.org>; Thu, 19 Jan 2012 04:44:58 -0500
Received: from ahbir2.mail.eds.com (ahbir2-2.mail.eds.com [192.85.154.140])
	by ahmler2.mail.eds.com (8.14.4/8.13.8) with ESMTP id q0J9iw6D022001
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK)
	for <bug-global@gnu.org>; Thu, 19 Jan 2012 04:44:58 -0500
Received: from USPLSVPEX003.ent.rt.verigy.net ([192.100.40.9])
	by ahbir2.mail.eds.com (8.13.8/8.13.8) with ESMTP id q0J9iv6M032390
	(version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL)
	for <bug-global@gnu.org>; Thu, 19 Jan 2012 04:44:57 -0500
X-EDSCOD-Source-Ip: 192.100.40.9
X-Envelope-From: Rolf.Schreiber@non.verigy.com
Received: from DEBOSVPEX002.ent.rt.verigy.net (10.17.10.105) by
	USPLSVPEX003.ent.rt.verigy.net (10.16.58.179) with Microsoft SMTP
	Server (TLS) id 14.1.355.2; Thu, 19 Jan 2012 03:44:58 -0600
Received: from DEBOSVPEX001.ent.rt.verigy.net ([169.254.3.33]) by
	DEBOSVPEX002.ent.rt.verigy.net ([10.17.10.105]) with mapi id
	14.01.0339.001; Thu, 19 Jan 2012 10:44:56 +0100
From: "Schreiber, Rolf" <Rolf.Schreiber@non.verigy.com>
To: "bug-global@gnu.org" <bug-global@gnu.org>
Subject: BUG: automatic skip of files from filelist
Thread-Topic: automatic skip of files from filelist
Thread-Index: AczWjteT0H9t68ZLR0S6VOFBfsPAhQ==
Date: Thu, 19 Jan 2012 09:44:54 +0000
Message-ID: <5E0247C0C8E25044AE6CE6CB4028A1F51484E055@DEBOSVPEX001.ent.rt.verigy.net>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.16.58.176]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 216.82.242.147
X-Mailman-Approved-At: Thu, 19 Jan 2012 10:18:59 -0500
X-BeenThere: bug-global@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU GLOBAL <bug-global.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-global>
List-Post: <mailto:bug-global@gnu.org>
List-Help: <mailto:bug-global-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jan 2012 09:45:24 -0000

Hi,=0A=
=0A=
I use gtags -f myfilelist and was surprised, that some of the files didn't =
get scanned. A line like=0A=
/project/.dotdir/file.c=0A=
is skipped because of the dot in the directory name. So I don't see a way h=
ow I could include this source directory.=0A=
I think, with the "-f" option only user defined skip rules should be applie=
d.=0A=
=0A=
Kind regards,=0A=
=0A=
Rolf=


From MAILER-DAEMON Thu Jan 19 20:20:31 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Ro39b-00087e-6y
	for mharc-bug-global@gnu.org; Thu, 19 Jan 2012 20:20:31 -0500
Received: from eggs.gnu.org ([140.186.70.92]:56168)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1Ro39Y-00087F-VG
	for bug-global@gnu.org; Thu, 19 Jan 2012 20:20:29 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1Ro39X-0002ud-QY
	for bug-global@gnu.org; Thu, 19 Jan 2012 20:20:28 -0500
Received: from msa104lp.auone-net.jp ([222.3.140.167]:56468)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1Ro39X-0002uB-HB
	for bug-global@gnu.org; Thu, 19 Jan 2012 20:20:27 -0500
Received: from choota.tamacom.com (KHP059138043202.ppp-bb.dion.ne.jp
	[59.138.43.202])
	by msa104lp.auone-net.jp (au one net msa) with ESMTP id EBA4D65003A;
	Fri, 20 Jan 2012 10:20:22 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id q0K1KMXX002090;
	Fri, 20 Jan 2012 10:20:22 +0900 (JST)
Message-Id: <201201200120.q0K1KMXX002090@tamacom.com>
To: "Schreiber, Rolf" <Rolf.Schreiber@non.verigy.com>
Subject: Re: BUG: automatic skip of files from filelist
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <5E0247C0C8E25044AE6CE6CB4028A1F51484E055@DEBOSVPEX001.ent.rt.verigy.net>
In-reply-to: Message from "Schreiber, Rolf" <Rolf.Schreiber@non.verigy.com>
	of "Thu, 19 Jan 2012 09:44:54 GMT."
	<5E0247C0C8E25044AE6CE6CB4028A1F51484E055@DEBOSVPEX001.ent.rt.verigy.net>
Date: Fri, 20 Jan 2012 10:20:22 +0900
Sender: shigio@tamacom.com
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 222.3.140.167
Cc: "bug-global@gnu.org" <bug-global@gnu.org>
X-BeenThere: bug-global@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU GLOBAL <bug-global.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-global>
List-Post: <mailto:bug-global@gnu.org>
List-Help: <mailto:bug-global-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jan 2012 01:20:30 -0000

Hi,
> I use gtags -f myfilelist and was surprised, that some of the files didn't get scanned. A line li
ke
> /project/.dotdir/file.c
> is skipped because of the dot in the directory name. So I don't see a way how I could include thi
s source directory.
> I think, with the "-f" option only user defined skip rules should be applied.

Yes. Gtags ignores such files. According to the custom in UNIX,
dot files (and directories) are used to hide their own figure from users.
Why do you use such name for the source code?

How about doing like follows?

$ ln -s  .dotdir dotdir
$ gtags

--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


From MAILER-DAEMON Mon Jan 30 09:31:39 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1RrsGh-0003Wu-BV
	for mharc-bug-global@gnu.org; Mon, 30 Jan 2012 09:31:39 -0500
Received: from eggs.gnu.org ([140.186.70.92]:32928)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <r@schreiber-rolf.de>) id 1RrT5G-00065k-K9
	for bug-global@gnu.org; Sun, 29 Jan 2012 06:38:11 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <r@schreiber-rolf.de>) id 1RrT5F-0004gK-Cj
	for bug-global@gnu.org; Sun, 29 Jan 2012 06:38:10 -0500
Received: from moutng.kundenserver.de ([212.227.126.171]:54777)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <r@schreiber-rolf.de>) id 1RrT5F-0004gC-4m
	for bug-global@gnu.org; Sun, 29 Jan 2012 06:38:09 -0500
Received: from heiki (port-92-203-91-73.dynamic.qsc.de [92.203.91.73])
	by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis)
	id 0M9XvL-1RjzdZ2XVv-00Cvtn; Sun, 29 Jan 2012 12:38:06 +0100
Received: from rolf by heiki with local (Exim 4.76)
	(envelope-from <r@schreiber-rolf.de>) id 1RrT5B-0002q1-OA
	for bug-global@gnu.org; Sun, 29 Jan 2012 12:38:05 +0100
Date: Sun, 29 Jan 2012 12:38:05 +0100
From: Rolf Schreiber <global@schreiber-rolf.de>
To: bug-global@gnu.org
Subject: skipping dot files and "-f" option
Message-ID: <20120129123805.2833d0f6@heiki>
X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.6; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:kNhCwYT8WuSYnkNYjovTv2+3VCJublZbx6E1hLKfIzA
	JMLixeYPJx+WIw0dgVZoB2U+tptGU0VcdMmOz1AD8/rODb9bP1
	VLzHU7uarsMf6ejyPpNF5njYtalUANSCy5WgasCtZ+c53qYfG7
	hqvrIS3sixLE588yvkkNtiHsdeBhvOkFtNboU2urfoF1CO07rk
	qyGHJTchaYIc6gQQrrJq4hqM1s2h+AD+PkF6EfXgVRKUB/9ujU
	YRdL3dZ3pS6c96aCj9HHRdhXGBTNebw8JGMwfWpPgGdNws9Fxs
	CDbacXbZv62pf+RGeKdXIcq3bMUR5HdVuJUD/fm4QazKsnLmw= =
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 212.227.126.171
X-Mailman-Approved-At: Mon, 30 Jan 2012 09:31:37 -0500
X-BeenThere: bug-global@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU GLOBAL <bug-global.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-global>
List-Post: <mailto:bug-global@gnu.org>
List-Help: <mailto:bug-global-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 29 Jan 2012 11:38:11 -0000

Hi,

GLOBAL/gtags automatically skips all dotfiles and dotdirectories, which
is probably a good idea (see
http://lists.gnu.org/archive/html/bug-global/2008-06/msg00000.html).

But there should be a way to include files in a dotdirectory. I'm
trying to use GLOBAL for a big project where some source code is in
dotdirectories, and I can't change that project to fit GLOBAL.

The "-f" option of gtags, where you tell exactly, which files to
include should do exactly that IMHO, and not skip dotfiles/dotdirs even
when given by the "-f" option, which is the current behaviour.

I consider this a bug, that
 - files explicitly submitted by the user are not treated
 - there is not even a workaround to treat those files

I see two solutions:
A) take every file from the "-f" option. 
B) create another command line option whether to skip dotfiles/dotdirs.

I prefer solution A), what do you think?

Kind regards,

Rolf Schreiber


From MAILER-DAEMON Mon Jan 30 15:22:38 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1RrxkM-0004ff-JZ
	for mharc-bug-global@gnu.org; Mon, 30 Jan 2012 15:22:38 -0500
Received: from eggs.gnu.org ([140.186.70.92]:55451)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1RrxkK-0004fY-1h
	for bug-global@gnu.org; Mon, 30 Jan 2012 15:22:36 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1RrxkD-00042z-PO
	for bug-global@gnu.org; Mon, 30 Jan 2012 15:22:35 -0500
Received: from msa103lp.auone-net.jp ([222.3.140.166]:53613)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1RrxkD-0003os-Cl
	for bug-global@gnu.org; Mon, 30 Jan 2012 15:22:29 -0500
Received: from choota.tamacom.com (KHP059138043202.ppp-bb.dion.ne.jp
	[59.138.43.202])
	by msa103lp.auone-net.jp (au one net msa) with ESMTP id 95066300038;
	Tue, 31 Jan 2012 05:22:01 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id q0UKM077001909;
	Tue, 31 Jan 2012 05:22:00 +0900 (JST)
Message-Id: <201201302022.q0UKM077001909@tamacom.com>
To: Rolf Schreiber <global@schreiber-rolf.de>
Subject: Re: skipping dot files and "-f" option
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <20120129123805.2833d0f6@heiki>
In-reply-to: Message from Rolf Schreiber <global@schreiber-rolf.de>
	of "Sun, 29 Jan 2012 12:38:05 +0100." <20120129123805.2833d0f6@heiki>
Date: Tue, 31 Jan 2012 05:22:00 +0900
Sender: shigio@tamacom.com
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 222.3.140.166
Cc: bug-global@gnu.org
X-BeenThere: bug-global@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU GLOBAL <bug-global.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-global>
List-Post: <mailto:bug-global@gnu.org>
List-Help: <mailto:bug-global-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jan 2012 20:22:37 -0000

Hello,
> The "-f" option of gtags, where you tell exactly, which files to
> include should do exactly that IMHO, and not skip dotfiles/dotdirs even
> when given by the "-f" option, which is the current behaviour.
> 
> I consider this a bug, that
>  - files explicitly submitted by the user are not treated

In GLOBAL, it is gtags that decides a set of target files.
The purpose of the -f option is to narrow down the set.
It is functionally the same as 'skip list'.

So, even if you specify the following files, gtags ignores them.
- dot files and dot directories
- binary files
- files which are out of the project

>  - there is not even a workaround to treat those files

That's right at present.

> I see two solutions:
> A) take every file from the "-f" option. 
> B) create another command line option whether to skip dotfiles/dotdirs.
> 
> I prefer solution A), what do you think?

In UNIX, since dot files and dot directories are used to hide their
own figure from users, the present operation should be satisfactory
for almost all persons.

So, I would like to select B). How about adding the following option?

$ gtags --accept-dotfiles	# accept dot files and dot directories

Regards,
Shigio
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


From MAILER-DAEMON Mon Jan 30 17:56:14 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Rs090-00064i-4k
	for mharc-bug-global@gnu.org; Mon, 30 Jan 2012 17:56:14 -0500
Received: from eggs.gnu.org ([140.186.70.92]:53144)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <r@schreiber-rolf.de>) id 1Rryyr-0005Zf-S1
	for bug-global@gnu.org; Mon, 30 Jan 2012 16:41:46 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <r@schreiber-rolf.de>) id 1Rryym-0006Jf-AO
	for bug-global@gnu.org; Mon, 30 Jan 2012 16:41:41 -0500
Received: from moutng.kundenserver.de ([212.227.126.186]:57045)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <r@schreiber-rolf.de>)
	id 1Rryya-0006Fm-Tm; Mon, 30 Jan 2012 16:41:25 -0500
Received: from heiki (port-92-203-54-147.dynamic.qsc.de [92.203.54.147])
	by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis)
	id 0MTP9j-1RyxHi0vtn-00SOIm; Mon, 30 Jan 2012 22:41:21 +0100
Received: from rolf by heiki with local (Exim 4.76)
	(envelope-from <r@schreiber-rolf.de>)
	id 1RryyW-0007Ib-Al; Mon, 30 Jan 2012 22:41:20 +0100
Date: Mon, 30 Jan 2012 22:41:20 +0100
From: Rolf Schreiber <global@schreiber-rolf.de>
To: "Shigio YAMAGUCHI" <shigio@gnu.org>
Subject: Re: skipping dot files and "-f" option
Message-ID: <20120130224120.61ddd179@heiki>
In-Reply-To: <201201302022.q0UKM077001909@tamacom.com>
References: <20120129123805.2833d0f6@heiki>
	<201201302022.q0UKM077001909@tamacom.com>
X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.6; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Provags-ID: V02:K0:M2EmhTcM2L4pMObA64A6agjO2EkrEEnuOyWPWx3JJU1
	V1KSWe+OdOAlbX+aO72gPPaZPDdEaz+Ot1PSWBmK7mWqHbCxS5
	N6aub9uqDy5ar318LDwlIIG3Fi8fgN4m70DUrmS9stAYk8XJm/
	ILp98g0HRgwODIdTdV8BpzRK6npAb8Gpc+QmZORFkCGwNoHvqY
	qnUU0RZZ+/ucENSeRyL3RkPi+4nQY9CBuWwT8CmsVKwD8+zlLy
	AsnmrpIAwJLvUk07SR5GazA7FZTSSrO5rctkrg5EL+1mXyvyeP
	W40iKl10dX9qCE/dOrvGEPwSYgplAvkXnofEkPT37jO/PLwTA= =
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 212.227.126.186
X-Mailman-Approved-At: Mon, 30 Jan 2012 17:56:11 -0500
Cc: bug-global@gnu.org
X-BeenThere: bug-global@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU GLOBAL <bug-global.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-global>
List-Post: <mailto:bug-global@gnu.org>
List-Help: <mailto:bug-global-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jan 2012 21:41:46 -0000

Hi,

"gtags --accept-dotfiles" is a good solution IMHO. It breaks no
compatibility and helps avoiding the problem.

Kind regards,

Rolf

Am Tue, 31 Jan 2012 05:22:00 +0900
schrieb "Shigio YAMAGUCHI" <shigio@gnu.org>:

> Hello,
> > The "-f" option of gtags, where you tell exactly, which files to
> > include should do exactly that IMHO, and not skip dotfiles/dotdirs
> > even when given by the "-f" option, which is the current behaviour.
> > 
> > I consider this a bug, that
> >  - files explicitly submitted by the user are not treated
> 
> In GLOBAL, it is gtags that decides a set of target files.
> The purpose of the -f option is to narrow down the set.
> It is functionally the same as 'skip list'.
> 
> So, even if you specify the following files, gtags ignores them.
> - dot files and dot directories
> - binary files
> - files which are out of the project
> 
> >  - there is not even a workaround to treat those files
> 
> That's right at present.
> 
> > I see two solutions:
> > A) take every file from the "-f" option. 
> > B) create another command line option whether to skip
> > dotfiles/dotdirs.
> > 
> > I prefer solution A), what do you think?
> 
> In UNIX, since dot files and dot directories are used to hide their
> own figure from users, the present operation should be satisfactory
> for almost all persons.
> 
> So, I would like to select B). How about adding the following option?
> 
> $ gtags --accept-dotfiles	# accept dot files and dot
> directories
> 
> Regards,
> Shigio
> --
> Shigio YAMAGUCHI <shigio@gnu.org>
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


From MAILER-DAEMON Mon Jan 30 20:44:06 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Rs2lS-0006Nr-SE
	for mharc-bug-global@gnu.org; Mon, 30 Jan 2012 20:44:06 -0500
Received: from eggs.gnu.org ([140.186.70.92]:34802)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1Rs2lR-0006Nl-8x
	for bug-global@gnu.org; Mon, 30 Jan 2012 20:44:06 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1Rs2lP-0006rF-V3
	for bug-global@gnu.org; Mon, 30 Jan 2012 20:44:05 -0500
Received: from msa106lp.auone-net.jp ([222.3.140.169]:59511)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>)
	id 1Rs2lP-0006qy-J6; Mon, 30 Jan 2012 20:44:03 -0500
Received: from choota.tamacom.com (KHP059138043202.ppp-bb.dion.ne.jp
	[59.138.43.202])
	by msa106lp.auone-net.jp (au one net msa) with ESMTP id 5D78394036;
	Tue, 31 Jan 2012 10:43:58 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id q0V1hvW2005290;
	Tue, 31 Jan 2012 10:43:57 +0900 (JST)
Message-Id: <201201310143.q0V1hvW2005290@tamacom.com>
To: Rolf Schreiber <global@schreiber-rolf.de>
Subject: Re: skipping dot files and "-f" option
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <20120130224120.61ddd179@heiki>
In-reply-to: Message from Rolf Schreiber <global@schreiber-rolf.de>
	of "Mon, 30 Jan 2012 22:41:20 +0100." <20120130224120.61ddd179@heiki>
Date: Tue, 31 Jan 2012 10:43:57 +0900
Sender: shigio@tamacom.com
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-Received-From: 222.3.140.169
Cc: bug-global@gnu.org
X-BeenThere: bug-global@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: Bug reports for GNU GLOBAL <bug-global.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-global>
List-Post: <mailto:bug-global@gnu.org>
List-Help: <mailto:bug-global-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-global>,
	<mailto:bug-global-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 01:44:06 -0000

> "gtags --accept-dotfiles" is a good solution IMHO. It breaks no
> compatibility and helps avoiding the problem.

OK. Since nobody isn't opposed to this solution, 
I will add it to the next release.
Thank you for the suggestion.

Regards,
Shigio
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


