--- /dev/null
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 3FBE36DE02AD\r
+ for <notmuch@notmuchmail.org>; Fri, 8 Jul 2016 04:09:26 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.565\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.565 tagged_above=-999 required=5 tests=[AWL=-0.087,\r
+ SPF_NEUTRAL=0.652] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id sPLVI7lyLYZI for <notmuch@notmuchmail.org>;\r
+ Fri, 8 Jul 2016 04:09:17 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 136E96DE02AC\r
+ for <notmuch@notmuchmail.org>; Fri, 8 Jul 2016 04:09:17 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+ by guru.guru-group.fi (Postfix) with ESMTP id 8DCCE100090;\r
+ Fri, 8 Jul 2016 14:08:41 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,\r
+ David Bremner <david@tethera.net>, Mark Walters <markwalters1009@gmail.com>,\r
+ notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v3] emacs: postpone/resume support\r
+In-Reply-To: <87shvlf185.fsf@alice.fifthhorseman.net>\r
+References: <1465001026-29392-1-git-send-email-markwalters1009@gmail.com>\r
+ <m2y46jrk4x.fsf@guru.guru-group.fi> <87wpm3dgu6.fsf@zancas.localnet>\r
+ <87shvlf185.fsf@alice.fifthhorseman.net>\r
+User-Agent: Notmuch/0.22+56~ge2391a7 (https://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+ $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+ !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Fri, 08 Jul 2016 14:08:41 +0300\r
+Message-ID: <m27fcw2xqe.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 08 Jul 2016 11:09:26 -0000\r
+\r
+On Fri, Jul 08 2016, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:\r
+\r
+> [ Unknown signature status ]\r
+> On Sun 2016-06-05 07:18:25 -0400, David Bremner wrote:\r
+>> Tomi Ollila <tomi.ollila@iki.fi> writes:\r
+>>\r
+>>> ... but I think I am not biased when I think that if ctrl-x ctrl-s\r
+>>> does something more magical than simple (save-buffer) in buffers that\r
+>>> looks like text editing buffer, that is going to be unexpected disturbing\r
+>>> functionality to someone (else like me)...\r
+>>\r
+>> This is a valid point. On the other hand the binding is copied from\r
+>> Gnus, which also includes at least _some_ magic\r
+>>\r
+>> http://www.gnu.org/software/emacs/manual/html_node/gnus/Drafts.html\r
+>\r
+> gnus isn't the only thing that does something more "magical" than saving\r
+> a raw buffer to a file.\r
+>\r
+> try the following:\r
+>\r
+> echo test | gpg --output test.gpg --armor --default-recipient-self --encrypt\r
+> emacs test.gpg\r
+>\r
+> emacs will prompt you to decrypt the file, then let you edit the\r
+> cleartext buffer.\r
+>\r
+> a subsequent "C-x C-s" will re-save it encrypted. (at least it does for\r
+> me!)\r
+>\r
+> [ i note several weirdnesses here around the round-trip cleanliness and\r
+> safety of this operation which aren't relevant to notmuch, but that's\r
+> a different story, and i've reported them to emacs upstream ]\r
+>\r
+> Of course, this functionality appears to also happen within\r
+> "save-buffer" itself -- so arguably it's not more "magical" than\r
+> save-buffer, since it *is* save-buffer.\r
+>\r
+>\r
+> Tomi, would you object if Mark's patches were somehow integrated into\r
+> save-buffer itself, instead of just re-mapping C-x C-s ? (i don't know\r
+> elisp well enough to know how feasible that would be)\r
+\r
+customizable hook might be tolerable ;)\r
+\r
+(quick reply writing coat on)\r
+\r
+>\r
+> My bottom line:\r
+>\r
+> Mark's series here works well for me, and represents the best draft\r
+> handling i've seen yet for notmuch-emacs. It would be really good to\r
+> incorporate something approximating this functionality in the mainline.\r
+>\r
+> --dkg\r