Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Maciej W. Rozycki" <macro@mips.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org, chris@mips.com, macro@linux-mips.org
Subject: Re: Remove a trailing space resulting from file name completion
Date: Mon, 14 May 2007 12:40:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.61.0705111250150.16433@perivale.mips.com> (raw)
In-Reply-To: <uveezg4ps.fsf@gnu.org>

On Fri, 11 May 2007, Eli Zaretskii wrote:

> This is okay, but suppose I _did_ want a file name with trailing
> space: how would I go about that in this situation?  Is there a way?
> If there isn't, either we should introduce one, or else we should tell
> in the command's doc string and in the manual that this is a
> restriction.

 Well, my feeling is some form of escaping would be reasonable, e.g. using 
a backslash.  Daniel says he has some Evil Plan in this area, which I look 
forward. ;-)

> Shouldn't you again check whether anything was left after stripping
> whitespace, and if not, output the same ``no filename to set it to"
> error message?

 I am unable to trigger a case where the file name would be set to an 
empty string -- I get: "Argument required (filename to set it to.)."

  Maciej


      reply	other threads:[~2007-05-14 12:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-10 13:07 Maciej W. Rozycki
2007-05-10 13:17 ` Daniel Jacobowitz
2007-05-11  8:12 ` Eli Zaretskii
2007-05-14 12:40   ` Maciej W. Rozycki [this message]

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=Pine.LNX.4.61.0705111250150.16433@perivale.mips.com \
    --to=macro@mips.com \
    --cc=chris@mips.com \
    --cc=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=macro@linux-mips.org \
    /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