* On Sun, Jun 21, 2015 06:38PM +0200 I ([email protected]) muttered:
> * On Sun, Jun 21, 2015 03:59PM +0200 Matthias Vallentin ([email protected]) 
> muttered:
> macro index ,foo <read-thread><previous-undeleted><next-new-then-unread>
> macro pager ,foo2 \
> <exit><read-thread><previous-undeleted><next-new-then-unread><display-message>

It's by far easier, no need for <previous-undeleted> if resolve is unset.

macro index,pager ,foo '<enter-command> set my_resolve=$resolve<enter>\
<enter-command> unset resolve<enter><read-thread><next-new-then-unread>\
<enter-command> set resolve=$my_resolve<enter>' "read thread and go to
next unread message"

(Tested) :)

HTH,
Michael
-- 
PGP-Key-ID:     EEE7D043
Jabber:         [email protected]

Reply via email to