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

Re: Error viewing (usually forwarded) messages



> > > > 2. What is mime-view-type-subtype-score-alist's value?
> > > Its value is (((text . html)
> <snip>
> > You need (t . 0) or similar element in mime-view-type-subtype-score-alist.
> 
> > (add-to-list mime-view-type-subtype-score-alist '(t . 0))
> 
> That fixes it, thank you very much !
> 
> (Missing an apostrophe I guess (or I get "Wrong type argument: symbolp"))

You are right.  I missed apostrophe.

> > I think it would be better that SEMI can handle with such case.
> 
> I'm not sure I understand this part. Were there mime parts not (correctly ?)
> described, but recognized by some function, so there type is somehow "yeah,
> yeah, it's valid", but nothing my list covered ?

In default settings, mime-view-type-subtype-score-alist has '(t . 0)
element.  Its cdr (0, in this case) is used as a default score when
mime-view-type-subtype-score-alist does not have matched entry for
specified content type/subtype.  The cause of the problem is that
someone (package author, maintainer or you) modified and removed
'(t . 0) from your mime-view-type-subtype-score-alist.  Therefore, the
modification of SEMI is a kind of fault-tolerance.

> (is semi function from another repository already dealing with such cases ?)

At present, I guess there is neither SEMI nor variant wich can deal
with your case.

-- 
Kazuhiro Ito