Rino Mardo <[EMAIL PROTECTED]> wrote on Fri, 30 Jun 2000:
> Hmm, that could be the reason why I'm getting a repetition operand invalid.

Yes. :-)  * means "any number (0 or more) of the character just before",
so using * alone doesn't make sense, as there is no character just
before it.  * works as a wildcard for "anything" in some cases in the
Mutt parser, but those cases have been special-cased and they aren't
usually regexps actually.

> > But if you want automatic saving of read messages, what you're looking
> > for is in fact:
> > 
> >   folder-hook . set record='+read.mutt'
> 
> But this is assuming I am only subscribed mutt-users right?  So all mails go to
> "read.mutt" because of that "." in folder-hook.

Oops, what I meant is probably something like this:

  folder-hook . set record='+read'
  folder-hook =mutt set record='+read.mutt'

Although the folder hook(s) would depend on what folder names you have.
The idea is that the default stored folder is +read, and for the =mutt
folder it's +read.mutt...  Hope this example illustrates to you how to
set it up, and it's what you'd like.

The example I gave before was a bit wrong, as you indeed wouldn't want
$record pointing to +read.mutt for *every* folder. :-)


Mikko
-- 
// Mikko H�nninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
An unbreakable toy is good for breaking other toys.

Reply via email to