unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* problems viewing attachments in emacs ui
@ 2013-07-28 16:41 Jameson Graef Rollins
  2013-07-28 17:06 ` Jameson Graef Rollins
  0 siblings, 1 reply; 9+ messages in thread
From: Jameson Graef Rollins @ 2013-07-28 16:41 UTC (permalink / raw)
  To: Notmuch Mail

[-- Attachment #1: Type: text/plain, Size: 1624 bytes --]

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.

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-07-31 15:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-28 16:41 problems viewing attachments in emacs ui Jameson Graef Rollins
2013-07-28 17:06 ` Jameson Graef Rollins
2013-07-29 11:07   ` David Bremner
2013-07-29 14:59     ` Daniel Kahn Gillmor
2013-07-29 15:33       ` Jameson Graef Rollins
2013-07-29 15:44         ` David Bremner
2013-07-31  2:53   ` Austin Clements
2013-07-31 14:55     ` Austin Clements
2013-07-31 15:05     ` Austin Clements

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).