* On Sun, Jun 21, 2015 03:59PM +0200 Matthias Vallentin (vallen...@icir.org) muttered: > I would like to make the following index macro work in the pager as > well: > > <read-thread><previous-undeleted><next-new-then-unread> > > fails in the pager if there exists an unread message directly after > the current thread to be read, > because <previous-undeleted> goes back one message and thereby marks the > displayed (unread) message as read and <next-new-then-unread> then skips > the message.
So why don't you exit the pager first? Something like 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> might work? (untested) Michael -- PGP-Key-ID: EEE7D043 Jabber: in...@jabber.de