[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] exciting new stuff for 2.0
From: |
Paul Fox |
Subject: |
Re: [Nmh-workers] exciting new stuff for 2.0 |
Date: |
Wed, 08 Feb 2012 15:38:21 -0500 |
ralph wrote:
> Hi Ken,
>
> > You know, I was wondering why I didn't remember the original message
> > ... and that was because it was from 7 years ago!
>
> Yes, I was tackling my large backlog of nmh reading and at some point
> switched from my recent large backlog to my old large backlog, I too was
> confused about the sudden change in topic. :-)
>
> The OP was talking about thread notation in a scan-style listing. If
> there was a show(1) that let one navigate through a sequence then I
> guess it could display it too.
>
> (My ~/bin/readlp abuses lesskey(1) so little-used keys in less for
> reading email, e.g. D, do "quit ^@", and this is picked up by the script
> which then adds it to the "delete" sequence and moves onto the next
> email to show. N - next, P - previous, S - spam, etc.)
okay, that's subtle, and very cool. from the lesskey manpage:
"The extra string has a special meaning for the "quit" action:
when less quits, first character of the extra string is used as
its exit status."
nice trick. care to share your readlp script? i use less to read
a pre-formatted concatenation of unread messages, but then i have
to delete the unwanted ones specifically when i'm done. yours sounds
like a nicer solution.
paul
=---------------------
paul fox, address@hidden (arlington, ma, where it's 31.8 degrees)