Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1A344431FBC for ; Mon, 17 Nov 2014 08:56:21 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.165 X-Spam-Level: X-Spam-Status: No, score=0.165 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_NUMERIC_HELO=0.865] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Pti3nq5r+3qB for ; Mon, 17 Nov 2014 08:56:13 -0800 (PST) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 1EB62431FB6 for ; Mon, 17 Nov 2014 08:56:13 -0800 (PST) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XqPaw-0005A9-VG for notmuch@notmuchmail.org; Mon, 17 Nov 2014 17:56:06 +0100 Received: from 151.62.83.181 ([151.62.83.181]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Nov 2014 17:56:06 +0100 Received: from lele by 151.62.83.181 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 17 Nov 2014 17:56:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: notmuch@notmuchmail.org From: Lele Gaifax Subject: Re: Forwarding a mail, with a non-ASCII signature Date: Mon, 17 Nov 2014 17:55:53 +0100 Organization: Nautilus Entertainments Lines: 43 Message-ID: <87ioid7ome.fsf@nautilus.nautilus> References: <87ioifb55d.fsf@nautilus.nautilus> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 151.62.83.181 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.51 (gnu/linux) Cancel-Lock: sha1:G8KHWWfaxEYN5uvFvjjyVTRbBNo= X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Nov 2014 16:56:21 -0000 David Edmondson 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.