From: Ihor Radchenko <yantar92@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 62048@debbugs.gnu.org
Subject: bug#62048: 30.0.50; Non-nil `line-spacing' takes precendence over 'line-height t text property
Date: Thu, 09 Mar 2023 09:13:13 +0000 [thread overview]
Message-ID: <87sfeecmom.fsf@localhost> (raw)
In-Reply-To: <83v8ja2z4d.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 2143 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
>> The real problem I am trying to solve is scrolling images with large
>> heights. C-n/C-p and default scrolling jumps over the whole images as
>> they appear on a single line. It is annoying, especially when the image
>> is taller than the window height.
>
> That shouldn't happen: if an image is taller than the window, then
> C-n/C-p use window-vscroll to scroll the image only partially, at
> least as long as line-move-visual is non-nil (which it is by default).
Interesting. I did not notice this because this feature only manifests
itself on really tall images. The images that are about screen height
still feel jumpy.
I have experimented a bit using a very tall image and about a
screen-tall image from emacs -Q and recorded screencasts:
1. Scrolling a very tall image with C-n/C-p https://0x0.st/HibG.mkv
- Emacs behaves nicely, except at the beginning/end of the image
- At the beginning the image suddenly jumps half a screen
May this behaviour be somehow customized?
- At the end, the image disappears very quickly. Maybe something do
to with end of buffer.
2. Scrolling a very tall image with mouse https://0x0.st/Hibk.mkv
- Unexpectedly, most of the tall image is skipped upon mouse scroll.
Bug?
3. Scrolling a near-screen tall image with C-n/C-p https://0x0.st/Hibn.mkv
- Note how the image goes across the screen in just a few "jumps"
(C-n strokes). This is the commonly observed behaviour in the images
I often deal with. Probably something to do with what initial
half-screen jump in (1).
I think that jumping half screen at the beginning/end of the image
is too drastic, especially for images near as tall as screen
height. It would help if this behaviour is fixed or made
customizable.
For future reference, I did the following in the screencasts:
1. Add several screens of newlines in *scratch* buffer
2. Insert one of the attached images in the middle of the buffer via
(with-silent-modifications (insert-sliced-image (create-image "~/Downloads/drawing.svg")))
3. M-<
4. Scroll with mouse or with C-n/C-p
[-- Attachment #2: drawing.svg --]
[-- Type: image/svg\+xml, Size: 1548 bytes --]
[-- Attachment #3: wallpaper.png --]
[-- Type: image/png, Size: 37596 bytes --]
[-- Attachment #4: Type: text/plain, Size: 224 bytes --]
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2023-03-09 9:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-08 12:18 bug#62048: 30.0.50; Non-nil `line-spacing' takes precendence over 'line-height t text property Ihor Radchenko
2023-03-08 17:31 ` Eli Zaretskii
2023-03-08 18:26 ` Ihor Radchenko
2023-03-08 19:50 ` Eli Zaretskii
2023-03-08 20:39 ` Ihor Radchenko
2023-03-09 6:54 ` Eli Zaretskii
2023-03-09 9:13 ` Ihor Radchenko [this message]
2023-03-09 9:47 ` Eli Zaretskii
2023-03-09 10:55 ` Ihor Radchenko
2023-03-09 12:16 ` Eli Zaretskii
2023-03-11 11:10 ` Ihor Radchenko
2023-03-11 12:28 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sfeecmom.fsf@localhost \
--to=yantar92@posteo.net \
--cc=62048@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.