Re: Forwarding a mail, with a non-ASCII signature

Subject: Re: Forwarding a mail, with a non-ASCII signature

Date: Mon, 17 Nov 2014 17:55:53 +0100

To: notmuch@notmuchmail.org

Cc:

From: Lele Gaifax


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.


Thread: