1 Return-Path: <too@iki.fi>
\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 9986A431FAF
\r
6 for <notmuch@notmuchmail.org>; Sat, 21 Jan 2012 13:35:26 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\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 QKBvii3TFNMB for <notmuch@notmuchmail.org>;
\r
16 Sat, 21 Jan 2012 13:35:25 -0800 (PST)
\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])
\r
18 by olra.theworths.org (Postfix) with ESMTP id C221B431FAE
\r
19 for <notmuch@notmuchmail.org>; Sat, 21 Jan 2012 13:35:25 -0800 (PST)
\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)
\r
21 id 73F5168056; Sat, 21 Jan 2012 23:35:27 +0200 (EET)
\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
23 To: notmuch@notmuchmail.org
\r
24 Subject: Re: [PATCH 1/2] uncrustify.cfg: initial support for notmuch coding
\r
26 In-Reply-To: <87sjj8bvvn.fsf@zancas.localnet>
\r
27 References: <1324135695-15487-1-git-send-email-david@tethera.net>
\r
28 <1326197228-10356-1-git-send-email-david@tethera.net>
\r
29 <1326197228-10356-2-git-send-email-david@tethera.net>
\r
30 <87sjj8bvvn.fsf@zancas.localnet>
\r
31 User-Agent: Notmuch/0.11+71~gefa5d6c (http://notmuchmail.org) Emacs/23.3.1
\r
32 (x86_64-unknown-linux-gnu)
\r
33 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
34 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
35 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
36 Date: Sat, 21 Jan 2012 23:35:27 +0200
\r
37 Message-ID: <m2mx9gwxgg.fsf@guru.guru-group.fi>
\r
39 Content-Type: text/plain; charset=us-ascii
\r
40 X-BeenThere: notmuch@notmuchmail.org
\r
41 X-Mailman-Version: 2.1.13
\r
43 List-Id: "Use and development of the notmuch mail system."
\r
44 <notmuch.notmuchmail.org>
\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
48 List-Post: <mailto:notmuch@notmuchmail.org>
\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
51 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
52 X-List-Received-Date: Sat, 21 Jan 2012 21:35:26 -0000
\r
54 On Sat, 21 Jan 2012 17:15:08 -0400, David Bremner <david@tethera.net> wrote:
\r
55 > On Tue, 10 Jan 2012 08:07:07 -0400, David Bremner <david@tethera.net> wrote:
\r
56 > > From: David Bremner <bremner@debian.org>
\r
58 > > Uncrustify is a free (as in GPL2+) tool that indents and beautifies
\r
61 > I pushed a revised version of this, with some input from Tomi. I guess
\r
62 > this should be documented somewhere either the wiki, under devel, or
\r
63 > both. Perhaps we should work on a "coding style" page on the wiki, and
\r
64 > then copy snapshots of that into ./devel? Or just edit a text file in
\r
67 It would be best to have the documents in ./devel and just references to
\r
68 those on the wiki. To avoid duplication and content drifting.
\r
70 That particular case:
\r
72 enum format_enum { NOTMUCH_FORMAT_JSON, NOTMUCH_FORMAT_TEXT }
\r
73 - format_sel = NOTMUCH_FORMAT_TEXT;
\r
74 + format_sel = NOTMUCH_FORMAT_TEXT;
\r
76 Is interesting, running emacs -q notmuch-search.c and tab-indenting that
\r
77 same line yieds the same results. However, on top-level, i.e.:
\r
79 enum format_enum { NOTMUCH_FORMAT_JSON, NOTMUCH_FORMAT_TEXT }
\r
80 format_sel = NOTMUCH_FORMAT_TEXT;
\r
82 emacs indents just like above.
\r
84 I like this suggestion:
\r
86 >*> enum format_enum {
\r
87 >*> NOTMUCH_FORMAT_JSON, NOTMUCH_FORMAT_TEXT
\r
88 >*> } format_sel = NOTMUCH_FORMAT_TEXT;
\r