[Top][All Lists]

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

Re: [Nmh-workers] multiple folders to rcvstore

From: Nicholas M. Kirsch
Subject: Re: [Nmh-workers] multiple folders to rcvstore
Date: Tue, 8 Nov 2005 08:03:30 -0800
User-agent: Mutt/

> You'll have to privilege one of the locations on the rcvstore command
> line to make this work. It gets the message from stdin by default.
> You could always have it be an error to use -link without -file, but
> I think the whole idea is breaking the paradigm of rcvstore. In fact,
> this is why rcvstore and refile are different programs, IMHO. You
> *can* specify multiple locations with refile.

I don't understand why you need to privilege any of the locations. I imagine
that rcvstore will simply take the list of folders, create a message in the
any arbitrary one, and create links in any additional folders. None of the
locations are privileged. (Let's ignore how sequences would be specified, for
now). To the filesystem, all links are identical; there is no preferred link.

The fact that rcvstore is obtaining the message from stdin is not relevant
here. (It will use that data to initially write the message to disk, but
which folder it chooses to write to is unimportant as long as it creates
links in the other folders before exiting). 

> I think what Nicholas wants is essentially refile.

I want rcvstore to multiple folders. refile takes an existing message and
links it; I have an atomicity (again, from an nmh perspective) problem -- I
want to store a message into multiple folders in a single nmh operation. I
can already do what you've suggested, which is save the message initially and
then refile. It works, but it is messy.


reply via email to

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