bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#56008: 29.0.50; image-mode buffer scrolled down automatically


From: Eli Zaretskii
Subject: bug#56008: 29.0.50; image-mode buffer scrolled down automatically
Date: Thu, 16 Jun 2022 19:58:08 +0300

> Cc: 56008@debbugs.gnu.org, visuweshm@gmail.com
> Date: Thu, 16 Jun 2022 18:48:26 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > From: Lars Ingebrigtsen <larsi@gnus.org>
> > Cc: Visuwesh <visuweshm@gmail.com>,  56008@debbugs.gnu.org
> > Date: Thu, 16 Jun 2022 16:05:20 +0200
> > 
> > Eli Zaretskii <eliz@gnu.org> writes:
> > 
> > > No, this _is_ specific to eww and shr.  Well, in a way: shr.el does
> > > something which directly causes this.  Stay tuned.
> > 
> > I wondered whether it had something to do with shr-string-pixel-width
> > and friends (which does play games with windows), but stubbing those out
> > still led to the same problems, apparently.
> > 
> > (shr-string-pixel-width should be replaced with string-pixel-width (sort
> > of), though.)
> 
> It's shr-pixel-column, which calls set-window-buffer.

And in addition, shr-insert-document was resetting the hscroll of the
window it just happened to use for its rendering job.

This bug should be fixed now on the master branch.





reply via email to

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