From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@math.gatech.edu
Subject: Re: cdablevars and cd completion in 3.1.5
Date: Mon, 7 Dec 1998 12:58:12 +0100 (MET) [thread overview]
Message-ID: <199812071158.MAA11065@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Sven Wischnowsky's message of Thu, 3 Dec 1998 11:17:45 +0100 (MET)
I wrote:
> ... [ message 4698 ]
The patch in this message contained a `fix' for quoting words
resulting from completion. This looked good until I tried completion
on a parameter name. So the patch below removes the corresponding
changes again.
Sorry!
Bye
Sven
*** os/Zle/zle_tricky.c Thu Dec 3 11:18:40 1998
--- Src/Zle/zle_tricky.c Mon Dec 7 12:23:14 1998
***************
*** 2281,2289 ****
int l, r = 0, ocs, a = cs;
if (m->ipre) {
! char *p = quotename(m->ipre, NULL, NULL, NULL);
!
! inststrlen(p, 1, (l = strlen(p)));
r += l;
}
if (m->pre) {
--- 2281,2287 ----
int l, r = 0, ocs, a = cs;
if (m->ipre) {
! inststrlen(m->ipre, 1, (l = strlen(m->ipre)));
r += l;
}
if (m->pre) {
***************
*** 4814,4820 ****
* to insert any unambiguous prefix and suffix, if possible. */
if (ainfo->iprefix && *ainfo->iprefix) {
! inststrlen(quotename(ainfo->iprefix, NULL, NULL, NULL), 1, -1);
inststrlen(ainfo->pprefix, 1, -1);
ps = ainfo->iaprefix;
lc = ainfo->ilinecl;
--- 4812,4818 ----
* to insert any unambiguous prefix and suffix, if possible. */
if (ainfo->iprefix && *ainfo->iprefix) {
! inststrlen(ainfo->iprefix, 1, -1);
inststrlen(ainfo->pprefix, 1, -1);
ps = ainfo->iaprefix;
lc = ainfo->ilinecl;
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1998-12-07 12:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-07 11:58 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-12-03 10:17 Sven Wischnowsky
1998-12-01 12:52 Sven Wischnowsky
1998-12-01 18:09 ` Bart Schaefer
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=199812071158.MAA11065@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@math.gatech.edu \
/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).