1 Return-Path: <david@tethera.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 47B9B431FAF
\r
6 for <notmuch@notmuchmail.org>; Tue, 3 Mar 2015 06:14:45 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=2.438 tagged_above=-999 required=5
\r
12 tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 n0eTg6QW-qYD for <notmuch@notmuchmail.org>;
\r
16 Tue, 3 Mar 2015 06:14:41 -0800 (PST)
\r
17 Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net
\r
19 (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))
\r
20 (No client certificate requested)
\r
21 by olra.theworths.org (Postfix) with ESMTPS id 95D97431FAE
\r
22 for <notmuch@notmuchmail.org>; Tue, 3 Mar 2015 06:14:41 -0800 (PST)
\r
23 Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim
\r
24 4.80) (envelope-from <david@tethera.net>)
\r
25 id 1YSnWw-0003Ul-0j; Tue, 03 Mar 2015 14:10:38 +0000
\r
26 Received: (nullmailer pid 32677 invoked by uid 1000); Tue, 03 Mar 2015
\r
28 From: David Bremner <david@tethera.net>
\r
29 To: Tomi Ollila <tomi.ollila@iki.fi>, Trevor Jim <tjim@mac.com>,
\r
30 notmuch@notmuchmail.org
\r
31 Subject: Re: [PATCH] go: add binding for notmuch_message_get_date
\r
32 In-Reply-To: <m261aimfcm.fsf@guru.guru-group.fi>
\r
33 References: <m2fv9np216.fsf@att.com> <m261aimfcm.fsf@guru.guru-group.fi>
\r
34 User-Agent: Notmuch/0.19+67~gdbe9924 (http://notmuchmail.org) Emacs/24.4.1
\r
35 (x86_64-pc-linux-gnu)
\r
36 Date: Tue, 03 Mar 2015 15:10:25 +0100
\r
37 Message-ID: <87385mmasu.fsf@maritornes.cs.unb.ca>
\r
39 Content-Type: text/plain
\r
40 X-BeenThere: notmuch@notmuchmail.org
\r
41 X-Mailman-Version: 2.1.13
\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: Tue, 03 Mar 2015 14:14:45 -0000
\r
54 Tomi Ollila <tomi.ollila@iki.fi> writes:
\r
56 >On Mon, Mar 02 2015, Trevor Jim <tjim@mac.com> wrote:
\r
58 >> -// TODO: wrap notmuch_message_get_date
\r
59 >> +func (self *Message) GetDate() int64 {
\r
60 >> + if self.message == nil {
\r
63 > -1 is 1969-dec-31 23:59:59 UTC
\r
65 > Should we care -- and e.g. return status in separate return value ?
\r
67 Given the current troubles with the main library API and missing status
\r
68 values, I'd say in the long run we'll be happier with a real status
\r
69 return. OTOH, I don't much about go.
\r