[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving attachments



Agreed. There is a bit of undocumented magic going on here that I've
not been able to fully grok. Pointers to explanations or success
stories would be appreciated.

E.g., to just extract the HTML and show it in a browser, "v"
(mime-preview-play-current-entity) should do the trick. But on my RHEL
system, it didn't work until I added:

    (setq mime-play-delete-file-immediately nil)
    (setq process-connection-type nil)

This gets around some bug in some systems. Even then, some of the
messages don't get opened in a browser, but in "gedit" (or somesuch),
presumably because "xdg-open" notices that the file doesn't start with
a proper "<html" tag (or something) and doesn't invoke the
browser. I'd really like a way to override that and always just open
the extracted text in a browser.

On Ubuntu, my colleague complains that often using "v" doesn't
actually open the extracted text in a browser, but opens it inside
emacs in some weird text buffer that emacs has tried to format.

Anyone know how this all is supposed to work?

Thomas

At Tue, 07 Oct 2014 21:30:44 +1100, Greg Bognar wrote:
> 
> When I try to save an attachment by pressing `e'
> (`mime-preview-extract-current-entity'), I get a prompt "Methods:".  Its two
> options are `mime-save-content' and ` wl-mime-save-content'.  The two
> functions do the same thing in slightly different ways.
> 
> Is there a way to avoid having this prompt each time I save an attachment?
> Is there a variable that can record my preference?  It should not be
> necessary to go through this step every time.
> 
> (Actually, I think the same question applies to
> `mime-preview-play-current-entity' -- it should be possible to specify the
> program(s) one uses to view attachments.)
> 
> Any tips would be appreciated,
> Greg
>