[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [VM] VM not handling inline HTML mail
From: |
Patrick Healy |
Subject: |
Re: [VM] VM not handling inline HTML mail |
Date: |
Fri, 26 Jul 2019 14:19:38 +0100 |
John Stoffel writes (on 25.07.2019):
>
> Patrick> I upgraded my Debian distro yesterday and I am now getting the
> following
> Patrick> message:
> Patrick> "Inline text/html by emacs-w3m display failed:
> (wrong-type-argument stringp nil)"
> Which emacs version are you using and which verision of viewmail? And
> what are your settings for the various vm-mime-* vars?
Thanks for you offer of help, John.
Here are the versions I'm using
emacs-version: 26.1
vm-version: 8.1.2
and on searching my .vm.el setup I find the s-expressions below.
Many thanks.
;;;;;
(setq
vm-mime-qp-decoder-program "qp-decode"
vm-mime-qp-encoder-program "qp-encode"
vm-mime-base64-decoder-program "base64-decode"
vm-mime-base64-encoder-program "base64-encode")
(setq vm-mime-default-face-charsets '("us-ascii" "iso-8859-1"))
(setq vm-mime-charset-converter-alist
'(("utf-8" "iso-8859-1" "iconv -c -f utf-8 -t iso-8859-1")))
(and (boundp 'vm-mime-default-face-charsets)
(progn
(add-to-list 'vm-mime-default-face-charsets "Windows-1251")
(add-to-list 'vm-mime-default-face-charsets "Windows-1252")
(add-to-list 'vm-mime-default-face-charsets "Windows-1257")))
; First, don't display iso-8859-1 as-is in default face
(delete "iso-8859-1" vm-mime-default-face-charsets)
; Then substitute windows-1252 for iso-8859-1
(and (boundp 'vm-mime-mule-charset-to-coding-alist)
(add-to-list 'vm-mime-mule-charset-to-coding-alist
'("iso-8859-1" windows-1252)))
(setq vm-infer-mime-types t)
(setq vm-display-using-mime t)
(setq vm-send-using-mime t)
(setq vm-mime-7bit-composition-charset "iso-8859-15"
vm-mime-8bit-text-transfer-encoding "iso-8859-15"
vm-mime-8bit-composition-charset "iso-8859-15")
; vm-mime-8bit-composition-charset 'quoted-printable)
(setq vm-auto-displayed-mime-content-types '("text" "image/jpeg" "image/png"
"multipart"))
(setq vm-mime-use-w3-for-text/html t)
(setq vm-mime-alternative-select-method '(favorite "text/plain"))
(setq vm-mime-attachment-auto-type-alist
'(
("\\.JPE?G$" . "image/jpeg")
("\\.jpe?g$" . "image/jpeg")
("\\.gif$" . "image/gif")
("\\.png$" . "image/png")
("\\.tiff?$" . "image/tiff")
("\\.html?$" . "text/html")
("\\.au$" . "audio/basic")
("\\.mpe?g$" . "video/mpeg")
("\\.ps$" . "application/postscript")
("\\.pdf$" . "application/pdf")
("\\.zip$" . "application/zip")
("\\.xls$" . "application/vnd.ms-excel")
("\\.odt$" . "application/vnd.oasis.opendocument.text")
("\\.xlsx$" . "application/vnd.ms-excel")
("\\.csv$" . "application/vnd.ms-excel")
("\\.doc$" . "application/vnd.ms-word")
("\\.docx$" . "application/vnd.ms-word")
("\\.ppt$" . "application/vnd.ms-powerpoint")
)
)
(setq vm-mime-external-content-types-alist
'(;("text/html" "w3m")
("image/gif" "gwenview")
("image/jpeg" "gwenview")
("video/mpeg" "mpeg_play")
("video" "xanim")
; ("application/pdf" "/usr/local/Acrobat4/bin/acroread")
; ("application/pdf" "xpdf")
; ("application/postscript" "gv")
("application/postscript" "okular")
("application/pdf" "okular")
("application/zip" "ark")
("application/ms-tnef" "fentun")
("application/vnd.oasis.opendocument.text" "loffice")
("application/msword" "loffice")
("application/rtf" "loffice")
("application/vnd.ms-excel" "loffice")
("application/vnd.ms-word" "loffice")
("application/vnd.ms-powerpoint" "loffice")
("application/vnd.openxmlformats-officedocument.wordprocessingml.document"
"loffice")
("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
"loffice")
("application/vnd.openxmlformats-officedocument.presentationml.presentation"
"loffice")
)
)
--
http://goo.gl/pyor
- Re: [VM] Time to move to Mutt?, (continued)
- Re: [VM] Time to move to Mutt?, Uday S Reddy, 2019/07/22
- Re: [VM] Time to move to Mutt?, Mark Diekhans, 2019/07/21
- Re: [VM] Time to move to Mutt?, Daniel Barrett, 2019/07/22
- Re: [VM] Time to move to Mutt?, John Stoffel, 2019/07/22
- [VM] VM not handling inline HTML mail, Patrick Healy, 2019/07/24
- Re: [VM] VM not handling inline HTML mail, John Stoffel, 2019/07/25
- Re: [VM] VM not handling inline HTML mail,
Patrick Healy <=
- Re: [VM] VM not handling inline HTML mail, John Stoffel, 2019/07/30
- Re: [VM] Time to move to Mutt?, Robert Marshall, 2019/07/22
- Re: [VM] Time to move to Mutt?, John Stoffel, 2019/07/22
- Re: [VM] Time to move to Mutt?, Robert Marshall, 2019/07/22
- Re: [VM] Time to move to Mutt?, Robert Marshall, 2019/07/23
- Re: [VM] Time to move to Mutt?, John Stoffel, 2019/07/25
- Re: [VM] Time to move to Mutt?, Robert Marshall, 2019/07/25
- Re: [VM] Time to move to Mutt?, John Stoffel, 2019/07/25
- Re: [VM] Time to move to Mutt?, Robert Marshall, 2019/07/31