Re: [PATCH 2/2] cli/count: apply uncrustify changes
[notmuch-archives.git] / 24 / 83b3c7843a1660c4a2627abc6802e2a0adac46
1 Return-Path: <david@tethera.net>\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 arlo.cworth.org (Postfix) with ESMTP id 7B8286DE0274\r
6  for <notmuch@notmuchmail.org>; Wed,  9 Sep 2015 10:36:18 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 2.748\r
10 X-Spam-Level: **\r
11 X-Spam-Status: No, score=2.748 tagged_above=-999 required=5 tests=[AWL=-0.942,\r
12   RCVD_IN_BRBL_LASTEXT=1.644, RCVD_IN_SBL=2.596, RP_MATCHES_RCVD=-0.55]\r
13  autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id J_cCN3h9KjhS for <notmuch@notmuchmail.org>;\r
17  Wed,  9 Sep 2015 10:36:15 -0700 (PDT)\r
18 Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
19  by arlo.cworth.org (Postfix) with ESMTPS id 785406DE0214\r
20  for <notmuch@notmuchmail.org>; Wed,  9 Sep 2015 10:36:15 -0700 (PDT)\r
21 Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
22  (envelope-from <david@tethera.net>)\r
23  id 1ZZjHx-00010R-JM; Wed, 09 Sep 2015 14:36:05 -0300\r
24 Received: (nullmailer pid 25912 invoked by uid 1000); Wed, 09 Sep 2015\r
25  17:36:01 -0000\r
26 From: David Bremner <david@tethera.net>\r
27 To: Tomi Ollila <tomi.ollila@iki.fi>, notmuch@notmuchmail.org\r
28 Subject: Re: [PATCH 2/2] cli/count: apply uncrustify changes\r
29 In-Reply-To: <m2bndegwqf.fsf@guru.guru-group.fi>\r
30 References: <1441632818-22483-1-git-send-email-david@tethera.net>\r
31  <1441632818-22483-2-git-send-email-david@tethera.net>\r
32  <m2bndegwqf.fsf@guru.guru-group.fi>\r
33 User-Agent: Notmuch/0.20.2+71~gf460ad4 (http://notmuchmail.org) Emacs/24.5.1\r
34  (x86_64-pc-linux-gnu)\r
35 Date: Wed, 09 Sep 2015 14:36:01 -0300\r
36 Message-ID: <87613jpkam.fsf@zancas.localnet>\r
37 MIME-Version: 1.0\r
38 Content-Type: text/plain\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.18\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43  <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Wed, 09 Sep 2015 17:36:18 -0000\r
52 \r
53 Tomi Ollila <tomi.ollila@iki.fi> writes:\r
54 \r
55 >>  \r
56 >>      if (exclude == EXCLUDE_TRUE) {\r
57 >>      search_exclude_tags = notmuch_config_get_search_exclude_tags\r
58 >> -        (config, &search_exclude_tags_length);\r
59 >> +                              (config, &search_exclude_tags_length);\r
60 >\r
61 > With the first 2 uncrustify does a good job, but this last one it disagrees\r
62 > how emacs(1) indents (and how it is currently indented in other notmuch\r
63 > source files) -- I'd leave the last (3rd) change out.\r
64 \r
65 I actually think the uncrustify version is better, but I agree there is\r
66 not much point having a standard that isn't easily achievable with\r
67 emacs.  After a short struggle trying to understand CC-mode indentation,\r
68 I give up.\r
69 \r
70 d\r