zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <Peter.Stephenson@csr.com>
To: Zsh Workers <zsh-workers@zsh.org>
Subject: Re: Expansion bug with braces and spaces
Date: Fri, 8 Apr 2011 09:44:02 +0100	[thread overview]
Message-ID: <20110408094402.408a0b44@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <BANLkTinQEWBtqtdy-nuj+qbCL4vyTZQkfA@mail.gmail.com>

On Thu, 7 Apr 2011 20:59:58 +0200
Mikael Magnusson <mikachu@gmail.com> wrote:
> On 7 April 2011 20:44, Benjamin R. Haskell <zsh@benizi.com> wrote:
> > There seems to be some issue with expansion of brace alternatives
> > when there's a space in the filename.  First noticed when I had a
> > bunch of poorly named downloads:
> 
> It's at least not a new issue, I reported it back in 2006 but was
> never able to produce a minimal testcase starting from zsh -f. And by
> able I mean it never annoyed me enough :).

Without looking at it again, I think brace expansion is one of the really
big hacks in the completion code, taking arguments apart and putting
them back together again in an ad hoc fashion, so without being
rewritten from the ground up it might be hard to do much.  Having said
that, if anyone was able to understand it it might be easy.

-- 
Peter Stephenson <pws@csr.com>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK




Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom


      reply	other threads:[~2011-04-08  8:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 18:44 Benjamin R. Haskell
2011-04-07 18:59 ` Mikael Magnusson
2011-04-08  8:44   ` Peter Stephenson [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=20110408094402.408a0b44@pwslap01u.europe.root.pri \
    --to=peter.stephenson@csr.com \
    --cc=zsh-workers@zsh.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).