From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 649B3431FBC for ; Mon, 18 Jan 2010 07:47:51 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.513 X-Spam-Level: X-Spam-Status: No, score=-1.513 tagged_above=-999 required=5 tests=[AWL=-0.514, BAYES_50=0.001, RCVD_IN_DNSWL_LOW=-1] 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 LIm5OYqBYd4v for ; Mon, 18 Jan 2010 07:47:50 -0800 (PST) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by olra.theworths.org (Postfix) with ESMTP id 7987B431FAE for ; Mon, 18 Jan 2010 07:47:50 -0800 (PST) Received: from compute1.internal (compute1.internal [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 1097DCD6A1; Mon, 18 Jan 2010 10:47:50 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 18 Jan 2010 10:47:50 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=smtpout; bh=My9WaXT25SF+Fh69W547W7aCVXw=; b=Sq78330PxTTByj+DVIYWWg2KrRIsBNbGR2eeRfj+WxbSD4Y/OOiYTVliKonVCHOtfMv2pFP0CRUuyb62t8JjRo16ieWuB4a9rG82zggvhr8u+FTBYfViYvLFqoQgnSM01ijCnVOZFhSnhV3lpQTvAwMDBJoDsOI5BgAUSfwZ5+4= X-Sasl-enc: aokqLznFKDazN+VDB+rnirNp9W5DzhUMNY0F3J2FGvQm 1263829668 Received: from veldthuis.com (unknown [129.125.147.36]) by mail.messagingengine.com (Postfix) with ESMTPSA id 68D7E20A43; Mon, 18 Jan 2010 10:47:48 -0500 (EST) Received: by veldthuis.com (sSMTP sendmail emulation); Mon, 18 Jan 2010 16:48:04 +0100 From: Marten Veldthuis To: Sebastian Spaeth , notmuch@notmuchmail.org In-Reply-To: <87pr57jvkz.fsf@SSpaeth.de> References: <87pr57jvkz.fsf@SSpaeth.de> Date: Mon, 18 Jan 2010 16:48:04 +0100 Message-ID: <87wrzfpg7f.fsf@veldthuis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: 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: Mon, 18 Jan 2010 15:47:51 -0000 On Mon, 18 Jan 2010 16:12:28 +0100, "Sebastian Spaeth" wrote: > What does it do? > ================ > - Synchronizes the "S" flag with the "unread" tag (1-way). The > synchronization direction is decided by using either --sync (change > maildir flags according to notmuch) or --revsync (change notmuch tags according to maildir). By default it always checks the mails from the previous 30 > days (but can also do --all mails if you have plenty of RAM and time). > - Deletes all mail files that have the "delete" tag > - Quiet/normal/verbose logging Excellent. Sounds like nearly exactly what I thought about doing last weekend, except that I couldn't find a nice Ruby library quickly and then my attention-span was over :) Also, I'm curious as to Carl's opinion to this, but as far as I'm concerned, not everything about notmuch needs to be coded in C. Obviously, things interacting with the database directly need to, but if it could be built upon the notmuch C-based CLI commands, and be fast enough, would that be eligible to make it into the repository? -- - Marten