nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] pick -nosequence ?


From: Ralph Corderoy
Subject: Re: [Nmh-workers] pick -nosequence ?
Date: Wed, 05 Dec 2012 21:37:19 +0000

Hi David,

> Paul F. wrote:
> > Ralph wrote:
> > > > i'm happy to prepare a patch to add "-nosequence"...  unless i'm
> > > > missing something and it's unnecessary.
> > >
> > > Does HISTORY in mh_profile(5) help?
> >
> > no, not on first (and second and third) read.  should it?
> 
> I agree that it doesn't help.

I was thinking along the lines of

    $ grep '^pick:' ~/.mh_profile
    pick: -sequence lp
    $ pick last
    1 hit
    $ pick -list lp
    7019
    $ pwd
    /home/tmp/1354742761.629788533
    $ MHCONTEXT=$PWD/ct pick -nopublic last:10
    10 hits
    $ cat ct
    Current-Folder: inbox
    atr-lp-/home/ralph/mail/inbox: 7005 7007-7009 7012 7015-7019
    $ pick -list lp
    pick: bad message list lp
    $

So far, so bad;  a private sequence `lp' in a folder correctly removes
the public sequence of the same name.  Onwards...

    $ echo mh-sequences: >>ct
    $ pick last
    1 hit
    $ pick -list lp
    7019
    $ MHCONTEXT=$PWD/ct pick -nopublic last:20
    20 hits
    $ cat ct
    Current-Folder: inbox
    atr-lp-/home/ralph/mail/inbox: 6958 6983-6984 6990 6994-6996 7000-7001 
7004-7005 7007-7009 7012 7015-7019
    mh-sequences:
    $ pick -list lp
    7019
    $

The user's own sequences are untouched stored as they are either as
public ones or privately in the user's, not the script's, context files.

Cheers, Ralph.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]