Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 9d / 1bd50ae0e954e9ef041c8a61d1db1c7cfaaf43
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 D95DD429E2F\r
6         for <notmuch@notmuchmail.org>; Sun,  2 Jun 2013 05:01:31 -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.401\r
10 X-Spam-Level: *\r
11 X-Spam-Status: No, score=1.401 tagged_above=-999 required=5\r
12         tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
13         FREEMAIL_REPLY=2.499, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3]\r
14         autolearn=disabled\r
15 Received: from olra.theworths.org ([127.0.0.1])\r
16         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
17         with ESMTP id fnVLm9Tdlvlr for <notmuch@notmuchmail.org>;\r
18         Sun,  2 Jun 2013 05:01:23 -0700 (PDT)\r
19 Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])\r
20         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
21         (No client certificate requested)\r
22         by olra.theworths.org (Postfix) with ESMTPS id AE19D431E64\r
23         for <notmuch@notmuchmail.org>; Sun,  2 Jun 2013 05:01:22 -0700 (PDT)\r
24 Received: from smtp.qmul.ac.uk ([138.37.6.40])\r
25         by mail2.qmul.ac.uk with esmtp (Exim 4.71)\r
26         (envelope-from <m.walters@qmul.ac.uk>)\r
27         id 1Uj6yK-0007SV-6W; Sun, 02 Jun 2013 13:01:18 +0100\r
28 Received: from 93-97-24-31.zone5.bethere.co.uk ([93.97.24.31] helo=localhost)\r
29         by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.71)\r
30         (envelope-from <m.walters@qmul.ac.uk>)\r
31         id 1Uj6yJ-0003rX-Vy; Sun, 02 Jun 2013 13:01:16 +0100\r
32 From: Mark Walters <markwalters1009@gmail.com>\r
33 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
34 Subject: Re: [PATCH] contrib: pick: use the sexp parser\r
35 In-Reply-To: <m2r4gllfo6.fsf@guru.guru-group.fi>\r
36 References: <1370113483-10081-1-git-send-email-markwalters1009@gmail.com>\r
37         <m2r4gllfo6.fsf@guru.guru-group.fi>\r
38 User-Agent: Notmuch/0.14+255~gff3cc55 (http://notmuchmail.org) Emacs/23.4.1\r
39         (i486-pc-linux-gnu)\r
40 Date: Sun, 02 Jun 2013 13:01:12 +0100\r
41 Message-ID: <87sj10g1rr.fsf@qmul.ac.uk>\r
42 MIME-Version: 1.0\r
43 Content-Type: text/plain; charset=us-ascii\r
44 X-Sender-Host-Address: 93.97.24.31\r
45 X-QM-SPAM-Info: Sender has good ham record.  :)\r
46 X-QM-Body-MD5: 4930dc4cc7c3fcae0bcc227ef1a65ba0 (of first 20000 bytes)\r
47 X-SpamAssassin-Score: 0.5\r
48 X-SpamAssassin-SpamBar: /\r
49 X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
50         determine if it is\r
51         spam. We require at least 5.0 points to mark a message as spam.\r
52         This message scored 0.5 points. Summary of the scoring: \r
53         * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
54         provider *      (markwalters1009[at]gmail.com)\r
55         *  1.0 FREEMAIL_REPLY From and body contain different freemails\r
56         * -0.5 AWL AWL: From: address is in the auto white-list\r
57 X-QM-Scan-Virus: ClamAV says the message is clean\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.13\r
60 Precedence: list\r
61 List-Id: "Use and development of the notmuch mail system."\r
62         <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
69         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Sun, 02 Jun 2013 12:01:32 -0000\r
71 \r
72 \r
73 Tomi Ollila <tomi.ollila@iki.fi> writes:\r
74 \r
75 > These trivial changes look good -- is sexp already supported in show ?\r
76 \r
77 At the moment sexp is not supported in show (despite that using\r
78 synchronous command so it is much easier). I posted a (not good) at\r
79 id:1354975891-24663-1-git-send-email-markwalters1009@gmail.com and in\r
80 Austin's reply he suggested a much better way of doing is. But I never posted a\r
81 corrected version (perhaps I was waiting for the error handling stuff to\r
82 clear?).\r
83 \r
84 Best wishes\r
85 \r
86 Mark\r
87 \r
88 >\r
89 > Tomi\r
90 >\r
91 >>\r
92 >>  contrib/notmuch-pick/notmuch-pick.el |    5 ++---\r
93 >>  1 files changed, 2 insertions(+), 3 deletions(-)\r
94 >>\r
95 >> diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el\r
96 >> index 128fabf..33905d6 100644\r
97 >> --- a/contrib/notmuch-pick/notmuch-pick.el\r
98 >> +++ b/contrib/notmuch-pick/notmuch-pick.el\r
99 >> @@ -773,8 +773,7 @@ Complete list of currently available key bindings:\r
100 >>          (save-excursion\r
101 >>            (goto-char (point-max))\r
102 >>            (insert string))\r
103 >> -    (notmuch-json-parse-partial-list 'notmuch-pick-insert-forest-thread\r
104 >> -                                     'notmuch-pick-show-error\r
105 >> +    (notmuch-sexp-parse-partial-list 'notmuch-pick-insert-forest-thread\r
106 >>                                       results-buf)))))\r
107 >>  \r
108 >>  (defun notmuch-pick-worker (basic-query &optional query-context target buffer)\r
109 >> @@ -796,7 +795,7 @@ Complete list of currently available key bindings:\r
110 >>      (if notmuch-pick-asynchronous-parser\r
111 >>      (let ((proc (start-process\r
112 >>                   "notmuch-pick" buffer\r
113 >> -                 notmuch-command "show" "--body=false" "--format=json"\r
114 >> +                 notmuch-command "show" "--body=false" "--format=sexp"\r
115 >>                   message-arg search-args))\r
116 >>            ;; Use a scratch buffer to accumulate partial output.\r
117 >>                ;; This buffer will be killed by the sentinel, which\r
118 >> -- \r
119 >> 1.7.9.1\r
120 >>\r
121 >> _______________________________________________\r
122 >> notmuch mailing list\r
123 >> notmuch@notmuchmail.org\r
124 >> http://notmuchmail.org/mailman/listinfo/notmuch\r