From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by melb.werple.net.au (8.7.5/8.7.3) with ESMTP id BAA01829 for ; Fri, 31 May 1996 01:38:54 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id LAA23492; Thu, 30 May 1996 11:13:21 -0400 (EDT) Resent-Date: Thu, 30 May 1996 11:13:21 -0400 (EDT) From: Zefram Message-Id: <18410.199605301511@stone.dcs.warwick.ac.uk> Subject: Re: History !# substitutions To: pws@ifh.de (Peter Stephenson) Date: Thu, 30 May 1996 16:11:16 +0100 (BST) Cc: zsh-workers@math.gatech.edu In-Reply-To: <199605300833.KAA12028@hydra.ifh.de> from "Peter Stephenson" at May 30, 96 10:33:42 am X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]7583.16 X-US-Congress: Moronic fuckers MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"E8zXT2.0.-k5.HiRhn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1226 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu >I changed the code, then found there was a bug in menu completion: >hitting tab repeatedly added an extra space each time. Then I tried >it with the old version and discovered it was there anyway. Has this >been reported and fixed while I was asleep? Yes. It's a result of the line no longer being NUL terminated when editing normally -- when the completion code (which *does* have a NUL at the end of the line) calls a normal editing function, the NUL doesn't get moved appropriately. I sent a patch for it a few days ago. -zefram