From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 583 invoked from network); 28 Mar 2001 15:54:38 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 28 Mar 2001 15:54:38 -0000 Received: (qmail 20177 invoked by alias); 28 Mar 2001 15:54:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13820 Received: (qmail 20160 invoked from network); 28 Mar 2001 15:54:30 -0000 From: "Bart Schaefer" Message-Id: <1010328155343.ZM16142@candle.brasslantern.com> Date: Wed, 28 Mar 2001 15:53:43 +0000 In-Reply-To: <200103281055.MAA14996@beta.informatik.hu-berlin.de> Comments: In reply to Sven Wischnowsky "Re: PATCH: MH for Mailboxes (TM)" (Mar 28, 12:55pm) References: <200103281055.MAA14996@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 28, 12:55pm, Sven Wischnowsky wrote: } Subject: Re: PATCH: MH for Mailboxes (TM) } } > 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? } } Yes, that may be. Even if it doesn't fix this particular problem, the } patch below should only make things saver. } } Can someone try? I still get the blank item in the list after your patch. I think maybe the problem is that tmp1 gets an empty element at line 94, which then gets added as a match at line 120, but I tried duplicating your change at line 94 without any better result. Does `compadd -a array' where the array is empty have a bad effect? -- 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