Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Miscellaneous buglettes
- X-seq: zsh-workers 7655
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Miscellaneous buglettes
- Date: Mon, 6 Sep 1999 11:39:41 +0200 (MET DST)
- In-reply-to: Adam Spiers's message of Sun, 5 Sep 1999 22:45:40 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Adam Spiers wrote:
> - Try ls \ <enter>, then press C-d repeatedly.
Oops. But it was easier to fix than I first thought.
Bye
Sven
diff -u os/Zle/zle_tricky.c Src/Zle/zle_tricky.c
--- os/Zle/zle_tricky.c Mon Sep 6 11:34:59 1999
+++ Src/Zle/zle_tricky.c Mon Sep 6 11:37:58 1999
@@ -874,6 +874,8 @@
metafy_line();
ocs = cs;
+ origline = dupstring((char *) line);
+ origcs = cs;
if (!isfirstln && chline != NULL) {
/* If we are completing in a multi-line buffer (which was not *
* taken from the history), we have to prepend the stuff saved *
@@ -897,8 +899,6 @@
autoq = '\0';
/* Get the word to complete. */
noerrs = 1;
- origline = dupstring((char *) line);
- origcs = cs;
s = get_comp_string();
DPUTS(wb < 0 || cs < wb || cs > we,
"BUG: 0 <= wb <= cs <= we is not true!");
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author