Re: [PATCH] emacs: call "notmuch tag" only once when archiving a thread
authorJameson Graef Rollins <jrollins@finestructure.net>
Thu, 5 Jan 2012 20:38:18 +0000 (12:38 +1600)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:41:38 +0000 (09:41 -0800)
cd/88f8142c63991891427d7d559625167aca2c6d [new file with mode: 0644]

diff --git a/cd/88f8142c63991891427d7d559625167aca2c6d b/cd/88f8142c63991891427d7d559625167aca2c6d
new file mode 100644 (file)
index 0000000..dbce8f0
--- /dev/null
@@ -0,0 +1,94 @@
+Return-Path: <jrollins@finestructure.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 1897F429E33\r
+       for <notmuch@notmuchmail.org>; Thu,  5 Jan 2012 12:38:29 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.29\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled\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 xG3uT9nO9dff for <notmuch@notmuchmail.org>;\r
+       Thu,  5 Jan 2012 12:38:28 -0800 (PST)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 9510B429E31\r
+       for <notmuch@notmuchmail.org>; Thu,  5 Jan 2012 12:38:28 -0800 (PST)\r
+Received: from fire-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by fire-doxen-postvirus (Postfix) with ESMTP id C9CD92E50E31;\r
+       Thu,  5 Jan 2012 12:38:23 -0800 (PST)\r
+X-Spam-Scanned: at Caltech-IMSS on fire-doxen by amavisd-new\r
+Received: from finestructure.net (gwave-90.ligo.caltech.edu [131.215.114.90])\r
+       (Authenticated sender: jrollins)\r
+       by fire-doxen-submit (Postfix) with ESMTP id CAFB1328070;\r
+       Thu,  5 Jan 2012 12:38:18 -0800 (PST)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 9B2D97B8; Thu,  5 Jan 2012 12:38:18 -0800 (PST)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Jani Nikula <jani@nikula.org>, Aaron Ecay <aaronecay@gmail.com>,\r
+       notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: call "notmuch tag" only once when archiving a\r
+       thread\r
+In-Reply-To: <87fwftao1b.fsf@nikula.org>\r
+References: <1325615346-8302-1-git-send-email-jani@nikula.org>\r
+       <m2hb09kj0m.fsf@gmail.com> <87fwftao1b.fsf@nikula.org>\r
+User-Agent: Notmuch/0.10.2+138~g0b4049e (http://notmuchmail.org) Emacs/23.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Thu, 05 Jan 2012 12:38:18 -0800\r
+Message-ID: <87vcop3mx1.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\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: Thu, 05 Jan 2012 20:38:29 -0000\r
+\r
+--=-=-=\r
+\r
+On Thu, 05 Jan 2012 22:32:16 +0200, Jani Nikula <jani@nikula.org> wrote:\r
+> In the search view it does exactly this.\r
+\r
+I worry about race conditions in this case, though.  I frequently\r
+archive threads after I've read everything, but I still want to know if\r
+new message to that thread come in.  If I attempt to archive a thread in\r
+notmuch-search, but a new message has entered the thread without me\r
+knowing it, I'll archive the new message before I had a chance to look\r
+at it.\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.11 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJPBgo6AAoJEO00zqvie6q86J0QAIy1uy8L7zY50UHs1dF5LjGO\r
+H1cyzwdJkcAGOSJJCx+E7htDYVk55ij3L4UxxdSKUJ4OgfoZy6/uWSELDXqHG5i0\r
+xmZsDAV8XYn+USO7Eg+jIIqDH56MuGLdMgjdf2w6dkwMM84LvsFCFqpVG/Cu9AYp\r
+mi1FJG+CYvlNbPBMx5EE4kyaMJNuYB+5vbguPdnNoz6jNVSlMsKvEBwqTtRd/S6Y\r
++K3SejQrj76WYzw+hQ54JNJ4HBqWb9ryRu4gEJ/WCKCWCkAqhQyZU0f1gVXxaMPm\r
+aJFwl+CkzzQGRP5m1kzyI2rgVsr+GpiCHv+VQMp+jLGiu59vMLB95C1qtd38Vo5G\r
+sgwN/19vZlYCnYZuLAOFcERqNpSZWRQQ5fayNMBiEhv7bJuDeiMFcIvmKg3kcm2s\r
+afmy0Nwj6cxYWajKuu2MP/eVRltzcYeKT94z/7TzJAdd50gGseiQ3GqSwPxIVBQv\r
+ZCOLRWg9Tx2gmsJ9swYgpRjOeF/8sFb9nJisy8qf4fiAY7Dwoa4Hr5TWcCbjyvBy\r
+51YWJCXD3bSza3uaLsbovJMrqoMCxP++xO+4OdUCCnl/itVdNc2IVXgeKh0qMNK1\r
+z+jy+ZEa6cehAY09+MOg4lUj8SM0WNUYyIPBdWp+qoRmLT2fH2BND2cUyahUO2h5\r
+hZ5KXD8aDI0+pcH/Ze8X\r
+=x9V3\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r