Re: [PATCH 2/2] emacs: Improve the regexp used to match id:'s in messages
authorSascha Silbe <sascha-ml-reply-to-2012-4@silbe.org>
Thu, 1 Nov 2012 14:01:10 +0000 (15:01 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:50:15 +0000 (09:50 -0800)
88/f1ff5fe62971d2e40bd5bb88fdf7d72fa44811 [new file with mode: 0644]

diff --git a/88/f1ff5fe62971d2e40bd5bb88fdf7d72fa44811 b/88/f1ff5fe62971d2e40bd5bb88fdf7d72fa44811
new file mode 100644 (file)
index 0000000..d5fb374
--- /dev/null
@@ -0,0 +1,100 @@
+Return-Path: <sascha-ml-email-notmuch-notmuch@silbe.org>\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 7F08F431FBD\r
+       for <notmuch@notmuchmail.org>; Thu,  1 Nov 2012 07:01:52 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.01\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.01 tagged_above=-999 required=5\r
+       tests=[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 EHbHNvqstyTh for <notmuch@notmuchmail.org>;\r
+       Thu,  1 Nov 2012 07:01:51 -0700 (PDT)\r
+Received: from smtp.chost.de (setoy.chost.de [217.160.209.225])\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 8953B431FBC\r
+       for <notmuch@notmuchmail.org>; Thu,  1 Nov 2012 07:01:51 -0700 (PDT)\r
+Received: (qmail 10593 invoked by uid 5015); 1 Nov 2012 14:01:47 -0000\r
+Received: (nullmailer pid 12682 invoked by uid 123);\r
+       Thu, 01 Nov 2012 14:01:46 -0000\r
+Received: from twin.sascha.silbe.org (twin.sascha.silbe.org [192.168.1.2])\r
+       by flatty.sascha.silbe.org ([192.168.1.252])\r
+       with SMTP via TCP; 01 Nov 2012 14:01:46 -0000\r
+Received: (nullmailer pid 24424 invoked by uid 8193);\r
+       Thu, 01 Nov 2012 14:01:46 -0000\r
+To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH 2/2] emacs: Improve the regexp used to match id:'s in\r
+       messages\r
+In-Reply-To: <1351650561-7331-3-git-send-email-amdragon@mit.edu>\r
+References: <1351650561-7331-1-git-send-email-amdragon@mit.edu>\r
+       <1351650561-7331-3-git-send-email-amdragon@mit.edu>\r
+User-Agent: Notmuch/0.14+78~g4d46115 (http://notmuchmail.org) Emacs/23.4.1\r
+       (x86_64-pc-linux-gnu)\r
+Mail-Followup-To: notmuch <notmuch@notmuchmail.org>,\r
+       Austin Clements <amdragon@MIT.EDU>\r
+Date: Thu, 01 Nov 2012 15:01:10 +0100\r
+Message-ID: <toetxt9bexl.fsf@twin.sascha.silbe.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha512; protocol="application/pgp-signature"\r
+From: Sascha Silbe <sascha-ml-reply-to-2012-4@silbe.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: Thu, 01 Nov 2012 14:01:52 -0000\r
+\r
+--=-=-=\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Austin Clements <amdragon@MIT.EDU> writes:\r
+\r
+> +(defvar notmuch-id-regexp\r
+> +  (concat\r
+> +   ;; Match the id: prefix only if it begins a word (to disallow, for\r
+> +   ;; example, matching cid:).\r
+> +   "\\<id:\\("\r
+[...]\r
+\r
+Since you're already at it, please extend it to accept RFC2392 [1]\r
+syntax for message URLs:\r
+\r
+     mid-url       =3D "mid" ":" message-id [ "/" content-id ]\r
+\r
+The id: syntax is non-standard (i.e. specific to notmuch).\r
+\r
+Sascha\r
+\r
+[1] http://www.ietf.org/rfc/rfc2392.txt\r
+=2D-=20\r
+http://sascha.silbe.org/\r
+http://www.infra-silbe.de/\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQEcBAEBCgAGBQJQkoCmAAoJELpz82VMF3DahzwIAIPSM/2xrQ89zmEg/fSMqOE4\r
+QLn9Dgw0idcX6HEfcIn6BFFXeOY8dNlBNMPhmdiQLBpNNjWm0fnqSrjSEDCKbxMy\r
+dLAtDCVuLW+HgM4zXiumBmi0eBiD1WEtG56CY6GM10fiSRjaeZXmmgUInZ4JSvWW\r
+X2Eyzrh6q1wdel0I9c6ZT4WWgMS1obnIZBJBeww4HcRPYhdteVLTlfS85mDI7gtr\r
+ZUkz8V4c6YuSLdOEI1/gnBR1aEHO1UJ2qivQBB+Xbt1NBXddYtH9BSoJpLLtUb9V\r
+CGkESHzSYSmHl5wEWX1VbFJlZ/kwmsGPNBETDHUM0NLrelXFUrgNljeJXRLn5Jk=\r
+=8kSl\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r