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 35935431FBF for ; Sat, 21 Nov 2009 13:04:24 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 Zr-3sJTkPewz for ; Sat, 21 Nov 2009 13:04:23 -0800 (PST) Received: from mail-bw0-f224.google.com (mail-bw0-f224.google.com [209.85.218.224]) by olra.theworths.org (Postfix) with ESMTP id 56CFB431FAE for ; Sat, 21 Nov 2009 13:04:23 -0800 (PST) Received: by bwz24 with SMTP id 24so3129407bwz.30 for ; Sat, 21 Nov 2009 13:04:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :in-reply-to:references:date:message-id:mime-version:content-type; bh=WjYB0Xp0T7F1loOjavGMFlDlb4u+n1yZHk5Kbj2iWEY=; b=cLGfvEWuueiubMavC07jxs09lV28wh6k2H7sYPJqoAYRBfdeecXo9HPrl2b2kPCMF/ 0gSSHB6cOdbRnnAD9eTKFR/OMtfh99tqs7iMmz0VJkzyBuSUEiuP6EuusKDbiJHLPiLj qhqLBLBEsgSFxa7UofjQ2LYafhRHzyK3u5ppo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; b=b+q7uGI21Ox09eghUQBAIypJgSjFBeOiHhQNbMNcLYsmzI8wgZ3ipd+lHo7sMzdlqF IoRUpA1Q9JOs8UzNq4bp/C1mTEAbPm7yfcMRmif5vvL9wwm3jpWM/YOMe2tagLnFlm7U MrgCy8PjygZKufKc1Y1/M2+VDl/5C2VVPvv8o= Received: by 10.204.10.7 with SMTP id n7mr3004956bkn.68.1258837462428; Sat, 21 Nov 2009 13:04:22 -0800 (PST) Received: from kunyang (vawpc43.ethz.ch [129.132.59.11]) by mx.google.com with ESMTPS id z10sm3365952fka.0.2009.11.21.13.04.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Nov 2009 13:04:21 -0800 (PST) Sender: Jed Brown From: Jed Brown To: Jan Janak , Carl Worth In-Reply-To: References: <87fx87u3no.fsf@59A2.org> <874oon4pgv.fsf@yoom.home.cworth.org> Date: Sat, 21 Nov 2009 22:04:50 +0100 Message-ID: <87bpivtwr1.fsf@59A2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: notmuch@notmuchmail.org Subject: Re: [notmuch] Asynchronous tagging X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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: Sat, 21 Nov 2009 21:04:24 -0000 On Sat, 21 Nov 2009 21:50:10 +0100, Jan Janak wrote: > I get errors about missing files too. There are several reasons why > that can happen: > > 1) A message is moved from one folder to another in other mail > clients that work with the Maildir spool. Not a problem in my case because I currently have everything in one big maildir (100k in one directory is a lot, but not too painful at 0.3s for ls and 2s to stat everything). > 2) A client changes the flags on a message, for example, when you > read a message or mark it as deleted. Maildir stores flags in > filenames. This seems like a problem. I'm not familiar with xapian, is it necessarily an expensive operation to correct these inconsistencies? Matching by thread id ought to be cheap. > 3) Message flags are updated on the IMAP server (for example when you > mark a message as read in gmail). Offlineimap keeps message flags > synchronized. If you mark a local message as read then the change is > propagated to the IMAP server and vice versa. Do you know if Offlineimap (or some similar tool) can be told not to bother keeping flags synchronized? Jed