[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [feature request] Optimised path length
From: |
Shigio YAMAGUCHI |
Subject: |
Re: [feature request] Optimised path length |
Date: |
Mon, 4 Feb 2013 13:14:17 +0900 |
Hi,
It's a very interesting idea.
How about adding a new option like follows?
--path-style=<style>
<style>:
relative equal to default
absolute equal to the -a(--absolute) option
shorter use the shorter one among relative and absolute for each path
absinlib use absolute path only in library path (GTAGSLIBPATH)
The --path-style option is given more priority than the -a(--absolute) options.
Though a long name option is not suitable for typing by hand, it is suitable for
adding new style. Since almost users use global through editors like emacs,
I think it is no problem.
Any comment?
> Hi there,
>
> I have system libs/pkgs specified in GTAGSLIBPATH and often get
> something like the following:
>
>
> ../../../../../../usr/local/java/1.6/classes/java/lang/Thread.java:132:class
> Thread implements Runnable {
>
> which is long and ugly.
>
> So I have been wondering if there is a third option other than relative
> or absolute that chooses whatever is shorter.
>
> In the example the absolute path is the shorter of the two and under
> this imaginary option the following should be displayed instead:
>
> /usr/local/unix/java/1.6/classes/java/lang/Thread.java:132:class
> Thread implements Runnable {
>
> And result from current project is still relative since it is shorter:
>
> org/mozilla/classfile/ClassFileWriter.java:4308:final class
> ClassFileField
>
> What do you think?
>
> Thanks,
> Leo
On Sun, 03 Feb 2013 14:36:18 +0800
Leo Liu <address@hidden> wrote:
> Per request from YAMAGUCHI-san
> re-post http://article.gmane.org/gmane.comp.gnu.global.general/331
>
> ----------------
>
> Hi there,
>
> I have system libs/pkgs specified in GTAGSLIBPATH and often get
> something like the following:
>
>
> ../../../../../../usr/local/java/1.6/classes/java/lang/Thread.java:132:class
> Thread implements Runnable {
>
> which is long and ugly.
>
> So I have been wondering if there is a third option other than relative
> or absolute that chooses whatever is shorter.
>
> In the example the absolute path is the shorter of the two and under
> this imaginary option the following should be displayed instead:
>
> /usr/local/unix/java/1.6/classes/java/lang/Thread.java:132:class
> Thread implements Runnable {
>
> And result from current project is still relative since it is shorter:
>
> org/mozilla/classfile/ClassFileWriter.java:4308:final class
> ClassFileField
>
> What do you think?
>
> Thanks,
> Leo
>
>
> _______________________________________________
> Bug-global mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-global
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
- [feature request] Optimised path length, Leo Liu, 2013/02/03
- Re: [feature request] Optimised path length,
Shigio YAMAGUCHI <=
- Re: [feature request] Optimised path length, Leo Liu, 2013/02/04
- Re: [feature request] Optimised path length, Shigio YAMAGUCHI, 2013/02/04
- Re: [feature request] Optimised path length, Leo Liu, 2013/02/05
- Re: [feature request] Optimised path length, Shigio YAMAGUCHI, 2013/02/05
- Re: [feature request] Optimised path length, Leo Liu, 2013/02/05
- Re: [feature request] Optimised path length, Shigio YAMAGUCHI, 2013/02/08
- Re: [feature request] Optimised path length, Leo Liu, 2013/02/09