From: Lele Gaifax <lele@metapensiero.it>
To: notmuch@notmuchmail.org
Subject: Re: Forwarding a mail, with a non-ASCII signature
Date: Mon, 17 Nov 2014 17:55:53 +0100 [thread overview]
Message-ID: <87ioid7ome.fsf@nautilus.nautilus> (raw)
In-Reply-To: cunbno62dga.fsf@gargravarr.hh.sledj.net
David Edmondson <dme@dme.org> writes:
> How do you insert the signature? That is, do you have some bits of
> configuration that add the signature to outgoing messages?
Nothing special, just the following config snippet in my .gnus.el::
(setq gnus-posting-styles
'((".*"
(signature-file "~/.signature")
(name "Lele Gaifax")
(organization "Nautilus Entertainments"))))
> Could you try this patch please?
>
> diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el
> index 6e03f1e..1592ca9 100644
> --- a/emacs/notmuch-show.el
> +++ b/emacs/notmuch-show.el
> @@ -235,9 +235,9 @@ For example, if you wanted to remove an \"unread\" tag and add a
> (let ((buf (generate-new-buffer (concat "*notmuch-msg-" id "*"))))
> (with-current-buffer buf
> (let ((coding-system-for-read 'no-conversion))
> - (call-process notmuch-command nil t nil "show" "--format=raw" id)
> - ,@body)
> - (kill-buffer buf))))))
> + (call-process notmuch-command nil t nil "show" "--format=raw" id))
> + ,@body)
> + (kill-buffer buf)))))
>
> (defun notmuch-show-turn-on-visual-line-mode ()
> "Enable Visual Line mode."
Yes! This works great, with it the forward buffer contains the signature
loaded with the correct encoding, and the sendmail succeeds without
prompting about unreadable chars.
Thanks a lot for fixing it,
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.
next prev parent reply other threads:[~2014-11-17 16:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-16 14:18 Forwarding a mail, with a non-ASCII signature Lele Gaifax
2014-11-16 14:56 ` Jani Nikula
2014-11-16 15:43 ` Lele Gaifax
2014-11-17 12:56 ` David Edmondson
2014-11-17 16:55 ` Lele Gaifax [this message]
2014-11-17 17:25 ` David Edmondson
2014-11-18 7:04 ` David Edmondson
2014-11-17 14:02 ` David Edmondson
2014-11-28 7:35 ` David Bremner
2014-11-28 18:35 ` Lele Gaifax
2014-11-29 7:17 ` David Bremner
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://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ioid7ome.fsf@nautilus.nautilus \
--to=lele@metapensiero.it \
--cc=notmuch@notmuchmail.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.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
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).