On Apr 13, Flavien <[EMAIL PROTECTED]> wrote: > [The one above does not work. I suppose you thought : > macro pager 'd' '<delete-message><next-unread>' > > This one has a problem. > Test case : > N Subject: Foo > N Subject: Bar > N Subject: Gee > > Your press Enter to read Foo, then you press D. What happens ? > <delete-message> deletes Foo and points the pager to Bar. Then the > <next-unread> points to Gee. In fact, Bar is no more new, but you've not > read it ! :-( > Another suggestion ?
You need to set/unset $resolve, which determines if mutt moves to the next entry or not after an action like delete. Something like: macro pager d ":set noresolve<enter><delete-message><next-unread> \ :set resolve<enter> Holger