From 006dbfaf63c642da25e48ba062c161c82e4da87d Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Wed, 18 Apr 2012 17:11:22 +0300 Subject: [PATCH] Re: [PATCH v2 1/3] Add 'compose' command --- 26/1d72d7400fe605bc298b5be5efba5ae383faf8 | 107 ++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 26/1d72d7400fe605bc298b5be5efba5ae383faf8 diff --git a/26/1d72d7400fe605bc298b5be5efba5ae383faf8 b/26/1d72d7400fe605bc298b5be5efba5ae383faf8 new file mode 100644 index 000000000..de4936f6c --- /dev/null +++ b/26/1d72d7400fe605bc298b5be5efba5ae383faf8 @@ -0,0 +1,107 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id CAB87431FB6 + for ; Wed, 18 Apr 2012 07:11:28 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.799 +X-Spam-Level: +X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 + tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, + FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id kKk4F-JL3xqZ for ; + Wed, 18 Apr 2012 07:11:24 -0700 (PDT) +Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com + [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 80BE8431FAE + for ; Wed, 18 Apr 2012 07:11:24 -0700 (PDT) +Received: by eaa1 with SMTP id 1so3045809eaa.26 + for ; Wed, 18 Apr 2012 07:11:23 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=mime-version:in-reply-to:references:date:message-id:subject:from:to + :cc:content-type:content-transfer-encoding; + bh=vkbskbJvwYcohu9NE6UBZD1i4oFeKOrwcEHurnnOtr4=; + b=U75UrbMUc+7jJaoSBUovdScaZUVA7AKLrr2Wzzak0wJs84KB4bAx/LZyvXP4vptmFK + oM/8OA4LMywQiJjflqCo83fNP5jumTQk1zdGjJndw6De/7jwVgTyvmLELyneEkAZvzn2 + i++licrVXuhF4ldA3klwiVXcbsRGVvsD6DQaycaH46wV95wBOX83UQHHIDHnU+QHWY/d + hiqcbkz4XpR2TCmdOXDZz5MWS+3Pb9riXNNUS2ulyEh7K/YdcdDjSV/uv7B4by01LfJR + 01ewTSHIqqHUZvE67CGdSm2g1DRYMSCQFb4E94h2YtKy9xkMFO8AOFvEOV3/YbRsO80r + SHTA== +MIME-Version: 1.0 +Received: by 10.213.104.132 with SMTP id p4mr219367ebo.101.1334758282737; Wed, + 18 Apr 2012 07:11:22 -0700 (PDT) +Received: by 10.213.19.67 with HTTP; Wed, 18 Apr 2012 07:11:22 -0700 (PDT) +In-Reply-To: <874nshm9yo.fsf@gmail.com> +References: <1334752753-23970-1-git-send-email-felipe.contreras@gmail.com> + <1334752753-23970-2-git-send-email-felipe.contreras@gmail.com> + <873981chpj.fsf@nikula.org> + + <874nshm9yo.fsf@gmail.com> +Date: Wed, 18 Apr 2012 17:11:22 +0300 +Message-ID: + +Subject: Re: [PATCH v2 1/3] Add 'compose' command +From: Felipe Contreras +To: Dmitry Kurochkin +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Wed, 18 Apr 2012 14:11:28 -0000 + +On Wed, Apr 18, 2012 at 4:43 PM, Dmitry Kurochkin + wrote: +> Hi Felipe. +> +> Felipe Contreras writes: +> +>> On Wed, Apr 18, 2012 at 4:06 PM, Jani Nikula wrote: +>> +>>> Running "notmuch compose" more than once within a second would result i= +n +>>> identical message ids for the messages, which is not a good idea. That'= +s +>>> not likely in interactive use, but the notmuch cli is highly scriptable= +, +>>> so someone is bound to hit this. +>>> +>>> Some paranoid might also be worried about "leaking" the time you run +>>> "notmuch compose"... which may be different from the actual time you +>>> send the message. +>> +>> It's still better than the current situation; nothing. In any case, +>> people that have not needed this would not be affected; their UI would +>> override the Message-ID. +>> +> +> I disagree. =C2=A0If notmuch CLI generates a Message-ID, it must be a goo= +d +> one. =C2=A0Otherwise we make users falsely believe that they do have a pr= +oper +> Message-ID while in fact they do not. =C2=A0And that would bite them soon= +er +> or later. + +And then they'll report it, and we would fix it. + +Anyway, everything comes from a patch, so, do you have a patch, +pseudo-code, or even a suggestion? + +--=20 +Felipe Contreras -- 2.26.2