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