Discussion:
[VM] multipart messages
Julian Bradfield
2012-02-13 12:58:21 UTC
Permalink
How do I get vm to give me buttons for all the objects in a
multipart/alternative or multipart/related message (usually so I can
delete them, but maybe I want to see an image referenced by the html
(which I will have converted to text)) ?
Ralf Fassel
2012-02-13 15:33:23 UTC
Permalink
* Julian Bradfield <jcb+***@jcbradfield.org>
| How do I get vm to give me buttons for all the objects in a
| multipart/alternative or multipart/related message (usually so I can
| delete them, but maybe I want to see an image referenced by the html
| (which I will have converted to text)) ?

Related topic: is there a way to temporarily display the 'other' part of
a multipart/alternative message? Some MUAs are too dumb to include
common parts like PDFs or pictures in a way that both text/plain and
text/html see them -- they are only present in text/html. While I have
set VM to always display text/plain, sometimes I'd like to see the
'other' part as well. Currently I toggle via 'D' to see whether the
HTML part has more to offer...

R'
Julian Bradfield
2012-02-13 15:59:10 UTC
Permalink
Post by Ralf Fassel
a multipart/alternative message? Some MUAs are too dumb to include
common parts like PDFs or pictures in a way that both text/plain and
text/html see them -- they are only present in text/html. While I have
"Some MUAs"...you mean Apple Mail, right? I've never seen the problem
with anyone else.
Quite how Apple can survive for long when they have *never* had a
working mail client, I do not know!

I'd also be interested in this - at present, I pre-process my mail
before it hits my inbox, and this deals with some Apple lossage, but
not completely.
Ralf Fassel
2012-02-13 19:23:26 UTC
Permalink
* Julian Bradfield <jcb+***@jcbradfield.org>
| On 2012-02-13, Ralf Fassel <***@gmx.de> wrote:
| > Some MUAs are too dumb to include common parts like PDFs or pictures
| > in a way that both text/plain and text/html see them -- they are
| > only present in text/html.
| "Some MUAs"...you mean Apple Mail, right? I've never seen the problem
| with anyone else.

Incidentally, yes :-)

R'
Uday Reddy
2012-02-13 17:42:20 UTC
Permalink
Post by Ralf Fassel
Related topic: is there a way to temporarily display the 'other' part of
a multipart/alternative message? Some MUAs are too dumb to include
common parts like PDFs or pictures in a way that both text/plain and
text/html see them -- they are only present in text/html. While I have
set VM to always display text/plain, sometimes I'd like to see the
'other' part as well. Currently I toggle via 'D' to see whether the
HTML part has more to offer...
I actually use toggling function that alternates between the various
options.

(defun vm-alternatives ()
"Toggle MIME alternatives"
(interactive)
(cond ((eq vm-mime-alternative-select-method 'best-internal)
(setq vm-mime-alternative-select-method 'best)
(vm-scroll-forward)
(message "Showing best alternatives"))
((eq vm-mime-alternative-select-method 'best)
(setq vm-mime-alternative-select-method 'all)
(vm-scroll-forward)
(message "Showing all alternatives"))
((eq vm-mime-alternative-select-method 'all)
(setq vm-mime-alternative-select-method 'best-internal)
(vm-scroll-forward)
(message "Showing best internal alternatives"))
))

Cheers,
Uday
Ralf Fassel
2012-02-13 21:27:29 UTC
Permalink
* Uday Reddy <***@gmail.com>
| (defun vm-alternatives ()
| "Toggle MIME alternatives"
| (interactive)

Thanks, exactly what I was looking for.

R'

Uday Reddy
2012-02-13 17:39:04 UTC
Permalink
Post by Julian Bradfield
How do I get vm to give me buttons for all the objects in a
multipart/alternative or multipart/related message (usually so I can
delete them, but maybe I want to see an image referenced by the html
(which I will have converted to text)) ?
(setq vm-mime-alternative-show-method 'all)

For multipart/related, on the other hand, there are no controls. It can go
on the wish list.

Cheers,
Uday
Julian Bradfield
2012-02-13 17:44:20 UTC
Permalink
Post by Uday Reddy
(setq vm-mime-alternative-show-method 'all)
Would be good if that variable's documentation string mentioned
that. It only describes 'best and a favorite list.
Post by Uday Reddy
For multipart/related, on the other hand, there are no controls. It can go
on the wish list.
Since an MUA client that can't present multipart/related is
REQUIRED to treat it as multipart/mixed, perhaps it should be a bug
rather than a wish.
Uday Reddy
2012-02-13 17:56:15 UTC
Permalink
Post by Julian Bradfield
Since an MUA client that can't present multipart/related is
REQUIRED to treat it as multipart/mixed, perhaps it should be a bug
rather than a wish.
Please feel free to browse (and add your interest to):

https://bugs.launchpad.net/vm/+bug/881411

Cheers,
Uday
Continue reading on narkive:
Loading...