[PATCH] configure: add --without-api-docs option
[notmuch-archives.git] / 41 / 88a24459198b3788a3e693521a3a67757ad921
1 Return-Path: <jani@nikula.org>\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 DF66A431FBC\r
6         for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 07:20:30 -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.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 bejQzl-r9QJB for <notmuch@notmuchmail.org>;\r
16         Wed, 18 Apr 2012 07:20:21 -0700 (PDT)\r
17 Received: from mail-qc0-f181.google.com (mail-qc0-f181.google.com\r
18         [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id D465E431FAE\r
21         for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 07:20:20 -0700 (PDT)\r
22 Received: by qcsk26 with SMTP id k26so5645397qcs.26\r
23         for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 07:20:20 -0700 (PDT)\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25         d=google.com; s=20120113;\r
26         h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
27         :message-id:mime-version:content-type:x-gm-message-state;\r
28         bh=xj4ZY5F3J+wVVh7i9jxlYcIgnkKo2IrVm67/ZaCRdpU=;\r
29         b=Uukk6fO6U63cHoU3tQ5M1iNsWCY/DKPmj6dDVFnixDiKu/LtbeIUNi5leXQMYT5GTM\r
30         AOokorXPD9KKMXFuSemcUrzQ+8dJ1DBvmCocLGEu62gSdQEZFEMYsmFQuez/iRbSbBrW\r
31         T1giBHtN0lnjJgFaKQQ1OARyC5NFp5oolEMfyqeWhtaJHJGFHmVI2lQST4/do1j3xt3x\r
32         MnWL8vTDwXJkbPwZ0lRZMT+DW5gK9cH00EEtIfkPPPREo7uaXGwqRt8gYkmCpeTN2XDR\r
33         xVUb/3dYJ5XCgwYBhCxUPQd/85oB4KBOVDoR4pfnP8pGbOwnWPQmlv+AsFQRpcj2Assv\r
34         XAsQ==\r
35 Received: by 10.224.187.2 with SMTP id cu2mr3647011qab.88.1334758820257;\r
36         Wed, 18 Apr 2012 07:20:20 -0700 (PDT)\r
37 Received: from localhost (nikula.org. [92.243.24.172])\r
38         by mx.google.com with ESMTPS id i8sm46335592qah.4.2012.04.18.07.20.18\r
39         (version=SSLv3 cipher=OTHER); Wed, 18 Apr 2012 07:20:18 -0700 (PDT)\r
40 From: Jani Nikula <jani@nikula.org>\r
41 To: Felipe Contreras <felipe.contreras@gmail.com>\r
42 Subject: Re: [PATCH v2 1/3] Add 'compose' command\r
43 In-Reply-To:\r
44  <CAMP44s2Ukz=kDaPHYG+jzR3pDfZGP+6Ojqc4Xz5J8PxEd9fKcQ@mail.gmail.com>\r
45 References: <1334752753-23970-1-git-send-email-felipe.contreras@gmail.com>\r
46         <1334752753-23970-2-git-send-email-felipe.contreras@gmail.com>\r
47         <873981chpj.fsf@nikula.org>\r
48         <CAMP44s2Ukz=kDaPHYG+jzR3pDfZGP+6Ojqc4Xz5J8PxEd9fKcQ@mail.gmail.com>\r
49 User-Agent: Notmuch/0.11.1+222~ga47a98c (http://notmuchmail.org) Emacs/23.1.1\r
50         (i686-pc-linux-gnu)\r
51 Date: Wed, 18 Apr 2012 14:20:16 +0000\r
52 Message-ID: <87vckxazq7.fsf@nikula.org>\r
53 MIME-Version: 1.0\r
54 Content-Type: text/plain; charset=us-ascii\r
55 X-Gm-Message-State:\r
56  ALoCoQnLn4LVmWAfprdfWbnRaaeKW0ptl8MDoMddoOK8L6YqSDUQQvXtuNbBjzAfirQa7z8jDVDy\r
57 Cc: Felipe Contreras <felipe.contreras@ngmail.com>, notmuch@notmuchmail.org\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, 18 Apr 2012 14:20:31 -0000\r
71 \r
72 On Wed, 18 Apr 2012 16:34:30 +0300, Felipe Contreras <felipe.contreras@gmail.com> wrote:\r
73 > On Wed, Apr 18, 2012 at 4:06 PM, Jani Nikula <jani@nikula.org> wrote:\r
74\r
75 > > Running "notmuch compose" more than once within a second would result in\r
76 > > identical message ids for the messages, which is not a good idea. That's\r
77 > > not likely in interactive use, but the notmuch cli is highly scriptable,\r
78 > > so someone is bound to hit this.\r
79 > >\r
80 > > Some paranoid might also be worried about "leaking" the time you run\r
81 > > "notmuch compose"... which may be different from the actual time you\r
82 > > send the message.\r
83\r
84 > It's still better than the current situation; nothing. In any case,\r
85 > people that have not needed this would not be affected; their UI would\r
86 > override the Message-ID.\r
87\r
88 > So do you have a better suggestion for a Message-ID?\r
89 \r
90 The easy way would be to just use g_mime_utils_generate_message_id()\r
91 [1]. It doesn't give you any control of the part before @, but I'm not\r
92 sure if that really matters.\r
93 \r
94 Alternatively you can write your own according to e.g. [2]. Glib appears\r
95 to have decent and portable support for pseudo random number\r
96 generation. But why bother? I'd go with gmime.\r
97 \r
98 BR,\r
99 Jani.\r
100 \r
101 \r
102 [1] http://developer.gnome.org/gmime/stable/gmime-gmime-utils.html#g-mime-utils-generate-message-id\r
103 [2] http://www.jwz.org/doc/mid.html\r