emacs-devel
[Top][All Lists]
Advanced

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

Re: Scrolling over images/tall lines


From: Yuan Fu
Subject: Re: Scrolling over images/tall lines
Date: Tue, 3 Nov 2020 13:06:49 -0500

> 
> Why can't you achieve the same by leaving window-start at its original
> place (2) and setting vscroll to get the display you want, like this:
> 
> +----------------------+
> |                      |
> |        image         |
> |                      |
> |                      |
> +------window top--------------+--
> ||                      |      | ^
> |+----------------------+      | | vscroll (negative)
> |(2)=======line==========      | v
> |==========line==========      |
> |==========line==========      |
> 
> Did you try this method?

I did, but (set-window-vscroll nil -20 t) returned 0 and didn’t have any 
effect, so I thought that’s not a valid thing to do. And that feels worse than 
setting window-start and vscroll in the same time too, because with a negative 
vscroll you don’t even know where to start the glyph matrix.

Yuan


reply via email to

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