From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lele Gaifax Newsgroups: gmane.emacs.help Subject: Message mode with non-ASCII signature Date: Wed, 12 Nov 2014 21:12:43 +0100 Organization: Nautilus Entertainments Message-ID: <87zjbwb2kk.fsf@nautilus.nautilus> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1415823215 14001 80.91.229.3 (12 Nov 2014 20:13:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2014 20:13:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 12 21:13:28 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XoeIB-0002If-FW for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Nov 2014 21:13:27 +0100 Original-Received: from localhost ([::1]:56564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoeIB-0003Rx-1c for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Nov 2014 15:13:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoeHp-0003Jn-CS for help-gnu-emacs@gnu.org; Wed, 12 Nov 2014 15:13:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XoeHh-00068G-9y for help-gnu-emacs@gnu.org; Wed, 12 Nov 2014 15:13:05 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:51969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoeHh-00067x-3L for help-gnu-emacs@gnu.org; Wed, 12 Nov 2014 15:12:57 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XoeHg-0001zb-2D for help-gnu-emacs@gnu.org; Wed, 12 Nov 2014 21:12:56 +0100 Original-Received: from 151.62.148.20 ([151.62.148.20]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Nov 2014 21:12:56 +0100 Original-Received: from lele by 151.62.148.20 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Nov 2014 21:12:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 151.62.148.20 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.51 (gnu/linux) Cancel-Lock: sha1:A9D2M4uW0AFI+vqCJxBxFIwAC4w= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100903 Archived-At: Hi all, as you can see below, my signature contains some non-ASCII characters, and it is stored as UTF-8 (I have `(prefer-coding-system 'utf-8)` in my .emacs.el) in my home as ~/.signature. Recently I started using notmuch with Emacs as the main MUA, using message-mode to send emails. Everything works great, except that when I "forward" an email message: in that case, the "*unsent mail*" buffer contains the original message within a "#mml" tag, followed by my signature, apparently appended as binary (e.g. instead of "vivrò" I see "vivr\303\262"). When I try to send it, I get the "Unreadable characters" prompt... I quickly inspected what notmuch-show-forward-message does, but AFAICT it does very little, delegating most of the work to message-mode: that's why I'm asking here first. I also tried tweaking the message-default-charset, changing it from nil to utf-8, with the very same result. I'm using Emacs 24.4.51 compiled a few days ago, if that matters. Thank you for any hint, ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929.