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