[PATCH 2/2] cli: config: fix config file save when the file does not exist
[notmuch-archives.git] / 04 / 8e35192923de67d68ac62ad4b33533575924d3
1 Return-Path: <jrollins@finestructure.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 olra.theworths.org (Postfix) with ESMTP id 0CE53429E25\r
6         for <notmuch@notmuchmail.org>; Sat, 10 Dec 2011 12:15:52 -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: -2.29\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 HexErDDrYp7y for <notmuch@notmuchmail.org>;\r
16         Sat, 10 Dec 2011 12:15:51 -0800 (PST)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 911A6431FB6\r
20         for <notmuch@notmuchmail.org>; Sat, 10 Dec 2011 12:15:51 -0800 (PST)\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by earth-doxen-postvirus (Postfix) with ESMTP id 0117266E016D;\r
23         Sat, 10 Dec 2011 12:15:48 -0800 (PST)\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
25 Received: from finestructure.net (cpe-76-174-137-84.socal.res.rr.com\r
26         [76.174.137.84]) (Authenticated sender: jrollins)\r
27         by earth-doxen-submit (Postfix) with ESMTP id EFB9366E015B;\r
28         Sat, 10 Dec 2011 12:15:41 -0800 (PST)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 39C8D50F; Sat, 10 Dec 2011 15:15:42 -0500 (EST)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Ciprian Dorin Craciun <ciprian.craciun@gmail.com>, notmuch@notmuchmail.org\r
33 Subject: Re: Exporting a single email as JSON\r
34 In-Reply-To:\r
35  <CA+Tk8fycS4kmBRABRS4vFQLb3v0-ajcLZwPOwwEf98yvObgpwA@mail.gmail.com>\r
36 References:\r
37  <CA+Tk8fycS4kmBRABRS4vFQLb3v0-ajcLZwPOwwEf98yvObgpwA@mail.gmail.com>\r
38 User-Agent: Notmuch/0.10.2+74~g994a706 (http://notmuchmail.org) Emacs/23.3.1\r
39         (x86_64-pc-linux-gnu)\r
40 Date: Sat, 10 Dec 2011 12:15:39 -0800\r
41 Message-ID: <87zkf05gk4.fsf@servo.finestructure.net>\r
42 MIME-Version: 1.0\r
43 Content-Type: multipart/signed; boundary="=-=-=";\r
44         micalg=pgp-sha256; protocol="application/pgp-signature"\r
45 X-BeenThere: notmuch@notmuchmail.org\r
46 X-Mailman-Version: 2.1.13\r
47 Precedence: list\r
48 List-Id: "Use and development of the notmuch mail system."\r
49         <notmuch.notmuchmail.org>\r
50 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
52 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
53 List-Post: <mailto:notmuch@notmuchmail.org>\r
54 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
55 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
57 X-List-Received-Date: Sat, 10 Dec 2011 20:15:52 -0000\r
58 \r
59 --=-=-=\r
60 \r
61 On Sat, 10 Dec 2011 20:32:22 +0200, Ciprian Dorin Craciun <ciprian.craciun@gmail.com> wrote:\r
62 >     Quick question: why isn't it reasonable to export a **single**\r
63 > email in JSON format (by using the `show` sub-command)? (I mean I\r
64 > understand that in order to be able to correctly parse the output we\r
65 > need only one "object" (i.e. a list of threads, containing a list of\r
66 > emails, etc.). But there might be use cases in which we need a\r
67 > "twist".)\r
68 \r
69 Hi, Ciprian.  I agree that it would be nice too have the ability to\r
70 output single messages without the rest of their thread.  I have on\r
71 occasion wanted this functionality, but never enough to get around to\r
72 implementing it.  It definitely wouldn't be that hard to implement,\r
73 though.\r
74 \r
75 The notmuch show function is actually going through a pretty major\r
76 overhaul at the moment.  I bet as soon as that's done we can get some\r
77 sort of single-message output going.\r
78 \r
79 jamie.\r
80 \r
81 --=-=-=\r
82 Content-Type: application/pgp-signature\r
83 \r
84 -----BEGIN PGP SIGNATURE-----\r
85 Version: GnuPG v1.4.11 (GNU/Linux)\r
86 \r
87 iQIcBAEBCAAGBQJO473rAAoJEO00zqvie6q8HTkQAIT0P/0ZRwFFKJk9LKoJK8Rm\r
88 puCdeQACCqihHSn9FECHDoXaLd+ZnzBPubV/+aFnD2YIlQeicJgx7L3kVUmbXc0y\r
89 HI4FdcYe11mpnRosI891YJlZRrnkazVQsxQ+4Nn0qGvU3xxFgMq1TemMg8vMWFij\r
90 L0zhlT9LKhQ6a99/2lcptBj77mV+VTUNLznwOUZ+nvI2oI1z0E4OCZB5GXOo3OAq\r
91 5PlnTZ5TVvfaYeDxMjwdzQUd0tQFetANa6gUDUY+77HbRbISMVXPoTizsnBFzOTU\r
92 p/KItpaeWw5fOecJL/Ii7+pgTApOYhtQQB4zb1FG0GE3vFStdVQ8+ZJskKjoxOZj\r
93 LaiGKwFiqKV1b+2OBtsY8Dd+aiMvWpYBtAEvlBTe+FC/UyLplMpV37lONuGDblb0\r
94 YXlXE0+1Edt7IfvuiBy8jiSjtuiE0Cs61G7a5ZED/00ontbqNkAcCwbjfF1mnnzi\r
95 ytKRr/5CZ5N/CSefxxF5NiDpxpYDL/Dke4lKFrXzGPGrCC2exDGCSE7wPOgHZS8l\r
96 aRr7N0hxmcN3OvpMRO5PJO4iRapxYmvcceCBP/mrFJUN2addgnycipM3H+R8XRfR\r
97 koucZuVSVc0vpjpnogUmla7MT9u11M7Lqf+F+am5vQbnsAVKP9fWjTMstDFi1TSY\r
98 IL6213kZea+I6tPnlQyp\r
99 =3J0E\r
100 -----END PGP SIGNATURE-----\r
101 --=-=-=--\r