Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion issues
- X-seq: zsh-workers 10456
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Completion issues
- Date: Tue, 4 Apr 2000 11:49:42 +0200 (MET DST)
- In-reply-to: Peter Stephenson's message of Sat, 01 Apr 2000 21:26:10 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Peter Stephenson wrote:
> ...
>
> Tail-ender: this is a real bug:
> % zsh -f
> % autoload -U compinit; compinit -D
> % zstyle ':completion:*' completer _expand _complete
> % zstyle ':<TAB>
> ^this gets replaced by an character from the upper end of
> ISO-8859-1 which I didn't particularly want to see.
We need to copy the quoted prefix/suffix when putting them into the
cline.
I've update the ChangeLog for the stuff from yesterday... but rcs2log
is completely unusable for me because it takes ages (so long that I
haven't let it run until the end). Is there a tool to get a ChangeLog
entry template from a diff? Or do I have to write that myself?
Bye
Sven
Index: Src/Zle/compcore.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/compcore.c,v
retrieving revision 1.2
diff -u -r1.2 compcore.c
--- Src/Zle/compcore.c 2000/04/01 20:49:48 1.2
+++ Src/Zle/compcore.c 2000/04/04 09:42:00
@@ -1982,7 +1982,7 @@
sl = tsl;
}
if (qisl) {
- Cline qsl = bld_parts(qisuf, qisl, qisl, NULL);
+ Cline qsl = bld_parts(dupstring(qisuf), qisl, qisl, NULL);
qsl->flags |= CLF_SUF;
qsl->suffix = qsl->prefix;
@@ -2065,7 +2065,7 @@
line = p;
}
if (qipl) {
- Cline lp, p = bld_parts(qipre, qipl, qipl, &lp);
+ Cline lp, p = bld_parts(dupstring(qipre), qipl, qipl, &lp);
lp->next = line;
line = p;
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author