On Fri, Jan 13, 2012 at 11:36:06AM -0500, Ed Blackman wrote: > I found unsetting resolve all the time was annoying, since most of the time > I *do* want to move to the next message. Try this macro. It uses a pattern > I picked up in this group: save the current setting, change it, perform the > desired action, then reset to the saved setting. > > macro index,pager D "<enter-command>set my_resolve=\$resolve > resolve=no<enter>\ > <clear-flag>N<save-message>+Gmail/trash<enter>\ > <enter-command>set resolve=\$my_resolve &my_resolve<enter>" "move message to > the trash" > > I haven't tested this particular macro, but I just rewrote the macros that I > have that previously did "save to mailbox (implicitly moving to next entry); > move to previous entry", and they work just great with "save resolve value; > set resolve=no; save; restore saved resolve value".
I too have had similar issues and in my .muttrc I have: unset resolve # move to the next message when an action is performed macro pager D ":set resolve\n<delete-message>:unset resolve\n" "Delete Message" macro index D ":set resolve\n<delete-message>:unset resolve\n" "Delete Message" macro index N ":set resolve\n<toggle-new>:unset resolve\n" "Toggle message 'N'ew flag" These settings make me happier. -- Will Fiveash