[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66216: 28.2; scroll-up-line doesn't work if there is a before-string
From: |
Herman |
Subject: |
bug#66216: 28.2; scroll-up-line doesn't work if there is a before-string overlay with newline |
Date: |
Tue, 26 Sep 2023 20:30:53 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 |
This bug exists in 28.2, but on a not too old master as well.
Repro:
- emacs -Q
- M-: (overlay-put (make-overlay 72 72) 'before-string "Fake line\n")
- this will put a "Fake line" at the 2nd line of the scratch buffer,
(between the two default scratch buffer message lines)
- M-x scroll-up-line
- this will correctly scroll one line up
- M-x scroll-up-line
- this is the bug, no scroll happens
Also, if the overlay is added at the middle of some line (not at the
beginning like in my repro steps), then scroll-up-line will "scroll"
until the overlay only, making the overlay to visually move the left
side. Then further scroll-up-line commands won't have an effect.
- bug#66216: 28.2; scroll-up-line doesn't work if there is a before-string overlay with newline,
Herman <=
- bug#66216: 28.2; scroll-up-line doesn't work if there is a before-string overlay with newline, Eli Zaretskii, 2023/09/29
- bug#66216: 28.2; scroll-up-line doesn't work if there is a before-string overlay with newline, Herman, 2023/09/29
- bug#66216: 28.2; scroll-up-line doesn't work if there is a before-string overlay with newline, Eli Zaretskii, 2023/09/29
- bug#66216: 28.2; scroll-up-line doesn't work if there is a before-string overlay with newline, Herman, 2023/09/30
- bug#66216: 28.2; scroll-up-line doesn't work if there is a before-string overlay with newline, Eli Zaretskii, 2023/09/30
- bug#66216: 28.2; scroll-up-line doesn't work if there is a before-string overlay with newline, Herman, 2023/09/30
- bug#66216: 28.2; scroll-up-line doesn't work if there is a before-string overlay with newline, Eli Zaretskii, 2023/09/30
- bug#66216: 28.2; scroll-up-line doesn't work if there is a before-string overlay with newline, Herman, 2023/09/30