Re: [feature request] emacs: use `notmuch insert` for FCC
[notmuch-archives.git] / ba / 5efb6ff45831d96d0e5d42c11b67581413954f
1 Return-Path: <m.walters@qmul.ac.uk>\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 98C9E431FBF\r
6         for <notmuch@notmuchmail.org>; Tue, 28 Jan 2014 13:31:16 -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.098\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5\r
12         tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
13         NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id 4onoLDJoZCpz for <notmuch@notmuchmail.org>;\r
17         Tue, 28 Jan 2014 13:31:09 -0800 (PST)\r
18 Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])\r
19         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 4E972431FBD\r
22         for <notmuch@notmuchmail.org>; Tue, 28 Jan 2014 13:31:09 -0800 (PST)\r
23 Received: from smtp.qmul.ac.uk ([138.37.6.40])\r
24         by mail2.qmul.ac.uk with esmtp (Exim 4.71)\r
25         (envelope-from <m.walters@qmul.ac.uk>)\r
26         id 1W8GFJ-0004IO-Lz; Tue, 28 Jan 2014 21:31:04 +0000\r
27 Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost)\r
28         by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71)\r
29         (envelope-from <m.walters@qmul.ac.uk>)\r
30         id 1W8GEB-0004kw-Bx; Tue, 28 Jan 2014 21:29:51 +0000\r
31 From: Mark Walters <markwalters1009@gmail.com>\r
32 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
33 Subject: Re: [PATCH 1/1] emacs: ad-activate 'mm-shr after ad-disable-advice\r
34         'mm-shr\r
35 In-Reply-To: <1390854732-7501-1-git-send-email-tomi.ollila@iki.fi>\r
36 References: <1390854732-7501-1-git-send-email-tomi.ollila@iki.fi>\r
37 User-Agent: Notmuch/0.15.2+484~gfb59956 (http://notmuchmail.org) Emacs/23.4.1\r
38         (x86_64-pc-linux-gnu)\r
39 Date: Tue, 28 Jan 2014 21:28:09 +0000\r
40 Message-ID: <87ha8n94pi.fsf@qmul.ac.uk>\r
41 MIME-Version: 1.0\r
42 Content-Type: text/plain; charset=us-ascii\r
43 X-Sender-Host-Address: 93.97.24.31\r
44 X-QM-Geographic: According to ripencc,\r
45         this message was delivered by a machine in Britain (UK) (GB).\r
46 X-QM-SPAM-Info: Sender has good ham record.  :)\r
47 X-QM-Body-MD5: f18867dbd04050039e566b9b2650eaab (of first 20000 bytes)\r
48 X-SpamAssassin-Score: 0.0\r
49 X-SpamAssassin-SpamBar: /\r
50 X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
51         determine if it is\r
52         spam. We require at least 5.0 points to mark a message as spam.\r
53         This message scored 0.0 points. Summary of the scoring: \r
54         * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
55         provider *      (markwalters1009[at]gmail.com)\r
56         *  0.0 AWL AWL: From: address is in the auto white-list\r
57 X-QM-Scan-Virus: ClamAV says the message is clean\r
58 Cc: tomi.ollila@iki.fi\r
59 X-BeenThere: notmuch@notmuchmail.org\r
60 X-Mailman-Version: 2.1.13\r
61 Precedence: list\r
62 List-Id: "Use and development of the notmuch mail system."\r
63         <notmuch.notmuchmail.org>\r
64 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
65         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
66 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
67 List-Post: <mailto:notmuch@notmuchmail.org>\r
68 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
69 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
70         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
71 X-List-Received-Date: Tue, 28 Jan 2014 21:31:16 -0000\r
72 \r
73 \r
74 Hi\r
75 \r
76 This LGTM (but untested)\r
77 \r
78 \r
79 Best wishes\r
80 \r
81 Mark\r
82 \r
83 On Mon, 27 Jan 2014, Tomi Ollila <tomi.ollila@iki.fi> wrote:\r
84 > Imitated from "Enabling advice" in Emacs lisp manual...\r
85 >\r
86 > ad-disable-advice by itself only changes the enable flag for a\r
87 > piece of advice. To make the change take effect in the\r
88 > advised definition, the advice needs to be activated again.\r
89 > ---\r
90 >  emacs/notmuch-lib.el | 3 ++-\r
91 >  1 file changed, 2 insertions(+), 1 deletion(-)\r
92 >\r
93 > diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el\r
94 > index e6e9f97..fa35fa9 100644\r
95 > --- a/emacs/notmuch-lib.el\r
96 > +++ b/emacs/notmuch-lib.el\r
97 > @@ -531,7 +531,8 @@ the given type."\r
98 >  (if (>= emacs-major-version 24)\r
99 >      (defadvice mm-shr (before load-gnus-arts activate)\r
100 >        (require 'gnus-art nil t)\r
101 > -      (ad-disable-advice 'mm-shr 'before 'load-gnus-arts)))\r
102 > +      (ad-disable-advice 'mm-shr 'before 'load-gnus-arts)\r
103 > +      (ad-activate 'mm-shr)))\r
104 >  \r
105 >  (defun notmuch-mm-display-part-inline (msg part nth content-type process-crypto)\r
106 >    "Use the mm-decode/mm-view functions to display a part in the\r
107 > -- \r
108 > 1.8.0\r
109 >\r
110 > _______________________________________________\r
111 > notmuch mailing list\r
112 > notmuch@notmuchmail.org\r
113 > http://notmuchmail.org/mailman/listinfo/notmuch\r