Discussion:
[VM] automatic display of mime messages
l***@hare.demon.co.uk
2012-06-04 07:46:13 UTC
Permalink
Hi:
I've read & read the vm info pages but I still can't get automatic display of mine encoded messages to work. Please could someone point out out what I'm doing wrong?

VM version is: 8.2.0b

Presentation buffer has one highlighted row with a button -

xHTML (windows-1252): <no suggested filename>, HTML [display]

If I press enter on this the mine content displays fine,

My vm mine settings:

(setq vm-auto-decode-mime-messages t)
(setq vm-mime-decode-for-preview t)
(setq vm-mime-auto-displayed-content-types t)
(setq vm-mime-internal-content-types t)

Which I think should turn on automatic mime display for everything.


Thanks.
--
Les Smithson
Uday Reddy
2012-06-04 08:57:02 UTC
Permalink
Post by l***@hare.demon.co.uk
I've read & read the vm info pages but I still can't get automatic display
of mine encoded messages to work. Please could someone point out out what
I'm doing wrong?
It is a good idea *not* to customize variables unless you really need to.
All the settings you have listed below are either the defaults or they are
covered by defaults. So, they don't achieve anything.
Post by l***@hare.demon.co.uk
(setq vm-auto-decode-mime-messages t)
(setq vm-mime-decode-for-preview t)
(setq vm-mime-auto-displayed-content-types t)
(setq vm-mime-internal-content-types t)
What you seem to want is to use an *external* viewer for HTML. VM will try
to display it internally if at all possible. The method being used to
display it can be seen in the value of `vm-mime-text/html-handler'. This is
automatically set by VM when it starts up, based on what is available in
your environment. It is likely that this method is breaking and, so, you
are getting a button instead of an internal display. You can look at the
*Messages* buffer to see if any error messages have been generated.

To override this automatic function, you can set the variable
`vm-mime-text/html-handler' to nil in your .vm file.

Or you can also exclude HTML from being viewed internally by setting

(setq vm-mime-internal-content-type-exceptions '("text/html"))

Cheers,
Uday
l***@hare.demon.co.uk
2012-06-04 11:16:58 UTC
Permalink
Post by Uday Reddy
What you seem to want is to use an *external* viewer for HTML. VM will try
to display it internally if at all possible. The method being used to
Actually what I want is for vm to automatically display mime internally, just as if I had hit enter on the attachment.

Is that possible?
Post by Uday Reddy
Cheers,
Uday
--
Les Smithson
Uday Reddy
2012-06-04 12:43:29 UTC
Permalink
Post by l***@hare.demon.co.uk
Actually what I want is for vm to automatically display mime internally,
just as if I had hit enter on the attachment.
Is that possible?
Yes it is possible. The default settings already do that.

If it is not working for you, it is because something is breaking. You need
to investigate what is breaking.

Cheers,
Uday

Continue reading on narkive:
Loading...