Re: [PATCH] Fix typo in Message.maildir_flags_to_tags
[notmuch-archives.git] / 81 / dab027018ebbd1a721709bb895a6bb803a06b9
1 Return-Path: <dme@dme.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 69C0040DAC3\r
6         for <notmuch@notmuchmail.org>; Mon,  8 Nov 2010 02:51:45 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id UT6f0zn3WY9k for <notmuch@notmuchmail.org>;\r
16         Mon,  8 Nov 2010 02:51:35 -0800 (PST)\r
17 Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com\r
18         [74.125.82.181])\r
19         by olra.theworths.org (Postfix) with ESMTP id D697D4196F0\r
20         for <notmuch@notmuchmail.org>; Mon,  8 Nov 2010 02:51:34 -0800 (PST)\r
21 Received: by wyb40 with SMTP id 40so5751614wyb.26\r
22         for <notmuch@notmuchmail.org>; Mon, 08 Nov 2010 02:51:34 -0800 (PST)\r
23 Received: by 10.227.72.196 with SMTP id n4mr5073116wbj.153.1289213493803;\r
24         Mon, 08 Nov 2010 02:51:33 -0800 (PST)\r
25 Received: from ut.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com\r
26         [81.149.164.25])\r
27         by mx.google.com with ESMTPS id x65sm2995803weq.25.2010.11.08.02.51.32\r
28         (version=TLSv1/SSLv3 cipher=RC4-MD5);\r
29         Mon, 08 Nov 2010 02:51:33 -0800 (PST)\r
30 Received: by ut.hh.sledj.net (Postfix, from userid 1000)\r
31         id 9D3D459405B; Mon,  8 Nov 2010 10:50:30 +0000 (GMT)\r
32 From: David Edmondson <dme@dme.org>\r
33 To: notmuch@notmuchmail.org\r
34 Subject: [PATCH] emacs: Simplify subjects more aggressively.\r
35 Date: Mon,  8 Nov 2010 10:50:29 +0000\r
36 Message-Id: <1289213429-24824-1-git-send-email-dme@dme.org>\r
37 X-Mailer: git-send-email 1.7.2.3\r
38 In-Reply-To: <1289213048-24332-1-git-send-email-dme@dme.org>\r
39 References: <1289213048-24332-1-git-send-email-dme@dme.org>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Mon, 08 Nov 2010 10:51:45 -0000\r
53 \r
54 Remove 're: ' or 'Re: ' from anywhere within a subject line rather\r
55 than just at the beginning. This is to accommodate threads where a\r
56 mailing list sometimes inserts a subject prefix.\r
57 \r
58 For example, if a thread has the subjects:\r
59 \r
60     [Orgmode] org-indent, org-inlinetask: patches on github\r
61     Re: [Orgmode] org-indent, org-inlinetask: patches on github\r
62     [Orgmode] Re: org-indent, org-inlinetask: patches on github\r
63 \r
64 the last of these would not have been considered the same and would\r
65 therefore have been shown.\r
66 ---\r
67  emacs/notmuch-show.el |    2 +-\r
68  1 files changed, 1 insertions(+), 1 deletions(-)\r
69 \r
70 diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
71 index efcb335..08654f1 100644\r
72 --- a/emacs/notmuch-show.el\r
73 +++ b/emacs/notmuch-show.el\r
74 @@ -408,7 +408,7 @@ current buffer, if possible."\r
75    (make-symbol (concat "notmuch-show-" type)))\r
76  \r
77  (defun notmuch-show-strip-re (string)\r
78 -  (replace-regexp-in-string "^\\([Rr]e: *\\)+" "" string))\r
79 +  (replace-regexp-in-string "\\([Rr]e: *\\)+" "" string))\r
80  \r
81  (defvar notmuch-show-previous-subject "")\r
82  (make-variable-buffer-local 'notmuch-show-previous-subject)\r
83 -- \r
84 1.7.2.3\r
85 \r