emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] emacs-26 f274cbd: Avoid reordering of output in 'shr-i


From: Stefan Monnier
Subject: Re: [Emacs-diffs] emacs-26 f274cbd: Avoid reordering of output in 'shr-insert-document'
Date: Sat, 16 Dec 2017 10:04:06 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> +    ;; Save and restore point across with-temp-buffer, since
> +    ;; shr-pixel-column uses save-window-excursion, which can reset
> +    ;; point to 1.
> +    (let ((pt (point)))
> +      (with-temp-buffer
> +        (insert string)
> +        (shr-pixel-column))
> +      (goto-char pt))))

Is it possible to fix the problem in shr-pixel-column (since, according
to the comment above, the problems comes from there)?


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]