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 C2B77431FBC for ; Tue, 19 Jan 2010 08:04:51 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.343 X-Spam-Level: X-Spam-Status: No, score=-1.343 tagged_above=-999 required=5 tests=[AWL=-1.344, BAYES_50=0.001] 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 giwPqOgd0Bco for ; Tue, 19 Jan 2010 08:04:51 -0800 (PST) Received: from tarap.cc.columbia.edu (tarap.cc.columbia.edu [128.59.29.7]) by olra.theworths.org (Postfix) with ESMTP id 1F5BD431FAE for ; Tue, 19 Jan 2010 08:04:50 -0800 (PST) Received: from servo.finestructure.net (geco.phys.columbia.edu [128.59.170.159]) (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0) by tarap.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id o0JG4n2C007556 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Tue, 19 Jan 2010 11:04:50 -0500 (EST) Received: from jrollins by servo.finestructure.net with local (Exim 4.71) (envelope-from ) id 1NXGZV-0000gw-Nj; Tue, 19 Jan 2010 11:04:49 -0500 Date: Tue, 19 Jan 2010 11:04:49 -0500 From: Jameson Rollins To: Sebastian Spaeth Message-ID: <20100119160449.GA28198@finestructure.net> References: <87pr57jvkz.fsf@SSpaeth.de> <201001181641.25647.sojkam1@fel.cvut.cz> <87hbqjwgmf.fsf@SSpaeth.de> <87my0a5i80.fsf@SSpaeth.de> <87my0aqgw9.fsf@veldthuis.com> <20100119152427.GL8342@finestructure.net> <877hrexfat.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline In-Reply-To: <877hrexfat.fsf@SSpaeth.de> User-Agent: Mutt/1.5.20 (2009-06-14) X-No-Spam-Score: Local X-Scanned-By: MIMEDefang 2.68 on 128.59.29.7 Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] Introducing notmuchsync 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: Tue, 19 Jan 2010 16:04:51 -0000 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 19, 2010 at 04:52:42PM +0100, Sebastian Spaeth wrote: > That is why I have coded my notmuchsync tool. It does all that. While I > agree that notmuch should probably (and faster) do all that itself, the > current design seems to be to keep notmuch flexible, small and to never t= ouch > your mailstore. Until that changes, surrounding scripts will have to > perform these tasks. I should have mentioned in my previous mail that I think this tool is a great idea, and I plan on using it. I just hope that all of it's functionality will be integrated directly into notmuch itself. That said, I have vasilated just a bit on this, as to whether notmuch should touch the mail at all, or just process it. But having thought about it a bit, I think that notmuch really *is* an MUA, or at least the mail processing part of a MUA (MUA minus message reader), and should therefore do the appropriate things with the maildir. > My current synchronization script looks basically like this: >=20 > notmuch new # make db consistent (earlier deleted mails etc) > notmuchsync -s -n # MailDir flags update and "cur" dir moving > offlineimap # sync with IMAP server > notmuch new # incorporate new mails in notmuch db Do you do another notmuchsync after the final notmuch new, to get any new flags in the maildir synced with the database? jamie. --EeQfGwPcQSOJBaQU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: attachment -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCAAGBQJLVdgcAAoJEO00zqvie6q8D6kP/RC05UBbVtqeQrNehOYhOFFG iC4Mm4yzmh2NkNg3mKJI18PQubWAkroP/t5rCKj/RCrZiVBVPQo6T8tnt/GY8DdU DVgQwxsbYjmmHbZNS05/WP92HNNxF8JUC6V6dhrxaRUBlE86ewwot+WKxLVRvvw8 +7ri+mwg8ebb2rmKKs5VljBpuBWUYsGzCy9TaCvNg98NH/9dCI26lV7+uNNECHlZ QOgczB4YEJgYvnLGBatWAc8L0tXMAuFSRypMBQxwBroCPiADkooSd0YiuYYNBBG3 R/scv1baAyDg2tcN4dBh2I8SvU5zBACxSnyamzEgztWVdfS1Psd7tx4foHzMdHpD KxGTcOgWE37NNXL9kk9Dhbt2y9vi/9ca1CZkdRZ+1nyGz0l3ZPBsk0KzlB/rJddK qmY+8Q1Ps7J3W1xYG+3tasNbEglnnbMUEepYBoHM6FkOiwN1xUtYCyGFDgGaEU5q X3J41zwQloXVLB/85xLf7wyVzVAKwL9gHDPpnY/YfA18isxYknRR6marJya6smRQ 9MZfaJgFJPrQaPAzQTEfPn9Np/rP6P4VLPg1fC0nz1g3en3xPUN/yTx2Mt4gxx/4 NcCR5+DuPJ8111maLFJ6lGiYPi3y4LUcyX12SH83pcG302IfnaFd6tyQgiJtCRS9 c9UnJS9LOY7el47t5ppO =MzLP -----END PGP SIGNATURE----- --EeQfGwPcQSOJBaQU--