From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (euclid.skiles.gatech.edu [130.207.146.50]) by werple.net.au (8.7/8.7.1) with ESMTP id IAA14900 for ; Fri, 5 Jan 1996 08:00:50 +1100 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id PAA04996; Thu, 4 Jan 1996 15:45:21 -0500 (EST) Resent-Date: Thu, 4 Jan 1996 15:45:21 -0500 (EST) From: Zefram Message-Id: <1690.199601042045@stone.dcs.warwick.ac.uk> Subject: The new refresh code To: zsh-workers@math.gatech.edu (Z Shell workers mailing list) Date: Thu, 4 Jan 1996 20:45:07 +0000 (GMT) X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]6849.32 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"btPkZ2.0.-D1.Wn3xm"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/706 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu -----BEGIN PGP SIGNED MESSAGE----- There's a little bug in the new automargin refresh code that has been annoying me all week. *** 1.1 1995/12/23 17:39:23 --- zle_refresh.c 1996/01/04 20:30:55 *************** *** 470,476 **** case it messes up cut and paste. */ col_cleareol = -1; ! if (tccan(TCCLEAREOL) && (!hasam || ln == nlnct - 1) && (nllen == winw || /* new buffer goes to the end of the line */ put_rpmpt != oput_rpmpt)) { for (i = nllen; i && nl[i - 1] == ' '; i--); --- 470,476 ---- case it messes up cut and paste. */ col_cleareol = -1; ! if (tccan(TCCLEAREOL) && (!hasam || ln >= nlnct - 1) && (nllen == winw || /* new buffer goes to the end of the line */ put_rpmpt != oput_rpmpt)) { for (i = nllen; i && nl[i - 1] == ' '; i--); -zefram -----BEGIN PGP SIGNATURE----- Version: 2.6.i iQCVAgUBMOw64HD/+HJTpU/hAQFJAAP/ZRHVfksAwo4FIS3Ty2SqhKCsjMMwFW1m gK53fo83VSyiSH48H8eQvqcjTrHtEaUAGDLpGJO/6VQ9coGO4Iv8Ud9hIU4LYddn iiOZCxIlFQeaNyKckrPGgBL4ypVANhI++RUzkKKeZfrT46ADfOdaMYyNys5wR6YA l+dbJ0FSd6U= =0XtH -----END PGP SIGNATURE-----