problems viewing attachments in emacs ui
authorJameson Graef Rollins <jrollins@finestructure.net>
Sun, 28 Jul 2013 16:41:57 +0000 (09:41 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:56:10 +0000 (09:56 -0800)
20/4e4118aa27a1d2d68ae27962c747d10bc40ac6 [new file with mode: 0644]

diff --git a/20/4e4118aa27a1d2d68ae27962c747d10bc40ac6 b/20/4e4118aa27a1d2d68ae27962c747d10bc40ac6
new file mode 100644 (file)
index 0000000..d48b9c0
--- /dev/null
@@ -0,0 +1,113 @@
+Return-Path: <jrollins@finestructure.net>\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 CFB9F431FC0\r
+       for <notmuch@notmuchmail.org>; Sun, 28 Jul 2013 09:42:10 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -2.3\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_MED=-2.3] 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 x5bO+0RVHq-K for <notmuch@notmuchmail.org>;\r
+       Sun, 28 Jul 2013 09:42:05 -0700 (PDT)\r
+Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu\r
+       [131.215.239.19])\r
+       by olra.theworths.org (Postfix) with ESMTP id 52A64431FBF\r
+       for <notmuch@notmuchmail.org>; Sun, 28 Jul 2013 09:42:05 -0700 (PDT)\r
+Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])\r
+       by earth-doxen-postvirus (Postfix) with ESMTP id D73DC66E00EE\r
+       for <notmuch@notmuchmail.org>; Sun, 28 Jul 2013 09:42:04 -0700 (PDT)\r
+X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new\r
+Received: from finestructure.net (cpe-76-173-75-27.socal.res.rr.com\r
+       [76.173.75.27]) (Authenticated sender: jrollins)\r
+       by earth-doxen-submit (Postfix) with ESMTP id F00A566E00C1\r
+       for <notmuch@notmuchmail.org>; Sun, 28 Jul 2013 09:42:02 -0700 (PDT)\r
+Received: by finestructure.net (Postfix, from userid 1000)\r
+       id 4E61F62289; Sun, 28 Jul 2013 09:42:00 -0700 (PDT)\r
+From: Jameson Graef Rollins <jrollins@finestructure.net>\r
+To: Notmuch Mail <notmuch@notmuchmail.org>\r
+Subject: problems viewing attachments in emacs ui\r
+User-Agent: Notmuch/0.15.2+223~g3484372 (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Sun, 28 Jul 2013 09:41:57 -0700\r
+Message-ID: <87hafe4ox6.fsf@servo.finestructure.net>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; boundary="=-=-=";\r
+       micalg=pgp-sha256; protocol="application/pgp-signature"\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: Sun, 28 Jul 2013 16:42:10 -0000\r
+\r
+--=-=-=\r
+Content-Type: text/plain\r
+\r
+Hey, folks.  I've been experiencing a very annoying and persistent\r
+problem of late where the emacs ui is unable to pass message parts to\r
+external viewers.  Whenever I try to open an attachment or inline part\r
+in an external viewer, the helper application is launched, but it\r
+appears to never be able to find the temporary file.\r
+\r
+For instance, if I launch notmuch-show-view-part on an html part, my\r
+browser opens pointed at e.g. the following file:\r
+\r
+  file:///home/jrollins/tmp/emm.610040w/mm.6100F_2.htm\r
+\r
+But the browser shows the following error:\r
+\r
+  File not found\r
+  Iceweasel can't find the file at /home/jrollins/tmp/emm.610040w/mm.6100F_2.htm.\r
+\r
+And sure enough, the file is not there.  html parts are definitely the\r
+worst, since they seem to never be copied to their temporary file paths\r
+at all, but it happens with pretty much all other part types as well,\r
+although with slightly different behavior: e.g. image and pdf parts will\r
+open in external viewers BRIEFLY, before the temporary file appears to\r
+be yanked out from under them as well (at which point, depending on the\r
+app, they complain that the file is no longer there they stop displaying\r
+it).  I've even tried creating my own part handler to capture the temp\r
+file immediately into *another* tempfile, in the hopes of catching it,\r
+but that doesn't seem to help either.\r
+\r
+This is obviously quite frustrating, since I have to view attachments\r
+outside of emacs quite frequently.  I think I've heard speculation on\r
+IRC that this is an emacs24 bug.  I'm kind of at a loss at this point\r
+for how to get around the issue.  Any help would be very much\r
+appreciated!\r
+\r
+jamie.\r
+\r
+--=-=-=\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v1.4.12 (GNU/Linux)\r
+\r
+iQIcBAEBCAAGBQJR9UnWAAoJEO00zqvie6q84GwP/jHQQ+ap3OQXOdLHfpweWD08\r
+3T560h8o+1TzkK3nIA6amflNTt7ud/8YbfzhNfXnRE82gKZFjzpjqRHqs0nO0jSE\r
+5w6G/w87Iq41/R+kF3mwnTiihcrPlEmDwSSMUQp/74TSP00bvKx8B2g1FTpQSIoM\r
+C13m4/lRswNJrzc0dyx9ap2pht4iHkXMWjLo+SlL8rEtqjotPnPD5IKuIP1IPjMQ\r
+xSgvzV2Nww+G4hzXTcLRroJQJBVq9JykbKB8+X+kfXjyu/57kbtiJfjFHQ62/hnR\r
+6IGxFcYNmbSGINjv2ElD1Dj1JNoNw/7/OMFviA4A5qOMQskj6idgu/DZwXAPTof8\r
+uHeq5MbxnocnkIEXUqbEIYs1iD4FP3y3ZgZU0eKEY3lMmsd6Bvf+jl09fbQ1Bee4\r
+d6phgID96UQ8VPfpC4QSjmYIuX6F7i5xGrkZfRIrX+7TMw9UpzKycZgYSVl8nKk9\r
+4xaK6K7xEdVWkrjrAAzmjzJtAfEdmPA3WVAJPruDPbSPQUHs9xdP7InZB+ULrP11\r
+yfsac0EiabTT6ufaDwoAJOCWfdRWQLpIW/j+d5lFLTt4B0BhU28Z7eyqWAkLWZuU\r
+2co6eStN3qU+jYfN1ScGmc/fyuge3ZWXdYDnL/jhXVtIzVBSNPJEkoSwBB90jB+W\r
+BCU35xtrgyUc/KgML91E\r
+=Wt15\r
+-----END PGP SIGNATURE-----\r
+--=-=-=--\r