Re: notmuchsync: handling of the deleted tag
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 15 Nov 2010 16:48:05 +0000 (11:48 +1900)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:31 +0000 (09:37 -0800)
3e/005cb55117ba12d19ed145de8abfa77f87c0e5 [new file with mode: 0644]

diff --git a/3e/005cb55117ba12d19ed145de8abfa77f87c0e5 b/3e/005cb55117ba12d19ed145de8abfa77f87c0e5
new file mode 100644 (file)
index 0000000..e68970e
--- /dev/null
@@ -0,0 +1,113 @@
+Return-Path: <dkg@fifthhorseman.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id A7EFC40DBDA\r
+       for <notmuch@notmuchmail.org>; Mon, 15 Nov 2010 08:48:24 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.899\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5\r
+       tests=[BAYES_00=-1.9, UNPARSEABLE_RELAY=0.001] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id mlQarLqJZCKw for <notmuch@notmuchmail.org>;\r
+       Mon, 15 Nov 2010 08:48:13 -0800 (PST)\r
+Received: from rodolpho.mayfirst.org (mail.freitas.net [209.234.253.107])\r
+       (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id E4F7340DBC8\r
+       for <notmuch@notmuchmail.org>; Mon, 15 Nov 2010 08:48:12 -0800 (PST)\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by rodolpho.mayfirst.org (Postfix) with ESMTP id 42E933CD52\r
+       for <notmuch@notmuchmail.org>; Mon, 15 Nov 2010 11:48:10 -0500 (EST)\r
+X-Virus-Scanned: Debian amavisd-new at rodolpho.mayfirst.org\r
+Received: from rodolpho.mayfirst.org ([127.0.0.1])\r
+       by localhost (rodolpho.mayfirst.org [127.0.0.1]) (amavisd-new,\r
+       port 10024) with ESMTP id L912hZmMB1IV for <notmuch@notmuchmail.org>;\r
+       Mon, 15 Nov 2010 11:48:10 -0500 (EST)\r
+Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender:\r
+       smtpauth@rodolpho.mayfirst.org) with ESMTPSA id DAAD23CD45\r
+Message-ID: <4CE16445.6040504@fifthhorseman.net>\r
+Date: Mon, 15 Nov 2010 11:48:05 -0500\r
+From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>\r
+User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US;\r
+       rv:1.9.2.9) Gecko/20100918 Icedove/3.1.4\r
+MIME-Version: 1.0\r
+To: Notmuch developer list <notmuch@notmuchmail.org>\r
+Subject: Re: notmuchsync: handling of the deleted tag\r
+References: <87bp7vewa5.fsf@raven.defaultvalue.org>\r
+       <87mxrcsb8a.fsf@SSpaeth.de>     <87r5gnomt2.fsf@raven.defaultvalue.org>\r
+       <87hbfnmiux.fsf@yoom.home.cworth.org>   <87oc9vf17n.fsf@SSpaeth.de>\r
+       <m34obmdzjj.fsf@x201s.gr8dns.org>       <87pqua82os.fsf@yoom.home.cworth.org>\r
+       <87vd3z7dhm.fsf@SSpaeth.de>     <7nlj4vqt02.fsf@revenuewire.com>\r
+       <87d3q7e19f.fsf@servo.finestructure.net>\r
+       <AANLkTikwUqaNV_jnSX+M4N+huhqqjW=Cj0R9-UJ_7Mxc@mail.gmail.com>\r
+In-Reply-To: <AANLkTikwUqaNV_jnSX+M4N+huhqqjW=Cj0R9-UJ_7Mxc@mail.gmail.com>\r
+X-Enigmail-Version: 1.1.2\r
+OpenPGP: id=D21739E9\r
+Content-Type: multipart/signed; micalg=pgp-sha512;\r
+       protocol="application/pgp-signature";\r
+       boundary="------------enigCB9C4CA92646DBDB5F3EB386"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+Reply-To: notmuch <notmuch@notmuchmail.org>\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 15 Nov 2010 16:48:24 -0000\r
+\r
+This is an OpenPGP/MIME signed message (RFC 2440 and 3156)\r
+--------------enigCB9C4CA92646DBDB5F3EB386\r
+Content-Type: text/plain; charset=UTF-8\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On 11/15/2010 10:24 AM, servilio wrote:\r
+> And "xargs -L1 ..." will solve the issue in a nicer way. So the above w=\r
+ould be:\r
+>=20\r
+> notmuch search --output=3Dfiles tag:deleted | xargs -L1 rm\r
+\r
+Assuming none of your mail filenames have newlines or trailing\r
+whitespace, that is.\r
+\r
+I'd like to make that kind of assumption, myself.  But I've certainly\r
+seen files that violate it (not from any maildir implementation, though).=\r
+\r
+\r
+       --dkg\r
+\r
+\r
+--------------enigCB9C4CA92646DBDB5F3EB386\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+Content-Description: OpenPGP digital signature\r
+Content-Disposition: attachment; filename="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.10 (GNU/Linux)\r
+Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/\r
+\r
+iQIcBAEBCgAGBQJM4WRFAAoJEMzS7ZTSFznpK2sP+QEoZRX2V3z5/ugY+rUc1Aus\r
+spzlNbQ4JfreuhiyPt385UMPUTxp1bi1h1upBnGitW0WVwCwI2D41VnSnDdY4vgp\r
+vRRmMN9TRJcqae9fefrZeRhumtHK9RNF3omRV1faugt7PXlRkcb3I+7l0xYowp0v\r
+hF6NwxGNBR09d9khsjBN6bR+zBV9J/zHPc/K4H9Y6n3PThzipfnYGKLUxrLqvCO8\r
+32oByoGOeOf30RpN7vmxp/dkj5ZSOdZnK2jmwGu7B+8oAyy1GOAbYgcVsxbnLgz/\r
+szl9JWZn6UuJuTCFtJgmVounPXq2T51EAOBD62UTQ2hFruzUCvVvf7TkcDaS2d/U\r
+unJyWAEG3LrTzltwDXQ8yknBfrmWrFCUQGxZmX43hfpbCZkw46OCUrx+9xGE/YC/\r
+qzGzednlwI5d9ojXFIMTRqz/r6bTuJIVPHU2xSrduAwPmzYuJ3IoUANMO9Oo9R07\r
+avg9G/vr668Etiih1hx6Q44fsz4u8nGA23W0zebj3kI9n+ZydaBivZ2is6DFwr6u\r
+abYDDKV3pW729E4hqnPGcnnrTR2C28rLRgJge8hClqy0X6cnCsYO2Dcdt7zBxQMt\r
+CsVYDQMUe3EwRmZPCAKZBsSoo4vonWVmDvK8RRBSe3MldfttXNnyCIDZK+MrpfLj\r
+XwGFz8O4kiWVkfLJFkEY\r
+=NLrQ\r
+-----END PGP SIGNATURE-----\r
+\r
+--------------enigCB9C4CA92646DBDB5F3EB386--\r