[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] relative message numbers?
From: |
David Levine |
Subject: |
Re: [Nmh-workers] relative message numbers? |
Date: |
Sun, 14 Oct 2012 13:13:38 -0500 |
Paul wrote:
> i know ('man nmh') about 'cur:-3' and 'prev:3', which will pick
> the 3 previous messages (including cur, or not). is there a way to
> refer to _just_ the Nth message before or after cur?
>
> i often look at a scan listing and realize i want to see a message
> that's very close to 'cur' or 'last'. with my numeric typing skills,
> the fewer digits i need to type the better, so "show last--3" or "show
> cur++2" would be easier than "show 321540". (a real example, from my
> mairix "virtual" output folder).
>
> is this possible? anyone else think it's desirable?
It's not possible now with nmh. A simple shell alias could do
it, but use would take a bit more typing than you asked for.
I think "last-3" and "cur+2" would be sufficient.
I'd probably use it. Though I've been trying to rely more on pick
and less on message numbers.
David