GNU bug report logs -
#36421
Having some text with face height > 1.0 causes scroll-step to be ignored
Previous Next
Reported by: Andrea Cardaci <cyrus.and <at> gmail.com>
Date: Fri, 28 Jun 2019 16:21:02 UTC
Severity: normal
Tags: notabug
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Hi,
Basically as the title says, here's how to reproduce this:
1. start Emacs with -Q;
2. evaluate this sexp:
(progn
(custom-set-variables
'(scroll-step 1)
'(scroll-margin 0))
(with-current-buffer (switch-to-buffer "test")
(insert (make-string 100 ?\n)
(propertize "XXX" 'face '(:height 2.0))
(make-string 100 ?\n))))
3. in the newly created buffer press and keep pressed <up>.
You'll notice that the point moves to the top of the window and stays
there, but as soon as it *steps* over "XXX", the point is centered.
This is pretty annoying in my case where I use big headings in Markdown
mode.
This happens, at least, in Emacs 25.1.1, 24.5.1 and 26.2 on Linux. Please
let me know if you need additional details.
Best,
Andrea
[Message part 2 (text/html, inline)]
This bug report was last modified 5 years and 246 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.