<<< Date Index >>>     <<< Thread Index >>>

Re: one macro to save many messages in different folders?



On Sun, Sep 23, 2007 02:13:40 AM -0500, Kyle Wheeler (kyle-mutt@xxxxxxxxxxxxxx) 
wrote:
 
> Well, that should be pretty close, but let's build it up from the 
> basics first. First, try this macro:
> 
> macro index ,S '<tag-pattern>~h "List-Id: CentOS mailing list"<enter>'
> 
> Does that tag all the right messages? Next, add the next piece:
> 
> macro index ,S '<tag-pattern>~h "List-Id: CentOS mailing 
> list"<enter><tag-prefix><save-message>'
> 
> That should bring up a save-message prompt. Does it? If it does, add 
> the next piece:
> 
> macro index ,S '<tag-pattern>~h "List-Id: CentOS mailing 
> list"<enter><tag-prefix><save-message>+2007.09.centos<enter>'
> 
> Now what does that do?

In the form below, with two mailing lists, it does everything it's
supposed to do plus one or two things it shouldn't:

1) it saves into 2007.09.fedora (the first folder mentioned) whatever
   message is highligted (not open) in the index in that moment, no
   matter which list it belongs to

2) I get a "Mailbox checkpointed" message in the status bar (the
   mailbox where I execute the macro is on a remote IMAPS server)
   and if I close and reopen the macro I see the messages again, just
   with the 'D' marker beside them

I'll keep experimenting, but any comment is welcome, of course.

Marco

-- 
Help *everybody* love Free Standards and Free Software!
http://digifreedom.net