[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Display text part as default
From: |
Juhapekka Tolvanen |
Subject: |
Re: Display text part as default |
Date: |
Wed, 27 Oct 2004 08:53:01 +0300 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Lars Tobias Børsting <larstobi@itea.ntnu.no> writes:
> Anyway, when I get mails from support centers and newsletters they are
> often sent with both plain text and HTML. It seems that Gnus defaults
> to HTML-view, but I would like the default to be plain text. How can I
> achieve that?
I just added this to my ~/.gnus.el and it seems to work. I haven't got
E-mails with VCard, yet:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Handling stupid E-Mail attachments
;; http://www.emacswiki.org/cgi-bin/wiki/MimeTypesWithGnus
;;
;; No HTML mail
(setq mm-discouraged-alternatives '("text/html" "text/richtext"))
;; Don't start a browser for text/html only mails
(setq mm-automatic-display
'("text/plain" "text/enriched" "text/richtext"
"image/.*" "message/delivery-status" "multipart/.*"
"message/rfc822"
"text/x-patch" "application/pgp-signature"
"application/emacs-lisp")
)
; Never show vcard stuff, I never need it anyway
(setq gnus-ignored-mime-types
'("text/x-vcard"))
--
Juhapekka "naula" Tolvanen * * http colon slash slash iki dot fi slash juhtolv
"kummaan paikkaan itsesi karkotit, syyttä syyllisten seuduille. raskaisiin
taloihin pesit, kirkuviin huoneisiin. mitä ne sinulle tekevät siellä? kuka on
raapinut nimesi pois, nimesi, kasvosi, mielesi oivat palvelemaan konetta?" CMX