<<< Date Index >>>     <<< Thread Index >>>

Re: jump to last read



=- Christian Ebert wrote on Tue  6.Feb'07 at 14:19:16 +0100 -=

> > Then to suffice your requirement you could simply bind the "n"
> > key to a macro that does the above /and/ executes
> > <search-next>.
> 
> Hm, I'm too dense, I tried, but everything leaves me on the
> message that was marked -- marking the message doesn't perform
> the actual search, and once I've done the hotkey search I'm back
> on the marked message without having marked the message where I
> came from.

The idea, not litral mutt code, look up details.
Works only assuming you don't use "Flag"ing for other purposes,
and have 'wrap_search=yes'.

a) jump next new:
        macro ... <unflag-all><flag><next-new>
b) jump last seen:
        macro ... <mark><search-flagged><enter><unflag>

-- 
© Rado S. -- You must provide YOUR effort for your goal!
EVERY effort counts: at least to show your attitude.
You're responsible for ALL of it: you get what you give.