From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id DCD796DE0C5F for ; Sat, 12 Nov 2016 13:08:33 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.014 X-Spam-Level: X-Spam-Status: No, score=-0.014 tagged_above=-999 required=5 tests=[AWL=0.097, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gXH-6Mv15loK for ; Sat, 12 Nov 2016 13:08:32 -0800 (PST) Received: from istari.evenmere.org (istari.evenmere.org [136.248.125.194]) by arlo.cworth.org (Postfix) with ESMTP id 9C5AE6DE0C51 for ; Sat, 12 Nov 2016 13:08:32 -0800 (PST) Received: by istari.evenmere.org (Postfix, from userid 113) id EEBEB1E00B6; Sat, 12 Nov 2016 16:08:31 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=evenmere.org; s=default; t=1478984911; bh=9I6sjOERNL66EydIiH1raskQHogBJ+UQY4Ed8YBvtSo=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=my/tk5/tV7RsV5W9zpMG7xR6TY89m6LLHr+cCLroQemVanJTbpEFDrrmzWydIrSYZ JpH8fvoYVEgyC2ifMe6br3LS0lzkbco+iK0bk6LJ5MxhhXwv407v7eksU9UxkODum+ sEZdys9MtXFQFmxVDTlV0PIKvfu+P4vzfDeOeF7Q= Received: from [192.168.0.14] (pool-108-7-216-99.bstnma.fios.verizon.net [108.7.216.99]) by istari.evenmere.org (Postfix) with ESMTPSA id 2B3121E00B1; Sat, 12 Nov 2016 16:08:30 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=evenmere.org; s=default; t=1478984910; bh=9I6sjOERNL66EydIiH1raskQHogBJ+UQY4Ed8YBvtSo=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=Plnqpz4AUY1JNDas+Rkt3o4hpvooDBCUSu9Jo5V+w/W1rzA8g1aW5lhJUS6s3M5Bc 9+9D6U4tfGPj0qCD6LIE5TGwcwVCgDSTKJYdOUpQHnsQnxnM/3hpXkobnRT+cdGO53 OFRFRMIlTgwkrEclDF4+YYq09dBecIZ4xia4TSvU= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] cli: consider files vanishing during notmuch new non-fatal From: Brian Sniffen X-Mailer: iPhone Mail (14B100) In-Reply-To: <87h97cu1am.fsf@tethera.net> Date: Sat, 12 Nov 2016 16:08:29 -0500 Cc: Paul Wise , Jani Nikula , notmuch@notmuchmail.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <1478312104.1979.8.camel@debian.org> <1478350621-17137-1-git-send-email-jani@nikula.org> <1478352176.17295.5.camel@debian.org> <87k2c8u2q1.fsf@tethera.net> <60C96E28-48D2-4307-A991-A68469733955@evenmere.org> <87h97cu1am.fsf@tethera.net> To: David Bremner X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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, 12 Nov 2016 21:08:34 -0000 > On Nov 12, 2016, at 11:10 AM, David Bremner wrote: >=20 > Brian Sniffen writes: >=20 >>>=20 >>> OK, but the patch proposed works both for people who want to be notified= >>> of this problem, and those that don't (with appropriate shell wrapping >>> checking the return code). =20 >>=20 >> I think it will loop; how do I guarantee termination and indexing of all p= resent messages if deletions cause errors? >=20 > stop deleting things? You can't guarantee termination and indexing of > all present messages by ignoring deletions either. That's hard, given dovecot pointed at the same maildir: it quickly moves fil= es from new to cur. That makes notmuch insert pretty useless, and I rely on n= otmuch new to approach correctness.=20 But maybe I misunderstand: is the idea that it will return an error but keep= processing? Or stop on that error?