Forwarding a mail, with a non-ASCII signature

Lele Gaifax lele at metapensiero.it
Mon Nov 17 08:55:53 PST 2014


David Edmondson <dme at 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)
> -	     , at body)
> -	   (kill-buffer buf))))))
> +	     (call-process notmuch-command nil t nil "show" "--format=raw" id))
> +	   , at 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 at metapensiero.it  |                 -- Fortunato Depero, 1929.



More information about the notmuch mailing list