I would like to make the following index macro work in the pager as
well:

    <read-thread><previous-undeleted><next-new-then-unread>

This works just fine in the index, but 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.

If I remove <previous-undeleted> the problem persists: the message
after the read thread is skipped over directly with
<next-new-then-unread>.

What I need is something like <next-new-if-current-is-unread> that
executes directly after <read-thread>. In the IRC channel, micromar
pointed me to <tag-prefix-cond>, which seems that it could work if I
could query the ~N flag of the current message. However, I failed to put
together a working solution.

Any guidance would be much appreciated.

    Matthias

Reply via email to