From 4fe5ee7cc17e46d913cb43603212a7afc1597067 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Mon, 23 Jun 2014 07:44:41 +2100 Subject: [PATCH] Re: [PATCH v1] emacs: Forwarded messages should not have modified buffers --- ac/418653054196b94d32b70e26d0d6abba82aa1d | 76 +++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 ac/418653054196b94d32b70e26d0d6abba82aa1d diff --git a/ac/418653054196b94d32b70e26d0d6abba82aa1d b/ac/418653054196b94d32b70e26d0d6abba82aa1d new file mode 100644 index 000000000..3992b0dfc --- /dev/null +++ b/ac/418653054196b94d32b70e26d0d6abba82aa1d @@ -0,0 +1,76 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 93AAD431FAF + for ; Sun, 22 Jun 2014 03:44:53 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id 9pL0z8mXCWoW for ; + Sun, 22 Jun 2014 03:44:46 -0700 (PDT) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 002BB431FAE + for ; Sun, 22 Jun 2014 03:44:45 -0700 (PDT) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1WyfGP-0005Eb-AY; Sun, 22 Jun 2014 07:44:45 -0300 +Received: (nullmailer pid 29056 invoked by uid 1000); Sun, 22 Jun 2014 + 10:44:41 -0000 +From: David Bremner +To: David Edmondson +Subject: Re: [PATCH v1] emacs: Forwarded messages should not have modified + buffers +In-Reply-To: <1E19E1E0-044E-4616-B951-FC8FEFA49071@dme.org> +References: + <87wqch5309.fsf@zancas.localnet> + <1E19E1E0-044E-4616-B951-FC8FEFA49071@dme.org> +User-Agent: Notmuch/0.18+13~g1adde01 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Sun, 22 Jun 2014 07:44:41 -0300 +Message-ID: <87zjh5usti.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Sun, 22 Jun 2014 10:44:53 -0000 + +David Edmondson writes: +> @@ -346,7 +346,8 @@ the From: address first." +> (message-forward-make-body cur) +> ;; `message-forward-make-body' shows the User-agent header. Hide +> ;; it again. +> - (message-hide-headers))) +> + (message-hide-headers) +> + (set-buffer-modified-p nil))) +> +> (defun notmuch-mua-new-reply (query-string &optional prompt-for-sender reply-all) +> "Compose a reply to the message identified by QUERY-STRING. +> -- +> 2.0.0.rc2 + +Bah. Sometimes mail systems suck. I finally managed to apply this after +some effort. For future reference, it was still quoted printable and +(even more mysteriously) something mangled the indentation of the +context lines, moving them one space left; once can see this most +clearly on the last two lines. + +d -- 2.26.2