From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8077 invoked from network); 20 Feb 1998 17:40:34 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 20 Feb 1998 17:40:34 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id MAA08673; Fri, 20 Feb 1998 12:24:17 -0500 (EST) Resent-Date: Fri, 20 Feb 1998 12:24:17 -0500 (EST) From: "Bart Schaefer" Message-Id: <980220092622.ZM3649@candle.brasslantern.com> Date: Fri, 20 Feb 1998 09:26:22 -0800 In-Reply-To: <980220091603.ZM3582@candle.brasslantern.com> Comments: In reply to "Bart Schaefer" "Re: PATCH: expand-or-complete-prefix" (Feb 20, 9:16am) References: <199802201400.PAA14113@sgi.ifh.de> <980220091603.ZM3582@candle.brasslantern.com> X-Mailer: Z-Mail (4.0b.820 20aug96) To: zsh-workers@math.gatech.edu (Zsh hackers list) Subject: Re: PATCH: expand-or-complete-prefix MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"PA6IU1.0.P72.1nRxq"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3772 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Feb 20, 9:16am, Bart Schaefer wrote: } Subject: Re: PATCH: expand-or-complete-prefix } } On Feb 20, 3:00pm, Peter Stephenson wrote: } } Subject: PATCH: expand-or-complete-prefix } } } } I've rewritten it as part of the standard repertoire of hacks. } } Here's the patch against 3.0.5 I've just been testing this, and it breaks on menu completion: zagzig% bindkey '\t' expand-or-complete-prefix zagzig% setopt menucomplete zagzig% ls zlc ^ with cursor here, press TAB, and you get zagzig% ls zle_bindings.oc ^ press TAB again zagzig% ls zle_hist.oc ^ press TAB again zagzig% ls zle_hist.proc ^ and so forth Hmm, I just tried several other versions and this is broken at least back to 3.0.0, so it's not Peter's fault. Maybe it'll be easier to fix now, though ... -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com