From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17720 invoked from network); 6 Sep 1999 09:39:51 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 6 Sep 1999 09:39:51 -0000 Received: (qmail 26764 invoked by alias); 6 Sep 1999 09:39:44 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7655 Received: (qmail 26756 invoked from network); 6 Sep 1999 09:39:43 -0000 Date: Mon, 6 Sep 1999 11:39:41 +0200 (MET DST) Message-Id: <199909060939.LAA08761@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Adam Spiers's message of Sun, 5 Sep 1999 22:45:40 +0100 Subject: Re: Miscellaneous buglettes Adam Spiers wrote: > - Try ls \ , 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@informatik.hu-berlin.de