This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patchv3 12/11] New options {relative,basename}-with-system-absolute
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Doug Evans <dje at google dot com>
- Cc: jan dot kratochvil at redhat dot com, gdb-patches at sourceware dot org
- Date: Fri, 01 Feb 2013 10:08:56 +0200
- Subject: Re: [patchv3 12/11] New options {relative,basename}-with-system-absolute
- References: <20130129221019.GA27463@host2.jankratochvil.net> <20130130074820.GA15998@host2.jankratochvil.net> <8338xiiodg.fsf@gnu.org> <83sj5ih6c4.fsf@gnu.org> <20130130185344.GA15502@host2.jankratochvil.net> <83obg6h1pf.fsf@gnu.org> <CADPb22SoELSecKH7t5+ROi=jx9ZJz-yEdx+tDaNdTD8Urg6_yw@mail.gmail.com> <83libagghx.fsf@gnu.org> <CADPb22S_GimHJgxCLMuRySZeWQdu-_fuTtSC9MX9-7Y-_W9GLQ@mail.gmail.com> <83lib9chfb.fsf@gnu.org> <CADPb22SwcNmbC2NZ0p8--=62StKGpFxRaa0-YN3EkLAvw19JBw@mail.gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 31 Jan 2013 19:41:31 -0800
> From: Doug Evans <dje@google.com>
> Cc: Jan Kratochvil <jan.kratochvil@redhat.com>, gdb-patches <gdb-patches@sourceware.org>
>
> What about basename-with-system-absolute is not clearer than basename-absolute?
What isn't clear is _when_ absolute file names are printed.
"With-system" is not specific/descriptive enough to tell that. I can
come up with shorter names with the same deficiency, such as
basename-or-absolute or basename-ifnot-system or even mostly-basename.
IOW, as long as the name itself does not eliminate the need to consult
the documentation, I see no justification for longer names. A long
name that would not need to consult documentation would be something
like
basename-but-if-from-system-libraries-then-absolute
but is, of course, preposterously long.
(I'm OK with ending this bykeshedding; I just wanted to explain why I
think the suggested names can be shrunk considerably without hampering
user experience in any way. I would be happy to come up with
significantly better, but shorter names, but I cannot.)