From MAILER-DAEMON Tue Jun 07 07:02:46 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QTu3a-0001sb-2R
	for mharc-bug-global@gnu.org; Tue, 07 Jun 2011 07:02:46 -0400
Received: from eggs.gnu.org ([140.186.70.92]:54260)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jadoxa@yahoo.com.au>) id 1QTqHL-0002fb-5T
	for bug-global@gnu.org; Tue, 07 Jun 2011 03:00:44 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jadoxa@yahoo.com.au>) id 1QTqHH-0008Vy-TH
	for bug-global@gnu.org; Tue, 07 Jun 2011 03:00:42 -0400
Received: from nm21-vm0.bullet.mail.ne1.yahoo.com ([98.138.90.94]:20794)
	by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <jadoxa@yahoo.com.au>) id 1QTqHH-0008Ve-0P
	for bug-global@gnu.org; Tue, 07 Jun 2011 03:00:39 -0400
Received: from [98.138.90.50] by nm21.bullet.mail.ne1.yahoo.com with NNFMP;
	07 Jun 2011 07:00:36 -0000
Received: from [98.138.87.10] by tm3.bullet.mail.ne1.yahoo.com with NNFMP;
	07 Jun 2011 07:00:36 -0000
Received: from [127.0.0.1] by omp1010.mail.ne1.yahoo.com with NNFMP;
	07 Jun 2011 07:00:36 -0000
X-Yahoo-Newman-Id: 898645.24859.bm@omp1010.mail.ne1.yahoo.com
Received: (qmail 19785 invoked from network); 7 Jun 2011 07:00:36 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.au;
	h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding;
	b=JDPjXEE4eo0ymNxtcbDllsQastZhAqZxGwgAs1119GPiuGuljJ37mFV2VG6EMJtEUmjrz0Lxj3ZjykFlChi/P3DNRmdGlcCUnqfA7MwlD+3HJEsHfj17Krog7HiYL8WaYqRFXzBRhAaCY/GgymPkp8QKu6ai8evUG/nU4fjADsQ=
	; 
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.au; s=s1024;
	t=1307430036; bh=bHgRSVVTlp/gwXUkjBKXguWTfXaNtYsY5+nplE6uWxg=;
	h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding;
	b=qhiF+nFkJuPw/WeBZZHaNiWfZ8efLF2fTqXohskVHlj3ZZc0mz/EG5ejYXnguPK6qrICGNqhUADVvvBUVKmEwkcGNJ0xvlh6MjF/JjUICqGmOeNKRSI3JOtcLrA69ntUYGWF2r3Cs7c8EbhB1jSgyUQwcAePR6ihwoz6Sbj5qp0=
Received: from [122.149.121.143] (jadoxa@122.149.121.143 with plain)
	by smtp137.mail.mud.yahoo.com with SMTP; 07 Jun 2011 00:00:35 -0700 PDT
X-Yahoo-SMTP: merhD1KswBCOGgml8bVfL5NEUQ--
X-YMail-OSG: yQ4EhXoVM1lDqawAHqfmL9HsLixlGF5.Ivx3RWWCXz6zwi9
	.ILaEXMq6WWhlwiCsMd03s6HbeBdxYXJaV7MBDe1gx7YtqdIfHEFUVzU.j8u
	wuZPxHTCpsQy8lgb9Ml.NWu0GH0fDqx53qDCSa8GX_Q61ugofyGUp8qp2PDp
	XcVAStuvfOhBVwomGopCyeyuT3S3lCApiYEk0FbM7sDK0782oLRuMLY_JB6B
	IRCmTfkclPgpV.uTnegRM3ehxM12RCppdU6ODn8pHeEa5NrIxaz8RmKeMwi7
	kPpfF_CoC_a.XXzC9tXQRa_MvePWKPsfWeEJfGN3bXvASbuv5anUzHF.XDnS
	14s9eO8miSxIuVc1.jf_W8yEmkfEBgDlPs83X40eJhPgEOs70wg--
X-Yahoo-Newman-Property: ymail-3
Message-ID: <4DEDCC90.3020901@yahoo.com.au>
Date: Tue, 07 Jun 2011 17:00:32 +1000
From: Jason Hood <jadoxa@yahoo.com.au>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
MIME-Version: 1.0
To: bug-global@gnu.org
Subject: GLOBAL 5.9.6 DOS/Win Patch
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 98.138.90.94
X-Mailman-Approved-At: Tue, 07 Jun 2011 07:02:43 -0400
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, 07 Jun 2011 07:00:44 -0000

Just a minor oversight:

diff -ur global-5.9.6/libutil/char.c global-5.9-6/libutil/char.c
--- global-5.9.6/libutil/char.c	Tue Jun 07 10:43:44 2011
+++ global-5.9-6/libutil/char.c	Tue Jun 07 16:35:16 2011
@@ -116,7 +116,7 @@
  	strbuf_clear(sb);
  	strbuf_putc(sb, SHELL_QUOTE);
  #if defined(__DJGPP__) || (defined(_WIN32) && !defined(__CYGWIN__))
-	strbuf_puts(s);
+	strbuf_puts(sb, s);
  #else
  	for (; *s; s++) {
  		if (*s == SHELL_QUOTE) {

-- 
Jason.


From MAILER-DAEMON Tue Jun 07 07:22:59 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QTuN9-0004fa-96
	for mharc-bug-global@gnu.org; Tue, 07 Jun 2011 07:22:59 -0400
Received: from eggs.gnu.org ([140.186.70.92]:36793)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QTuN4-0004eR-Ue
	for bug-global@gnu.org; Tue, 07 Jun 2011 07:22:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QTuN2-0007f9-Kc
	for bug-global@gnu.org; Tue, 07 Jun 2011 07:22:54 -0400
Received: from msa106lp.auone-net.jp ([222.3.140.169]:54035)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QTuN2-0007eU-4F
	for bug-global@gnu.org; Tue, 07 Jun 2011 07:22:52 -0400
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 8B00094037;
	Tue,  7 Jun 2011 20:22:49 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id p57BMmGp004085;
	Tue, 7 Jun 2011 20:22:48 +0900 (JST)
Message-Id: <201106071122.p57BMmGp004085@tamacom.com>
To: Jason Hood <jadoxa@yahoo.com.au>
Subject: Re: GLOBAL 5.9.6 DOS/Win Patch
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <4DEDCC90.3020901@yahoo.com.au>
In-reply-to: Message from Jason Hood <jadoxa@yahoo.com.au>
	of "Tue, 07 Jun 2011 17:00:32 +1000." <4DEDCC90.3020901@yahoo.com.au>
Date: Tue, 07 Jun 2011 20:22:48 +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, 07 Jun 2011 11:22:57 -0000

I have committed it.
Always thank you.

> Just a minor oversight:
> 
> diff -ur global-5.9.6/libutil/char.c global-5.9-6/libutil/char.c
> --- global-5.9.6/libutil/char.c	Tue Jun 07 10:43:44 2011
> +++ global-5.9-6/libutil/char.c	Tue Jun 07 16:35:16 2011
> @@ -116,7 +116,7 @@
>   	strbuf_clear(sb);
>   	strbuf_putc(sb, SHELL_QUOTE);
>   #if defined(__DJGPP__) || (defined(_WIN32) && !defined(__CYGWIN__))
> -	strbuf_puts(s);
> +	strbuf_puts(sb, s);
>   #else
>   	for (; *s; s++) {
>   		if (*s == SHELL_QUOTE) {
> 
> -- 
> Jason.
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


From MAILER-DAEMON Tue Jun 07 23:53:32 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QU9pj-0006vr-UP
	for mharc-bug-global@gnu.org; Tue, 07 Jun 2011 23:53:32 -0400
Received: from eggs.gnu.org ([140.186.70.92]:47451)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <updogliu@gmail.com>) id 1QU8I6-0008Ne-Cf
	for bug-global@gnu.org; Tue, 07 Jun 2011 22:14:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <updogliu@gmail.com>) id 1QU8I5-0006FD-Jd
	for bug-global@gnu.org; Tue, 07 Jun 2011 22:14:42 -0400
Received: from mail-iy0-f169.google.com ([209.85.210.169]:58322)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <updogliu@gmail.com>) id 1QU8I4-0006Ep-HL
	for bug-global@gnu.org; Tue, 07 Jun 2011 22:14:41 -0400
Received: by iyl8 with SMTP id 8so70302iyl.0
	for <bug-global@gnu.org>; Tue, 07 Jun 2011 19:14:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:date:message-id:subject:from:to
	:content-type; bh=CYOF9qI6q/QkhCdY9LCF7b6xmUF6ASvIfDy6IHOo2s4=;
	b=IBaB4yNU2hbysJWU1bdWaWVtA0dB58VWSIUjfnyfUVu9jE2WJMmVp6V6DKhw6hKMM8
	HgZERLakzQRzwDGHmRAd4SF2WjALnacjnXXHFTbu9nAuh9azDg2cHhDhxzV+8C8ALGzo
	ZOO8KTMWHRZ6yqmM+OUgE1zP+EVpp5LPL4McM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:date:message-id:subject:from:to:content-type;
	b=N+k9ctPfyz4IKC3tRQHnBtkEmM4gUMoJlstylDULt8hARXbD8SxKD+dFw2lgFyiNBz
	DXTf4nt/MIDHlaq2io2dayrzR8D+X/fjh6EDC/OSJvJW8N90yC+6RPURADntPQGFISl3
	UtmBQkhI4i9g+dr+p6hkJUvlayRXr/fXuF5bE=
MIME-Version: 1.0
Received: by 10.42.29.131 with SMTP id r3mr11396049icc.377.1307499279407; Tue,
	07 Jun 2011 19:14:39 -0700 (PDT)
Received: by 10.42.165.195 with HTTP; Tue, 7 Jun 2011 19:14:39 -0700 (PDT)
Date: Wed, 8 Jun 2011 10:14:39 +0800
Message-ID: <BANLkTikzsyM8trom9VNWuqQd3u6gj-O3wA@mail.gmail.com>
Subject: gtags doesn't deal with link file properly.
From: updog Liu <updogliu@gmail.com>
To: bug-global@gnu.org
Content-Type: text/plain; charset=ISO-8859-1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.210.169
X-Mailman-Approved-At: Tue, 07 Jun 2011 23:53:30 -0400
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, 08 Jun 2011 02:14:43 -0000

OS: Ubuntu 11.04
GLOBAL: 5.9.6
Command line: gtags -v

Due to a symbolic link in some place of the source tree to the root directory,
many file are processed multiple times.
For example:
These is a link file at ~/nestk/samples/example_embedded to ~/nestk.

 [1402] extracting tags of
nestk/samples/example_embedded/nestk/deps/eigen/Eigen/src/LU/Inverse.h
 [2718] extracting tags of
nestk/samples/example_embedded/nestk/samples/example_embedded/nestk/deps/eigen/Eigen/src/LU/Inverse.h
 [4034] extracting tags of
nestk/samples/example_embedded/nestk/samples/example_embedded/nestk/samples/example_embedded/nestk/deps/eigen/Eigen/src/LU/Inverse.h


-- 
Regards,
Zihan, Sheldon Liu
------------------------
The Media Computing Group (MCG)
where Media Spectrum unleashes Digital Potential for Fun in Life.

School of Creative Media (SCM)
City University of Hong Kong


From MAILER-DAEMON Tue Jun 07 23:53:32 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QU9pk-0006w6-E4
	for mharc-bug-global@gnu.org; Tue, 07 Jun 2011 23:53:32 -0400
Received: from eggs.gnu.org ([140.186.70.92]:41754)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <asmwarrior@gmail.com>) id 1QU9OT-0004vf-No
	for bug-global@gnu.org; Tue, 07 Jun 2011 23:25:22 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <asmwarrior@gmail.com>) id 1QU9OS-0008SX-9Q
	for bug-global@gnu.org; Tue, 07 Jun 2011 23:25:21 -0400
Received: from mail-px0-f179.google.com ([209.85.212.179]:50347)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <asmwarrior@gmail.com>) id 1QU9OS-0008SP-4i
	for bug-global@gnu.org; Tue, 07 Jun 2011 23:25:20 -0400
Received: by pxi2 with SMTP id 2so59120pxi.38
	for <bug-global@gnu.org>; Tue, 07 Jun 2011 20:25:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:message-id:date:from:user-agent:mime-version:to
	:subject:content-type:content-transfer-encoding;
	bh=5hKNDiIQkJArucKqXCtFiDAEiKGlOb/zuvd3nnpensE=;
	b=akR0qMFMdmFwSJmIX1mRjcoD1z7GEreHT19019Y5BounRfv1rWkwTfl+/JSpVu+Uuw
	nFodJjPEsyK32jWV+ilzFWkGlITBZCD8KbIh+Ab21V3LiHO0CD0ugK4Ug6utxAw64B0+
	NEgVExMAOLkLsL1P6GTcDu9oLfmZGt1Q19ULI=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:user-agent:mime-version:to:subject
	:content-type:content-transfer-encoding;
	b=bHh45zupVPqrTqOlXHJj6Ft6JWJmN+/3Y+tczygLHOI8JEXsP9eCqvFXCw+7rdaNZg
	lTV8hL3VXPg0w3On+dx83ueOpoNeckWn5Lkc6aaSfriBuC/n7o9qBFk2xlhQk0Hf2c1Z
	41JPWsp3u9H2Aex4ng2oPcNOwCOsVAUHPZqAY=
Received: by 10.142.66.12 with SMTP id o12mr96282wfa.219.1307503518449;
	Tue, 07 Jun 2011 20:25:18 -0700 (PDT)
Received: from [210.32.148.57] ([210.32.148.57])
	by mx.google.com with ESMTPS id x16sm139434wfc.10.2011.06.07.20.25.14
	(version=SSLv3 cipher=OTHER); Tue, 07 Jun 2011 20:25:17 -0700 (PDT)
Message-ID: <4DEEEACC.4090502@gmail.com>
Date: Wed, 08 Jun 2011 11:21:48 +0800
From: asmwarrior <asmwarrior@gmail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
MIME-Version: 1.0
To: bug-global@gnu.org
Subject: parser improvement suggestion
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.212.179
X-Mailman-Approved-At: Tue, 07 Jun 2011 23:53:30 -0400
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, 08 Jun 2011 03:25:23 -0000

Hi, I have briefly review the code
global-5.9.6\libparser\Cpp.c

It seems the parser was quite limited on parsing c++ language.

Here are my suggestions:

take some reference:
1, ctags
2, codeblocks' parser
3, clang/qtcreater...

I have a collecting on
Code Completion Design - CodeBlocks - 
http://wiki.codeblocks.org/index.php?title=Code_Completion_Design
See its last chapter, I have list a lot of parser reference. (most of 
them were GPLed project)

About the full stage:
lexer
preprocessor
parser

I think a full preprocessor is not necessory, but a lexer is necessory, 
I have try to rewrite the code::blocks' parser by using Quex lexer, this 
will make your parser code clean and easy to learn.

See my personal parser project:
http://code.google.com/p/quexparser/

Mostly, I think you need to use the "recursive decent parser", so you 
create a lot of functions like:
HandleClass();
HandleNamespace();
HandleWhile();

You can see my code:
http://code.google.com/p/quexparser/source/browse/trunk/cppparser/parserthread_test.cpp

The code should be easy to read.

For this kind of bug:
http://lists.gnu.org/archive/html/bug-global/2011-05/msg00000.html
I think you can add some simple replacement rule to skip Some user 
defined words in the lexer/preprocessor stage.
This is much like the ctags -I option.


Finally, I'm grad to see the gtags project and hope it will becomes 
mature in the future.

asmwarrior
ollydbg from code::blocks' forum


From MAILER-DAEMON Wed Jun 08 00:52:48 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QUAl6-0004fx-Bf
	for mharc-bug-global@gnu.org; Wed, 08 Jun 2011 00:52:48 -0400
Received: from eggs.gnu.org ([140.186.70.92]:48847)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QUAl2-0004f3-GM
	for bug-global@gnu.org; Wed, 08 Jun 2011 00:52:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QUAl0-0005C3-PT
	for bug-global@gnu.org; Wed, 08 Jun 2011 00:52:44 -0400
Received: from msa101lp.auone-net.jp ([222.3.140.164]:50404)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QUAl0-0005BK-D0
	for bug-global@gnu.org; Wed, 08 Jun 2011 00:52:42 -0400
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 CDAFF18C038;
	Wed,  8 Jun 2011 13:52:36 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id p584qZsi012504;
	Wed, 8 Jun 2011 13:52:35 +0900 (JST)
Message-Id: <201106080452.p584qZsi012504@tamacom.com>
To: updog Liu <updogliu@gmail.com>
Subject: Re: gtags doesn't deal with link file properly.
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <BANLkTikzsyM8trom9VNWuqQd3u6gj-O3wA@mail.gmail.com>
In-reply-to: Message from updog Liu <updogliu@gmail.com> of "Wed,
	08 Jun 2011 10:14:39 +0800."
	<BANLkTikzsyM8trom9VNWuqQd3u6gj-O3wA@mail.gmail.com>
Date: Wed, 08 Jun 2011 13:52:35 +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: 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: Wed, 08 Jun 2011 04:52:46 -0000

Hello,
> OS: Ubuntu 11.04
> GLOBAL: 5.9.6
> Command line: gtags -v
> 
> Due to a symbolic link in some place of the source tree to the root directory,
> many file are processed multiple times.
> For example:
> These is a link file at ~/nestk/samples/example_embedded to ~/nestk.
> 
>  [1402] extracting tags of
> nestk/samples/example_embedded/nestk/deps/eigen/Eigen/src/LU/Inverse.h
>  [2718] extracting tags of
> nestk/samples/example_embedded/nestk/samples/example_embedded/nestk/deps/eigen/Eigen/src/LU/Inver
se.h
>  [4034] extracting tags of
> nestk/samples/example_embedded/nestk/samples/example_embedded/nestk/samples/example_embedded/nest
k/deps/eigen/Eigen/src/LU/Inverse.h

You are right. It is already in the plan for the future.
[http://www.gnu.org/software/global/plans.html]

Though it is a most immediate priority, nobody actually does the work.

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


From MAILER-DAEMON Wed Jun 08 02:57:18 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QUCha-0004LG-7B
	for mharc-bug-global@gnu.org; Wed, 08 Jun 2011 02:57:18 -0400
Received: from eggs.gnu.org ([140.186.70.92]:45682)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <updogliu@gmail.com>) id 1QUCbY-0003SX-PT
	for bug-global@gnu.org; Wed, 08 Jun 2011 02:51:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <updogliu@gmail.com>) id 1QUCbX-0006Xc-Ko
	for bug-global@gnu.org; Wed, 08 Jun 2011 02:51:04 -0400
Received: from mail-iy0-f169.google.com ([209.85.210.169]:46507)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <updogliu@gmail.com>)
	id 1QUCbX-0006XN-Gu; Wed, 08 Jun 2011 02:51:03 -0400
Received: by iyl8 with SMTP id 8so247569iyl.0
	for <multiple recipients>; Tue, 07 Jun 2011 23:51:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type
	:content-transfer-encoding;
	bh=P1PNO9ke/NLSlsTVtl/oUBuoskysQvWktaogNUGG8cs=;
	b=DobSGsZhtUguByD3TSF+klcOeYg02ToHUQqBzurRuH+oK0nAiv44j0lLRTFOMX70g/
	PY/oDI8dIbv7xmlyTxbAgcb+cSdwBc4aW3VteGf99RoQRs9ld1MlnlSTVoa6MtYRKolK
	VkOZjdzBcyCEylFofKfZpzaKIPO252to7z+1E=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=mime-version:in-reply-to:references:date:message-id:subject:from:to
	:cc:content-type:content-transfer-encoding;
	b=ZZFVorGZsTjlEeg7L836ljp3dZad/JdkHPKgX9uFYGkGzWrxVnj3Qj1Ug5HUV4o9Uu
	HYIhR2FxnTQPtjVikKiyM54lXIW453GAKCYi1Ijkhhhn0s8dgRdb9lcwvOO7VRm55H5n
	QmBRwJvVm1EaE9DMkqQYFWMDjk0ILitr0qZ0s=
MIME-Version: 1.0
Received: by 10.43.61.196 with SMTP id wx4mr8571icb.310.1307515861825; Tue, 07
	Jun 2011 23:51:01 -0700 (PDT)
Received: by 10.42.165.195 with HTTP; Tue, 7 Jun 2011 23:51:01 -0700 (PDT)
In-Reply-To: <201106080452.p584qZsi012504@tamacom.com>
References: <updogliu@gmail.com>
	<BANLkTikzsyM8trom9VNWuqQd3u6gj-O3wA@mail.gmail.com>
	<201106080452.p584qZsi012504@tamacom.com>
Date: Wed, 8 Jun 2011 14:51:01 +0800
Message-ID: <BANLkTinxYPvBMPBesnqO6DdwNkXwOKjYow@mail.gmail.com>
Subject: Re: gtags doesn't deal with link file properly.
From: updog Liu <updogliu@gmail.com>
To: Shigio YAMAGUCHI <shigio@gnu.org>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.210.169
X-Mailman-Approved-At: Wed, 08 Jun 2011 02:57:16 -0400
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: Wed, 08 Jun 2011 06:51:06 -0000

    Maybe it's helpful to explain this issue in the tutorial at
www.gnu.org/software/global/,
and tell people for the moment they need to manually build a file list
and use -f option in this situation.

On Wed, Jun 8, 2011 at 12:52 PM, Shigio YAMAGUCHI <shigio@gnu.org> wrote:
> Hello,
>> OS: Ubuntu 11.04
>> GLOBAL: 5.9.6
>> Command line: gtags -v
>>
>> Due to a symbolic link in some place of the source tree to the root dire=
ctory,
>> many file are processed multiple times.
>> For example:
>> These is a link file at ~/nestk/samples/example_embedded to ~/nestk.
>>
>> =A0[1402] extracting tags of
>> nestk/samples/example_embedded/nestk/deps/eigen/Eigen/src/LU/Inverse.h
>> =A0[2718] extracting tags of
>> nestk/samples/example_embedded/nestk/samples/example_embedded/nestk/deps=
/eigen/Eigen/src/LU/Inver
> se.h
>> =A0[4034] extracting tags of
>> nestk/samples/example_embedded/nestk/samples/example_embedded/nestk/samp=
les/example_embedded/nest
> k/deps/eigen/Eigen/src/LU/Inverse.h
>
> You are right. It is already in the plan for the future.
> [http://www.gnu.org/software/global/plans.html]
>
> Though it is a most immediate priority, nobody actually does the work.
>
> Anyway, thank you for the proposal.
> --
> Shigio YAMAGUCHI <shigio@gnu.org>
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663 =A0C4B6 3CA5 BBB3 57BE DDA3
>



--=20
Regards,
Zihan, Sheldon Liu
------------------------
The Media Computing Group (MCG)
where Media Spectrum unleashes Digital Potential for Fun in Life.

School of Creative Media (SCM)
City University of Hong Kong


From MAILER-DAEMON Wed Jun 08 03:24:34 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QUD7y-0007uU-1v
	for mharc-bug-global@gnu.org; Wed, 08 Jun 2011 03:24:34 -0400
Received: from eggs.gnu.org ([140.186.70.92]:53785)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QUD7v-0007tx-6p
	for bug-global@gnu.org; Wed, 08 Jun 2011 03:24:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QUD7t-0004Fn-Qm
	for bug-global@gnu.org; Wed, 08 Jun 2011 03:24:31 -0400
Received: from msa103lp.auone-net.jp ([222.3.140.166]:45142)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>)
	id 1QUD7s-0004Ep-Ib; Wed, 08 Jun 2011 03:24:28 -0400
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 B8E84300038;
	Wed,  8 Jun 2011 16:24:25 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id p587OOru013044;
	Wed, 8 Jun 2011 16:24:24 +0900 (JST)
Message-Id: <201106080724.p587OOru013044@tamacom.com>
To: updog Liu <updogliu@gmail.com>
Subject: Re: gtags doesn't deal with link file properly.
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <BANLkTinxYPvBMPBesnqO6DdwNkXwOKjYow@mail.gmail.com>
In-reply-to: Message from updog Liu <updogliu@gmail.com> of "Wed,
	08 Jun 2011 14:51:01 +0800."
	<BANLkTinxYPvBMPBesnqO6DdwNkXwOKjYow@mail.gmail.com>
Date: Wed, 08 Jun 2011 16:24:24 +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: Wed, 08 Jun 2011 07:24:32 -0000

>     Maybe it's helpful to explain this issue in the tutorial at
> www.gnu.org/software/global/,
> and tell people for the moment they need to manually build a file list
> and use -f option in this situation.

I would like to add an item about it to the FAQ.
Is this helpful?

Q5. When there is a looping symbolic link, gtags falls into an infinite loop.
    Any workaround?

A5. Until this bug is fixed, you need to manually build a file list, and use it.
    Please try this:

        $ find . -type f -print >gtags.files
        $ gtags
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


From MAILER-DAEMON Wed Jun 08 04:27:28 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QUE6p-0000Dc-Pg
	for mharc-bug-global@gnu.org; Wed, 08 Jun 2011 04:27:27 -0400
Received: from eggs.gnu.org ([140.186.70.92]:54845)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <saffroy@gmail.com>) id 1QUDZB-0002uv-Jd
	for bug-global@gnu.org; Wed, 08 Jun 2011 03:52:42 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <saffroy@gmail.com>) id 1QUDZ9-0001qx-Qd
	for bug-global@gnu.org; Wed, 08 Jun 2011 03:52:41 -0400
Received: from pas38-1-82-67-71-117.fbx.proxad.net ([82.67.71.117]:56167
	helo=siegfried.gbfo.org) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <saffroy@gmail.com>) id 1QUDZ8-0001pt-P2
	for bug-global@gnu.org; Wed, 08 Jun 2011 03:52:39 -0400
Received: from erda.mds (localhost [127.0.0.1])
	by siegfried.gbfo.org (8.13.6/8.13.6) with ESMTP id p587qVCp002746;
	Wed, 8 Jun 2011 09:52:31 +0200
Received: from localhost (saffroy@localhost)
	by erda.mds (8.13.6/8.13.6/Submit) with ESMTP id p587qUEF002743;
	Wed, 8 Jun 2011 09:52:30 +0200
X-Authentication-Warning: erda.mds: saffroy owned process doing -bs
Date: Wed, 8 Jun 2011 09:52:30 +0200 (CEST)
From: Jean-Marc Saffroy <saffroy@gmail.com>
X-X-Sender: saffroy@erda.mds
To: asmwarrior <asmwarrior@gmail.com>
Subject: Re: parser improvement suggestion
In-Reply-To: <4DEEEACC.4090502@gmail.com>
Message-ID: <alpine.DEB.2.00.1106080940300.18822@erda.mds>
References: <4DEEEACC.4090502@gmail.com>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Virus-Scanned: by amavisd-new
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 82.67.71.117
X-Mailman-Approved-At: Wed, 08 Jun 2011 04:27:24 -0400
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: Wed, 08 Jun 2011 07:52:43 -0000

Hi,

On Wed, 8 Jun 2011, asmwarrior wrote:

> I think a full preprocessor is not necessory, but a lexer is necessory, 
> I have try to rewrite the code::blocks' parser by using Quex lexer, this 
> will make your parser code clean and easy to learn.

Don't forget that one of the good features of Global is that it is able to 
extract useful information from source that is cluttered with #ifdef's.

> Mostly, I think you need to use the "recursive decent parser", so you create a
> lot of functions like:
> HandleClass();
> HandleNamespace();
> HandleWhile();

With the approach you suggest, is it still possible to parse things like 
this?

#ifdef foo
class foo {
#else
class bar {
#endif
...

> For this kind of bug:
> http://lists.gnu.org/archive/html/bug-global/2011-05/msg00000.html
> I think you can add some simple replacement rule to skip Some user defined
> words in the lexer/preprocessor stage.
> This is much like the ctags -I option.

That's a good point.

> Finally, I'm grad to see the gtags project and hope it will becomes 
> mature in the future.

Global felt quite mature to me the last 10 years I used it. :)


Cheers,
Jean-Marc

-- 
saffroy@gmail.com


From MAILER-DAEMON Wed Jun 08 07:47:34 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QUHEU-0006Yh-36
	for mharc-bug-global@gnu.org; Wed, 08 Jun 2011 07:47:34 -0400
Received: from eggs.gnu.org ([140.186.70.92]:41813)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QUHEQ-0006Xj-HZ
	for bug-global@gnu.org; Wed, 08 Jun 2011 07:47:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QUHEO-0000xx-Gx
	for bug-global@gnu.org; Wed, 08 Jun 2011 07:47:30 -0400
Received: from msa105lp.auone-net.jp ([222.3.140.168]:45767)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QUHEO-0000xi-0p
	for bug-global@gnu.org; Wed, 08 Jun 2011 07:47:28 -0400
Received: from choota.tamacom.com (KHP059138043202.ppp-bb.dion.ne.jp
	[59.138.43.202])
	by msa105lp.auone-net.jp (au one net msa) with ESMTP id 72DFB7F0037;
	Wed,  8 Jun 2011 20:47:25 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id p58BlNhx041360;
	Wed, 8 Jun 2011 20:47:23 +0900 (JST)
Message-Id: <201106081147.p58BlNhx041360@tamacom.com>
To: asmwarrior <asmwarrior@gmail.com>
Subject: Re: parser improvement suggestion
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <4DEEEACC.4090502@gmail.com>
In-reply-to: Message from asmwarrior <asmwarrior@gmail.com>
	of "Wed, 08 Jun 2011 11:21:48 +0800." <4DEEEACC.4090502@gmail.com>
Date: Wed, 08 Jun 2011 20:47:23 +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.168
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: Wed, 08 Jun 2011 11:47:32 -0000

Hi,
> Hi, I have briefly review the code
> global-5.9.6\libparser\Cpp.c
> 
> It seems the parser was quite limited on parsing c++ language.

You are right. GLOBAL's parser is insufficient yet.

However, I have no reserve force to rewrite the parsers. Instead, I would
rather entrust it to outside projects.

Since GLOBAL has plug-in parser mechanism now, everyone can write plug-in
parsers and distribute them. Plug-in parser is a shared library, and is loaded
into GLOBAL dynamically without rewriting GLOBAL itself.
 
> I have try to rewrite the code::blocks' parser by using Quex lexer, this 
> will make your parser code clean and easy to learn.

If you try to write GLOBAL's parser, it will become a big help to GLOBAL
project.  If it is achieved, I will link the site with pleasure.

> See my personal parser project:
> http://code.google.com/p/quexparser/

I saw it. It's a fine project.
Thank you for informing it.
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


From MAILER-DAEMON Wed Jun 08 22:54:51 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QUVOU-0000r7-L1
	for mharc-bug-global@gnu.org; Wed, 08 Jun 2011 22:54:50 -0400
Received: from eggs.gnu.org ([140.186.70.92]:36603)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <asmwarrior@gmail.com>) id 1QUUJX-0002cW-IX
	for bug-global@gnu.org; Wed, 08 Jun 2011 21:45:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <asmwarrior@gmail.com>) id 1QUUJW-0002fQ-Ja
	for bug-global@gnu.org; Wed, 08 Jun 2011 21:45:39 -0400
Received: from mail-pz0-f41.google.com ([209.85.210.41]:40571)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <asmwarrior@gmail.com>) id 1QUUJW-0002fM-Cb
	for bug-global@gnu.org; Wed, 08 Jun 2011 21:45:38 -0400
Received: by pzk4 with SMTP id 4so617740pzk.0
	for <bug-global@gnu.org>; Wed, 08 Jun 2011 18:45:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:message-id:date:from:user-agent:mime-version:to
	:cc:subject:references:in-reply-to:content-type
	:content-transfer-encoding;
	bh=74MVxwIYdvAVsWpUtuVNnvZccwEHZeVi2krg0KGibV0=;
	b=nhb1wrS8PCcbhxRfk0Zy4T9bZSSJy4MyflLGxa9ZBdm7Bt3RO5C4LGpGMI56J15Df/
	0ZraypZvztqxkPJDtmXU/V93YCzgc2NrMiDS9tSmwMwwGYuZNamOw+bza6vFiurvd2FG
	R/TBDHeeQ4xq0pU7pzBZuildPnuGLIcCegXZk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	b=o2s2QS4vpb2/d8ItLpPeZpW9oYEnrIHexx1j3/m0BXype3hCSkbWg1Agg4/rVRcxIH
	2JzWWGe/uN8TF110O44M7jN5zVvGmzZJ1k3xP3E6eZQYD4eY2yqcoJH9rd9S//mJ0wOi
	R7bA/B5O0kgqMSl/pQPWuoqCds8o5AMEF+kW0=
Received: by 10.143.60.5 with SMTP id n5mr15547wfk.434.1307583937263;
	Wed, 08 Jun 2011 18:45:37 -0700 (PDT)
Received: from [210.32.150.166] ([210.32.150.166])
	by mx.google.com with ESMTPS id o1sm1166080wfd.20.2011.06.08.18.45.33
	(version=SSLv3 cipher=OTHER); Wed, 08 Jun 2011 18:45:36 -0700 (PDT)
Message-ID: <4DF024EC.3020804@gmail.com>
Date: Thu, 09 Jun 2011 09:42:04 +0800
From: asmwarrior <asmwarrior@gmail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
MIME-Version: 1.0
To: Jean-Marc Saffroy <saffroy@gmail.com>
Subject: Re: parser improvement suggestion
References: <4DEEEACC.4090502@gmail.com>
	<alpine.DEB.2.00.1106080940300.18822@erda.mds>
In-Reply-To: <alpine.DEB.2.00.1106080940300.18822@erda.mds>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.210.41
X-Mailman-Approved-At: Wed, 08 Jun 2011 22:54:48 -0400
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: Thu, 09 Jun 2011 01:45:40 -0000

On 2011-6-8 15:52, Jean-Marc Saffroy wrote:
>> Mostly, I think you need to use the "recursive decent parser", so you create a
>> lot of functions like:
>> HandleClass();
>> HandleNamespace();
>> HandleWhile();
> With the approach you suggest, is it still possible to parse things like
> this?
>
> #ifdef foo
> class foo {
> #else
> class bar {
> #endif
> ...
Yes, currently, codeblocks' parser can handle this kind of preprocessor 
directive. But there are some limitations.
because
#if Const Expression
It need to do Const expression calculation and Macro expansion. Mostly, 
it need a Macro symbol table look-up. and note that each translation 
unit should have its own symbol table, so this is a time consuming work.

Current way, we just simplified this, if a symbol is not found, we just 
set if to "0", so we can always take a conditional preprocessor branch, 
although it is not 100% correct branch.

ctags has the same way to handle conditional preprocessor directives.
> Global felt quite mature to me the last 10 years I used it. :)
> Cheers,
> Jean-Marc
>
Well, I'd admit that if your code is very complex (contains a lot of c++ 
template and template partial specialization), It is hard to parse them. 
This time, a full compiler front end can solve the issue, but a full 
compiler is always running slowly.:-)
Clang compiler has an index feature, but gcc currently doesn't have such 
feature.

asmwarrior



From MAILER-DAEMON Wed Jun 08 22:54:51 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QUVOV-0000rQ-7n
	for mharc-bug-global@gnu.org; Wed, 08 Jun 2011 22:54:51 -0400
Received: from eggs.gnu.org ([140.186.70.92]:59711)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <asmwarrior@gmail.com>) id 1QUUs2-0007Ad-Al
	for bug-global@gnu.org; Wed, 08 Jun 2011 22:21:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <asmwarrior@gmail.com>) id 1QUUs0-00006P-UY
	for bug-global@gnu.org; Wed, 08 Jun 2011 22:21:17 -0400
Received: from mail-pz0-f41.google.com ([209.85.210.41]:62780)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <asmwarrior@gmail.com>)
	id 1QUUrv-0008V8-Lz; Wed, 08 Jun 2011 22:21:11 -0400
Received: by pzk4 with SMTP id 4so629872pzk.0
	for <multiple recipients>; Wed, 08 Jun 2011 19:21:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:message-id:date:from:user-agent:mime-version:to
	:cc:subject:references:in-reply-to:content-type
	:content-transfer-encoding;
	bh=IQGMdQrvp831GIsht5sZzn47Jnv+Hj3PCPCVxkaGVuk=;
	b=sWI2esuCR2YLcmeAnpfpUaTU+GPIqmVVt4lL8dwByr3bP5dsbxni69LJBlClOnrTNR
	4crJR5qpdizUzcSXQvQZhkNIACdEuUgH/1FERcERy5QgEI2/IQatFsFbo6pLD6pwZrID
	gHvsbKMCCwigQrtpqXhcpRAiUIz/elS2dXOe4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:date:from:user-agent:mime-version:to:cc:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	b=WI2RpWEwpq8htp1IcjsZqYj1aqmul3wWi0lgCN1amUNxpAap5ob1jLTXAP3yCc+Tv3
	/y1uZeYNTnhd7SkS7dMiVOfXAxjd3StHOo/5JaV25PjA2DhCekLfelthkcpnmIHGctTi
	az2KI4EG5F9YW/WE5rlC9m6suuYFVkejYK62Y=
Received: by 10.143.99.21 with SMTP id b21mr21008wfm.296.1307586070448;
	Wed, 08 Jun 2011 19:21:10 -0700 (PDT)
Received: from [210.32.150.166] ([210.32.150.166])
	by mx.google.com with ESMTPS id l10sm1200499wfk.9.2011.06.08.19.21.06
	(version=SSLv3 cipher=OTHER); Wed, 08 Jun 2011 19:21:09 -0700 (PDT)
Message-ID: <4DF02D40.4010305@gmail.com>
Date: Thu, 09 Jun 2011 10:17:36 +0800
From: asmwarrior <asmwarrior@gmail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
MIME-Version: 1.0
To: Shigio YAMAGUCHI <shigio@gnu.org>
Subject: Re: parser improvement suggestion
References: <4DEEEACC.4090502@gmail.com>
	<201106081147.p58BlNhx041360@tamacom.com>
In-Reply-To: <201106081147.p58BlNhx041360@tamacom.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 209.85.210.41
X-Mailman-Approved-At: Wed, 08 Jun 2011 22:54:48 -0400
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: Thu, 09 Jun 2011 02:21:19 -0000

On 2011-6-8 19:47, Shigio YAMAGUCHI wrote:
> If you try to write GLOBAL's parser, it will become a big help to GLOBAL
> project.  If it is achieved, I will link the site with pleasure.
>
sorry, currently, I don't have such plain. My major interest was create 
a parser for code::blocks, hopefully it can be re-used.
Anyway, I will always concern about GLOBAL project.:-)

asmwarrior


From MAILER-DAEMON Thu Jun 16 17:32:58 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QXKBN-0005Hr-MJ
	for mharc-bug-global@gnu.org; Thu, 16 Jun 2011 17:32:57 -0400
Received: from eggs.gnu.org ([140.186.70.92]:40452)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1QWyod-0004Ss-MP
	for bug-global@gnu.org; Wed, 15 Jun 2011 18:44:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1QWyoc-00034h-3d
	for bug-global@gnu.org; Wed, 15 Jun 2011 18:44:03 -0400
Received: from solo.fdn.fr ([80.67.169.19]:44121)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@gnu.org>)
	id 1QWyob-00034S-Eo
	for bug-global@gnu.org; Wed, 15 Jun 2011 18:44:01 -0400
Received: from nixey (reverse-83.fdn.fr [80.67.176.83])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client did not present a certificate)
	(Authenticated sender: lcourtes)
	by smtp.fdn.fr (Postfix) with ESMTPSA id 83E5D442F2
	for <bug-global@gnu.org>; Thu, 16 Jun 2011 00:43:59 +0200 (CEST)
From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=)
To: bug-global@gnu.org
Subject: =?utf-8?B?4oCYZ2xvYmFsIC1j4oCZ?= and $GTAGSLIBPATH
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 28 Prairial an 219 de la =?iso-8859-1?Q?R=E9volution?=
X-PGP-Key-ID: 0xEA52ECF4
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA  D15D 77DD 95E2 EA52 ECF4
X-OS: x86_64-unknown-linux-gnu
Date: Thu, 16 Jun 2011 00:43:55 +0200
Message-ID: <87vcw6sok4.fsf@gnu.org>
User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 80.67.169.19
X-Mailman-Approved-At: Thu, 16 Jun 2011 17:32:56 -0400
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, 15 Jun 2011 22:44:05 -0000

Hi,

=E2=80=98global -c=E2=80=99 doesn=E2=80=99t honor $GTAGSLIBPATH and just ba=
ils out when not
=E2=80=98GTAGS=E2=80=99 file is found under $PWD or its ancestors.

I think it would be more convenient if it would honor $GTAGSLIBPATH and
fail only when there=E2=80=99s no =E2=80=98GTAGS=E2=80=99 file under $PWD *=
and* not =E2=80=98GTAGS=E2=80=99 file
under any of the directories in $GTAGSLIBPATH.

What do you think?

Thanks,
Ludo=E2=80=99.


From MAILER-DAEMON Thu Jun 16 19:11:59 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QXLjC-0004NO-EW
	for mharc-bug-global@gnu.org; Thu, 16 Jun 2011 19:11:58 -0400
Received: from eggs.gnu.org ([140.186.70.92]:59477)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QXLj9-0004MV-9l
	for bug-global@gnu.org; Thu, 16 Jun 2011 19:11:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QXLj7-0001YH-F8
	for bug-global@gnu.org; Thu, 16 Jun 2011 19:11:54 -0400
Received: from msa101lp.auone-net.jp ([222.3.140.164]:46484)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>)
	id 1QXLj6-0001XK-V3; Thu, 16 Jun 2011 19:11:53 -0400
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 23F1918C038;
	Fri, 17 Jun 2011 08:11:46 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id p5GNBkbi002601;
	Fri, 17 Jun 2011 08:11:46 +0900 (JST)
Message-Id: <201106162311.p5GNBkbi002601@tamacom.com>
To: ludo@gnu.org (Ludovic =?ISO-2022-JP?B?Q291cnQbJEJvVBsoQg==?=)
Subject: Re: =?ISO-2022-JP?B?GyRCIUYbKEJnbG9iYWwgLWMbJEIhRxsoQg==?= and
	$GTAGSLIBPATH
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <87vcw6sok4.fsf@gnu.org>
In-reply-to: Message from ludo@gnu.org (Ludovic =?ISO-2022-JP?B?Q291cnQ=?=
	=?ISO-2022-JP?B?GyRCb1QbKEI=?=)
	of "Thu, 16 Jun 2011 00:43:55 +0200." <87vcw6sok4.fsf@gnu.org>
Date: Fri, 17 Jun 2011 08:11:46 +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: 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, 16 Jun 2011 23:11:57 -0000

Hi,
> $Bfb%^%M(Blobal -c$Bfb(B<99> doesn$Bfb%`%f(B honor $GTAGSLIBPATH and just bails out when not
> $Bfb%^%#(BTAGS$Bfb(B<99> file is found under $PWD or its ancestors.
> 
> I think it would be more convenient if it would honor $GTAGSLIBPATH and
> fail only when there$Bfb%`%d(B no $Bfb%^%#(BTAGS$Bfb(B<99> file under $PWD *and* not $Bfb%^%#(BTAGS$Bfb(B<99> file
> under any of the directories in $GTAGSLIBPATH.

If GTAGS is not found under $PWD or its ancestors, it should fail.
Since it is a fundamental specification of GLOBAL, it is hard to change it.
At such time, you should use GTAGSROOT environment variable, I think.

        $ mkdir nullproject             # make null project
        $ cd nullproject
        $ gtags
        $ pwd
        /home/you/nullproject

        $ GTAGSROOT=/home/you/nullproject global -x ...

But if your idea means that global -c should read GTAGSs in $GTAGSLIBPATH
if no matched tag name is found in the GTAGS under $PWD or its ancestors,
it might be useful. That is consistent.
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


From MAILER-DAEMON Fri Jun 17 10:27:36 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QXa1H-0007Gn-Lz
	for mharc-bug-global@gnu.org; Fri, 17 Jun 2011 10:27:35 -0400
Received: from eggs.gnu.org ([140.186.70.92]:57026)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1QXZpT-00040Q-Ft
	for bug-global@gnu.org; Fri, 17 Jun 2011 10:15:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1QXZpR-0003K2-3m
	for bug-global@gnu.org; Fri, 17 Jun 2011 10:15:23 -0400
Received: from solo.fdn.fr ([80.67.169.19]:59105)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@gnu.org>)
	id 1QXZpQ-0003Ir-NT; Fri, 17 Jun 2011 10:15:20 -0400
Received: from nixey (unknown [193.50.110.208])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client did not present a certificate)
	(Authenticated sender: lcourtes)
	by smtp.fdn.fr (Postfix) with ESMTPSA id 1A63D44246;
	Fri, 17 Jun 2011 16:15:07 +0200 (CEST)
From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=)
To: "Shigio YAMAGUCHI" <shigio@gnu.org>
Subject: Re: =?utf-8?B?4oCYZ2xvYmFsIC1j4oCZ?= and $GTAGSLIBPATH
References: <87vcw6sok4.fsf@gnu.org> <201106162311.p5GNBkbi002601@tamacom.com>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 29 Prairial an 219 de la =?iso-8859-1?Q?R=E9volution?=
X-PGP-Key-ID: 0xEA52ECF4
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA  D15D 77DD 95E2 EA52 ECF4
X-OS: x86_64-unknown-linux-gnu
Date: Fri, 17 Jun 2011 16:15:06 +0200
In-Reply-To: <201106162311.p5GNBkbi002601@tamacom.com> (Shigio YAMAGUCHI's
	message of "Fri, 17 Jun 2011 08:11:46 +0900")
Message-ID: <87fwn8y26t.fsf@gnu.org>
User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 80.67.169.19
X-Mailman-Approved-At: Fri, 17 Jun 2011 10:27:32 -0400
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, 17 Jun 2011 14:15:25 -0000

Hi,

"Shigio YAMAGUCHI" <shigio@gnu.org> skribis:

> If GTAGS is not found under $PWD or its ancestors, it should fail.
> Since it is a fundamental specification of GLOBAL, it is hard to change i=
t.
> At such time, you should use GTAGSROOT environment variable, I think.

Here are some more details about my use case.

I currently have $GTAGSLIBPATH set to
/home/ludo/src/guile:/data/src/glibc:/data/src/gcc, which allows me to
jump to any symbol in these projects (using M-. in Emacs), even from
outside their source trees.  This is very handy.

However, what doesn=E2=80=99t work is symbol completion among all these (as=
 used
by Anything in Emacs).  I=E2=80=99d like symbol completion to just work cro=
ss
all these.

Is there any other suggestion you would make?

Thanks,
Ludo=E2=80=99.

PS: For wider visibility I would recommend sending stable release
    announcements at least to info-gnu@gnu.org and planet.gnu.org
    (info "(standards) Announcements").


From MAILER-DAEMON Fri Jun 17 11:31:15 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QXb0s-0001Ck-9N
	for mharc-bug-global@gnu.org; Fri, 17 Jun 2011 11:31:14 -0400
Received: from eggs.gnu.org ([140.186.70.92]:58508)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QXb0n-0001BN-Ca
	for bug-global@gnu.org; Fri, 17 Jun 2011 11:31:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QXb0k-0005H1-E5
	for bug-global@gnu.org; Fri, 17 Jun 2011 11:31:09 -0400
Received: from msa103lp.auone-net.jp ([222.3.140.166]:56808)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>)
	id 1QXb0j-0005G2-TQ; Fri, 17 Jun 2011 11:31:06 -0400
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 11DF6300038;
	Sat, 18 Jun 2011 00:31:02 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id p5HFV1bm032907;
	Sat, 18 Jun 2011 00:31:01 +0900 (JST)
Message-Id: <201106171531.p5HFV1bm032907@tamacom.com>
To: ludo@gnu.org (Ludovic =?ISO-2022-JP?B?Q291cnQbJEJvVBsoQg==?=)
Subject: Re: =?ISO-2022-JP?B?GyRCIUYbKEJnbG9iYWwgLWMbJEIhRxsoQg==?= and
	$GTAGSLIBPATH
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <87fwn8y26t.fsf@gnu.org>
In-reply-to: Message from ludo@gnu.org (Ludovic =?ISO-2022-JP?B?Q291cnQ=?=
	=?ISO-2022-JP?B?GyRCb1QbKEI=?=)
	of "Fri, 17 Jun 2011 16:15:06 +0200." <87fwn8y26t.fsf@gnu.org>
Date: Sat, 18 Jun 2011 00:31:01 +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: Fri, 17 Jun 2011 15:31:11 -0000

> However, what doesn$Bfb%`%f(B work is symbol completion among all these (as used
> by Anything in Emacs).  I$Bfb%`%J(B like symbol completion to just work cross
> all these.
> 
> Is there any other suggestion you would make?

How about changing like follows?

o 'global -c' treats $GTAGSLIBPATH similarly to 'global -d's doing.
o The -T(--through) option is effective in 'global -c'.

>PS: For wider visibility I would recommend sending stable release
>    announcements at least to info-gnu@gnu.org and planet.gnu.org
>    (info "(standards) Announcements").

I didn't know them well. I will do so at the next chance.
Thank you for informing.
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


From MAILER-DAEMON Fri Jun 17 19:39:55 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QXidn-0002Fe-2S
	for mharc-bug-global@gnu.org; Fri, 17 Jun 2011 19:39:55 -0400
Received: from eggs.gnu.org ([140.186.70.92]:36898)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1QXfTR-0000Hv-CR
	for bug-global@gnu.org; Fri, 17 Jun 2011 16:17:02 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ludo@gnu.org>) id 1QXfTQ-0000TV-Ki
	for bug-global@gnu.org; Fri, 17 Jun 2011 16:17:01 -0400
Received: from solo.fdn.fr ([80.67.169.19]:36779)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@gnu.org>)
	id 1QXfTQ-0000TH-GJ; Fri, 17 Jun 2011 16:17:00 -0400
Received: from nixey (reverse-83.fdn.fr [80.67.176.83])
	(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
	(Client did not present a certificate)
	(Authenticated sender: lcourtes)
	by smtp.fdn.fr (Postfix) with ESMTPSA id 7E1E244071;
	Fri, 17 Jun 2011 22:16:59 +0200 (CEST)
From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=)
To: "Shigio YAMAGUCHI" <shigio@gnu.org>
Subject: Re: =?utf-8?B?4oCYZ2xvYmFsIC1j4oCZ?= and $GTAGSLIBPATH
References: <87fwn8y26t.fsf@gnu.org> <201106171531.p5HFV1bm032907@tamacom.com>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 29 Prairial an 219 de la =?iso-8859-1?Q?R=E9volution?=
X-PGP-Key-ID: 0xEA52ECF4
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA  D15D 77DD 95E2 EA52 ECF4
X-OS: x86_64-unknown-linux-gnu
Date: Fri, 17 Jun 2011 22:16:54 +0200
In-Reply-To: <201106171531.p5HFV1bm032907@tamacom.com> (Shigio YAMAGUCHI's
	message of "Sat, 18 Jun 2011 00:31:01 +0900")
Message-ID: <871uys43ih.fsf@gnu.org>
User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 80.67.169.19
X-Mailman-Approved-At: Fri, 17 Jun 2011 19:39:53 -0400
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, 17 Jun 2011 20:17:02 -0000

Hi Shigio,

"Shigio YAMAGUCHI" <shigio@gnu.org> skribis:

>> However, what doesn=E8=81=B0=E3=83=A0=E3=83=A6 work is symbol completion=
 among all these (as used
>> by Anything in Emacs).  I=E8=81=B0=E3=83=A0=E3=83=8A like symbol complet=
ion to just work cross
>> all these.
>>=20
>> Is there any other suggestion you would make?
>
> How about changing like follows?
>
> o 'global -c' treats $GTAGSLIBPATH similarly to 'global -d's doing.
> o The -T(--through) option is effective in 'global -c'.

Sounds like it would solve my problem.

Thanks!

Ludo=E2=80=99.


From MAILER-DAEMON Mon Jun 20 00:22:42 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QYW0X-0001Ha-UT
	for mharc-bug-global@gnu.org; Mon, 20 Jun 2011 00:22:42 -0400
Received: from eggs.gnu.org ([140.186.70.92]:46253)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QYW0V-0001HQ-Nd
	for bug-global@gnu.org; Mon, 20 Jun 2011 00:22:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QYW0U-0008QA-NE
	for bug-global@gnu.org; Mon, 20 Jun 2011 00:22:39 -0400
Received: from msa106lp.auone-net.jp ([222.3.140.169]:48863)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>)
	id 1QYW0U-0008Pr-FQ; Mon, 20 Jun 2011 00:22:38 -0400
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 D0CE194036;
	Mon, 20 Jun 2011 13:22:33 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id p5K4MWVF021050;
	Mon, 20 Jun 2011 13:22:32 +0900 (JST)
Message-Id: <201106200422.p5K4MWVF021050@tamacom.com>
To: ludo@gnu.org (Ludovic =?ISO-2022-JP?B?Q291cnQbJEJvVBsoQg==?=)
Subject: Re: =?ISO-2022-JP?B?GyRCIUYbKEJnbG9iYWwgLWMbJEIhRxsoQg==?= and
	$GTAGSLIBPATH
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
References: <871uys43ih.fsf@gnu.org>
In-reply-to: Message from ludo@gnu.org (Ludovic =?ISO-2022-JP?B?Q291cnQ=?=
	=?ISO-2022-JP?B?GyRCb1QbKEI=?=)
	of "Fri, 17 Jun 2011 22:16:54 +0200." <871uys43ih.fsf@gnu.org>
Date: Mon, 20 Jun 2011 13:22:32 +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: Mon, 20 Jun 2011 04:22:41 -0000

Hello,
> > o 'global -c' treats $GTAGSLIBPATH similarly to 'global -d's doing.
> > o The -T(--through) option is effective in 'global -c'.

Since there seems to be no opposition, I have put this plan to the TODO list.
(http://www.gnu.org/software/global/plans.html)

> Sounds like it would solve my problem.
>
> Thanks!

It was not done for you.
Because it is a consistent proposal.
Thank you.
--
Shigio YAMAGUCHI <shigio@gnu.org>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3


From MAILER-DAEMON Thu Jun 23 18:50:57 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QZsjh-00042p-1Q
	for mharc-bug-global@gnu.org; Thu, 23 Jun 2011 18:50:57 -0400
Received: from eggs.gnu.org ([140.186.70.92]:44043)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QZsje-00042f-Ry
	for bug-global@gnu.org; Thu, 23 Jun 2011 18:50:55 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <shigio@tamacom.com>) id 1QZsjd-0000RA-6H
	for bug-global@gnu.org; Thu, 23 Jun 2011 18:50:54 -0400
Received: from msa103lp.auone-net.jp ([222.3.140.166]:44822)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <shigio@tamacom.com>)
	id 1QZsjc-0000Pr-UJ; Thu, 23 Jun 2011 18:50:53 -0400
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 42F30300038;
	Fri, 24 Jun 2011 07:50:47 +0900 (JST)
Received: from choota.tamacom.com (localhost [127.0.0.1]) by
	choota.tamacom.com (8.13.6/) with ESMTP id p5NMolWd002773;
	Fri, 24 Jun 2011 07:50:47 +0900 (JST)
Message-Id: <201106232250.p5NMolWd002773@tamacom.com>
To: bug-global@gnu.org
From: "Shigio YAMAGUCHI" <shigio@gnu.org>
Subject: [RFC] The end of the default mouse key mapping in gtags.el. (again)
Date: Fri, 24 Jun 2011 07:50:47 +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
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, 23 Jun 2011 22:50:56 -0000

Hi all,
I would like to end the default mouse key mapping of gtags.el.

Last time, I did the decision to continue the mapping. But I came to think
that it is a crime to make a lot of seniors spend time.
Though it is important to consider beginners, it was a mistake to make
a distorted specification for that. Beginners are not kings at all.

I would like to change gtags.el like follows:
o No default mouse key mapping in gtags-mode and gtags-select-mode.
o If gtags-suggested-key-mapping is true, the current mouse key mapping is available.

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


