[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the wind
From: |
Eli Zaretskii |
Subject: |
bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window |
Date: |
Sun, 14 Apr 2024 22:00:27 +0300 |
> From: Ihor Radchenko <yantar92@posteo.net>
> Date: Sun, 14 Apr 2024 16:33:48 +0000
>
> Consider the following reproducer:
>
> 1. emacs -Q
> 2. Insert the following into scratch buffer and put point at "recenter"
Which "recenter": the one in the comment or the one in (recenter 0 t) ?
> (progn
> (require 'pixel-scroll)
> (pixel-scroll-precision-interpolate
> (* -1 (line-pixel-height)
> (max 0 (- (count-screen-lines (window-start) (point)) 2)))
> nil 1)
> ;; Call original recenter for final adjustment.
> (recenter 0 t))
>
> 3. M-x eval-buffer
> 4. Observe that scroll is not set to line 0, despite calling `recenter'
I don't think I understand what you mean by "scroll is not set to line
0". Please explain in more detail what you expected to happen (and
why), and what did happen.
- bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window, Ihor Radchenko, 2024/04/14
- bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window,
Eli Zaretskii <=
- bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window, Ihor Radchenko, 2024/04/14
- bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window, Eli Zaretskii, 2024/04/15
- bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window, Ihor Radchenko, 2024/04/15
- bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window, Eli Zaretskii, 2024/04/15
- bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window, Ihor Radchenko, 2024/04/15
- bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window, Eli Zaretskii, 2024/04/15
- bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window, Eli Zaretskii, 2024/04/27
- bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window, Po Lu, 2024/04/27
- bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window, Po Lu, 2024/04/27
- bug#70386: 30.0.50; (recenter 0 t) does not put point on top of the window, Ihor Radchenko, 2024/04/29