From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24112 invoked from network); 9 Aug 2001 09:28:37 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 9 Aug 2001 09:28:37 -0000 Received: (qmail 6437 invoked by alias); 9 Aug 2001 09:28:05 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4098 Received: (qmail 6417 invoked from network); 9 Aug 2001 09:28:00 -0000 From: Bart Schaefer Message-Id: <1010809092756.ZM899@candle.brasslantern.com> Date: Thu, 9 Aug 2001 09:27:56 +0000 In-Reply-To: <20010809081432.A8416@globnix.org> Comments: In reply to Phil Pennock "Re: compctl whitespace changes" (Aug 9, 8:14am) References: <200108080822.KAA04398@beta.informatik.hu-berlin.de> <1010808160315.ZM1017@candle.brasslantern.com> <20010809081432.A8416@globnix.org> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-users@sunsite.dk Subject: Re: compctl whitespace changes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Aug 9, 8:14am, Phil Pennock wrote: } } Looking into _mutt, I've seen a problem with Maildirs support. } } With Maildir, you have your main Maildir, eg ~/Maildir/, and you can } have folders inside that, each of which has a name starting with a } period. The normal one is .Trash, but others can be created. Are you sure about this? There's nothing in the maildir "spec" about the format of the directory names, only their contents, and nothing in the mutt documentation either that would indicate why every folder name would be hidden with a leading dot. I'd expect ".Trash" to be a special (deliberately invisible) folder where deleted messages are moved before purging. } The current stuff doesn't handle this at all -- you might want a } glob_dots modifier in there. Completion deliberately (?) doesn't meddle with glob_dots in most cases (it's neither set nor unset in _comp_options). Any other mutt users out there care to comment? } compdef _imutt imutt } _imutt () { setopt localoptions globdots; local } maildirectory=~/Maildir; _mutt "$@" } } then when I do "imutt -f +" I get nothing. D'oh! Of course you don't get anything, because _mailbox_cache assumes that $maildirectory never changes, and none of the mailboxes already in the cache it has built will match the ~/Maildir prefix. So I led you astray with that suggestion. } Do people feel that a supplied patch to add Maildir support into } $mailpath would be appropriate? I'm happy to do the work, if it's not } considered a bad idea. It's already there. "configure --enable-maildir-support ..." -- 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