From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6173 invoked from network); 30 Jun 2001 18:21:28 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 30 Jun 2001 18:21:28 -0000 Received: (qmail 7537 invoked by alias); 30 Jun 2001 18:20:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 15192 Received: (qmail 7525 invoked from network); 30 Jun 2001 18:20:34 -0000 From: "Bart Schaefer" Message-Id: <1010630182036.ZM32609@candle.brasslantern.com> Date: Sat, 30 Jun 2001 18:20:36 +0000 In-Reply-To: <1010626062416.ZM143@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "Re: New behaviour for HIST_IGNORE_SPACE option" (Jun 26, 6:24am) References: <4a8d442eb8vincent@vinc17.org> <1010626062416.ZM143@candle.brasslantern.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: print -s '' MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jun 26, I wrote: } } It seems to me that `print -s' should simply perform the deletion at } once, replacing the pending entry with the new one. Wayne's patch for this appears (after a lot of experimentation in which I confused myself several times) to have done the right thing. Thanks, Wayne. } On a prossibly-unrelated note, `print -s' with no arguments results in } "BUG: attempt to free storage at invalid address" when the next command } is executed This bug is also gone. However, `print -s' with no arguments or an empty argument still inserts an empty entry in the history list. Does this seem like useful behavior to anyone? I would think that empty entries should always be ignored. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net