Re: encoding when forwarding messages
authorDavid Bremner <david@tethera.net>
Tue, 27 Aug 2013 11:21:14 +0000 (08:21 +2100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:56:42 +0000 (09:56 -0800)
dc/0fbd2e808de7569666780b0b8249ec532fa6b7 [new file with mode: 0644]

diff --git a/dc/0fbd2e808de7569666780b0b8249ec532fa6b7 b/dc/0fbd2e808de7569666780b0b8249ec532fa6b7
new file mode 100644 (file)
index 0000000..723bb75
--- /dev/null
@@ -0,0 +1,71 @@
+Return-Path: <david@tethera.net>\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 A2963431FD4\r
+       for <notmuch@notmuchmail.org>; Tue, 27 Aug 2013 04:21:23 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       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 9NnucdZvML8l for <notmuch@notmuchmail.org>;\r
+       Tue, 27 Aug 2013 04:21:18 -0700 (PDT)\r
+Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155])\r
+       (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id A3570431FAF\r
+       for <notmuch@notmuchmail.org>; Tue, 27 Aug 2013 04:21:18 -0700 (PDT)\r
+Received: from remotemail by yantan.tethera.net with local (Exim 4.80)\r
+       (envelope-from <david@tethera.net>)\r
+       id 1VEHKn-0004rn-SD; Tue, 27 Aug 2013 08:21:17 -0300\r
+Received: (nullmailer pid 11756 invoked by uid 1000); Tue, 27 Aug 2013\r
+       11:21:14 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Eric Abrahamsen <eric@ericabrahamsen.net>, notmuch@notmuchmail.org\r
+Subject: Re: encoding when forwarding messages\r
+In-Reply-To: <87bo4jjv15.fsf@ericabrahamsen.net>\r
+References: <87bo4jjv15.fsf@ericabrahamsen.net>\r
+User-Agent: Notmuch/0.16 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Tue, 27 Aug 2013 08:21:14 -0300\r
+Message-ID: <87y57n8jmd.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\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: Tue, 27 Aug 2013 11:21:23 -0000\r
+\r
+Eric Abrahamsen <eric@ericabrahamsen.net> writes:\r
+\r
+> I saw another message about the same problem on this list, in January,\r
+> with the advice to upgrade to git, but I'm still seeing it on notmuch\r
+> 0.16+7~gdc51bf0. Forwarding a message from within emacs using\r
+> `notmuch-mua-forward-message' sometimes produces garbled encoding.\r
+> Calling `notmuch-show-forward-message' on the same message, however,\r
+> creates what appears to be a raw message, properly encoded.\r
+>\r
+> Is there something still amiss in the code? Am I using the wrong\r
+> command?\r
+\r
+Do you really mean notmuch-mua-forward-message? That function is not\r
+interactive, which would make it more work to call.\r
+\r
+In any case, notmuch-show-forward-message does take some care to read\r
+the message in raw mode (via with-current-notmuch-show-message); when\r
+you call notmuch-mua*forward-message, how are you filling the buffer?\r
+\r
+d\r