On Thu, Jan 12, 2012 at 08:38:01AM -0600, Luis Mochan wrote:
Acoording to the manual, there is a variable:

resolve

Type: boolean
Default: yes

When set, the cursor will be automatically advanced to the next
(possibly undeleted) message whenever a command that modifies the
current message is executed.

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".

--
Ed Blackman

Attachment: signature.txt
Description: Digital signature

Reply via email to