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: Yuan Fu
Subject: Re: Set-window-vscroll sometimes doesn't work
Date: Sun, 18 Oct 2020 16:06:11 -0400


> On Oct 18, 2020, at 3:19 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>> From: Yuan Fu <casouri@gmail.com>
>> Date: Sun, 18 Oct 2020 15:12:10 -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?

> 
>> 2. It seems that when I move focus out of the window, the vscroll setting is 
>> nullified, why is that?
> 
> I don't know.  It doesn't happen here when I display a tall image and
> scroll it with C-n/C-p.

I restarted Emacs and it's gone. I’ll try to find what’s the cause.

Yuan


reply via email to

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