Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bug in _mutt ?
- X-seq: zsh-workers 12022
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: bug in _mutt ?
- Date: Wed, 21 Jun 2000 21:50:09 -0400
- Cc: Andy Spiegl <zsh.Andy@xxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxx
- In-reply-to: <1000621152106.ZM31139@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxxxxxxxxx on Wed, Jun 21, 2000 at 03:21:06PM +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000619211650.A5701@xxxxxxxxxxxx> <Pine.LNX.4.20.0006191312080.1808-100000@xxxxxxxxxxxxxxxxx> <20000620132829.K23705@xxxxxxxxxxxx> <20000620100216.A5814@xxxxxxxxxxx> <20000620171801.C3224@xxxxxxxxxxxx> <20000621095529.A27178@xxxxxxxxxxxx> <1000621152106.ZM31139@xxxxxxxxxxxxxxxxxxxxxxx>
> 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 >.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author