From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27340 invoked from network); 22 Jun 2000 01:50:42 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 22 Jun 2000 01:50:42 -0000 Received: (qmail 12319 invoked by alias); 22 Jun 2000 01:50:36 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 12022 Received: (qmail 12311 invoked from network); 22 Jun 2000 01:50:35 -0000 Date: Wed, 21 Jun 2000 21:50:09 -0400 From: Clint Adams To: Bart Schaefer Cc: Andy Spiegl , zsh-workers@sunsite.auc.dk Subject: Re: bug in _mutt ? Message-ID: <20000621215009.A13893@scowler.net> References: <20000619211650.A5701@br-online.de> <20000620132829.K23705@br-online.de> <20000620100216.A5814@scowler.net> <20000620171801.C3224@br-online.de> <20000621095529.A27178@br-online.de> <1000621152106.ZM31139@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: <1000621152106.ZM31139@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Wed, Jun 21, 2000 at 03:21:06PM +0000 > The _mutt_cache is initialized by grepping your .muttrc (or the file that > you name in the $muttrc variable, which you should set somewhere in your > .zshrc file if it's not ~/.muttrc) for the string "mailboxes" and then > throwing away the first word of the result. So it could be coming from > there, if the grep is finding more words in .muttrc than Clint expected > (he wrote the original _mailboxes, I don't use mutt and have no idea > what a .muttrc file looks like). [Disclaimer: this is off the top of my head and may be grossly incorrect.] A .muttrc is a just series of predicates separated by line breaks. The mailboxes "command" is optional, and mutt is perfectly usable without it. mailboxes =zsh-workers +zsh-users is equivalent to mailboxes =zsh-workers mailboxes +zsh-users The arguments to 'mailboxes' are a space-delimited list of, well, mailboxes. These are parsed in precisely the same manner as the argument to mutt -f, which is to say that a listed mailbox can be a file/directory name or shortcut. Thus the mailboxes config lines, if they exist, can be used as potential completions for -f. More about arguments to -f: It can be the full pathname to an mbox or MMDF file or the full directory name of an MH or Maildir folder. Arguments beginning with a = are exactly like arguments beginning with +, which is about the same as + for elm -f. More precisely, +abc or =abc expands to $folder/abc, folder defaults to ~/Mail, but can be set in the global or local muttrc thusly: set folder="~/nonconformistmail" Finally (I hope), there are the short shortcuts !, <, and >.