unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lele Gaifax <lele@metapensiero.it>
To: help-gnu-emacs@gnu.org
Subject: Message mode with non-ASCII signature
Date: Wed, 12 Nov 2014 21:12:43 +0100	[thread overview]
Message-ID: <87zjbwb2kk.fsf@nautilus.nautilus> (raw)

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.




                 reply	other threads:[~2014-11-12 20:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zjbwb2kk.fsf@nautilus.nautilus \
    --to=lele@metapensiero.it \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).