Re: [PATCH v1] emacs: Forwarded messages should not have modified buffers

Subject: Re: [PATCH v1] emacs: Forwarded messages should not have modified buffers

Date: Sun, 22 Jun 2014 14:44:13 +0300

To: David Bremner, David Edmondson

Cc: notmuch@notmuchmail.org

From: Tomi Ollila


On Sun, Jun 22 2014, David Bremner <david@tethera.net> wrote:

> David Edmondson <dme@dme.org> 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.

I don't see that as quoted-unreadable; from 'V' output:

From: David Edmondson <dme@dme.org>
In-Reply-To: <87wqch5309.fsf@zancas.localnet>
Date: Mon, 16 Jun 2014 06:30:11 +0100
Message-Id: <1E19E1E0-044E-4616-B951-FC8FEFA49071@dme.org>
To: David Bremner <david@tethera.net>
X-Mailer: Apple Mail (2.1878.2)
Cc: notmuch@notmuchmail.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

(and no =... strings...)

> d

Tomi

Thread: