Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 5a / bf91a769cecc672286bf8cd3b0cd8ff1aad5ff
1 Return-Path: <tomi.ollila@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 58AFE431FC7\r
6         for <notmuch@notmuchmail.org>; Thu, 12 Jul 2012 03:05:37 -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: 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 qrthtVlVTtet for <notmuch@notmuchmail.org>;\r
16         Thu, 12 Jul 2012 03:05:33 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
18         by olra.theworths.org (Postfix) with ESMTP id 3FBB1431FAE\r
19         for <notmuch@notmuchmail.org>; Thu, 12 Jul 2012 03:05:33 -0700 (PDT)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id C2252100386; Thu, 12 Jul 2012 13:05:42 +0300 (EEST)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: craven@gmx.net, notmuch@notmuchmail.org\r
24 Subject: Re: [PATCH v4 1/3] Add support for structured output formatters.\r
25 In-Reply-To: <1342079004-5300-2-git-send-email-craven@gmx.net>\r
26 References: <87d34hsdx8.fsf@awakening.csail.mit.edu>\r
27         <1342079004-5300-1-git-send-email-craven@gmx.net>\r
28         <1342079004-5300-2-git-send-email-craven@gmx.net>\r
29 User-Agent: Notmuch/0.13.2+74~g65b26b0 (http://notmuchmail.org) Emacs/23.1.1\r
30         (x86_64-redhat-linux-gnu)\r
31 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
32         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
33         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
34 Date: Thu, 12 Jul 2012 13:05:42 +0300\r
35 Message-ID: <m2y5mpthu1.fsf@guru.guru-group.fi>\r
36 MIME-Version: 1.0\r
37 Content-Type: text/plain; charset=us-ascii\r
38 X-BeenThere: notmuch@notmuchmail.org\r
39 X-Mailman-Version: 2.1.13\r
40 Precedence: list\r
41 List-Id: "Use and development of the notmuch mail system."\r
42         <notmuch.notmuchmail.org>\r
43 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
45 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
46 List-Post: <mailto:notmuch@notmuchmail.org>\r
47 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
48 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
50 X-List-Received-Date: Thu, 12 Jul 2012 10:05:37 -0000\r
51 \r
52 On Thu, Jul 12 2012, craven@gmx.net wrote:\r
53 \r
54 > This patch adds a new type sprinter_t, which is used for structured\r
55 > formatting, e.g. JSON or S-Expressions. The structure printer is the\r
56 > code from Austin Clements (id:87d34hsdx8.fsf@awakening.csail.mit.edu).\r
57 \r
58 ...\r
59 \r
60 > +\r
61 > +/* Create a new structure printer that emits JSON */\r
62 > +struct sprinter *\r
63 > +sprinter_json_new(const void *ctx, FILE *stream);\r
64 > +\r
65 > +/* A dummy structure printer that signifies that standard text output is\r
66 > + * to be used instead of any structured format.\r
67 > + */\r
68 > +struct sprinter *\r
69 > +sprinter_text;\r
70 \r
71 Looks good... but this needs to be 'extern struct sprinter * sprinter_text;'\r
72 \r
73 see id:"1340563714-3103-1-git-send-email-tomi.ollila@iki.fi"\r
74 for reference.\r
75 \r
76 \r
77 > +\r
78 > +#endif // NOTMUCH_SPRINTER_H\r
79 > -- \r
80 > 1.7.11.1\r
81 \r
82 Tomi\r