[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)
> . 4)
> ((text . enriched)
> . 3)
> ((text . plain)
> . 2)
> ((text . richtext)
> . 1))
You need (t . 0) or similar element in
mime-view-type-subtype-score-alist. Try the below code in the end of
.wl. Exactly, the below code needs to be evaluated after
mime-view-type-subtype-score-alist is modified, but I don't know
where.
(add-to-list mime-view-type-subtype-score-alist '(t . 0))
I think it would be better that SEMI can handle with such case.
diff --git a/mime-view.el b/mime-view.el
index 0a1654a..d49589d 100644
--- a/mime-view.el
+++ b/mime-view.el
@@ -926,6 +926,7 @@ Score is integer or function which receives entity and returns integer."
(assq
t
mime-view-type-subtype-score-alist)
+ 0
))))
(when (functionp score)
(setq score (funcall score child)))
--
Kazuhiro Ito