Re: [PATCH] v2 emacs: colorize buttonized 'id:' links depending on the target message...
authorMark Anderson <MarkR.Anderson@amd.com>
Fri, 20 Jan 2012 19:15:13 +0000 (12:15 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:42:50 +0000 (09:42 -0800)
da/3726bf2b3e2abe990b790a502b60e75e69c50f [new file with mode: 0644]

diff --git a/da/3726bf2b3e2abe990b790a502b60e75e69c50f b/da/3726bf2b3e2abe990b790a502b60e75e69c50f
new file mode 100644 (file)
index 0000000..2f8143c
--- /dev/null
@@ -0,0 +1,122 @@
+Return-Path: <MarkR.Anderson@amd.com>\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 DEDB1431FAF\r
+       for <notmuch@notmuchmail.org>; Fri, 20 Jan 2012 11:15:25 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 9daTkoZV9mQI for <notmuch@notmuchmail.org>;\r
+       Fri, 20 Jan 2012 11:15:25 -0800 (PST)\r
+Received: from VA3EHSOBE002.bigfish.com (va3ehsobe002.messaging.microsoft.com\r
+       [216.32.180.12]) (using TLSv1 with cipher AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 4C608431FAE\r
+       for <notmuch@notmuchmail.org>; Fri, 20 Jan 2012 11:15:25 -0800 (PST)\r
+Received: from mail165-va3-R.bigfish.com (10.7.14.251) by\r
+       VA3EHSOBE002.bigfish.com (10.7.40.22) with Microsoft SMTP Server id\r
+       14.1.225.23; Fri, 20 Jan 2012 19:15:20 +0000\r
+Received: from mail165-va3 (localhost [127.0.0.1])     by\r
+       mail165-va3-R.bigfish.com (Postfix) with ESMTP id DE4053A0271;\r
+       Fri, 20 Jan 2012 19:15:20 +0000 (UTC)\r
+X-SpamScore: -9\r
+X-BigFish:\r
+ VPS-9(zzc89bh1432N98dKzz1202hzz8275bh8275dhz2dhc1bhc31hc1ah668h839h93fh)\r
+X-Forefront-Antispam-Report: CIP:163.181.249.108; KIP:(null); UIP:(null);\r
+       IPV:NLI; H:ausb3twp01.amd.com; RD:none; EFVD:NLI\r
+Received: from mail165-va3 (localhost.localdomain [127.0.0.1]) by mail165-va3\r
+       (MessageSwitch) id 1327086918244337_21201;\r
+       Fri, 20 Jan 2012 19:15:18 +0000 (UTC)\r
+Received: from VA3EHSMHS010.bigfish.com (unknown [10.7.14.252])        by\r
+       mail165-va3.bigfish.com (Postfix) with ESMTP id 34C8D380047;\r
+       Fri, 20 Jan 2012 19:15:18 +0000 (UTC)\r
+Received: from ausb3twp01.amd.com (163.181.249.108) by\r
+       VA3EHSMHS010.bigfish.com (10.7.99.20) with Microsoft SMTP Server id\r
+       14.1.225.23; Fri, 20 Jan 2012 19:15:16 +0000\r
+X-WSS-ID: 0LY42TG-01-TGN-02\r
+X-M-MSG: \r
+Received: from sausexedgep01.amd.com (sausexedgep01-ext.amd.com\r
+       [163.181.249.72])       (using TLSv1 with cipher AES128-SHA (128/128\r
+       bits))  (No\r
+       client certificate requested)   by ausb3twp01.amd.com (Axway MailGate\r
+       3.8.1)\r
+       with ESMTP id 2C5AB1028080;     Fri, 20 Jan 2012 13:15:16 -0600 (CST)\r
+Received: from sausexhtp01.amd.com (163.181.3.165) by sausexedgep01.amd.com\r
+       (163.181.36.54) with Microsoft SMTP Server (TLS) id 8.3.192.1;\r
+       Fri, 20 Jan 2012 13:15:36 -0600\r
+Received: from adcvmail01.amd.com (163.181.21.78) by sausexhtp01.amd.com\r
+       (163.181.3.165) with Microsoft SMTP Server (TLS) id 8.3.213.0;\r
+       Fri, 20 Jan 2012 13:15:17 -0600\r
+Received: from mhdc-ns01.amd.com (mhdc-ns01.amd.com [165.204.35.147])  by\r
+       adcvmail01.amd.com (8.13.8/8.13.8) with ESMTP id q0KJFEjQ020448;\r
+       Fri, 20 Jan 2012 13:15:15 -0600\r
+Received: from testarossa.amd.com (testarossa.amd.com [165.204.147.44])        by\r
+       mhdc-ns01.amd.com (8.13.8+Sun/8.13.8) with ESMTP id q0KJFFMC020981;\r
+       Fri, 20 Jan 2012 12:15:15 -0700 (MST)\r
+Received: (from manderso@localhost)    by testarossa.amd.com\r
+       (8.13.8/8.13.8/Submit) id q0KJFDwo018655;\r
+       Fri, 20 Jan 2012 12:15:13 -0700\r
+X-Authentication-Warning: testarossa.amd.com: manderso set sender to\r
+       MarkR.Anderson@amd.com using -f\r
+From: Mark Anderson <MarkR.Anderson@amd.com>\r
+To: Pieter Praet <pieter@praet.org>, Aaron Ecay <aaronecay@gmail.com>, David\r
+       Edmondson <dme@dme.org>, Jameson Graef Rollins <jrollins@finestructure.net>\r
+Subject: Re: [PATCH] v2 emacs: colorize buttonized 'id:' links depending on\r
+       the target message's state\r
+In-Reply-To: <87aa5l8gqx.fsf@praet.org>\r
+References: <87hazva8qe.fsf@praet.org>\r
+       <1326733053-25185-1-git-send-email-pieter@praet.org>\r
+       <m2sjjfb9xx.fsf@gmail.com> <87aa5l8gqx.fsf@praet.org>\r
+User-Agent: Notmuch/0.11~rc3+2~gfb846f5 (http://notmuchmail.org) Emacs/23.2.1\r
+       (i686-pc-linux-gnu)\r
+Date: Fri, 20 Jan 2012 12:15:13 -0700\r
+Message-ID: <3wd39bambi6.fsf@testarossa.amd.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset="utf-8"\r
+Content-Transfer-Encoding: quoted-printable\r
+X-OriginatorOrg: amd.com\r
+Cc: Notmuch Mail <notmuch@notmuchmail.org>\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: Fri, 20 Jan 2012 19:15:26 -0000\r
+\r
+On Wed, 18 Jan 2012 04:08:54 -0600, Pieter Praet <pieter@praet.org> wrote:\r
+> On Mon, 16 Jan 2012 16:43:06 -0500, Aaron Ecay <aaronecay@gmail.com> wrot=\r
+e:\r
+> > On Mon, 16 Jan 2012 17:57:33 +0100, Pieter Praet <pieter@praet.org> wro=\r
+te:\r
+> > [...] Maybe you could change the regex that\r
+> > matches id:=E2=80=99s to require a little more structure =E2=80=93 an a=\r
+t-sign, perhaps.\r
+> > Or even requiring more than (say) 5 non-space characters after the\r
+> > message id would cut down sharply on the false positive rate.\r
+> >=20\r
+>=20\r
+> Not sure how that would pan out.  It's fairly common behaviour to put\r
+> one or more spaces after a inline Message-Id, so I don't think such a\r
+> limitation would be warmly recepted.\r
+\r
+I thought this was a suggestion to have more than 5 non-space characters\r
+after the id:, not the full id:LongIdThingHere=20\r
+\r
+It sounded to me like an attempt to prevent extra false positives and\r
+the confusing buttonizing and notmuch queries that go with them.\r
+\r
+-Mark\r
+\r