Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _value
- X-seq: zsh-workers 8495
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: PATCH: _value
- Date: Tue, 2 Nov 1999 16:11:30 +0100 (MET)
- In-reply-to: Tanaka Akira's message of 02 Nov 1999 23:20:46 +0900
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Tanaka Akira wrote:
> ...
>
> is27e1u11% A='Doc/z<TAB>
> ->
> is27e1u11% A='Docz
>
> and
>
> is27e1u11% A='Doc/<TAB>
> ->
> is27e1u11% A='Doc
>
> and
>
> is27e1u11% LDFLAGS=-LDoc/<TAB>
> ->
> is27e1u11% LDFLAGS=-LDoc
>
> These slashes shouldn't be removed...
Yep. Wrong cline tested... Disgusting.
Bye
Sven
diff -u oldsrc/Zle/compcore.c Src/Zle/compcore.c
--- oldsrc/Zle/compcore.c Tue Nov 2 14:52:25 1999
+++ Src/Zle/compcore.c Tue Nov 2 16:08:58 1999
@@ -1887,7 +1887,7 @@
p = bld_parts(ppre, ppl, ppl, &lp);
if (lp->prefix && !(line->flags & (CLF_SUF | CLF_MID)) &&
- !p->llen && !p->wlen && !p->olen) {
+ !lp->llen && !lp->wlen && !lp->olen) {
Cline lpp;
for (lpp = lp->prefix; lpp->next; lpp = lpp->next);
@@ -1952,7 +1952,7 @@
for (p = lp = cp_cline(pline, 1); lp->next; lp = lp->next);
if (lp->prefix && !(line->flags & (CLF_SUF | CLF_MID)) &&
- !p->llen && !p->wlen && !p->olen) {
+ !lp->llen && !lp->wlen && !lp->olen) {
Cline lpp;
for (lpp = lp->prefix; lpp->next; lpp = lpp->next);
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author