Hi list, I am having trouble with mutt again. I got tired of having to wait for so long for mutt to open one of my mailing list folders, so now I get my mail all in one inbox, and need to move it to different folders (this way I keep the level of mails in the inbox at an appropriate level). I can do this with the save-hook commands, and I have even made myself a little macro to help me out (this tags the current thread and saves it to the folder specified by the save-hook commands, regardless of which message in the thread I am on):
macro index . "^R^[t;s^M" macro pager . "^R^[t;s^M" (The ^R's and ^M's are created in vim by pressing (in input mode) C-v C-r and C-v RET respectively.) The problem is that this does only work in the index (the tag-prefix feature is apparently not available in the pager[1]), and I find it a bit awkward to have to go to pager mode to see what the thread is about, then to index to apply this macro, and back to pager mode for the next thread. Now, the question is -- is there a way to get around this problem? The desired action would be to just use the excellent delete-features available in mutt (or the 'read email more quickly' feature as Alan Cox named it) and just have mutt save the messages to the folder that matched upon exiting from the folder[2]. Or, even better maybe, have it automatically move read messages upon exit. [1] -- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=127957&repeatmerged=yes [2] -- From my testing, it seems if you tag a few messages and chose to save them to file, they all go to the same file (this being the one that matches for the first of the tagged messages I presume). Stig -- brautaset.org Registered Linux User 107343 ``Oh, how I wish `undo' was ported to everyday life.''