Re: Problem with draft mails when using offlineimap
[notmuch-archives.git] / da / f4c93a8373a9b7e839369334f215d6732955ba
1 Return-Path: <matt@bubblegen.co.uk>\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 arlo.cworth.org (Postfix) with ESMTP id E8EC96DE13E2\r
6  for <notmuch@notmuchmail.org>; Tue, 10 Nov 2015 07:06:09 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.625\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.625 tagged_above=-999 required=5 tests=[AWL=0.075,\r
12   RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from arlo.cworth.org ([127.0.0.1])\r
14  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
15  with ESMTP id LdkAePH_9wtc for <notmuch@notmuchmail.org>;\r
16  Tue, 10 Nov 2015 07:06:07 -0800 (PST)\r
17 Received: from avasout04.plus.net (avasout04.plus.net [212.159.14.19])\r
18  by arlo.cworth.org (Postfix) with ESMTPS id 458EB6DE00DD\r
19  for <notmuch@notmuchmail.org>; Tue, 10 Nov 2015 07:06:06 -0800 (PST)\r
20 Received: from localhost ([84.93.237.98]) by avasout04 with smtp\r
21  id fr611r002283uBY01r62Mi; Tue, 10 Nov 2015 15:06:04 +0000\r
22 X-CM-Score: 0.00\r
23 X-CNFS-Analysis: v=2.1 cv=CvRCCSMD c=1 sm=1 tr=0\r
24  a=BJaFPv9AyABFDM2hXLRoEA==:117 a=BJaFPv9AyABFDM2hXLRoEA==:17 a=0Bzu9jTXAAAA:8\r
25  a=80hmnl3cAAAA:8 a=8nJEP1OIZ-IA:10 a=qtqOOiqGOCEA:10 a=c5rw0FqAVtnqQZv9o64A:9\r
26  a=wPNLvfGTeEIA:10\r
27 Received: from localhost ([127.0.0.1] helo=webmail.plus.net)\r
28  by localhost with esmtp (Exim 4.76)\r
29  (envelope-from <matt@bubblegen.co.uk>)\r
30  id 1ZwAUj-0007HF-6k; Tue, 10 Nov 2015 15:06:01 +0000\r
31 Received: from 216.31.211.11 (proxying for unknown)\r
32  (SquirrelMail authenticated user bubblegen+matt)\r
33  by webmail.plus.net with HTTP; Tue, 10 Nov 2015 15:06:01 -0000\r
34 Message-ID: <5b7cdc1b10597d9f667939cf4f0b45d4.squirrel@webmail.plus.net>\r
35 In-Reply-To: <871tbz8bil.fsf@qmul.ac.uk>\r
36 References: <430FC760-8BF5-4798-89B5-E7F2A16564B7@bubblegen.co.uk>\r
37  <87h9l0qg1p.fsf@alice.fifthhorseman.net>\r
38  <847CC903-FE82-49B4-A3D6-1070D58BF2F3@bubblegen.co.uk>\r
39  <871tbz8bil.fsf@qmul.ac.uk>\r
40 Date: Tue, 10 Nov 2015 15:06:01 -0000\r
41 Subject: Re: notmuch-emacs: forward messages inline\r
42 From: "Matthew Lear" <matt@bubblegen.co.uk>\r
43 To: "Mark Walters" <markwalters1009@gmail.com>\r
44 Cc: "Matthew Lear" <matt@bubblegen.co.uk>,\r
45  "Daniel Kahn Gillmor" <dkg@fifthhorseman.net>,\r
46  "notmuch\@notmuchmail.org" <notmuch@notmuchmail.org>\r
47 Reply-To: matt@bubblegen.co.uk\r
48 User-Agent: SquirrelMail\r
49 MIME-Version: 1.0\r
50 Content-Type: text/plain;charset=iso-8859-1\r
51 Content-Transfer-Encoding: 8bit\r
52 X-Priority: 3 (Normal)\r
53 Importance: Normal\r
54 X-BeenThere: notmuch@notmuchmail.org\r
55 X-Mailman-Version: 2.1.20\r
56 Precedence: list\r
57 List-Id: "Use and development of the notmuch mail system."\r
58  <notmuch.notmuchmail.org>\r
59 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
60  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
61 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
62 List-Post: <mailto:notmuch@notmuchmail.org>\r
63 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
64 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
65  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
66 X-List-Received-Date: Tue, 10 Nov 2015 15:06:10 -0000\r
67 \r
68 >\r
69 > Hi\r
70 >\r
71 > Does adding something like the following to your .emacs file do what you\r
72 > want?\r
73 >\r
74 >\r
75 > (defun my-forward (prefix)\r
76 >   (interactive "P")\r
77 >   (let ((message-forward-as-mime nil)\r
78 >       (message-forward-ignored-headers ".*"))\r
79 >     (notmuch-show-forward-message prefix)))\r
80 >\r
81 > (define-key notmuch-show-mode-map "F" 'my-forward)\r
82 >\r
83 > Then "F" should forward the message as a plain message rather than\r
84 > rfc822, and there should not be any spurious headers.\r
85 \r
86 Hi Mark. Yes, thanks. For plain text emails this is perfect in that it\r
87 gives me what I want (and I can customise the start/end of forwarded\r
88 message separators). For messages with text and html versions of the body\r
89 it is less ideal because it generates an email with three attachments -\r
90 one with the plain text of the message body, one with the html of the\r
91 message body and one that just contains the 'end of forwarded message'\r
92 separator. I'd prefer that the plain text message body was included inline\r
93 and that the html portion was the only attachment in this case. Is this\r
94 possible?\r
95 --  Matt\r
96 \r