[PATCH 1/2] cli: S/MIME verification/decryption support
[notmuch-archives.git] / c5 / 068373e8642f34153bf97ff1c3764e8b2f1527
1 Return-Path: <anton@khirnov.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 3BFD7429E20\r
6         for <notmuch@notmuchmail.org>; Mon,  9 May 2011 08:13:15 -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 IAv+DdOmd98l for <notmuch@notmuchmail.org>;\r
16         Mon,  9 May 2011 08:13:14 -0700 (PDT)\r
17 Received: from smtp1.kolej.mff.cuni.cz (smtp1.kolej.mff.cuni.cz\r
18         [78.128.192.10])\r
19         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 377CB431FB5\r
22         for <notmuch@notmuchmail.org>; Mon,  9 May 2011 08:13:14 -0700 (PDT)\r
23 X-Envelope-From: anton@khirnov.net\r
24 Received: from zohar.localdomain (zohar.kolej.mff.cuni.cz [78.128.198.199])\r
25         by smtp1.kolej.mff.cuni.cz (8.14.4/8.14.4) with ESMTP id p49FDANd089984;\r
26         Mon, 9 May 2011 17:13:11 +0200 (CEST)\r
27         (envelope-from anton@khirnov.net)\r
28 Received: by zohar.localdomain (Postfix, from userid 1000)\r
29         id 4FF447F508; Mon,  9 May 2011 17:13:10 +0200 (CEST)\r
30 From: Anton Khirnov <anton@khirnov.net>\r
31 Subject: Re: [PATCH] python/thread: always return a string in\r
32         get_subject/authors\r
33 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
34 In-Reply-To: <87bozcvzdy.fsf@zancas.localnet>\r
35 References: <1304924794-20380-1-git-send-email-anton@khirnov.net>\r
36         <87bozcvzdy.fsf@zancas.localnet>\r
37 Date: Mon, 09 May 2011 17:13:10 +0200\r
38 Message-Id: <20110509151310.4FF447F508@zohar.localdomain>\r
39 X-BeenThere: notmuch@notmuchmail.org\r
40 X-Mailman-Version: 2.1.13\r
41 Precedence: list\r
42 List-Id: "Use and development of the notmuch mail system."\r
43         <notmuch.notmuchmail.org>\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
47 List-Post: <mailto:notmuch@notmuchmail.org>\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
50         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
51 X-List-Received-Date: Mon, 09 May 2011 15:13:15 -0000\r
52 \r
53 On Mon, 09 May 2011 09:20:41 -0300, David Bremner <david@tethera.net> wrote:\r
54 > On Mon,  9 May 2011 09:06:34 +0200, Anton Khirnov <anton@khirnov.net> wrote:\r
55 > > Now None is returned when those don't exist, which is inconvenient to\r
56 > > deal with.\r
57\r
58 > I'm not using the python bindings, but from a philosophical point of\r
59 > view, this change makes me a bit uncomfortable since it apparently\r
60 > merges two cases together, and makes an error (no Subject)\r
61 > indistinguishable from an odd situation (Subject of empty string).\r
62 > Or am I missing something here?\r
63 \r
64 The question is whether this is really a problem.\r
65 \r
66 For a single message, it might make sense to distinguish between 'no\r
67 header' and 'empty header'.\r
68 \r
69 But those aren't message headers, those are thread properties. And I'd\r
70 argue that a thread always has authors and a subject (possibly empty).\r
71 \r
72 --\r
73 Anton Khirnov\r