From: Borsenkow Andrej <Andrej.Borsenkow@mow.siemens.ru>
To: "'Sven Wischnowsky'" <wischnow@berkom.de>, zsh-workers@sunsite.dk
Subject: RE: completion in quotes - " vs ' - no suffix added
Date: Wed, 8 May 2002 12:49:06 +0400 [thread overview]
Message-ID: <6134254DE87BD411908B00A0C99B044F02E89A73@mowd019a.mow.siemens.ru> (raw)
In-Reply-To: <15576.54689.459113.686818@wischnow.berkom.de>
>
> No, it doesn't: there's nothing wrong, as far as I can see. Always
> remember, what `compset -q' is intended for, namely things like:
>
> zsh -c 'echo do<TAB>
>
Sure. And command can contain anything including file names with spaces
in them, special characters and whatever.
> Try it and you'll see that it does the right thing. At least it does
> for me.
>
It does not for me. It is the same ` vs " thing:
bor@itsrm2% zsh -c "cd ./a\\ b
Completing directory
a\\ b c\\ d uudecode/
but
bor@itsrm2% zsh -c 'cd ./a\ b/
Completing directory
a\ b/ c\ d/ uudecode/
> What Andrej probably wants is splitting the current string with a
> combination of `compset -[PS]' and the ${(z)...} parameter flag. I'd
> like to know how that command is then able to find the different
> sub-words in the quoted string if things like spaces are not quoted a
> second time.
>
> Or am I missing something?
>
I do not know. What I actually need is completion of file list in
quotes. This list cannot contain spaces (because mondoarchive cannot
handle them anyway) and wihout spaces compset -q does exactly the right
thing to me. Still as long as I have stumbled onto something that looks
like a bug ... :-)
-andrej
next prev parent reply other threads:[~2002-05-08 8:49 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-06 7:54 Borsenkow Andrej
2002-05-06 15:31 ` Bart Schaefer
2002-05-08 7:37 ` Sven Wischnowsky
2002-05-08 8:49 ` Borsenkow Andrej [this message]
2002-05-08 12:39 ` Sven Wischnowsky
2002-05-08 15:38 ` Bart Schaefer
2002-05-13 9:30 ` Sven Wischnowsky
2002-05-13 10:14 ` Borsenkow Andrej
2002-05-13 17:33 ` Bart Schaefer
2002-05-13 18:04 ` Borsenkow Andrej
2002-05-14 7:44 ` Sven Wischnowsky
2002-05-14 14:23 ` Bart Schaefer
2002-05-14 14:31 ` Bart Schaefer
2002-05-14 15:23 ` Sven Wischnowsky
2002-05-14 15:35 ` Borsenkow Andrej
2002-05-15 7:37 ` Sven Wischnowsky
2002-05-21 8:06 ` PATCH: " Sven Wischnowsky
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=6134254DE87BD411908B00A0C99B044F02E89A73@mowd019a.mow.siemens.ru \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=wischnow@berkom.de \
--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).