From: "Bart Schaefer" <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk
Subject: Re: completion in quotes - " vs ' - no suffix added
Date: Mon, 13 May 2002 17:33:20 +0000 [thread overview]
Message-ID: <1020513173320.ZM12360@candle.brasslantern.com> (raw)
In-Reply-To: <15583.34740.981994.404489@wischnow.berkom.de>
In-Reply-To: <6134254DE87BD411908B00A0C99B044F02E89A8C@mowd019a.mow.siemens.ru>
On May 13, 11:30am, Sven Wischnowsky wrote:
}
} (Also sorry for being so bone-headed. Ahem.)
S'ok.
} Because a quoting a single quote inserts more single quotes. This
} wasn't even handled correctly (in the case that there was one quoted
} single quote in the string) by get_comp_string().
}
} The patch below should fix it. At least it does for the pretty
} complicated cases I tried.
On May 13, 2:14pm, Borsenkow Andrej wrote:
}
} I do not see any difference with this patch. As before, listing
} pathnames with spaces in single quotes correctly adds slash to
} directories and in double quotes adds nothing.
I see slashes getting added to directories in double quotes:
schaefer<505> ls
a\ b a\ d/ don't stop/ rmthat/
schaefer<506> ls "a<TAB><TAB>
schaefer<506> ls "a\\
Completing files
a\\ d/ a\\ b
And then going on:
schaefer<506> ls "a\\ <TAB>
schaefer<506> ls "a\\ d/<TAB>
schaefer<506> ls "a\\ b"
One oddity is that typing the closing quote after `ls "a\\ d/' does not
auto-remove the slash, but I don't think that's strictly a bug.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
next prev parent reply other threads:[~2002-05-13 17:33 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
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 [this message]
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=1020513173320.ZM12360@candle.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).