On 01/13/12 at 09:30pm, Ed Blackman wrote: > On Fri, Jan 13, 2012 at 06:39:00PM -0600, Christian Dysthe wrote: > >On 01/13/12 at 11:36am, Ed Blackman wrote: > >>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" > > > >Thank you so much! This macro works exactly like I would like it to > >except for one minor issue: It does not move to the next message after > >the e-mail is delete (moved to Gmail trash). The problem before was > >that it moved to the next mail and moved that to trash. Now it works > >perfectly with regards to deleting and moving the mail. If it's no way > >or have it move to the next mail after deletion to do that I'm fine > >with the way it works now. > > OK. You just need to move the "save" until after resolve is > restored. That way the save will delete and move to the next > message. > > macro index,pager D "<enter-command>set my_resolve=\$resolve > resolve=no<enter>\ > <clear-flag>N\ > <enter-command>set resolve=\$my_resolve &my_resolve<enter>\ > <save-message>+Gmail/trash<enter>" "move message to the trash" > > Still untested.
Thanks again! Now it works perfectly (at least for me). I'll keep this macro in the vault with the Coca Cola recipe since I could never have come up with it myself. :) > > -- > Ed Blackman -- //Christian Dysthe