From: Sascha Silbe Date: Thu, 1 Nov 2012 14:01:10 +0000 (+0100) Subject: Re: [PATCH 2/2] emacs: Improve the regexp used to match id:'s in messages X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=299aefff692388f14afbb45b95dc1deb792aaaa2;p=notmuch-archives.git Re: [PATCH 2/2] emacs: Improve the regexp used to match id:'s in messages --- diff --git a/88/f1ff5fe62971d2e40bd5bb88fdf7d72fa44811 b/88/f1ff5fe62971d2e40bd5bb88fdf7d72fa44811 new file mode 100644 index 000000000..d5fb374c4 --- /dev/null +++ b/88/f1ff5fe62971d2e40bd5bb88fdf7d72fa44811 @@ -0,0 +1,100 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 7F08F431FBD + for ; Thu, 1 Nov 2012 07:01:52 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.01 +X-Spam-Level: +X-Spam-Status: No, score=0.01 tagged_above=-999 required=5 + tests=[T_MIME_NO_TEXT=0.01] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id EHbHNvqstyTh for ; + Thu, 1 Nov 2012 07:01:51 -0700 (PDT) +Received: from smtp.chost.de (setoy.chost.de [217.160.209.225]) + (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 8953B431FBC + for ; Thu, 1 Nov 2012 07:01:51 -0700 (PDT) +Received: (qmail 10593 invoked by uid 5015); 1 Nov 2012 14:01:47 -0000 +Received: (nullmailer pid 12682 invoked by uid 123); + Thu, 01 Nov 2012 14:01:46 -0000 +Received: from twin.sascha.silbe.org (twin.sascha.silbe.org [192.168.1.2]) + by flatty.sascha.silbe.org ([192.168.1.252]) + with SMTP via TCP; 01 Nov 2012 14:01:46 -0000 +Received: (nullmailer pid 24424 invoked by uid 8193); + Thu, 01 Nov 2012 14:01:46 -0000 +To: Austin Clements , notmuch@notmuchmail.org +Subject: Re: [PATCH 2/2] emacs: Improve the regexp used to match id:'s in + messages +In-Reply-To: <1351650561-7331-3-git-send-email-amdragon@mit.edu> +References: <1351650561-7331-1-git-send-email-amdragon@mit.edu> + <1351650561-7331-3-git-send-email-amdragon@mit.edu> +User-Agent: Notmuch/0.14+78~g4d46115 (http://notmuchmail.org) Emacs/23.4.1 + (x86_64-pc-linux-gnu) +Mail-Followup-To: notmuch , + Austin Clements +Date: Thu, 01 Nov 2012 15:01:10 +0100 +Message-ID: +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha512; protocol="application/pgp-signature" +From: Sascha Silbe +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Thu, 01 Nov 2012 14:01:52 -0000 + +--=-=-= +Content-Transfer-Encoding: quoted-printable + +Austin Clements writes: + +> +(defvar notmuch-id-regexp +> + (concat +> + ;; Match the id: prefix only if it begins a word (to disallow, for +> + ;; example, matching cid:). +> + "\\