Re: [PATCH v6] emacs: Use the new JSON reply format and message-cite-original
authorAdam Wolfe Gordon <awg+notmuch@xvx.ca>
Sat, 10 Mar 2012 18:19:40 +0000 (11:19 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:45:23 +0000 (09:45 -0800)
8f/b6fdd403afa0d9d93ebfb09665697907656895 [new file with mode: 0644]

diff --git a/8f/b6fdd403afa0d9d93ebfb09665697907656895 b/8f/b6fdd403afa0d9d93ebfb09665697907656895
new file mode 100644 (file)
index 0000000..f303c8f
--- /dev/null
@@ -0,0 +1,94 @@
+Return-Path: <awg@xvx.ca>\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 97AAE431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 10 Mar 2012 10:19:46 -0800 (PST)\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 PUobdDdqXwL9 for <notmuch@notmuchmail.org>;\r
+       Sat, 10 Mar 2012 10:19:44 -0800 (PST)\r
+Received: from mail-lpp01m010-f53.google.com (mail-lpp01m010-f53.google.com\r
+       [209.85.215.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 2A3C6431FBC\r
+       for <notmuch@notmuchmail.org>; Sat, 10 Mar 2012 10:19:44 -0800 (PST)\r
+Received: by lahc1 with SMTP id c1so2768269lah.26\r
+       for <notmuch@notmuchmail.org>; Sat, 10 Mar 2012 10:19:41 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=mime-version:sender:x-originating-ip:in-reply-to:references:date\r
+       :x-google-sender-auth:message-id:subject:from:to:cc:content-type\r
+       :content-transfer-encoding:x-gm-message-state;\r
+       bh=Qg8kuqz0QUAlipLaepc2N1vOeMRdYNJzHWfRgTLF1dw=;\r
+       b=ggO+j1c2RSwnjK1QJO0ZGESlDYz49gnh76eDjPINRem5O9iZx2NYdUQl9gd7AqGrkr\r
+       7cFlfy9kKgKG8S5kSWG7j5K/IZLgvVz5hv/MEbQrj3/LWGwpjkTP6GGRNDbVizVDbskV\r
+       F2R/k8s+EUIZfj9EOQm8toGnAmID0b/jtXvvQ3HScAG49ezAzHpuYqWwv3NuqUCgyIod\r
+       UQhXnB1TKN8PtNDCSvoN0sd2Ci5DsIcUI6AvdAXLeysD/z0A38+ZWnO5XwkM1DgzMw/6\r
+       CKFbMdFMtzlzbkahxWKuk74qsEhnAbsfxIPwqk43kGcGNXT84tFw5uwsV6gzhnXXciKt\r
+       MHjg==\r
+MIME-Version: 1.0\r
+Received: by 10.152.113.136 with SMTP id iy8mr4708422lab.50.1331403581001;\r
+       Sat, 10 Mar 2012 10:19:41 -0800 (PST)\r
+Sender: awg@xvx.ca\r
+Received: by 10.112.109.234 with HTTP; Sat, 10 Mar 2012 10:19:40 -0800 (PST)\r
+X-Originating-IP: [96.52.216.56]\r
+In-Reply-To: <87aa3p8j1x.fsf@nikula.org>\r
+References: <1329893199-21630-1-git-send-email-awg+notmuch@xvx.ca>\r
+       <1329893199-21630-11-git-send-email-awg+notmuch@xvx.ca>\r
+       <87aa3p8j1x.fsf@nikula.org>\r
+Date: Sat, 10 Mar 2012 11:19:40 -0700\r
+X-Google-Sender-Auth: BfrQ8ryVS_w1baYUzoJTAKEyGtU\r
+Message-ID:\r
+ <CAMoJFUuuZ8D+FDpDNuyk0r0qY+JaxciqJ6dJLDZE0N=eyp30aw@mail.gmail.com>\r
+Subject: Re: [PATCH v6] emacs: Use the new JSON reply format and\r
+       message-cite-original\r
+From: Adam Wolfe Gordon <awg+notmuch@xvx.ca>\r
+To: Jani Nikula <jani@nikula.org>\r
+Content-Type: text/plain; charset=ISO-8859-1\r
+Content-Transfer-Encoding: quoted-printable\r
+X-Gm-Message-State:\r
+ ALoCoQkw6yW59NERQkGTJ6V6l615xEu0aUAL836vziAiXnGY34Z7vywzx39iYUw/nmGCYaIngfz6\r
+Cc: notmuch@notmuchmail.org\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: Sat, 10 Mar 2012 18:19:46 -0000\r
+\r
+On Fri, Mar 9, 2012 at 16:13, Jani Nikula <jani@nikula.org> wrote:\r
+>> + =A0 =A0 (set-mark (point))\r
+>> + =A0 =A0 (goto-char start)\r
+>> + =A0 =A0 ;; Quote the original message according to the user's configur=\r
+ed style.\r
+>> + =A0 =A0 (message-cite-original)\r
+>> + =A0 =A0 (goto-char (point-max)))))\r
+>> +\r
+>> + =A0(push-mark)\r
+>> =A0 =A0(message-goto-body)\r
+>> - =A0;; Original message may contain (malicious) MML tags. =A0We must\r
+>> - =A0;; properly quote them in the reply. =A0Note that using `point-max'\r
+>> - =A0;; instead of `mark' here is wrong. =A0The buffer may include user'=\r
+s\r
+>> - =A0;; signature which should not be MML-quoted.\r
+>> - =A0(mml-quote-region (point) (mark)))\r
+>\r
+> Is it okay to drop mml quoting? Why?\r
+\r
+As Austin pointed out on an earlier version, message-cite-original\r
+already does the quoting, so doing it ourselves will result in\r
+double-quoting MML tags.\r