Article View: gnu.emacs.vm.bug
Article #531Re: Apple Mail and MIME attachment problems
From: Tim X
Date: Sun, 31 Dec 2006 02:54
Date: Sun, 31 Dec 2006 02:54
57 lines
3798 bytes
3798 bytes
Piet van Oostrum <piet@cs.uu.nl> writes:
>>>>>> Piet van Oostrum <piet@cs.uu.nl> (PvO) wrote:
>
>>PvO> I am not very happy with the text/html, but as they are grouped together
>>PvO> you can't expect VM to put them apart.
>>PvO> It would be nice if VM had a command to step through the different
>>PvO> alternatives of a multipart/alternative.
>
> I also found the variable vm-mime-show-alternatives. If you set it to T
> then Vm will show all the alternatives, you you will see the text/plain,
> text/html and attachments. Of course this means you will always see the
> text/html part in simple alternatives, but at least they are only buttons.
Ah, good catch. I actually looked through what was supposed to be a
list of all the vm variables yesterday, but didn't find that one (or
missed it amongst all the trees in that particular forest).
With respect to the MIME decoding, from memory (often prone to error!)
when I installed VM from the sources, it came with some C utilities
for doing based64 and quoted printable decoding. At this time (9+
years ago), it was recommended that you use these utilities rather
than rely on elisp versions because the elisp was slow. Later, other
utilities, such as metamail, were used and then later again, the perl
mimetool utilities started to be recommended. Debian put the
additional utilities that use to bundled with VM in a packaged called
mime-codecs, but that package has now been dropped and Debian
recommends the perl mime tools. For example, this is what I currently
have in my .vm (note that I just changed to the metamail utils to see
it didn't make a difference - normally, I use the perl ones).
;; (setq vm-mime-base64-decoder-program "/usr/bin/perl"
;; vm-mime-base64-decoder-switches
;; '("-MMIME::Base64" "-ne" "print decode_base64($_)")
;; vm-mime-base64-encoder-program "/usr/bin/perl"
;; vm-mime-base64-encoder-switches
;; '("-MMIME::Base64" "-ne" "print encode_base64($_)")
;; vm-mime-qp-decoder-program "/usr/bin/perl"
;; vm-mime-qp-decoder-switches
;; '("-MMIME::QuotedPrint" "-ne" "print decode_qp($_)")
;; vm-mime-qp-encoder-program "/usr/bin/perl"
;; vm-mime-qp-encoder-switches
;; '("-MMIME::QuotedPrint" "-ne" "print encode_qp($_)"))
(setq vm-mime-base64-decoder-program "mimencode"
vm-mime-base64-decoder-switches '("-u" "-b" "-p")
vm-mime-base64-encoder-program "mimencode"
vm-mime-base64-encoder-switches '("-b")
vm-mime-qp-decoder-program "mimencode"
vm-mime-qp-decoder-switches '("-u" "-q")
vm-mime-qp-encoder-program "mimencode"
vm-mime-qp-encoder-switches '("-q"))
Tim
--
tcross (at) rapttech dot com dot au
Technical Details
Message-ID:
<87wt48kc5x.fsf@lion.rapttech.com.au>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news.glorb.com!sn-xt-sjc-05!sn-xt-sjc-09!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<87wt4fuk6p.fsf@lion.rapttech.com.au> <854prhosmx.fsf@robf.de> <m2k60cteca.fsf@ordesa.lan> <87bqlnsicy.fsf@lion.rapttech.com.au> <m24pretm4o.fsf@ordesa.lan> <87irful20s.fsf@lion.rapttech.com.au> <m2fyaxsc4t.fsf@ordesa.lan> <m2ac15sb97.fsf@ordesa.lan>Show Full Headers
Complete Article Headers
X-Google-Thread: f6829,c2a5f817c71d99a6 X-Google-Attributes: gidf6829,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!news.glorb.com!sn-xt-sjc-05!sn-xt-sjc-09!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail From: Tim X <timx@nospam.dev.null> Newsgroups: gnu.emacs.vm.bug Subject: Re: Apple Mail and MIME attachment problems Date: Sun, 31 Dec 2006 13:54:34 +1100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87wt48kc5x.fsf@lion.rapttech.com.au> References: <87wt4fuk6p.fsf@lion.rapttech.com.au> <854prhosmx.fsf@robf.de> <m2k60cteca.fsf@ordesa.lan> <87bqlnsicy.fsf@lion.rapttech.com.au> <m24pretm4o.fsf@ordesa.lan> <87irful20s.fsf@lion.rapttech.com.au> <m2fyaxsc4t.fsf@ordesa.lan> <m2ac15sb97.fsf@ordesa.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:XRNOK+SAutdzvUDOudabGPhQF30= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@supernews.com Lines: 57