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 0397F431FBC for ; Wed, 27 Jan 2010 01:00:54 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.408 X-Spam-Level: X-Spam-Status: No, score=-0.408 tagged_above=-999 required=5 tests=[AWL=-0.409, 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 8FlyoaP7QcLK for ; Wed, 27 Jan 2010 01:00:53 -0800 (PST) Received: from homiemail-a12.g.dreamhost.com (caiajhbdcagg.dreamhost.com [208.97.132.66]) by olra.theworths.org (Postfix) with ESMTP id 1ABD4431FAE for ; Wed, 27 Jan 2010 01:00:53 -0800 (PST) Received: from sspaeth.de (unknown [84.55.198.58]) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTPA id 9C682714060; Wed, 27 Jan 2010 01:00:50 -0800 (PST) Received: by sspaeth.de (sSMTP sendmail emulation); Wed, 27 Jan 2010 10:00:47 +0100 From: "Sebastian Spaeth" To: martin f krafft , Asheesh Laroia In-Reply-To: <87k4v670s3.fsf@SSpaeth.de> References: <20100111221909.GA30299@lapse.rw.madduck.net> <1263267603-sup-302@elise> <20100112045152.GA15275@lapse.rw.madduck.net> <20100114203730.GE4691@lapse.rw.madduck.net> <20100125004659.GA24818@lapse.rw.madduck.net> <87k4v670s3.fsf@SSpaeth.de> Date: Wed, 27 Jan 2010 10:00:47 +0100 Message-ID: <87fx5rexc0.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch Subject: Re: [notmuch] Git as notmuch object store (was: Potential problem using Git for mail) 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: Wed, 27 Jan 2010 09:00:54 -0000 On Mon, 25 Jan 2010 14:49:00 +0100, "Sebastian Spaeth" wrote: > While notmuchsync fullfils my needs, it is a kludge. It needs to call > "notmuch" for each mail where a MailDir flag has changed (which can be > quite often on an initial run, where most mails are likely to be read), > this can take a long, long time. It would makes sense IMHO to at least > pick pioto's "don't set unread if 'S' flag is set" on notmuch new[1]. Once python bindings exist for the notmuch shared library, I am sure we can speed notmuchsync up a lot by keeping the connection open and tagging all mails in one go rather than executing a separate binary for each mail. So, this approach might still be feasible. Sebastian