[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: |
Sat, 24 Oct 2020 10:17:35 +0300 |
> From: Yuan Fu <casouri@gmail.com>
> Date: Fri, 23 Oct 2020 16:30:40 -0400
> Cc: help-gnu-emacs@gnu.org
>
> I really need to set them in the same time because when I scroll down, and
> stopped at a tall image (or tall line), I don’t want to scroll to the top of
> that image immediately. Instead, I want to scroll just enough to show the
> bottom of it. This requires setting window-start to that image and set
> vscroll = image height - line height.
This makes no sense to me, because you want to deliberately deny the
user from showing the entire screen line or its important parts. The
bottom of a large image will generally not show anything important,
and most of the screen line with the surrounding text could remain
undisplayed. Why is that a good idea? just because some other editor
behaves like that?
> So maybe setting both window-start and vscroll should be considered as a
> valid thing to do?
You can still do that as I've shown before, by inserting (sit-for 0)
in the middle, right? But I urge you not to do that because it makes
no sense when text is mixed with images.
- Re: Set-window-vscroll sometimes doesn't work, (continued)
- Re: Set-window-vscroll sometimes doesn't work, Yuan Fu, 2020/10/21
- Re: Set-window-vscroll sometimes doesn't work, Yuan Fu, 2020/10/22
- Re: Set-window-vscroll sometimes doesn't work, Eli Zaretskii, 2020/10/22
- Re: Set-window-vscroll sometimes doesn't work, Yuan Fu, 2020/10/22
- Re: Set-window-vscroll sometimes doesn't work, Eli Zaretskii, 2020/10/22
- Re: Set-window-vscroll sometimes doesn't work, Yuan Fu, 2020/10/22
- Re: Set-window-vscroll sometimes doesn't work, Eli Zaretskii, 2020/10/23
- Re: Set-window-vscroll sometimes doesn't work, Yuan Fu, 2020/10/23
- Re: Set-window-vscroll sometimes doesn't work, Eli Zaretskii, 2020/10/23
- Re: Set-window-vscroll sometimes doesn't work, Yuan Fu, 2020/10/23
- Re: Set-window-vscroll sometimes doesn't work,
Eli Zaretskii <=
- Re: Set-window-vscroll sometimes doesn't work, Jens C . Jensen, 2020/10/26
- Re: Set-window-vscroll sometimes doesn't work, Eli Zaretskii, 2020/10/26
- Re: Set-window-vscroll sometimes doesn't work, Yuan Fu, 2020/10/27
- Re: Set-window-vscroll sometimes doesn't work, Eli Zaretskii, 2020/10/27
- Re: Set-window-vscroll sometimes doesn't work, Eli Zaretskii, 2020/10/22