Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / db / 8e74262c63764d98507b4a8b6c517faaf3a5a2
1 Return-Path: <sebastian@sspaeth.de>\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 A34DC431FD0\r
6         for <notmuch@notmuchmail.org>; Wed, 28 Sep 2011 08:42:06 -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.09\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.09 tagged_above=-999 required=5\r
12         tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
13         RCVD_IN_DNSWL_NONE=-0.0001, T_MIME_NO_TEXT=0.01] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id 7z1NKsRW8n7J for <notmuch@notmuchmail.org>;\r
17         Wed, 28 Sep 2011 08:42:06 -0700 (PDT)\r
18 Received: from homiemail-a76.g.dreamhost.com (caiajhbdccac.dreamhost.com\r
19         [208.97.132.202])\r
20         by olra.theworths.org (Postfix) with ESMTP id 37E16431FB6\r
21         for <notmuch@notmuchmail.org>; Wed, 28 Sep 2011 08:42:06 -0700 (PDT)\r
22 Received: from homiemail-a76.g.dreamhost.com (localhost [127.0.0.1])\r
23         by homiemail-a76.g.dreamhost.com (Postfix) with ESMTP id 866F9458083;\r
24         Wed, 28 Sep 2011 08:42:05 -0700 (PDT)\r
25 DomainKey-Signature: a=rsa-sha1; c=nofws; d=sspaeth.de; h=from:to:subject\r
26         :in-reply-to:references:date:message-id:mime-version:\r
27         content-type; q=dns; s=sspaeth.de; b=kS93x1u2UoMUDWDA63rTx4YjcQ2\r
28         xQXuDUevADTlGwjgni5T35YnGqGSmaAhiN1TgS/YwR5T4V84SXVgfn8BaK9q7e/i\r
29         qVQbcm0GJ0DovBPnxfwl3Z5zYVf4BqQXQF/ieVAYO2r9txvr6/Sne7VCYkLwaDIU\r
30         EobNZGA7xKlNrDkU=\r
31 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sspaeth.de; h=from:to\r
32         :subject:in-reply-to:references:date:message-id:mime-version:\r
33         content-type; s=sspaeth.de; bh=fTLc8jTBu5McJGdLkNyU5uaxZvI=; b=A\r
34         RCMVvTPgyZG9T66wCzMeOCJ3KK62rEQnfHFTuDAK4RyqTFDNuzmEYxhXhk/d75kz\r
35         +3I8HUjcJvlwT0pBpT7Q8Y3g7yScIFGEfixhFL15APuumZTadYkDVVPTw2FKZjwJ\r
36         cnDao2V7IZFU1Jx4qAOGHWtL1Yh5ZY86DliqoplyEg=\r
37 Received: from spaetzbook.sspaeth.de (mtec-hg-docking-2-dhcp-194.ethz.ch\r
38         [82.130.121.194])\r
39         (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
40         (No client certificate requested)\r
41         (Authenticated sender: fax@sspaeth.de)\r
42         by homiemail-a76.g.dreamhost.com (Postfix) with ESMTPSA id 7720A458081; \r
43         Wed, 28 Sep 2011 08:42:03 -0700 (PDT)\r
44 Received: by spaetzbook.sspaeth.de (sSMTP sendmail emulation);\r
45         Wed, 28 Sep 2011 17:42:01 +0200\r
46 From: Sebastian Spaeth <sebastian@sspaeth.de>\r
47 To: Ali Polatel <polatel@gmail.com>, notmuch@notmuchmail.org\r
48 Subject: Re: Concerns regarding some library functions\r
49 In-Reply-To: <871uv2unfd.fsf@gmail.com>\r
50 References: <871uv2unfd.fsf@gmail.com>\r
51 User-Agent: Notmuch/0.7-19-gee4579a (http://notmuchmail.org) Emacs/23.2.1\r
52         (x86_64-pc-linux-gnu)\r
53 Date: Wed, 28 Sep 2011 17:42:01 +0200\r
54 Message-ID: <87ipocoera.fsf@SSpaeth.de>\r
55 MIME-Version: 1.0\r
56 Content-Type: multipart/signed; boundary="=-=-=";\r
57         micalg=pgp-sha1; protocol="application/pgp-signature"\r
58 X-BeenThere: notmuch@notmuchmail.org\r
59 X-Mailman-Version: 2.1.13\r
60 Precedence: list\r
61 List-Id: "Use and development of the notmuch mail system."\r
62         <notmuch.notmuchmail.org>\r
63 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
64         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
65 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
66 List-Post: <mailto:notmuch@notmuchmail.org>\r
67 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
68 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
69         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
70 X-List-Received-Date: Wed, 28 Sep 2011 15:42:06 -0000\r
71 \r
72 --=-=-=\r
73 Content-Transfer-Encoding: quoted-printable\r
74 \r
75 On Tue, 27 Sep 2011 16:25:58 +0300, Ali Polatel wrote:\r
76 > The two functions I've mentioned above are\r
77 > notmuch_database_find_message() and\r
78 > notmuch_database_find_message_by_filename().\r
79 >=20\r
80 > The problem with their design is NULL return may both mean an error\r
81 > condition and "message not found". However, we already have a similar\r
82 > function which does not have such a flaw, namely notmuch_database_add_mes=\r
83 sage().\r
84 \r
85 Yes, this is because NULL used to mean message not found and NULL means\r
86 error was tacked on later (because cworth did not expect that xapian\r
87 would actually throw errors that often (such as database modified and\r
88 whatnot). So the meaning of NULL is, ahhem, suboptimal...\r
89 \r
90 ERROR or really not there? There are mails from me, commenting on\r
91 that. I would welcome receiving back a notmuch_status_t value and have a\r
92 separate notmuch_message_t parameter which receives the actual message.\r
93 \r
94 Sebastian\r
95 \r
96 --=-=-=\r
97 Content-Type: application/pgp-signature\r
98 \r
99 -----BEGIN PGP SIGNATURE-----\r
100 Version: GnuPG v1.4.11 (GNU/Linux)\r
101 \r
102 iEYEARECAAYFAk6DQEkACgkQVYX1jMgnoGL3IQCfRiU9//SCkK1nfbE0/cZRotKZ\r
103 iJYAnA5GSWb3tmvY/ulL7OcF7lhePC0B\r
104 =GzPU\r
105 -----END PGP SIGNATURE-----\r
106 --=-=-=--\r