zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: "Zsh hackers list" <zsh-workers@sunsite.dk>
Subject: Re: compadd -qS' ' should escape the space
Date: Sun, 06 May 2007 22:44:50 -0700	[thread overview]
Message-ID: <070506224450.ZM9202@torch.brasslantern.com> (raw)
In-Reply-To: <dbfc82860705030911t4202811fo528080fd69af312f@mail.gmail.com>

I'm sort of surprised no one responded to this.  (Or did they and gmail
has spam-filtered it for me again?)

On May 3,  6:11pm, Nikolai Weibull wrote:
} Subject: compadd -qS' ' should escape the space
}
}   _describe -t color 'color' colors -qS' '
} 
} I'd expect the space used as a suffix to be escaped.

Er, no.  The suffix is supposed to be a separator between words; e.g.,
in file completion, you want the space between the file names to be
treated as IFS by the shell, so that you get one file name per word
as the command arguments.

You didn't provide enough context to know what you're really trying
to do and why you think the space should be escaped, so I have no
suggestions for what you should be doing instead.


  reply	other threads:[~2007-05-07  5:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 16:11 Nikolai Weibull
2007-05-07  5:44 ` Bart Schaefer [this message]
2007-05-07  7:50   ` Nikolai Weibull
2007-05-09 20:09 ` Nikolai Weibull

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=070506224450.ZM9202@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@sunsite.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).