Subject: bug#29348: 26.0.50; shr.el heisenbug

From: Lars Ingebrigtsen <[email-masked]>
Date: Fri, 13 Apr 2018 01:54:16 +0200

Eli Zaretskii <[email-masked]> writes:

> Your original patch didn't fix the problem for me, but the one below
> does.  Please see if it fixes your problems.
>
> diff --git a/lisp/net/shr.el b/lisp/net/shr.el
> index 4ba452e..ab7240c 100644
> --- a/lisp/net/shr.el
> +++ b/lisp/net/shr.el
> @@ -2289,8 +2289,10 @@ shr-render-td
>  				  (<= (car (cdr attr)) width))
>  			 (setq result (cdr attr)))))))
>  	       result))
> -	(let ((result (shr-render-td-1 dom width fill)))
> +	(let* ((pt (point))
> +               (result (shr-render-td-1 dom width fill)))
>  	  (dom-set-attribute dom cache result)
> +          (goto-char pt)
>  	  result))))

We didn't hear back in 19 weeks, so I'm assuming the patch worked, and
am closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no