Re: Forwarding a mail, with a non-ASCII signature
[notmuch-archives.git] / b5 / fe8d92d133b59ba0beb32fe111c2537b90958f
1 Return-Path: <dme@dme.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id E72BF431FBC\r
6         for <notmuch@notmuchmail.org>; Mon, 17 Nov 2014 09:25:33 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.699\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001]\r
13         autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id LugmTIICeeVA for <notmuch@notmuchmail.org>;\r
17         Mon, 17 Nov 2014 09:25:29 -0800 (PST)\r
18 Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com\r
19         [209.85.212.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id ED570431FB6\r
22         for <notmuch@notmuchmail.org>; Mon, 17 Nov 2014 09:25:28 -0800 (PST)\r
23 Received: by mail-wi0-f175.google.com with SMTP id l15so6528340wiw.2\r
24         for <notmuch@notmuchmail.org>; Mon, 17 Nov 2014 09:25:27 -0800 (PST)\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26         d=1e100.net; s=20130820;\r
27         h=x-gm-message-state:to:subject:in-reply-to:references:user-agent\r
28         :from:date:message-id:mime-version:content-type;\r
29         bh=Qz316R/9zd8i0OpoR8pUwLyyGxyZO9QRLxEW/lVPVHk=;\r
30         b=TCFHlV6LjTVDUD+VecDgNKLmbwi+ilsoqpUPVhtQePD6vLFqGf1nzxh6jEo5KVn1/m\r
31         5L0He1iX1Nlw9ua8LaP26BOOuUCBDFwTg7gG8dKopQeI94RQoQN6ykgyopcB3c7+jKyK\r
32         4GCMAODFVY4nO/83bgFacMFiPaVAnVUK4KyB84iD/TA87f9Bm2v7l6QdoICot8/IJB9P\r
33         6H2Y/6Cvu3cCUDn59e7OdvEh5vzvTJCKNkx7UnoC5CBNBRsh8IEvPYFNq8uToRbg8P+R\r
34         HenhOKAUO3FYoe+wgpoqUsQYH8sAGMD7r2DTOIkF5fSYVNjIg8EXuPb5W9MMnV58yF44\r
35         jHiA==\r
36 X-Gm-Message-State:\r
37  ALoCoQlJ9YW7BQ2AlA1jrwtlKxUrd2QOlZfarvnCQGCCNwRM2J+H6yyXcTAZfG8JpbchhIyUBNic\r
38 X-Received: by 10.194.223.9 with SMTP id qq9mr19274973wjc.36.1416245127376;\r
39         Mon, 17 Nov 2014 09:25:27 -0800 (PST)\r
40 Received: from disaster-area.hh.sledj.net\r
41         ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
42         by mx.google.com with ESMTPSA id\r
43         fq1sm16080993wib.12.2014.11.17.09.25.26 for <multiple recipients>\r
44         (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
45         Mon, 17 Nov 2014 09:25:26 -0800 (PST)\r
46 Received: from localhost (30000@localhost [local]);\r
47         by localhost (OpenSMTPD) with ESMTPA id e403c6a2;\r
48         Mon, 17 Nov 2014 17:25:25 +0000 (UTC)\r
49 To: Lele Gaifax <lele@metapensiero.it>, notmuch@notmuchmail.org\r
50 Subject: Re: Forwarding a mail, with a non-ASCII signature\r
51 In-Reply-To: <87ioid7ome.fsf@nautilus.nautilus>\r
52 References: <87ioifb55d.fsf@nautilus.nautilus>\r
53         <cunbno62dga.fsf@gargravarr.hh.sledj.net>\r
54         <87ioid7ome.fsf@nautilus.nautilus>\r
55 User-Agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1\r
56         (x86_64-pc-linux-gnu)\r
57 From: David Edmondson <dme@dme.org>\r
58 Date: Mon, 17 Nov 2014 17:25:25 +0000\r
59 Message-ID: <cunfvdh20ze.fsf@gargravarr.hh.sledj.net>\r
60 MIME-Version: 1.0\r
61 Content-Type: text/plain\r
62 X-BeenThere: notmuch@notmuchmail.org\r
63 X-Mailman-Version: 2.1.13\r
64 Precedence: list\r
65 List-Id: "Use and development of the notmuch mail system."\r
66         <notmuch.notmuchmail.org>\r
67 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
68         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
69 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
70 List-Post: <mailto:notmuch@notmuchmail.org>\r
71 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
72 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
73         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
74 X-List-Received-Date: Mon, 17 Nov 2014 17:25:34 -0000\r
75 \r
76 On Mon, Nov 17 2014, Lele Gaifax wrote:\r
77 >> Could you try this patch please?\r
78 >> \r
79 >> diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
80 >> index 6e03f1e..1592ca9 100644\r
81 >> --- a/emacs/notmuch-show.el\r
82 >> +++ b/emacs/notmuch-show.el\r
83 >> @@ -235,9 +235,9 @@ For example, if you wanted to remove an \"unread\" tag and add a\r
84 >>         (let ((buf (generate-new-buffer (concat "*notmuch-msg-" id "*"))))\r
85 >>           (with-current-buffer buf\r
86 >>         (let ((coding-system-for-read 'no-conversion))\r
87 >> -         (call-process notmuch-command nil t nil "show" "--format=raw" id)\r
88 >> -         ,@body)\r
89 >> -       (kill-buffer buf))))))\r
90 >> +         (call-process notmuch-command nil t nil "show" "--format=raw" id))\r
91 >> +       ,@body)\r
92 >> +     (kill-buffer buf)))))\r
93 >>  \r
94 >>  (defun notmuch-show-turn-on-visual-line-mode ()\r
95 >>    "Enable Visual Line mode."\r
96 >\r
97 > Yes! This works great, with it the forward buffer contains the signature\r
98 > loaded with the correct encoding, and the sendmail succeeds without\r
99 > prompting about unreadable chars.\r
100 \r
101 That's good, thanks for testing. I'll work up and submit a proper patch.\r