[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to limit header display?



At Mon, 11 Jan 2010 16:44:33 -0500,
David Abrahams wrote:
>
> At Mon, 11 Jan 2010 14:48:01 -0500,
> David Abrahams wrote:
> >
> > At Mon, 11 Jan 2010 10:58:01 -0800,
> > Erik Hetzner wrote:
> > >
> > > 2. Viewing of HTML messages is tricky & can be handled by mime-w3m.
> > > Personally I wish to never see HTML messages unless I must, so I have
> > > the following in my .wl file:
> > >
> > >   (eval-after-load "semi-setup"
> > >     '(set-alist 'mime-view-type-subtype-score-alist '(text . html) 0))
> > >
> > > which makes the text/html message my least desired view.
> >
> > Thanks; I was going to ask about that!
>
> I made the change using customize instead of eval-after-load, but it
> seems to have no effect :(

Hi David -

Unfortunately there is some code in semi-setup.el that sets the score
of text/html to 3 in mime-view-type-subtype-score-alist if certain
conditions are met. I presume that you are encountering this code.
Please check the value of mime-view-type-subtype-score-alist to ensure
that text/plain has a higher score than text/html. The eval-after-load
with semi-setup works around this behavior.

best,
Erik

Attachment: pgpUpWHQpHvi5.pgp
Description: PGP signature