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 3193D431FBF for ; Thu, 25 Feb 2010 01:53:56 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[AWL=-0.701, 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 V4dLoUpwDH27 for ; Thu, 25 Feb 2010 01:53:55 -0800 (PST) Received: from homiemail-a24.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by olra.theworths.org (Postfix) with ESMTP id E86AF431FAE for ; Thu, 25 Feb 2010 01:53:54 -0800 (PST) Received: from sspaeth.de (unknown [195.190.178.84]) by homiemail-a24.g.dreamhost.com (Postfix) with ESMTPA id 797A62C806B; Thu, 25 Feb 2010 01:50:06 -0800 (PST) Received: by sspaeth.de (sSMTP sendmail emulation); Thu, 25 Feb 2010 10:50:04 +0100 From: "Sebastian Spaeth" To: Jameson Rollins , Carl Worth , notmuch@notmuchmail.org In-Reply-To: <87wry21nav.fsf@servo.finestructure.net> References: <87pr57jvkz.fsf@SSpaeth.de> <87wry2wl7p.fsf@yoom.home.cworth.org> <87wry21nav.fsf@servo.finestructure.net> Date: Thu, 25 Feb 2010 10:50:03 +0100 Message-ID: <87iq9lbq5w.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Thu, 25 Feb 2010 09:53:56 -0000 On Wed, 24 Feb 2010 13:49:44 -0500, Jameson Rollins wrote: > On Wed, 24 Feb 2010 10:19:06 -0800, Carl Worth wrote: > > I think that's the open question still. How much of this kind of > > functionality do we integrate into notmuch itself. I don't know the > > answer to that question yet, but I'm quite happy to see people > > experimenting with doing scripts like this on top of notmuch already. It's a fine line and depends a lot on how people actually use notmuch. One thing that I would strongly advocate is to take on the "respect maildir flags when importing with notmuch new" patch. This enables me to use webmail/thunderbird (my mom at my home place is curiously still refusing to switch to notmuch) etc. As for the rest, I'd agree that we can be conservative in accepting new notmuch features (part of its appeal is that its so darn simple) while trying to make things easier for an ecosystem of surrounding apps. > In fact, I actually gave up on syncing notmuch and maildir, and am > basically punting on maildir altogether. This is slightly problematic > because notmuch is still missing some key features so I occasionally > have to use other mailers to achieve certain things (especially OpenPGP > stuff). I worry about it down the line as well, if I ever have to use > another mailer for any reason. All mail I've received since my switch > to notmuch will show up as "unread" in maildir readers. > I think notmuch wrapper scripts like notmuchsync are going to be crucial > for notmuch down the line, so I definitely agree that doing everything > possible to make it easier for them is a very good thing. I am using > notmuchsync for deleting "delete" tagged messages, for which it's very > useful. It's pretty slow, though, which I've been chalking up to the > fact that it has to parse the notmuch "show" output. Once notmuch can > output just the paths to messages matching search results that should > get much much faster. It's slow for deleting messages? That would surprise me, as it only needs to parse/look at messages with a 'delete' or 'maildir::trashed' tag. Syncing from notmuch to maildir flags *is* slow. Limiting the output to filenames will help greatly there (I hope). However by design it needs to compare tags from *all* your messages with the corresponding file name as stored in notmuch. I have no solution as how to make this easier, at least not without adding a "needsync" tag or so when "deleting, replying, reading, etc". Sebastian