Re: Problem with draft mails when using offlineimap

Subject: Re: Problem with draft mails when using offlineimap

Date: Thu, 09 Jun 2016 16:27:44 -0400

To: Torben Hoffmann, notmuch@notmuchmail.org

Cc:

From: Daniel Kahn Gillmor


On Thu 2016-06-09 15:02:14 -0400, Torben Hoffmann wrote:
> I am having issues with draft mails in connection with my offlineimap
> set-up.
>
> I have everything in my ~/Maildir directory.
>
> But when I create a mail and save it it goes to
> ~/Mail/drafts
>
> I have tried changing this:
>  (setq message-auto-save-directory "~/Maildir/drafts/cur")
>
> That will put the drafts in that directory, but they will not show up in
> my searching until after I have done a sync with offlineimap.
>
> But what is worse is that the show up with a timestamp of 1970-01-01.
> And I cannot figure out how to edit a draft, which renders the whole
> concept of drafts meaningless.
>
> My IMAP is Gmail, if that has any influence.
>
> All sorts of advice appreciated.

It sounds like you're using notmuch-emacs.  If that's the case, I
recommend taking a look at the change series Mark Walters wrote for
postponing/resuming drafts, starting at:

  id:1465001026-29392-1-git-send-email-markwalters1009@gmail.com

Regards,

        --dkg
signature.asc (application/pgp-signature)

Thread: