Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 7c / 51196fd64cf261754b6c6ecf3b69dda7ac71c4
1 Return-Path: <jrollins@finestructure.net>\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 4C51A431FC3\r
6         for <notmuch@notmuchmail.org>; Mon, 29 Jul 2013 08:33:34 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -2.3\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id Yt9UDycsvy9F for <notmuch@notmuchmail.org>;\r
16         Mon, 29 Jul 2013 08:33:26 -0700 (PDT)\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
18         [131.215.239.19])\r
19         by olra.theworths.org (Postfix) with ESMTP id 220BE431FBF\r
20         for <notmuch@notmuchmail.org>; Mon, 29 Jul 2013 08:33:26 -0700 (PDT)\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
22         by earth-doxen-postvirus (Postfix) with ESMTP id A4AB066E01C7;\r
23         Mon, 29 Jul 2013 08:33:23 -0700 (PDT)\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
25 Received: from finestructure.net (cpe-76-173-75-27.socal.res.rr.com\r
26         [76.173.75.27]) (Authenticated sender: jrollins)\r
27         by earth-doxen-submit (Postfix) with ESMTP id 9153266E01A1;\r
28         Mon, 29 Jul 2013 08:33:18 -0700 (PDT)\r
29 Received: by finestructure.net (Postfix, from userid 1000)\r
30         id 212F762289; Mon, 29 Jul 2013 08:33:17 -0700 (PDT)\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>\r
32 To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>,\r
33         Notmuch Mail <notmuch@notmuchmail.org>\r
34 Subject: Re: problems viewing attachments in emacs ui\r
35 In-Reply-To: <51F68366.5070900@fifthhorseman.net>\r
36 References: <87hafe4ox6.fsf@servo.finestructure.net>\r
37         <87ehai4ns3.fsf@servo.finestructure.net>\r
38         <87ob9lipz5.fsf@zancas.localnet>\r
39         <51F68366.5070900@fifthhorseman.net>\r
40 User-Agent: Notmuch/0.15.2+223~g3484372 (http://notmuchmail.org) Emacs/24.3.1\r
41         (x86_64-pc-linux-gnu)\r
42 Date: Mon, 29 Jul 2013 08:33:13 -0700\r
43 Message-ID: <8738qx4c06.fsf@servo.finestructure.net>\r
44 MIME-Version: 1.0\r
45 Content-Type: multipart/signed; boundary="=-=-=";\r
46         micalg=pgp-sha256; protocol="application/pgp-signature"\r
47 X-BeenThere: notmuch@notmuchmail.org\r
48 X-Mailman-Version: 2.1.13\r
49 Precedence: list\r
50 List-Id: "Use and development of the notmuch mail system."\r
51         <notmuch.notmuchmail.org>\r
52 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
53         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
54 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
55 List-Post: <mailto:notmuch@notmuchmail.org>\r
56 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
57 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
58         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
59 X-List-Received-Date: Mon, 29 Jul 2013 15:33:34 -0000\r
60 \r
61 --=-=-=\r
62 Content-Type: text/plain\r
63 \r
64 On Mon, Jul 29 2013, Daniel Kahn Gillmor <dkg@fifthhorseman.net> wrote:\r
65 > hm.  there are some pretty serious consequences to feeding arbitrary\r
66 > html to your web browser via a file:/// URL.  In particular, your\r
67 > browser might execute arbitrary javascript (which itself can interact\r
68 > with the rest of your web browsing history and/or logged-in sessions),\r
69 > and might fetch data from outside sources (leaking at least information\r
70 > about when and from where you read your e-mail, and potentially other\r
71 > things).\r
72 \r
73 How is this any different than feeding arbitrary html to your browser\r
74 via an http:// URL?  In both cases it might execute arbitrary javascript\r
75 and interact with the rest of your browsing history.  Obviously it's not\r
76 any different.  I would certainly prefer to interact only with\r
77 authenticated content, but that's not a reasonable requirement at the\r
78 moment.  Until the entire web is https and all emails are signed I will\r
79 continue to need to view, with discretion, some unauthenticated html\r
80 content.\r
81 \r
82 I should also point out that the notmuch emacs client processes html\r
83 parts directly in the emacs session, which of course faces the same\r
84 issues.\r
85 \r
86 > One other approach that would address some of these other issues might\r
87 > be to open the html in a separate, temporary profile for your web\r
88 > browser, one that doesn't directly interact with your main web browsing\r
89 > profile (or any other browser profile).  This would also have the\r
90 > advantage of not terminating until the browser profile is closed.\r
91 >\r
92 > I know that chromium offers as --temp-profile argument that behaves this\r
93 > way.  I'm not sure how to do it with iceweasel -- you could do it\r
94 > manually, with a combination of -ProfileManager and -no-remote, then\r
95 > create a new profile, and then when done clean it up afterwards\r
96 > manually, but that sounds like a real pain.\r
97 \r
98 This is a somewhat useful solution, but it faces the same problems of\r
99 using multiple sessions when browsing the web.\r
100 \r
101 But none of this is really addressing the underlying issue, which is\r
102 that temporary files provided to external viewers are being deleted\r
103 prematurely when the viewer opens them in the background.  A more\r
104 general solution is still desired.\r
105 \r
106 jamie.\r
107 \r
108 --=-=-=\r
109 Content-Type: application/pgp-signature\r
110 \r
111 -----BEGIN PGP SIGNATURE-----\r
112 Version: GnuPG v1.4.12 (GNU/Linux)\r
113 \r
114 iQIcBAEBCAAGBQJR9os5AAoJEO00zqvie6q80TMP/RVteKm2ah6pguYMp5UjLdUB\r
115 dhrFxozYu+vZxkSLA9f2ESgs8E2j/Sqgw4u/KqX/Sy85fo4cHGuc6l6IxGRY79K1\r
116 +8MbYlzRlNrg6pftGSfs3juPsl+h48idqWFLBOeY2HpjdKFmjBgftkEXGjWtHco8\r
117 gK1CwLS1c5TC5cU/D1kM2lXKRjI++Nexm4DSq/8RJFnRjZDaKWM4UT6qVnhBqsyv\r
118 A9d2SqQy32SylnC5GoQLx4UQEzDoJHb59lNnP+bi2bvypxoOK/B0OPG2l/IHjJz1\r
119 o0wbQbcrboAZZehlnnG6+r1weAq7yoPV1XIAHnDKeaC8OVpvah6VPhjGPT3CDnbf\r
120 8qlU5Nf+ByccPknY8Zex8ZM3Jm4K6DgW814Ss5CgINzv189pw/GkKEG3BoCaMMuZ\r
121 aaslourrzaIESlFVMLw1sSvfll6yFJpGZbqHRJn6As3PrduZ2CsMxSrgCafZcKIC\r
122 GOVuWDrFByvXQop6e9uBREkJSg8fv9A5bWVzXev7zVpNY2k12C6AG3lhhU+KAvLj\r
123 gOWCrx43iK+4j5tkdB3ubdgcj0eBcTjAjsov5TShR5lRtloJPIAFMko5qqRxTOMI\r
124 XP93remEVuB9NK9+0K7Muhq9in20c1dK9+q+sED91tFGcH51+5ufdgTWTho87snK\r
125 96fwRNnSquQkj6HliGf5\r
126 =71as\r
127 -----END PGP SIGNATURE-----\r
128 --=-=-=--\r