Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 14 / 56418eb2054e8ed9b2762b712b390583cc06f9
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
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 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
25         style\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
38 MIME-Version: 1.0\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
42 Precedence: list\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
53 \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
57 > > \r
58 > > Uncrustify is a free (as in GPL2+) tool that indents and beautifies\r
59 > > C/C++ code.\r
60\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
65 > ./devel?\r
66 \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
69 \r
70 That particular case:\r
71 \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
75 \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
78 \r
79 enum format_enum { NOTMUCH_FORMAT_JSON, NOTMUCH_FORMAT_TEXT }\r
80     format_sel = NOTMUCH_FORMAT_TEXT;\r
81 \r
82 emacs indents just like above.\r
83 \r
84 I like this suggestion:\r
85 \r
86 >*>     enum format_enum {\r
87 >*>         NOTMUCH_FORMAT_JSON, NOTMUCH_FORMAT_TEXT\r
88 >*>     } format_sel = NOTMUCH_FORMAT_TEXT;\r
89 \r
90\r
91 > d\r
92\r
93 \r
94 Tomi\r