[feature request] Optimised path length

Leo Liu <[email protected]> Sun, 03 Feb 2013 04:13:12 +0800
Newsgroups gmane.comp.gnu.global.general
Message-ID <[email protected]>
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