Re: Applying patches directly from emails?
[notmuch-archives.git] / 6b / 8e5bce535c8cdf1a49ecd89f92432b1d0c9f74
1 Return-Path: <tomi.ollila@nixu.com>\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 18EB2429E26\r
6         for <notmuch@notmuchmail.org>; Thu, 12 Jan 2012 05:46:42 -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\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 jRp0U9aEw4FT for <notmuch@notmuchmail.org>;\r
16         Thu, 12 Jan 2012 05:46:41 -0800 (PST)\r
17 Received: from mail-gw3.nixu.fi (mail-gw3.nixu.fi [193.209.237.7])\r
18         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 43966431FB6\r
21         for <notmuch@notmuchmail.org>; Thu, 12 Jan 2012 05:46:41 -0800 (PST)\r
22 Received: from pps.filterd (mail-gw3 [127.0.0.1])\r
23         by mail-gw3.nixu.fi (8.14.4/8.14.4) with SMTP id q0CDhWn6002099;\r
24         Thu, 12 Jan 2012 15:46:37 +0200\r
25 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
26         by mail-gw3.nixu.fi with ESMTP id 114cs108f6-1\r
27         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
28         Thu, 12 Jan 2012 15:46:37 +0200\r
29 Received: from taco2.nixu.fi (taco2.nixu.fi [194.197.118.31])\r
30         by taco2.nixu.fi (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id\r
31         q0CDkaWk022253; Thu, 12 Jan 2012 15:46:36 +0200\r
32 From: Tomi Ollila <tomi.ollila@iki.fi>\r
33 To: David Bremner <david@tethera.net>, Austin Clements <amdragon@MIT.EDU>\r
34 Subject: Re: [PATCH 2/2] notmuch-reply.c: uncrustify\r
35 In-Reply-To: <87r4z56pbx.fsf@zancas.localnet>\r
36 References: <1324135695-15487-1-git-send-email-david@tethera.net>\r
37         <1326197228-10356-1-git-send-email-david@tethera.net>\r
38         <1326197228-10356-3-git-send-email-david@tethera.net>\r
39         <20120112035739.GW20796@mit.edu> <87r4z56pbx.fsf@zancas.localnet>\r
40 User-Agent: Notmuch/0.10.2+176~g3f9d738 (http://notmuchmail.org) Emacs/23.3.1\r
41         (i686-pc-linux-gnu)\r
42 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
43         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
44         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
45 Date: Thu, 12 Jan 2012 15:46:36 +0200\r
46 Message-ID: <yf6k44xf2yr.fsf@taco2.nixu.fi>\r
47 MIME-Version: 1.0\r
48 Content-Type: text/plain; charset=us-ascii\r
49 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,\r
50  1.0.211,       0.0.0000        definitions=2012-01-12_06:2012-01-12, 2012-01-12,\r
51         1970-01-01 signatures=0\r
52 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0\r
53         ipscore=0 suspectscore=2\r
54         phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0\r
55         reason=mlx\r
56         scancount=1 engine=6.0.2-1012030000 definitions=main-1201120099\r
57 Cc: notmuch@notmuchmail.org\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: Thu, 12 Jan 2012 13:46:42 -0000\r
71 \r
72 On Thu, 12 Jan 2012 09:08:18 -0400, David Bremner <david@tethera.net> wrote:\r
73\r
74 > > All of the other format fixes look very reasonable to me.  I think you\r
75 > > managed to find one of the least canonical source files in the tree.\r
76 > > Was that intentional?\r
77\r
78 > Yes, I expect there would be less changes elsewhere. Although the\r
79 > changes might be more controversial, I guess. \r
80\r
81 > The corresponding diff for notmuch-search.c follows\r
82\r
83 > diff --git a/notmuch-search.c b/notmuch-search.c\r
84 \r
85 [ ... ]\r
86 > @@ -122,7 +122,7 @@ sanitize_string (const void *ctx, const char *str)\r
87 >      loop = out = talloc_strdup (ctx, str);\r
88 >  \r
89 >      for (; *loop; loop++) {\r
90 > -     if ((unsigned char)(*loop) < 32)\r
91 > +     if ((unsigned char) (*loop) < 32)\r
92 >           *loop = '?';\r
93 \r
94 Should (cast) be concatenated without space to the castee\r
95 \r
96 >      }\r
97 >      return out;\r
98 > @@ -160,7 +160,7 @@ format_item_id_json (const void *ctx,\r
99 >      printf ("%s", json_quote_str (ctx_quote, item_id));\r
100 >  \r
101 >      talloc_free (ctx_quote);\r
102 > -    \r
103 > +\r
104 \r
105 Whee, whitespace-cleanup !\r
106 \r
107 >  }\r
108 >  \r
109 [ ... ]\r
110 \r
111 \r
112 Tomi\r