From: David Edmondson Date: Mon, 17 Nov 2014 17:25:25 +0000 (+0000) Subject: Re: Forwarding a mail, with a non-ASCII signature X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=193435230844a9e5573f5910fbbb4087058a853f;p=notmuch-archives.git Re: Forwarding a mail, with a non-ASCII signature --- diff --git a/b5/fe8d92d133b59ba0beb32fe111c2537b90958f b/b5/fe8d92d133b59ba0beb32fe111c2537b90958f new file mode 100644 index 000000000..0033eb4a9 --- /dev/null +++ b/b5/fe8d92d133b59ba0beb32fe111c2537b90958f @@ -0,0 +1,101 @@ +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 E72BF431FBC + for ; Mon, 17 Nov 2014 09:25:33 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.699 +X-Spam-Level: +X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001] + 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 LugmTIICeeVA for ; + Mon, 17 Nov 2014 09:25:29 -0800 (PST) +Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com + [209.85.212.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id ED570431FB6 + for ; Mon, 17 Nov 2014 09:25:28 -0800 (PST) +Received: by mail-wi0-f175.google.com with SMTP id l15so6528340wiw.2 + for ; Mon, 17 Nov 2014 09:25:27 -0800 (PST) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=1e100.net; s=20130820; + h=x-gm-message-state:to:subject:in-reply-to:references:user-agent + :from:date:message-id:mime-version:content-type; + bh=Qz316R/9zd8i0OpoR8pUwLyyGxyZO9QRLxEW/lVPVHk=; + b=TCFHlV6LjTVDUD+VecDgNKLmbwi+ilsoqpUPVhtQePD6vLFqGf1nzxh6jEo5KVn1/m + 5L0He1iX1Nlw9ua8LaP26BOOuUCBDFwTg7gG8dKopQeI94RQoQN6ykgyopcB3c7+jKyK + 4GCMAODFVY4nO/83bgFacMFiPaVAnVUK4KyB84iD/TA87f9Bm2v7l6QdoICot8/IJB9P + 6H2Y/6Cvu3cCUDn59e7OdvEh5vzvTJCKNkx7UnoC5CBNBRsh8IEvPYFNq8uToRbg8P+R + HenhOKAUO3FYoe+wgpoqUsQYH8sAGMD7r2DTOIkF5fSYVNjIg8EXuPb5W9MMnV58yF44 + jHiA== +X-Gm-Message-State: + ALoCoQlJ9YW7BQ2AlA1jrwtlKxUrd2QOlZfarvnCQGCCNwRM2J+H6yyXcTAZfG8JpbchhIyUBNic +X-Received: by 10.194.223.9 with SMTP id qq9mr19274973wjc.36.1416245127376; + Mon, 17 Nov 2014 09:25:27 -0800 (PST) +Received: from disaster-area.hh.sledj.net + ([2a01:348:1a2:1:ea39:35ff:fe2c:a227]) + by mx.google.com with ESMTPSA id + fq1sm16080993wib.12.2014.11.17.09.25.26 for + (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); + Mon, 17 Nov 2014 09:25:26 -0800 (PST) +Received: from localhost (30000@localhost [local]); + by localhost (OpenSMTPD) with ESMTPA id e403c6a2; + Mon, 17 Nov 2014 17:25:25 +0000 (UTC) +To: Lele Gaifax , notmuch@notmuchmail.org +Subject: Re: Forwarding a mail, with a non-ASCII signature +In-Reply-To: <87ioid7ome.fsf@nautilus.nautilus> +References: <87ioifb55d.fsf@nautilus.nautilus> + + <87ioid7ome.fsf@nautilus.nautilus> +User-Agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 + (x86_64-pc-linux-gnu) +From: David Edmondson +Date: Mon, 17 Nov 2014 17:25:25 +0000 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain +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 17:25:34 -0000 + +On Mon, Nov 17 2014, Lele Gaifax wrote: +>> 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. + +That's good, thanks for testing. I'll work up and submit a proper patch.