--- /dev/null
+Return-Path: <dmitry.kurochkin@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by olra.theworths.org (Postfix) with ESMTP id EE039431FBC\r
+ for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 07:44:02 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.185\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.185 tagged_above=-999 required=5\r
+ tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+ FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_SORBS_WEB=0.614]\r
+ autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+ by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id RQc-lCGFEDp0 for <notmuch@notmuchmail.org>;\r
+ Wed, 18 Apr 2012 07:43:59 -0700 (PDT)\r
+Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com\r
+ [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+ (No client certificate requested)\r
+ by olra.theworths.org (Postfix) with ESMTPS id AF1AF431FAE\r
+ for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 07:43:58 -0700 (PDT)\r
+Received: by lahc1 with SMTP id c1so5895921lah.26\r
+ for <notmuch@notmuchmail.org>; Wed, 18 Apr 2012 07:43:57 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+ h=from:to:cc:subject:in-reply-to:references:user-agent:date\r
+ :message-id:mime-version:content-type:content-transfer-encoding;\r
+ bh=7oXVd28XsTVvCoMwrPjkcHhtlozmx/ZmFEs4Tk8muqE=;\r
+ b=j31xqPgkU2IFfGJ/FpHW/VB6jQ2fTi2daa3gxPVL3+GumXv1QEN5o/2j24VvBaKRvv\r
+ MkilHs3+8VYmRbexufMva/Z3GOif2JMbS/fRTuUeJ49jMT4SHWQSTVfX8IgAcUTxt3iV\r
+ vE5XGNr2iAP45Vm+XZLKDAMJUkA3Vn9d90NRFl0ZcQMVrg4CE4QbOEjAuFNVm/wWG+rK\r
+ 6O41QMSmfsFPwfjJ8wKt9PAVAnnLKevw7nhhGyWBj2mOZA4RnkwskV0Fwzh2Mxzrb3Sd\r
+ M3h2+uNpXcLpJCgK1HFlEvH7AC2Jr2zxSMSiMRA6aDzN8yQp0HwNNrqp0tJ89ru+PT6B\r
+ m01A==\r
+Received: by 10.152.147.100 with SMTP id tj4mr2348745lab.39.1334760236693;\r
+ Wed, 18 Apr 2012 07:43:56 -0700 (PDT)\r
+Received: from localhost ([83.149.44.251])\r
+ by mx.google.com with ESMTPS id mr15sm26502757lab.8.2012.04.18.07.43.50\r
+ (version=TLSv1/SSLv3 cipher=OTHER);\r
+ Wed, 18 Apr 2012 07:43:55 -0700 (PDT)\r
+From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
+To: Felipe Contreras <felipe.contreras@gmail.com>\r
+Subject: Re: [PATCH v2 1/3] Add 'compose' command\r
+In-Reply-To:\r
+ <CAMP44s0qHWGAiGWbKqa3pTJWbpvshoNpoc6EezJmDjE8xQ3ZYA@mail.gmail.com>\r
+References: <1334752753-23970-1-git-send-email-felipe.contreras@gmail.com>\r
+ <1334752753-23970-2-git-send-email-felipe.contreras@gmail.com>\r
+ <873981chpj.fsf@nikula.org>\r
+ <CAMP44s2Ukz=kDaPHYG+jzR3pDfZGP+6Ojqc4Xz5J8PxEd9fKcQ@mail.gmail.com>\r
+ <874nshm9yo.fsf@gmail.com>\r
+ <CAMP44s0qHWGAiGWbKqa3pTJWbpvshoNpoc6EezJmDjE8xQ3ZYA@mail.gmail.com>\r
+User-Agent: Notmuch/0.12+104~gf9ad237 (http://notmuchmail.org) Emacs/23.4.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Wed, 18 Apr 2012 18:41:52 +0400\r
+Message-ID: <871unlm79r.fsf@gmail.com>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: quoted-printable\r
+Cc: notmuch@notmuchmail.org\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 18 Apr 2012 14:44:03 -0000\r
+\r
+Felipe Contreras <felipe.contreras@gmail.com> writes:\r
+\r
+> On Wed, Apr 18, 2012 at 4:43 PM, Dmitry Kurochkin\r
+> <dmitry.kurochkin@gmail.com> wrote:\r
+>> Hi Felipe.\r
+>>\r
+>> Felipe Contreras <felipe.contreras@gmail.com> writes:\r
+>>\r
+>>> On Wed, Apr 18, 2012 at 4:06 PM, Jani Nikula <jani@nikula.org> wrote:\r
+>>>\r
+>>>> Running "notmuch compose" more than once within a second would result =\r
+in\r
+>>>> identical message ids for the messages, which is not a good idea. That=\r
+'s\r
+>>>> not likely in interactive use, but the notmuch cli is highly scriptabl=\r
+e,\r
+>>>> so someone is bound to hit this.\r
+>>>>\r
+>>>> Some paranoid might also be worried about "leaking" the time you run\r
+>>>> "notmuch compose"... which may be different from the actual time you\r
+>>>> send the message.\r
+>>>\r
+>>> It's still better than the current situation; nothing. In any case,\r
+>>> people that have not needed this would not be affected; their UI would\r
+>>> override the Message-ID.\r
+>>>\r
+>>\r
+>> I disagree. =C2=A0If notmuch CLI generates a Message-ID, it must be a go=\r
+od\r
+>> one. =C2=A0Otherwise we make users falsely believe that they do have a p=\r
+roper\r
+>> Message-ID while in fact they do not. =C2=A0And that would bite them soo=\r
+ner\r
+>> or later.\r
+>\r
+> And then they'll report it, and we would fix it.\r
+>\r
+> Anyway, everything comes from a patch, so, do you have a patch,\r
+> pseudo-code, or even a suggestion?\r
+>\r
+\r
+A patch needs some positive reviews to be accepted. Replying to\r
+comments with "make a better patch" may not be the best strategy for\r
+getting your patches accepted.\r
+\r
+I do not have a patch. As for a suggestion, I would start with some\r
+googling. If you did that, you would probably find the gmime function\r
+kindly pointed out by Jani.\r
+\r
+Regards,\r
+ Dmitry\r
+\r
+> --=20\r
+> Felipe Contreras\r