Re: notmuchsync: handling of the deleted tag

Subject: Re: notmuchsync: handling of the deleted tag

Date: Tue, 21 Sep 2010 09:15:44 -0400

To: notmuch@notmuchmail.org

Cc:

From: Mike Kelly


On Tue, 21 Sep 2010 11:44:29 +0200
Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:

> Right that would be a problem. But I cannot do reference counting
> unless notmuch can give me the number of copies it knows about for a
> given mail id (and internally it does know all associated file paths,
> so it would be a simple API extension a la,
> "get_all_message_file_paths" or similar, or a
> get_number_of_mail_files(mailid) to start with.

I agree, and such an API would be useful for other things too. For
example, I could probably implement a rudamentary gmail syncer with
that. I may just try to make a patch to do this soon if nobody beats me
to it.

-- 
Mike Kelly

Thread: