[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] changes to mark.man
From: |
Paul Fox |
Subject: |
Re: [Nmh-workers] changes to mark.man |
Date: |
Sun, 19 Mar 2017 20:01:18 -0400 |
ralph wrote:
> Hi Larry,
>
> > There appears to be three options - "name:n", "name:+n", or "name:-n",
> > yet they refer to the 'first or last `n' messages', respectively, i.e.
> > there are two respective explanations for three options
>
> It's `name:n' where n is a non-zero integer. If positive then it's the
> first n messages, if negative then it's the last n.
>
> In having a quick look at the code, I spotted `name=n', again with n
> being non-zero. This actually does what I've wanted in the past. (Did
> I complain and someone add it when I was stuck using an old version?
> :-)
i think i complained, and then added it. :-)
paul
> If n is positive then it's the nth message of the sequence, if
> negative then the nth from the end of the sequence in the other
> direction, e.g. foo=-2 is the penultimate.
>
> There is another difference between `:' and `='. Given a ten long
> sequence foo, I can foo:42 and foo:-42 and the 42 is clamped to ten.
> But trying to pick the 42nd of ten is naturally an error, though not a
> very clear one.
>
> Cheers, Ralph.
>
> P.S. The Mail-Followup-To header is set; that might help your replies
> to hit the list. :-)
>
> _______________________________________________
> Nmh-workers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/nmh-workers
>
=----------------------
paul fox, address@hidden (arlington, ma, where it's 30.9 degrees)