Re: all intermediate drafts appear in threads (v0.24.2, Emacs 25.2)

Subject: Re: all intermediate drafts appear in threads (v0.24.2, Emacs 25.2)

Date: Tue, 15 Aug 2017 18:00:03 -0700

To: David Bremner, Sanjoy Mahajan, notmuch@notmuchmail.org

Cc:

From: Matt Armstrong


David Bremner <david@tethera.net> writes:

> Sanjoy Mahajan <sanjoy@olin.edu> 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.
_______________________________________________
notmuch mailing list
notmuch@notmuchmail.org
https://notmuchmail.org/mailman/listinfo/notmuch

Thread: