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 OAA13762 for ; Thu, 30 May 1996 14:48:40 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id AAA17638; Thu, 30 May 1996 00:39:33 -0400 (EDT) Resent-Date: Thu, 30 May 1996 00:39:33 -0400 (EDT) From: "Bart Schaefer" Message-Id: <960529214056.ZM28475@candle.brasslantern.com> Date: Wed, 29 May 1996 21:40:53 -0700 In-Reply-To: Peter Stephenson "Re: History !# substitutions" (May 29, 10:19am) References: <199605290819.KAA06804@hydra.ifh.de> <199605291520.RAA18469@hydra.ifh.de> In-Reply-To: Peter Stephenson "Re: History !# substitutions" (May 29, 5:20pm) Reply-To: schaefer@nbn.com X-Mailer: Z-Mail (4.0b.529 29may96) To: Peter Stephenson , zsh-workers@math.gatech.edu Subject: Re: History !# substitutions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"YId0t3.0.WJ4.5QIhn"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/1221 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On May 29, 10:19am, Peter Stephenson wrote: } Subject: Re: History !# substitutions } } > The !# substitution, which shuffles words from the current command line, } > has always been a bit flaky in zsh, but now it seems to be broken entirely. On May 29, 5:20pm, Peter Stephenson wrote: } Subject: Re: History !# substitutions } } pws@ifh.de wrote: } > I hope flakiness can now be avoided entirely. } } Did I really say that? You did, but thank you anyway. This is the least flaky I can ever recall it being. The only thing that still doesn't work is completion of a reference into the current command, and even that now works a lot better than it used to. Here's zsh 2.4.300: zipx1[22] echo foo bar !#:1 ba zsh: no such word in event zipx1[22] echo foo bar ^ cursor here Here's beta19 with your two patches: zigzag% echo foo bar !#:1 ba [BEEP][cursor doesn't move] Much better, but still not perfect. I realize it probably can't expand to the correct word, but could it at least ignore the history error and continue completing stuff on the rest of the line? -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.nbn.com/people/lantern New male in /home/schaefer: >N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"