public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Pedro Alves <palves@redhat.com>
Cc: Azat Khuzhin <a3at.mail@gmail.com>, gdb-patches@sourceware.org
Subject: Re: [RFC] Show (tilde-)expanded filenames to the user?
Date: Thu, 08 Aug 2013 19:50:00 -0000	[thread overview]
Message-ID: <87ppto3qu7.fsf@fleche.redhat.com> (raw)
In-Reply-To: <5203D88C.8060801@redhat.com> (Pedro Alves's message of "Thu, 08	Aug 2013 18:42:36 +0100")

>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> But, I think we should have a policy here, and all commands
Pedro> should follow it.  Those that don't would be considered
Pedro> bugs.  The question then is, which policy is most appropriate?
Pedro> grepping around for "tilde_expand", it seems to be the
Pedro> showing expanded filenames is more common.

I tend to think that showing the expanded name is best.
My reason is that this way the user sees what actually happened.

Tom

  parent reply	other threads:[~2013-08-08 19:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-07 21:04 [PATCH] gcore: expand tilde in filename, like in "dump memory" command Azat Khuzhin
2013-08-08 17:42 ` [RFC] Show (tilde-)expanded filenames to the user? (was: Re: [PATCH] gcore: expand tilde in filename, like in "dump memory" command.) Pedro Alves
2013-08-08 18:16   ` Azat Khuzhin
2013-08-08 19:50   ` Tom Tromey [this message]
2013-08-09 15:22     ` [RFC] Show (tilde-)expanded filenames to the user? Pedro Alves
2013-08-08 17:43 ` [PATCH] gcore: expand tilde in filename, like in "dump memory" command Pedro Alves
2013-08-08 17:51   ` Azat Khuzhin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppto3qu7.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=a3at.mail@gmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=palves@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).