bug-global
[Top][All Lists]
Advanced

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

[RFC] global(1): use of logical path by default


From: Shigio YAMAGUCHI
Subject: [RFC] global(1): use of logical path by default
Date: Mon, 20 Apr 2015 18:04:43 +0900

Hi all,
I would like to change global(1) to use logical path by default.
This means that global(1) uses logical path even if GTAGSLOGICALPATH
is not set.

[ChangeLog]
> June 28 2014, Shigio YAMAGUCHI
>         New environment variable GTAGSLOGICALPATH was added.
>         If it is set then GLOBAL use logical path (PWD), else
>         physical path. This variable is now undocumented.

Additionally, I would like to remove GTAGSLOGICALPATH and add
GTAGSPHYSICALPATH instead. If GTAGSPHYSICALPATH is set, global(1)
follows the current (old) specification.

[What is logical path]

Logical path is a path name which include symbolic link as a
unit of the path.

o Logical path is easier to use. 
e.g.
$ ln -s /usr/src/lib/libc libc
$ gtags
$ cd libc

(using physical path)
$ global strlen
global: GTAGS not found.
$ _

(using logical path)
$ global strlen
arm/string/strlen.S
string/strlen.c
$ _

o It seems that there is no problem to use logical path.
  (If there is any problem, please let me know.)

o GNU bash use logical path by default. GNU tools should follow the same manners.

[Argument in the past]

Here is an argument about this issue.
http://lists.gnu.org/archive/html/bug-global/2014-06/msg00010.html

What do you think?

Regards,
Shigio

-- 
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

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