From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id CB4066DE0068 for ; Tue, 15 Aug 2017 18:00:07 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.396 X-Spam-Level: X-Spam-Status: No, score=-0.396 tagged_above=-999 required=5 tests=[AWL=-0.074, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4mTloHpjNyPP for ; Tue, 15 Aug 2017 18:00:06 -0700 (PDT) Received: from mail-pg0-f44.google.com (mail-pg0-f44.google.com [74.125.83.44]) by arlo.cworth.org (Postfix) with ESMTPS id 8F38E6DE0005 for ; Tue, 15 Aug 2017 18:00:06 -0700 (PDT) Received: by mail-pg0-f44.google.com with SMTP id u5so15769037pgn.0 for ; Tue, 15 Aug 2017 18:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=o6PPBXICJUYpEPkBKaEHKCNvK+iPi3RUv3V3IXXamSE=; b=rd2EqLHtW2hxi6VZolnzh8MkazNJ+Tq/WM0PqtKCw8Khmpx+gYs0tTnlJgf6YHGhlj WpZ3d5Pv82r5qqgaSD8/MY5Qu1wzVUKWc82XAa5IXDTaFNlNwuNsynTdONsUFBGP3t6w i4e5XtgK8JIwg+TdwFx+4OufJSBVHOD6C48smlTyZHqePQyXaTLvmZXN/5vLOvas50uy oI45ECDOa+v1nC+peoBTj2wkugCQmSoVQCSjEphThv3HFwK8YUKdHdIE1KCcd6J9FNyU 1J6VjD3vMkrdo3ibRUSITSW4KQ76ZkvkmIB2ollLZ3C5BzCl7pOKcq82R23t53nDyPVg /37g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=o6PPBXICJUYpEPkBKaEHKCNvK+iPi3RUv3V3IXXamSE=; b=BPQxgE3HJtr+iB4Q5BPzparVhU2hneU6Gak+nwcidNgMVtEAoDxBIPzjSjLgMbdlK7 hpVmAEU9tag5ZUtYq+su53h5wtym9bQZqpsjhI+9KMiBIYl150skw5Ov0GP1LIegcBZx s5OM4yyOr7jXbqt+Loo1h/Ps6JA2e8PsrHT8Z15Nrc1uQERgBY9kC/kLkd6dFz2/gFtj Bg7IMcdRSB1cTFkCAJC9LzOeCWIcrvCQ5j5UhHGVjefJe3AAslUyo42EccmjwrqA9jRu l957ecZJ4oWfKZK3qGEupdbUD4yy8SUmSrRiVP75ugdwBJ8zAI92CAmgwyX72y/np9KP 2+WQ== X-Gm-Message-State: AHYfb5jueRR5hOewpCsvPwxcFrNUA3IMTafpCCIqOs3hHjfDaXZ7b0cv wv3y6WJW+RCAf7Knl/FAhQ== X-Received: by 10.84.238.204 with SMTP id l12mr22706pln.300.1502845205448; Tue, 15 Aug 2017 18:00:05 -0700 (PDT) Received: from marmstrong-linux.kir.corp.google.com ([2620:0:1008:11:7d55:25d8:f069:8730]) by smtp.gmail.com with ESMTPSA id t29sm18632653pfl.4.2017.08.15.18.00.03 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 15 Aug 2017 18:00:04 -0700 (PDT) From: Matt Armstrong To: David Bremner , Sanjoy Mahajan , notmuch@notmuchmail.org Subject: Re: all intermediate drafts appear in threads (v0.24.2, Emacs 25.2) In-Reply-To: <87h8yaauvo.fsf@tethera.net> References: <877ezcbdvk.fsf@olin.edu> <87h8yaauvo.fsf@tethera.net> Date: Tue, 15 Aug 2017 18:00:03 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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, 16 Aug 2017 01:00:07 -0000 David Bremner writes: > Sanjoy Mahajan writes: > >> I save an outgoing email as I write it and often (as if it were a >> regular document) by using the usual Emacs key sequence C-x C-s. With >> notmuch v0.24, notmuch saves a proper draft each time I use C-x C-s. >> The result is a million drafts, which may be good. >> >> However, it means that the thread view (in notmuch-show mode) includes >> the zillion drafts. Attached is a screenshot of what I mean (sorry that >> it is so small -- I downsampled it to get within the message-size >> limit). I made the example by sending myself (sanjoy@localhost) a short >> msg. Then I replied to it with 'r', and saved the reply a few times >> (first with "Draft v1" as the body text, the next time with "Draft v2", >> etc.). > > It could be a nice feature to toggle visibility of drafts (and other > excluded messages) in notmuch-show mode. So far nobody wrote such a > thing. > > Two things you might find useful to know: > > - you can resume editing a previous draft with 'e' > - autosaving does not create drafts > > If it really bugs you, you could override the binding C-x C-s in > notmuch-show mode. This is happening to me on a fairly regular basis too. Is there something I can bind C-x C-s to in notmuch-show that doesn't create a new draft? I like the idea of saving the drafts in the DB, so perhaps just getting the deleted stuff working in an unsurprising way in notmuch-show is the best way forward.