Subject: bug#19776: 25.0.50; HTML rendering is very slow

From: Eli Zaretskii <[email-masked]>
Date: Thu, 05 Feb 2015 18:14:12 +0200

> From: Nicolas Richard <[email-masked]>
> Date: Thu, 05 Feb 2015 12:42:21 +0100
> Cc: [email-masked]
> 
> modified   lisp/net/shr.el
> @@ -208,7 +208,8 @@ (defun shr-insert-document (dom)
>  	(shr-depth 0)
>  	(shr-warning nil)
>  	(shr-internal-width (or shr-width (1- (window-width)))))
> -    (shr-descend dom)
> +    (with-temp-message "Rendering HTML..."
> +      (shr-descend dom))
>      (shr-remove-trailing-whitespace start (point))
>      (when shr-warning
>        (message "%s" shr-warning))))
> 

I'm not sure it's right for a library to display such messages.  I
think the application (in this case, Rmail) should do that.