On Wed, Oct 31, 2001 at 11:43:33AM -0500, darren chamberlain wrote:
> Eric Van Buggenhaut <[EMAIL PROTECTED]> said something to this effect on 10/31/2001:
> > Thanks for answering me !
> 
> Oh, sure.  I've got nothing better to do (but don't tell my
> boss I said that.) ;)
> 
> > On Wed, Oct 31, 2001 at 10:57:43AM -0500, darren chamberlain wrote:
> > > Eric Van Buggenhaut <[EMAIL PROTECTED]> said something to this effect on 
>10/30/2001:
> > > How about:
> > > 
> > > macro index r "<reply><save-message>"
> > 
> > I didn't thought  about the macro stuff ;)
> 
> The best solutions always end up being macros, I've found.
> 

I ended up with this:

folder-hook IN.personal 'macro index r "<reply><save-message>"'
save-hook '~p' $HOME/Mail/personal
mbox-hook IN.personal $HOME/Mail/personal


but it doesn't work. When I press 'r', I reply to the message but it's not saved in 
the mbox.


> > Also that'd be valid in all my mailboxes, wouldn't it ? What if
> > I wanted this to happen just in one specific mailbox ?
> 
> Hm... write a mbox-hook that creates the macro for only the
> mailbox(es) you want it to work for.  Be sure to write another
> (earlier in the config) mbox-hook to clear the macro, though, so
> it doesn't carry over to the other mailboxes.

The fact that you can have a mbox-hook linked to a macro isn't documented here. I only 
have:

       mbox-hook [!]pattern mailbox
              When mutt changes to a mail folder which matches pattern, mailbox will 
be used as the "mbox"  folder,
              i.e., read messages will be moved to that folder when the mail folder is 
left.

Can you confirm the use of macros in there ?

-- 
Eric VAN BUGGENHAUT     "Oh My God! They killed init! You Bastards!"
                        --from a /. post
        \_|_/           Andago
       \/   \/          Av. Santa Engracia, 54
a n d a g o  |--        E-28010 Madrid - tfno:+34(91)2041100
       /\___/\          http://www.andago.com
        / | \           "Innovando en Internet"
                        [EMAIL PROTECTED]

Reply via email to