Re: notmuch-mutt: switch to using the new --duplicate flag
[notmuch-archives.git] / 83 / 228b3b4a9a252453cf2624213d1afda4d35f98
1 Return-Path: <awg@xvx.ca>\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 3D9E6431FD0\r
6         for <notmuch@notmuchmail.org>; Mon,  9 Jan 2012 18:10:51 -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: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\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 eiXeBZR5sOiT for <notmuch@notmuchmail.org>;\r
16         Mon,  9 Jan 2012 18:10:50 -0800 (PST)\r
17 Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com\r
18         [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 5965D431FB6\r
21         for <notmuch@notmuchmail.org>; Mon,  9 Jan 2012 18:10:50 -0800 (PST)\r
22 Received: by eaai1 with SMTP id i1so3019612eaa.26\r
23         for <notmuch@notmuchmail.org>; Mon, 09 Jan 2012 18:10:49 -0800 (PST)\r
24 MIME-Version: 1.0\r
25 Received: by 10.204.156.219 with SMTP id y27mr7919338bkw.71.1326161448804;\r
26         Mon, 09 Jan 2012 18:10:48 -0800 (PST)\r
27 Received: by 10.205.33.73 with HTTP; Mon, 9 Jan 2012 18:10:48 -0800 (PST)\r
28 X-Originating-IP: [12.50.241.130]\r
29 In-Reply-To: <cun62gl1cqv.fsf@hotblack-desiato.hh.sledj.net>\r
30 References: <1326009162-19524-1-git-send-email-awg+notmuch@xvx.ca>\r
31         <1326009162-19524-5-git-send-email-awg+notmuch@xvx.ca>\r
32         <cun62gl1cqv.fsf@hotblack-desiato.hh.sledj.net>\r
33 Date: Mon, 9 Jan 2012 19:10:48 -0700\r
34 Message-ID:\r
35  <CAMoJFUt8F417wzSmiHDv2KHa9y5ARYh=xRHKEsWBXYXHfaN64A@mail.gmail.com>\r
36 Subject: Re: [PATCH 4/4] emacs: Use the new JSON reply format.\r
37 From: Adam Wolfe Gordon <awg@xvx.ca>\r
38 To: David Edmondson <dme@dme.org>\r
39 Content-Type: text/plain; charset=ISO-8859-1\r
40 Content-Transfer-Encoding: quoted-printable\r
41 X-Mailman-Approved-At: Wed, 11 Jan 2012 18:03:20 -0800\r
42 Cc: notmuch@notmuchmail.org\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Tue, 10 Jan 2012 02:10:51 -0000\r
56 \r
57 Hi David,\r
58 \r
59 Thanks for the review.  Most of the things you've suggested are easy\r
60 changes, and I think obvious improvements, so I'll change them for the\r
61 next version.  A bit of discussion on the more involved things below:\r
62 \r
63 On Mon, Jan 9, 2012 at 01:50, David Edmondson <dme@dme.org> wrote:\r
64 > On Sun, =A08 Jan 2012 00:52:42 -0700, Adam Wolfe Gordon <awg+notmuch@xvx.=\r
65 ca> wrote:\r
66 >> +(defun w3m-region (start end)) ;; From `w3m.el'.\r
67 >> +(defun notmuch-mua-quote-part (part)\r
68 >> + =A0(with-temp-buffer\r
69 >> + =A0 =A0(insert part)\r
70 >> + =A0 =A0(message-mode)\r
71 >> + =A0 =A0(fill-region (point-min) (point-max))\r
72 >> + =A0 =A0(goto-char (point-min))\r
73 >> + =A0 =A0(perform-replace "^" "> " nil t nil)\r
74 >> + =A0 =A0(set-buffer-modified-p nil)\r
75 >> + =A0 =A0(buffer-substring (point-min) (point-max))))\r
76 >\r
77 > Couldn't all of this be done directly in the reply buffer?\r
78 \r
79 Indeed, it could, I just hadn't thought of it.  I'll do this for the\r
80 next version.\r
81 \r
82 > Using w3m means that you should `require' it. What happens when a user\r
83 > doesn't have it? (Either the elisp or the command.)\r
84 \r
85 This was my initial thought, but when I looked at notmuch-show.el,\r
86 which uses w3m features, I noticed that it doesn't have a require.  To\r
87 be clear, this patch requires w3m.el (not just the w3m binary), which\r
88 I don't think anything else in notmuch does.\r
89 \r
90 In the previous version I had a customize variable specifying whether\r
91 to quote HTML parts, which meant that if the user could set the\r
92 customize variable to false and everything would work without w3m.el.\r
93 I'd like not to introduce a new prerequisite, so if there's a way to\r
94 make w3m.el optional that would be my preference.  Can you provide\r
95 some guidance on this?\r
96 \r
97 --=20\r
98 Adam Wolfe Gordon\r