Re: [PATCH v1 0/3] emacs: Allow saving of threads and messages
authorDavid Edmondson <dme@dme.org>
Fri, 9 May 2014 14:17:41 +0000 (15:17 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:02:30 +0000 (10:02 -0800)
5a/f5355c4051420e5dd6a101c7796c171a48913e [new file with mode: 0644]

diff --git a/5a/f5355c4051420e5dd6a101c7796c171a48913e b/5a/f5355c4051420e5dd6a101c7796c171a48913e
new file mode 100644 (file)
index 0000000..409f980
--- /dev/null
@@ -0,0 +1,105 @@
+Return-Path: <dme@dme.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id F07C2431FBF\r
+       for <notmuch@notmuchmail.org>; Fri,  9 May 2014 07:17:56 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id agH1HopBrLWE for <notmuch@notmuchmail.org>;\r
+       Fri,  9 May 2014 07:17:52 -0700 (PDT)\r
+Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com\r
+       [209.85.212.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 0CA2E431FBC\r
+       for <notmuch@notmuchmail.org>; Fri,  9 May 2014 07:17:51 -0700 (PDT)\r
+Received: by mail-wi0-f174.google.com with SMTP id r20so1397074wiv.13\r
+       for <notmuch@notmuchmail.org>; Fri, 09 May 2014 07:17:50 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:to:subject:in-reply-to:references:user-agent\r
+       :from:date:message-id:mime-version:content-type;\r
+       bh=R66LsYaGOdc06aV7QBo+Oev7P64pzoXsaMOFIlUKwUg=;\r
+       b=CMPjZ3/fA/eBQVnDrc3RaVqjxZfxaHv6uORv0uw4aQDbj92J3YJgzwqPoMz55rqO55\r
+       YRRZ/xosF+o2Fj02rzrIOozZmmTvgh4RdSDzTCCL163DBMCzU+fLRXU6pqUhiDTtB4XI\r
+       O0A/VPFQFi1EV8Z9VuKJ/qGnxv7zsE3AloVef8b5hSKxFhU66s5E9ikpkOEbwzhlpbZB\r
+       /OLo76vlQyj0wjkQt+BmJGEPY/2siFbl6UXZCDvDzg4Xilql3DXT5i21B3gin9vwa/N9\r
+       /3v8T4g+oAgaiL4qLgDpEdvHc2QTjzT0Z8A5vjwl0bXJlnwSpA7YLwdgXCy5Nn4D0yJp\r
+       IOgg==\r
+X-Gm-Message-State:\r
+ ALoCoQlljUGcwGDjGB1jJ6C3Ooj7DEef4GDk1GTyuJmw41ftd4LGDWTHcrPdTVlqtP5OxxJNMnfY\r
+X-Received: by 10.180.11.9 with SMTP id m9mr3501290wib.51.1399645069574;\r
+       Fri, 09 May 2014 07:17:49 -0700 (PDT)\r
+Received: from localhost ([2a01:348:1a2:1:a288:b4ff:fe8a:77d8])\r
+       by mx.google.com with ESMTPSA id d6sm5356001wiz.4.2014.05.09.07.17.46\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Fri, 09 May 2014 07:17:47 -0700 (PDT)\r
+To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH v1 0/3] emacs: Allow saving of threads and messages\r
+In-Reply-To: <877g5vb1je.fsf@qmul.ac.uk>\r
+References: <1399623743-30478-1-git-send-email-dme@dme.org>\r
+       <877g5vb1je.fsf@qmul.ac.uk>\r
+User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+From: David Edmondson <dme@dme.org>\r
+Date: Fri, 09 May 2014 15:17:41 +0100\r
+Message-ID: <cund2fnc9yy.fsf@hotblack-desiato.hh.sledj.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha1; protocol="application/pgp-signature"\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://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: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 09 May 2014 14:17:57 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+On Fri, May 09 2014, Mark Walters wrote:\r
+> The first two patches are fine, although I think I like constructing a\r
+> query then quoting rather than quoting bits of a query and bolting them\r
+> together (even the both work).\r
+\r
+Agreed. I've no idea what I was thinking.\r
+\r
+> My concern is that the current approach gives the user no warning if\r
+> they are about to overwrite an existing file, and that this is true\r
+> regardless of any emacs settings.=20\r
+>\r
+> Could we do these saves by loading into a temporary buffer and then\r
+> using the normal emacs save buffer functions? That way we get the\r
+> benefit of emacs's normal query-overwrite, and respect any user\r
+> customizations of that.\r
+\r
+Yes, that is a better approach.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature; name="signature.asc"\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1\r
+\r
+iKYEARECAGYFAlNs44VfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl\r
+bnBncC5maWZ0aGhvcnNlbWFuLm5ldDc1M0Y5NDJDMEExNjc3MDE4OURGMUYyMDY5\r
+RUNEMEFCRjA0OTY1MTYACgkQaezQq/BJZRb1HACfWSD4YfI0/TCVWNrUNJLkp1Ke\r
+5/4An3W6AKFMkRCq6FHrzPvfxebkDncG\r
+=5k5y\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r