From 0332c64f4db361b96c4e8cc0ded389df2f96af98 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Fri, 10 Jun 2016 16:27:44 +2000 Subject: [PATCH] Re: Problem with draft mails when using offlineimap --- dd/10698d081172a32c3103016d17bf56d6b3c020 | 109 ++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 dd/10698d081172a32c3103016d17bf56d6b3c020 diff --git a/dd/10698d081172a32c3103016d17bf56d6b3c020 b/dd/10698d081172a32c3103016d17bf56d6b3c020 new file mode 100644 index 000000000..557715e13 --- /dev/null +++ b/dd/10698d081172a32c3103016d17bf56d6b3c020 @@ -0,0 +1,109 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id B94156DE02DA + for ; Thu, 9 Jun 2016 13:27:59 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.034 +X-Spam-Level: +X-Spam-Status: No, score=-0.034 tagged_above=-999 required=5 + tests=[AWL=-0.034] 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 fLOA-DDldTY4 for ; + Thu, 9 Jun 2016 13:27:51 -0700 (PDT) +Received: from che.mayfirst.org (che.mayfirst.org [162.247.75.118]) + by arlo.cworth.org (Postfix) with ESMTP id EFF706DE01C2 + for ; Thu, 9 Jun 2016 13:27:50 -0700 (PDT) +Received: from fifthhorseman.net (unknown [38.109.115.130]) + by che.mayfirst.org (Postfix) with ESMTPSA id D167DF98B; + Thu, 9 Jun 2016 16:27:48 -0400 (EDT) +Received: by fifthhorseman.net (Postfix, from userid 1000) + id A6BAC203D8; Thu, 9 Jun 2016 16:27:48 -0400 (EDT) +From: Daniel Kahn Gillmor +To: Torben Hoffmann , notmuch@notmuchmail.org +Subject: Re: Problem with draft mails when using offlineimap +In-Reply-To: <5759bd3e.8726c80a.2b5af.ffffd65b@mx.google.com> +References: <5759bd3e.8726c80a.2b5af.ffffd65b@mx.google.com> +User-Agent: Notmuch/0.22+47~g4441900 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Thu, 09 Jun 2016 16:27:44 -0400 +Message-ID: <87shwmcdkv.fsf@alice.fifthhorseman.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha512; protocol="application/pgp-signature" +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Thu, 09 Jun 2016 20:27:59 -0000 + +--=-=-= +Content-Type: text/plain + +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 + +--=-=-= +Content-Type: application/pgp-signature; name="signature.asc" + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2 + +iQJ8BAEBCgBmBQJXWdFAXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFREIyRTc0RjU2RkNGMkI2NzI5N0I3MzUy +NEVDRkY1QUZGNjgzNzBBAAoJECTs/1r/aDcKTC4P/RWJxGi6ACT8UZU8QsTIGWz3 +wFHCoNWscSsqMemNYvzLGx1pfgvsDbsHk095eUaNTKERKTf26TmXnOZgYevgX4vl +U8Tsz+peLAzu5L6UiEoZSDha6f7hixzN5hjeapunOHnCLytnGmMaoz1ywTy/uXDf +MohciMQDSLD46S/WTbXeNQLzxxloV3E7bpKbY/ajyTHtFkWTo3cl4OwnvaLprPmk +3r3VLWN7E1cjNw0QTe1q9btKL2OKWbtQVyUiBPnsP14MLiiDeC9Mt7pLhIAd3aNw +qLg125/oBs6XJ/qALPODWB5TDw9/tasTcSdLkXc6IWWD0C+G7uiLOi87E3NLbHNk +FBtN6FqPPJ/oaYMKiX9231zAOpvLvkIu01wbqmUzWzTLbYpfuz1BY/8aW+7mHhNJ +d6UOxNjXDHn0/auMrWoAcRnqpXF5g0RVLut/FSD13Tt7nfC5gwB7anhAmf3Ay0vU +uLTwZv82b0+F/uwHRZn+MXqJkNgAmRU4HHqdBBr4WiuzVJ/TZXQSKHVh9fbK6uPd +S9gWYDyTCA/McZJjwzg2/zP28yeiFAHbhG6aFNBmQWDIVW3lpMuZHYR8CPQ4ocRP +ehLfsDcUVTYlwa7G1tb0cCL+MmGmCEJVO5lxG8edc4m7pDhLjEP6zqjySPJEvCiy +KaF/HfbUKlOBb0jjqPcG +=IAAI +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2