Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 5D47E40DDE8 for ; Fri, 12 Nov 2010 13:17:05 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.89 X-Spam-Level: X-Spam-Status: No, score=-2.89 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fWUe4qooqQfG; Fri, 12 Nov 2010 13:16:54 -0800 (PST) Received: from yoom.home.cworth.org (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id D434240DDCE; Fri, 12 Nov 2010 13:16:53 -0800 (PST) Received: by yoom.home.cworth.org (Postfix, from userid 1000) id 7560B25412B; Fri, 12 Nov 2010 13:16:53 -0800 (PST) From: Carl Worth To: Sebastian Spaeth , Notmuch developer list Subject: Re: notmuchsync: handling of the deleted tag In-Reply-To: <87oc9vf17n.fsf@SSpaeth.de> References: <87bp7vewa5.fsf@raven.defaultvalue.org> <87mxrcsb8a.fsf@SSpaeth.de> <87r5gnomt2.fsf@raven.defaultvalue.org> <87hbfnmiux.fsf@yoom.home.cworth.org> <87oc9vf17n.fsf@SSpaeth.de> User-Agent: Notmuch/0.4 (http://notmuchmail.org) Emacs/23.2.1 (i486-pc-linux-gnu) Date: Fri, 12 Nov 2010 13:16:53 -0800 Message-ID: <87vd428coq.fsf@yoom.home.cworth.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 21:17:05 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable On Fri, 12 Nov 2010 08:30:36 +0100, Sebastian Spaeth = wrote: > On Thu, 11 Nov 2010 17:27:34 -0800, Carl Worth wrote: > > 'R' on _any_ filename -> "replied" tag gets added > > 'T' on _all_ filenames -> "deleted" tag gets added > > 'S' on _any_ filename -> "unread" tag gets removed > > So maybe something like that? >=20 > Maybe, but that sounds like a horribly complex configuration, in which > the user has to really think through what he wants (and can still make > blunders). :) Yes. But a common user configurations could be as simple as: R:replied; t:todo; d:done; or so. And that would be hugely powerful because it would allow for remote synchronization of tags with tools that exist *today* (and perhaps[*] even through imap servers where the user cannot install custom software). [*] This is a point I'm not clear on. Would a tool like offlineimap be able to push custom filenames through to the remote end with standard imap servers? But we could also have a well-documented default configuration that happens to include two of the more complex cases: R:replied; T* : deleted; S : ~unread; So questions of syntax aside, I'm not convinced that this idea is insane. And if it covers all of the synchronization needs that people really have. > Right, you pushed the ball in my court. The only problem is that -- with > the arrival of maildir sync -- I lost my motivation to work on > notmuchsync. Hehe. Oh well, someone else will have to go play with notmuch_message_get_filenames. I think the people interested in writing a "gmail importer" want this as well. > Seriously, what does notmuchsync still provide that notmuch > cannot do? I wonder if I shouldn't stick a "deprecated" warning on it. That's actually a question I wanted to ask you. If notmuch 0.5 actually does everything that notmuchsync did, then that's great news. If there is any missing functionality, then let's get that into notmuch. Thanks for the discussion. =2DCarl =2D-=20 carl.d.worth@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFM3a7F6JDdNq8qSWgRAl41AJ46kGlP8pp+HMLzwCav740XBx5nZgCfSDjs SG+7+qNe2C7+N1InmFWS9I8= =hwFE -----END PGP SIGNATURE----- --=-=-=--