On Thu, May 28, 2015 at 5:23 PM, Andrzej Popielewicz <apopi...@amu.edu.pl> wrote: > * Xu Wang <xuwang...@gmail.com> [2015-05-27 22:27:00]: > >> Dear all, >> >> I would like set a folder hook for postponed messages, which I hope is >> run when I do "R" to change to the postponed folder. >> >> Note that in my .muttrc I have: >> >> set postponed="+[Gmail].Drafts" >> >> but the hook does not seem to work. I tried many, including: >> >> folder-hook 'Drafts' 'set editor = "vim"' >> >> Is there a reason this is not matched by regex? >> >> Kind regards, >> >> Xu > > For me works the following > > folder-hook "imap.googlemail.com" set record ="=Sent" > folder-hook "imap.googlemail.com" set postponed = "=Drafts" > > Andrzej
Thank you for the reply Andrzej. I am not sure I understand. What I would like is to have a special command set for editor only when resuming postponed messages. Kind regards, Xu