zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Miscellaneous buglettes
Date: Mon, 6 Sep 1999 11:39:41 +0200 (MET DST)	[thread overview]
Message-ID: <199909060939.LAA08761@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Adam Spiers's message of Sun, 5 Sep 1999 22:45:40 +0100


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@informatik.hu-berlin.de


             reply	other threads:[~1999-09-06  9:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-06  9:39 Sven Wischnowsky [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-09-06  9:55 Sven Wischnowsky
1999-09-06  9:34 Sven Wischnowsky
1999-09-05 21:45 Adam Spiers
1999-09-06  9:01 ` Peter Stephenson
1999-09-06 10:27   ` Adam Spiers
1999-09-06 18:55 ` Tanaka Akira

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=199909060939.LAA08761@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --cc=zsh-workers@sunsite.auc.dk \
    /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).