default message display type?

守岡 知彦 / MORIOKA Tomohiko tomo at m17n.org
Tue Aug 27 12:19:58 JST 2002


>>>>> In [emacs-mime-en : No.00076] 
>>>>>	"Harlan" = Harlan Stenn <Harlan.Stenn at pfcs.com> wrote:

Harlan> I use:

Harlan>  nmh
Harlan>  EMH/1.10.0
Harlan>  SEMI/1.13.7 (Awazu)
Harlan>  FLIM/1.13.2 (Kasanui)
Harlan>  XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd) 

Harlan> If I receive a multipart email message, with the first part
Harlan> "plain" and the 2nd part "html", the html content is displayed
Harlan> by default.

Harlan> How do I make "plain" to be the default?

For multipart/alternative entities, SEMI MIME-View uses a user-option
`mime-view-type-subtype-score-alist' to select an entity to display.

So if you eval

(eval-after-load "mime-view"
		 '(set-alist 'mime-view-type-subtype-score-alist
			     '(text . html) 0))

then SEMI MIME-View prefers a text/plain part to a text/html part in a
multipart/alternative part.

In addition, if you don't want to display any text/html parts, please
eval (setq mime-setup-enable-inline-html nil) before semi-setup (maybe
mime-setup) is loaded.


Regards,
-- 
tomo.




More information about the Emacs-mime-en mailing list