--- /dev/null
+Return-Path: <dme@dme.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 69C0040DAC3\r
+ for <notmuch@notmuchmail.org>; Mon, 8 Nov 2010 02:51:45 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.9\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
+ tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham\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 UT6f0zn3WY9k for <notmuch@notmuchmail.org>;\r
+ Mon, 8 Nov 2010 02:51:35 -0800 (PST)\r
+Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com\r
+ [74.125.82.181])\r
+ by olra.theworths.org (Postfix) with ESMTP id D697D4196F0\r
+ for <notmuch@notmuchmail.org>; Mon, 8 Nov 2010 02:51:34 -0800 (PST)\r
+Received: by wyb40 with SMTP id 40so5751614wyb.26\r
+ for <notmuch@notmuchmail.org>; Mon, 08 Nov 2010 02:51:34 -0800 (PST)\r
+Received: by 10.227.72.196 with SMTP id n4mr5073116wbj.153.1289213493803;\r
+ Mon, 08 Nov 2010 02:51:33 -0800 (PST)\r
+Received: from ut.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com\r
+ [81.149.164.25])\r
+ by mx.google.com with ESMTPS id x65sm2995803weq.25.2010.11.08.02.51.32\r
+ (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
+ Mon, 08 Nov 2010 02:51:33 -0800 (PST)\r
+Received: by ut.hh.sledj.net (Postfix, from userid 1000)\r
+ id 9D3D459405B; Mon, 8 Nov 2010 10:50:30 +0000 (GMT)\r
+From: David Edmondson <dme@dme.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] emacs: Simplify subjects more aggressively.\r
+Date: Mon, 8 Nov 2010 10:50:29 +0000\r
+Message-Id: <1289213429-24824-1-git-send-email-dme@dme.org>\r
+X-Mailer: git-send-email 1.7.2.3\r
+In-Reply-To: <1289213048-24332-1-git-send-email-dme@dme.org>\r
+References: <1289213048-24332-1-git-send-email-dme@dme.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: Mon, 08 Nov 2010 10:51:45 -0000\r
+\r
+Remove 're: ' or 'Re: ' from anywhere within a subject line rather\r
+than just at the beginning. This is to accommodate threads where a\r
+mailing list sometimes inserts a subject prefix.\r
+\r
+For example, if a thread has the subjects:\r
+\r
+ [Orgmode] org-indent, org-inlinetask: patches on github\r
+ Re: [Orgmode] org-indent, org-inlinetask: patches on github\r
+ [Orgmode] Re: org-indent, org-inlinetask: patches on github\r
+\r
+the last of these would not have been considered the same and would\r
+therefore have been shown.\r
+---\r
+ emacs/notmuch-show.el | 2 +-\r
+ 1 files changed, 1 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
+index efcb335..08654f1 100644\r
+--- a/emacs/notmuch-show.el\r
++++ b/emacs/notmuch-show.el\r
+@@ -408,7 +408,7 @@ current buffer, if possible."\r
+ (make-symbol (concat "notmuch-show-" type)))\r
+ \r
+ (defun notmuch-show-strip-re (string)\r
+- (replace-regexp-in-string "^\\([Rr]e: *\\)+" "" string))\r
++ (replace-regexp-in-string "\\([Rr]e: *\\)+" "" string))\r
+ \r
+ (defvar notmuch-show-previous-subject "")\r
+ (make-variable-buffer-local 'notmuch-show-previous-subject)\r
+-- \r
+1.7.2.3\r
+\r