Re: [PATCH] emacs: Fix applying stickiness to the :notmuch-part property
authorDavid Bremner <david@tethera.net>
Tue, 4 Jun 2013 11:43:51 +0000 (08:43 +2100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:55:25 +0000 (09:55 -0800)
ad/b2959ac5d1a0bf536208061e6b2b88be6ce3f5 [new file with mode: 0644]

diff --git a/ad/b2959ac5d1a0bf536208061e6b2b88be6ce3f5 b/ad/b2959ac5d1a0bf536208061e6b2b88be6ce3f5
new file mode 100644 (file)
index 0000000..0ce4965
--- /dev/null
@@ -0,0 +1,74 @@
+Return-Path: <david@tethera.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 4A817431FB6\r
+       for <notmuch@notmuchmail.org>; Tue,  4 Jun 2013 04:44:04 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] 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 pPr4B57zaTeo for <notmuch@notmuchmail.org>;\r
+       Tue,  4 Jun 2013 04:43:58 -0700 (PDT)\r
+Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21])\r
+       (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 48057431FAF\r
+       for <notmuch@notmuchmail.org>; Tue,  4 Jun 2013 04:43:58 -0700 (PDT)\r
+Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])\r
+       by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id r54Bhv3f008958;\r
+       Tue, 4 Jun 2013 08:43:57 -0300\r
+Received: from fctnnbsc30w-156034082078.dhcp-dynamic.fibreop.nb.bellaliant.net\r
+       ([156.34.82.78] helo=zancas.localnet)\r
+       by tesseract.cs.unb.ca with esmtpsa\r
+       (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80)\r
+       (envelope-from <david@tethera.net>)\r
+       id 1Ujpee-0001Rm-SB; Tue, 04 Jun 2013 08:43:57 -0300\r
+Received: from bremner by zancas.localnet with local (Exim 4.80)\r
+       (envelope-from <david@tethera.net>)\r
+       id 1UjpeZ-0007up-8C; Tue, 04 Jun 2013 08:43:51 -0300\r
+From: David Bremner <david@tethera.net>\r
+To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] emacs: Fix applying stickiness to the :notmuch-part\r
+       property\r
+In-Reply-To: <1370272679-20175-1-git-send-email-amdragon@mit.edu>\r
+References: <1370272679-20175-1-git-send-email-amdragon@mit.edu>\r
+User-Agent: Notmuch/0.15.2+141~gd298af4 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Tue, 04 Jun 2013 08:43:51 -0300\r
+Message-ID: <87vc5uqex4.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-Spam_bar: -\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: Tue, 04 Jun 2013 11:44:04 -0000\r
+\r
+Austin Clements <amdragon@MIT.EDU> writes:\r
+\r
+> Previously, we simply called pushnew to add :notmuch-part to the\r
+> front-sticky and rear-nonsticky text property lists.  This works if\r
+> these are nil or lists, but they can also have the value t, meaning\r
+> that all properties are front-sticky/rear-nonsticky.  In this case,\r
+> pushnew will signal an error because t is not a list.  We never set\r
+> these properties to t ourselves, but since we apply these property\r
+> changes over arbitrary renderer output, we have to deal with this\r
+> possibility.\r
+\r
+Pushed,\r
+\r
+d\r