Re: [PATCH] Fix typo in Message.maildir_flags_to_tags
[notmuch-archives.git] / 37 / bccedf093128c6ca9323d4e2b44c0ea6d11a25
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 19B67431FAF\r
6         for <notmuch@notmuchmail.org>; Thu, 12 Sep 2013 02:33:58 -0700 (PDT)\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 ZbfQHJp0EEaO for <notmuch@notmuchmail.org>;\r
17         Thu, 12 Sep 2013 02:33:50 -0700 (PDT)\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 01ECA431FAE\r
22         for <notmuch@notmuchmail.org>; Thu, 12 Sep 2013 02:33:49 -0700 (PDT)\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 1VK3HU-0001Kj-1T; Thu, 12 Sep 2013 10:33:44 +0100\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 1VK3HT-0008EH-Ob; Thu, 12 Sep 2013 10:33:43 +0100\r
31 From: Mark Walters <markwalters1009@gmail.com>\r
32 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
33 Subject: Re: [PATCH] emacs: show: stop stderr appearing in buffer\r
34 In-Reply-To: <87r4cwojds.fsf@zancas.localnet>\r
35 References: <1378502198-7980-1-git-send-email-markwalters1009@gmail.com>\r
36         <87r4cwojds.fsf@zancas.localnet>\r
37 User-Agent: Notmuch/0.16 (http://notmuchmail.org) Emacs/23.4.1\r
38         (x86_64-pc-linux-gnu)\r
39 Date: Thu, 12 Sep 2013 10:33:42 +0100\r
40 Message-ID: <87ppsepeo9.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-SPAM-Info: Sender has good ham record.  :)\r
45 X-QM-Body-MD5: 37c1df6d852096289544c624c84b9dba (of first 20000 bytes)\r
46 X-SpamAssassin-Score: 0.0\r
47 X-SpamAssassin-SpamBar: /\r
48 X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
49         determine if it is\r
50         spam. We require at least 5.0 points to mark a message as spam.\r
51         This message scored 0.0 points. Summary of the scoring: \r
52         * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
53         provider *      (markwalters1009[at]gmail.com)\r
54         *  0.0 AWL AWL: From: address is in the auto white-list\r
55 X-QM-Scan-Virus: ClamAV says the message is clean\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Thu, 12 Sep 2013 09:33:58 -0000\r
69 \r
70 \r
71 Hi\r
72 \r
73 On Tue, 10 Sep 2013, David Bremner <david@tethera.net> wrote:\r
74 >> Ideally, we would put this output in the notmuch errors buffer but the\r
75 >> handler is called asynchronously so we don't know when the output will\r
76 >> appear. Thus if we put it straight into the errors buffer it could get\r
77 >> interleaved with other errors, otoh we can't easily tell when we\r
78 >> have got all the error output so can't wait until the process is complete.\r
79 >\r
80 > Hi Mark;\r
81 >\r
82 > I think your patch is OK, but would it be much harder to created a named\r
83 > buffer like *notmuch-view-$message-d* ? (using e.g. the code from\r
84 > notmuch-show). I might make debugging easier.\r
85 \r
86 Yes this is easy. There are several possibilities and I am not sure\r
87 which is best (some are clearly bad but are worth mentioning anyway).\r
88 \r
89 1) have a single buffer for part errors; this would accumulate stuff and\r
90 output seems to get interleaved so this is probably useless.\r
91 \r
92 2) have a buffer for each part viewer as you describe.\r
93 \r
94 3) have a buffer for each part viewer but start its name with a space so\r
95 it doesn't show up in buffer lists but is findable (maybe)\r
96 \r
97 4) stick with just the temp buffer approach\r
98 \r
99 Also, we could have it togglable with some sort of debug flag. In some\r
100 senses 3 is nice but you would probably end up with 10's or even\r
101 hundreds of hidden buffers which seems bad. In 2 you see them so you\r
102 probably kill them as you go but I think they would be pretty\r
103 annoying. A key difference from the accumulated show/search/pick buffers\r
104 is that, at some point, you did want to see those buffers.\r
105 \r
106 Since all these approaches are easy to implement it is really up to us\r
107 which we want.\r
108 \r
109 Any thoughts?\r
110 \r
111 Mark\r
112 \r
113 \r
114 >\r
115 > Of course those buffers would accumulate, along with show, search and\r
116 > pick buffers...\r
117 >\r
118 > Or we could push this as is, and add some debugging facility later like\r
119 > a variable notmuch-view-errors-buffer.\r
120 >\r
121 > d\r