notmuchsync: handling of the deleted tag
Mike Kelly
pioto at pioto.org
Tue Sep 21 06:15:44 PDT 2010
On Tue, 21 Sep 2010 11:44:29 +0200
Sebastian Spaeth <Sebastian at 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
More information about the notmuch
mailing list