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

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

Re: Set-window-vscroll sometimes doesn't work


From: Eli Zaretskii
Subject: Re: Set-window-vscroll sometimes doesn't work
Date: Mon, 19 Oct 2020 05:23:41 +0300

> From: Yuan Fu <casouri@gmail.com>
> Date: Sun, 18 Oct 2020 16:06:11 -0400
> Cc: help-gnu-emacs@gnu.org
> 
> >> 1. Is it true that move_it_by_lines regards an image as one display line?
> > 
> > Yes.  That's why we need vscroll in the first place.
> 
> Cool. I’m thinking about wrapping move_it_by_lines in 
> window_scroll_pixel_based with a version that regards images (and tall lines) 
> as several lines. Do you see some potential problems with that?

What is the problem with the existing code that you are trying to
solve?  Whatever it is, it is highly likely that the solution already
exists, and no new code is needed.



reply via email to

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