Re: Forwarding a mail, with a non-ASCII signature
authorDavid Edmondson <dme@dme.org>
Mon, 17 Nov 2014 17:25:25 +0000 (17:25 +0000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:46:44 +0000 (14:46 -0700)
b5/fe8d92d133b59ba0beb32fe111c2537b90958f [new file with mode: 0644]

diff --git a/b5/fe8d92d133b59ba0beb32fe111c2537b90958f b/b5/fe8d92d133b59ba0beb32fe111c2537b90958f
new file mode 100644 (file)
index 0000000..0033eb4
--- /dev/null
@@ -0,0 +1,101 @@
+Return-Path: <dme@dme.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id E72BF431FBC\r
+       for <notmuch@notmuchmail.org>; Mon, 17 Nov 2014 09:25:33 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.699\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7, UNPARSEABLE_RELAY=0.001]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id LugmTIICeeVA for <notmuch@notmuchmail.org>;\r
+       Mon, 17 Nov 2014 09:25:29 -0800 (PST)\r
+Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com\r
+       [209.85.212.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id ED570431FB6\r
+       for <notmuch@notmuchmail.org>; Mon, 17 Nov 2014 09:25:28 -0800 (PST)\r
+Received: by mail-wi0-f175.google.com with SMTP id l15so6528340wiw.2\r
+       for <notmuch@notmuchmail.org>; Mon, 17 Nov 2014 09:25:27 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:to:subject:in-reply-to:references:user-agent\r
+       :from:date:message-id:mime-version:content-type;\r
+       bh=Qz316R/9zd8i0OpoR8pUwLyyGxyZO9QRLxEW/lVPVHk=;\r
+       b=TCFHlV6LjTVDUD+VecDgNKLmbwi+ilsoqpUPVhtQePD6vLFqGf1nzxh6jEo5KVn1/m\r
+       5L0He1iX1Nlw9ua8LaP26BOOuUCBDFwTg7gG8dKopQeI94RQoQN6ykgyopcB3c7+jKyK\r
+       4GCMAODFVY4nO/83bgFacMFiPaVAnVUK4KyB84iD/TA87f9Bm2v7l6QdoICot8/IJB9P\r
+       6H2Y/6Cvu3cCUDn59e7OdvEh5vzvTJCKNkx7UnoC5CBNBRsh8IEvPYFNq8uToRbg8P+R\r
+       HenhOKAUO3FYoe+wgpoqUsQYH8sAGMD7r2DTOIkF5fSYVNjIg8EXuPb5W9MMnV58yF44\r
+       jHiA==\r
+X-Gm-Message-State:\r
+ ALoCoQlJ9YW7BQ2AlA1jrwtlKxUrd2QOlZfarvnCQGCCNwRM2J+H6yyXcTAZfG8JpbchhIyUBNic\r
+X-Received: by 10.194.223.9 with SMTP id qq9mr19274973wjc.36.1416245127376;\r
+       Mon, 17 Nov 2014 09:25:27 -0800 (PST)\r
+Received: from disaster-area.hh.sledj.net\r
+       ([2a01:348:1a2:1:ea39:35ff:fe2c:a227])\r
+       by mx.google.com with ESMTPSA id\r
+       fq1sm16080993wib.12.2014.11.17.09.25.26 for <multiple recipients>\r
+       (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
+       Mon, 17 Nov 2014 09:25:26 -0800 (PST)\r
+Received: from localhost (30000@localhost [local]);\r
+       by localhost (OpenSMTPD) with ESMTPA id e403c6a2;\r
+       Mon, 17 Nov 2014 17:25:25 +0000 (UTC)\r
+To: Lele Gaifax <lele@metapensiero.it>, notmuch@notmuchmail.org\r
+Subject: Re: Forwarding a mail, with a non-ASCII signature\r
+In-Reply-To: <87ioid7ome.fsf@nautilus.nautilus>\r
+References: <87ioifb55d.fsf@nautilus.nautilus>\r
+       <cunbno62dga.fsf@gargravarr.hh.sledj.net>\r
+       <87ioid7ome.fsf@nautilus.nautilus>\r
+User-Agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1\r
+       (x86_64-pc-linux-gnu)\r
+From: David Edmondson <dme@dme.org>\r
+Date: Mon, 17 Nov 2014 17:25:25 +0000\r
+Message-ID: <cunfvdh20ze.fsf@gargravarr.hh.sledj.net>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 17 Nov 2014 17:25:34 -0000\r
+\r
+On Mon, Nov 17 2014, Lele Gaifax wrote:\r
+>> Could you try this patch please?\r
+>> \r
+>> diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el\r
+>> index 6e03f1e..1592ca9 100644\r
+>> --- a/emacs/notmuch-show.el\r
+>> +++ b/emacs/notmuch-show.el\r
+>> @@ -235,9 +235,9 @@ For example, if you wanted to remove an \"unread\" tag and add a\r
+>>         (let ((buf (generate-new-buffer (concat "*notmuch-msg-" id "*"))))\r
+>>           (with-current-buffer buf\r
+>>        (let ((coding-system-for-read 'no-conversion))\r
+>> -        (call-process notmuch-command nil t nil "show" "--format=raw" id)\r
+>> -        ,@body)\r
+>> -      (kill-buffer buf))))))\r
+>> +        (call-process notmuch-command nil t nil "show" "--format=raw" id))\r
+>> +      ,@body)\r
+>> +    (kill-buffer buf)))))\r
+>>  \r
+>>  (defun notmuch-show-turn-on-visual-line-mode ()\r
+>>    "Enable Visual Line mode."\r
+>\r
+> Yes! This works great, with it the forward buffer contains the signature\r
+> loaded with the correct encoding, and the sendmail succeeds without\r
+> prompting about unreadable chars.\r
+\r
+That's good, thanks for testing. I'll work up and submit a proper patch.\r