← Back to team overview

vm team mailing list archive

[Bug 499742] Re: display default multipart/alternative method and show-alternatives

 

Ok, I started with a .vm file containing just the following lines:

(setq vm-mime-internal-content-type-exceptions '("text/html"))
(add-to-list 'vm-mime-type-converter-alist
	     '("text/html" "text/plain" 
	       "lynx -force_html -dump -pseudo_inlines -stdin"))
(setq vm-mime-show-alternatives t)

Both text/plain and text/html were displayed.  Is this what you get?

This behaviour seems reasonable because show-alternatives is true.  So,
both the alternatives are displayed.

In my normal use, I don't use a converter for text/html.  So, I get a
button displayed for it, and I can click it to send the content to a web
browser.

vm-mime-alternative-select-method doesn't seem to have any effect once you have show-alternatives set to t.  If you set it to nil, then the 'best method chooses text/html and lynx, 'best-internal chooses text/plain. The 'mixed method is displaying both, but I never knew what 'mixed is for.  There is no documentation on it.
-------
I am beginning to understand what you are after.  You want the alternative-select-method to continue its effect even if show-alternatives is set to t.  You want the unselected alternatives to be displayed as buttons.  Am I right?

Uday



** Changed in: vm
       Status: Incomplete => Triaged

** Changed in: vm
   Importance: Low => Wishlist

-- 
display default multipart/alternative method and show-alternatives
https://bugs.launchpad.net/bugs/499742
You received this bug notification because you are a member of VM
development team, which is the registrant for VM.

Status in VM (View Mail) for Emacs: Triaged

Bug description:
vm 8.1.0-beta

Enhancement request:

Often get multipart/alternative mail, would normally like to display the text/plain version
by default, but sometimes this just indicates the mail is html, rather than being a ture
alternative format.

Would like to be able to both display the default and get the vm-mime-show-alternatives 
buttons to be able to show the other parts. 

Also vm-mime.el has some checks for vm-mime-show-alternatives being 'mixed, nowever this is not
documented in the info file.

thans!





Follow ups

References