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 <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to