From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9314 invoked from network); 28 Mar 2001 06:31:32 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 Mar 2001 06:31:32 -0000 Received: (qmail 27200 invoked by alias); 28 Mar 2001 06:31:24 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13808 Received: (qmail 27189 invoked from network); 28 Mar 2001 06:31:24 -0000 From: "Bart Schaefer" Message-Id: <1010328063037.ZM15033@candle.brasslantern.com> Date: Wed, 28 Mar 2001 06:30:36 +0000 In-Reply-To: <200103260834.KAA13299@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: PATCH: MH for Mailboxes (TM)" (Mar 26, 10:34am) References: <200103260834.KAA13299@beta.informatik.hu-berlin.de> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: PATCH: MH for Mailboxes (TM) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 26, 10:34am, Sven Wischnowsky wrote: } } Bart Schaefer wrote: } } > By the way (Sven), when I complete after "mutt -f " (with no prefix in } > the current word) I -still- get a blank item as the first menu-selection. } > I thought we fixed that bug a long time ago? } } Yes, sounds very familiar. I don't remember exactly and since I don't } use anything I could complete with _mailboxes I can't easily try, but } normally that's because one of the expansions leaves an empty element } in an array. I've looked through _complete_debug output and not managed to find any cases where `compadd' is called with an array containing an empty element. However, at _multi_parts line 164-166, the expression "${(@)${(@M)matches:#*${sep}}%%${sep}*}" expands to the empty string. Could that be the source of the problem? -- 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