1 Return-Path: <james@jameswestby.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 89B22431FC4
\r
6 for <notmuch@notmuchmail.org>; Wed, 27 Jan 2010 22:22:10 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0.621 tagged_above=-999 required=5 tests=[AWL=-0.001,
\r
12 BAYES_50=0.001, RCVD_IN_SORBS_WEB=0.619, WEIRD_PORT=0.001] autolearn=no
\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 0F8ov80FxWfB for <notmuch@notmuchmail.org>;
\r
16 Wed, 27 Jan 2010 22:22:09 -0800 (PST)
\r
17 Received: from jameswestby.net (jameswestby.net [89.145.97.141])
\r
18 by olra.theworths.org (Postfix) with ESMTP id A5654431FBC
\r
19 for <notmuch@notmuchmail.org>; Wed, 27 Jan 2010 22:22:09 -0800 (PST)
\r
20 Received: from [131.203.102.171] (helo=flash)
\r
21 by jameswestby.net with esmtpa (Exim 4.69)
\r
22 (envelope-from <james@jameswestby.net>)
\r
23 id 1NaNlX-0002UO-Ng; Thu, 28 Jan 2010 06:22:08 +0000
\r
24 Received: by flash (Postfix, from userid 1000)
\r
25 id 91451605C07; Thu, 28 Jan 2010 19:22:00 +1300 (NZDT)
\r
26 From: James Westby <jw+debian@jameswestby.net>
\r
27 To: martin f krafft <madduck@madduck.net>
\r
28 In-Reply-To: <20100128053421.GA13823@lapse.rw.madduck.net>
\r
29 References: <20100125162247.85F0F66FA8@aether.pioto.org>
\r
30 <87tyu9dfhs.fsf@servo.finestructure.net> <1264523377-sup-6110@elise>
\r
31 <87aaw0vlvp.fsf@servo.finestructure.net>
\r
32 <20100128051252.GB12540@lapse.rw.madduck.net>
\r
33 <87k4v2re61.fsf@jameswestby.net>
\r
34 <20100128053421.GA13823@lapse.rw.madduck.net>
\r
35 Date: Thu, 28 Jan 2010 19:22:00 +1300
\r
36 Message-ID: <87iqamrbp3.fsf@jameswestby.net>
\r
38 Content-Type: text/plain; charset=us-ascii
\r
39 Cc: notmuch <notmuch@notmuchmail.org>
\r
40 Subject: Re: [notmuch] tag dir proposal [was: Re: Git as notmuch object
\r
42 X-BeenThere: notmuch@notmuchmail.org
\r
43 X-Mailman-Version: 2.1.13
\r
45 List-Id: "Use and development of the notmuch mail system."
\r
46 <notmuch.notmuchmail.org>
\r
47 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
49 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
50 List-Post: <mailto:notmuch@notmuchmail.org>
\r
51 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
52 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
53 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
54 X-List-Received-Date: Thu, 28 Jan 2010 06:22:10 -0000
\r
56 On Thu, 28 Jan 2010 18:34:21 +1300, martin f krafft <madduck@madduck.net> wrote:
\r
57 > also sprach James Westby <jw+debian@jameswestby.net> [2010.01.28.1828 +1300]:
\r
58 > > Are you trying to use thread: such that it could be passed to
\r
59 > > notmuch show to see the conversation?
\r
61 > > That's not going to work so well if so.
\r
63 > Why not? Works fine for me with the vim plugin...
\r
68 thread_id_generate (thread_id_t *thread_id)
\r
70 static int seeded = 0;
\r
77 dev_random = fopen ("/dev/random", "r");
\r
78 if (dev_random == NULL) {
\r
79 srand (time (NULL));
\r
81 fread ((void *) &value, sizeof (value), 1, dev_random);
\r
83 fclose (dev_random);
\r
89 for (i = 0; i < NOTMUCH_THREAD_ID_DIGITS; i += 8) {
\r
91 sprintf (s, "%08x", value);
\r
96 so it works fine for you, however I have no idea which thread you are
\r