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

Re: Error viewing (usually forwarded) messages



On Sun, 23 Sep 2012 19:59:21 +0900, Kazuhiro Ito spake thus:
> > > 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"))

> 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 ?

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

> 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