Re: notmuch-emacs: forward messages inline
authorMatthew Lear <matt@bubblegen.co.uk>
Tue, 10 Nov 2015 23:06:01 +0000 (23:06 +0000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:50:03 +0000 (14:50 -0700)
da/f4c93a8373a9b7e839369334f215d6732955ba [new file with mode: 0644]

diff --git a/da/f4c93a8373a9b7e839369334f215d6732955ba b/da/f4c93a8373a9b7e839369334f215d6732955ba
new file mode 100644 (file)
index 0000000..610eaeb
--- /dev/null
@@ -0,0 +1,96 @@
+Return-Path: <matt@bubblegen.co.uk>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id E8EC96DE13E2\r
+ for <notmuch@notmuchmail.org>; Tue, 10 Nov 2015 07:06:09 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.625\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.625 tagged_above=-999 required=5 tests=[AWL=0.075,\r
+  RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id LdkAePH_9wtc for <notmuch@notmuchmail.org>;\r
+ Tue, 10 Nov 2015 07:06:07 -0800 (PST)\r
+Received: from avasout04.plus.net (avasout04.plus.net [212.159.14.19])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 458EB6DE00DD\r
+ for <notmuch@notmuchmail.org>; Tue, 10 Nov 2015 07:06:06 -0800 (PST)\r
+Received: from localhost ([84.93.237.98]) by avasout04 with smtp\r
+ id fr611r002283uBY01r62Mi; Tue, 10 Nov 2015 15:06:04 +0000\r
+X-CM-Score: 0.00\r
+X-CNFS-Analysis: v=2.1 cv=CvRCCSMD c=1 sm=1 tr=0\r
+ a=BJaFPv9AyABFDM2hXLRoEA==:117 a=BJaFPv9AyABFDM2hXLRoEA==:17 a=0Bzu9jTXAAAA:8\r
+ a=80hmnl3cAAAA:8 a=8nJEP1OIZ-IA:10 a=qtqOOiqGOCEA:10 a=c5rw0FqAVtnqQZv9o64A:9\r
+ a=wPNLvfGTeEIA:10\r
+Received: from localhost ([127.0.0.1] helo=webmail.plus.net)\r
+ by localhost with esmtp (Exim 4.76)\r
+ (envelope-from <matt@bubblegen.co.uk>)\r
+ id 1ZwAUj-0007HF-6k; Tue, 10 Nov 2015 15:06:01 +0000\r
+Received: from 216.31.211.11 (proxying for unknown)\r
+ (SquirrelMail authenticated user bubblegen+matt)\r
+ by webmail.plus.net with HTTP; Tue, 10 Nov 2015 15:06:01 -0000\r
+Message-ID: <5b7cdc1b10597d9f667939cf4f0b45d4.squirrel@webmail.plus.net>\r
+In-Reply-To: <871tbz8bil.fsf@qmul.ac.uk>\r
+References: <430FC760-8BF5-4798-89B5-E7F2A16564B7@bubblegen.co.uk>\r
+ <87h9l0qg1p.fsf@alice.fifthhorseman.net>\r
+ <847CC903-FE82-49B4-A3D6-1070D58BF2F3@bubblegen.co.uk>\r
+ <871tbz8bil.fsf@qmul.ac.uk>\r
+Date: Tue, 10 Nov 2015 15:06:01 -0000\r
+Subject: Re: notmuch-emacs: forward messages inline\r
+From: "Matthew Lear" <matt@bubblegen.co.uk>\r
+To: "Mark Walters" <markwalters1009@gmail.com>\r
+Cc: "Matthew Lear" <matt@bubblegen.co.uk>,\r
+ "Daniel Kahn Gillmor" <dkg@fifthhorseman.net>,\r
+ "notmuch\@notmuchmail.org" <notmuch@notmuchmail.org>\r
+Reply-To: matt@bubblegen.co.uk\r
+User-Agent: SquirrelMail\r
+MIME-Version: 1.0\r
+Content-Type: text/plain;charset=iso-8859-1\r
+Content-Transfer-Encoding: 8bit\r
+X-Priority: 3 (Normal)\r
+Importance: Normal\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 10 Nov 2015 15:06:10 -0000\r
+\r
+>\r
+> Hi\r
+>\r
+> Does adding something like the following to your .emacs file do what you\r
+> want?\r
+>\r
+>\r
+> (defun my-forward (prefix)\r
+>   (interactive "P")\r
+>   (let ((message-forward-as-mime nil)\r
+>      (message-forward-ignored-headers ".*"))\r
+>     (notmuch-show-forward-message prefix)))\r
+>\r
+> (define-key notmuch-show-mode-map "F" 'my-forward)\r
+>\r
+> Then "F" should forward the message as a plain message rather than\r
+> rfc822, and there should not be any spurious headers.\r
+\r
+Hi Mark. Yes, thanks. For plain text emails this is perfect in that it\r
+gives me what I want (and I can customise the start/end of forwarded\r
+message separators). For messages with text and html versions of the body\r
+it is less ideal because it generates an email with three attachments -\r
+one with the plain text of the message body, one with the html of the\r
+message body and one that just contains the 'end of forwarded message'\r
+separator. I'd prefer that the plain text message body was included inline\r
+and that the html portion was the only attachment in this case. Is this\r
+possible?\r
+--  Matt\r
+\r