nmh-workers
[Top] [All Lists]

Re: rcvstore and "unseen" sequence

1998-02-17 17:15:30
That isn't to say that the -nounseen arg isn't a good idea, I think it is,
though it would probably better generalised as "-[no]seq xxx" to cause the
message to (or not to) be added to sequence xxx (with the default being
-seq unseen).

This is already the case.  In (the nmh version of) rcvstore,
the -[no]unseen switch decides whether to add message to "unseen"
sequence.  The default is to add message to this sequence.

If you would like to add the message to additional sequences, you may
use the switch -sequence.  For example, to add messages to sequence
"junk" (but no others), you would use

    rcvstore +folder -nounseen -sequence junk

The reason there is a special switch for the "unseen" sequence is
that this sequence has slightly different semantics from ordinary
user-defined sequences.  The "unseen" sequence can actually be
multiple sequences.  For instance, if you put the following in your
.mh_profile

    Unseen-Sequence: unseen1 unseen2 unseen3

then the command "rcvstore" would actually add the message to
all three of these sequences.  The same is true for the other
commands (inc and show) that update the "unseen" sequence.

Check the "mh-sequence" man page for details.

--
Richard Coleman
coleman(_at_)math(_dot_)gatech(_dot_)edu


<Prev in Thread] Current Thread [Next in Thread>