zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Space-expansion problem in dev-8
Date: Fri, 2 Feb 2001 09:21:22 +0100 (MET)	[thread overview]
Message-ID: <200102020821.JAA13921@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Peter Stephenson's message of Thu, 01 Feb 2001 17:57:19 +0000


Peter Stephenson wrote:

> > If a filename contains spaces (or other escapable characters) and you
> > expand it via wild-carding, the spaces are not escaped.
> 
> The fix is probably something like the following, but Sven may have better
> ideas.  This is leaving my cursor at the end of the word for some reason.
> Probably _expand was written before ${(q)...} existed.

Hm, maybe. I don't remember why we used that instead of (q), I have
only a very faint memory of problems with (q) when that quoted more
than we wanted but unfortunately I don't remember what that was (and
not even in _expand, but in some other completion function, I think).

So for now I've just committed Peter's patch and left the old stuff
commented out.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


             reply	other threads:[~2001-02-02  8:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-02  8:21 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-02-01 17:41 Wayne Davison
2001-02-01 17:57 ` Peter Stephenson

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=200102020821.JAA13921@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).