Forwarding a mail, with a non-ASCII signature
authorLele Gaifax <lele@metapensiero.it>
Sun, 16 Nov 2014 14:18:22 +0000 (15:18 +0100)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:46:42 +0000 (14:46 -0700)
ab/0b439e97159587f814538dd6afd9937c6c112e [new file with mode: 0644]

diff --git a/ab/0b439e97159587f814538dd6afd9937c6c112e b/ab/0b439e97159587f814538dd6afd9937c6c112e
new file mode 100644 (file)
index 0000000..e5d9ec6
--- /dev/null
@@ -0,0 +1,92 @@
+Return-Path: <gmn-notmuch@m.gmane.org>\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 D9596431FC3\r
+       for <notmuch@notmuchmail.org>; Sun, 16 Nov 2014 06:40:19 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.165\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.165 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_NUMERIC_HELO=0.865]\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 q+dT4runO7Mf for <notmuch@notmuchmail.org>;\r
+       Sun, 16 Nov 2014 06:40:09 -0800 (PST)\r
+Received: from plane.gmane.org (plane.gmane.org [80.91.229.3])\r
+       (using TLSv1 with cipher AES256-SHA (256/256 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 17149431FBC\r
+       for <notmuch@notmuchmail.org>; Sun, 16 Nov 2014 06:40:09 -0800 (PST)\r
+Received: from list by plane.gmane.org with local (Exim 4.69)\r
+       (envelope-from <gmn-notmuch@m.gmane.org>) id 1Xq0zj-0000kX-Un\r
+       for notmuch@notmuchmail.org; Sun, 16 Nov 2014 15:40:03 +0100\r
+Received: from 151.62.148.20 ([151.62.148.20])\r
+       by main.gmane.org with esmtp (Gmexim 0.1 (Debian))\r
+       id 1AlnuQ-0007hv-00\r
+       for <notmuch@notmuchmail.org>; Sun, 16 Nov 2014 15:40:03 +0100\r
+Received: from lele by 151.62.148.20 with local (Gmexim 0.1 (Debian))\r
+       id 1AlnuQ-0007hv-00\r
+       for <notmuch@notmuchmail.org>; Sun, 16 Nov 2014 15:40:03 +0100\r
+X-Injected-Via-Gmane: http://gmane.org/\r
+To: notmuch@notmuchmail.org\r
+From: Lele Gaifax <lele@metapensiero.it>\r
+Subject: Forwarding a mail, with a non-ASCII signature\r
+Date: Sun, 16 Nov 2014 15:18:22 +0100\r
+Organization: Nautilus Entertainments\r
+Lines: 30\r
+Message-ID: <87ioifb55d.fsf@nautilus.nautilus>\r
+Mime-Version: 1.0\r
+Content-Type: text/plain; charset=utf-8\r
+Content-Transfer-Encoding: 8bit\r
+X-Complaints-To: usenet@ger.gmane.org\r
+X-Gmane-NNTP-Posting-Host: 151.62.148.20\r
+User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.51 (gnu/linux)\r
+Cancel-Lock: sha1:kw12nGxAFUSUk+RThPPnzgn7QDI=\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: Sun, 16 Nov 2014 14:40:20 -0000\r
+\r
+Hi all,\r
+\r
+as you can see below, my signature contains some non-ASCII characters,\r
+and it is stored as UTF-8 (I have `(prefer-coding-system 'utf-8)` in my\r
+.emacs.el) in my home as ~/.signature.\r
+\r
+Recently I started using notmuch with Emacs as the main MUA, using\r
+message-mode to send emails. I'm *very* satisfied, BTW!\r
+\r
+Everything works great, except that when I "forward" an email message:\r
+in that case, the "*unsent mail*" buffer contains the original message\r
+within a "#mml" tag, followed by my signature, apparently appended as\r
+binary (e.g. instead of "vivrò" I see "vivr\303\262"). When I try to\r
+send it, I get the "Unreadable characters" prompt...\r
+\r
+I quickly inspected what notmuch-show-forward-message does, but AFAICT\r
+it does very little, delegating most of the work to message-mode: but\r
+doing the same from Gnus works ok, so I must be missing something.\r
+\r
+I also tried tweaking the message-default-charset, changing it from nil\r
+to utf-8, with the very same result.\r
+\r
+I'm using Emacs 24.4.51 compiled a few days ago, if that matters.\r
+\r
+Thank you for any hint,\r
+ciao, lele.\r
+-- \r
+nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri\r
+real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.\r
+lele@metapensiero.it  |                 -- Fortunato Depero, 1929.\r
+\r