unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#36421: Having some text with face height > 1.0 causes scroll-step to be ignored
@ 2019-06-28 16:19 Andrea Cardaci
  2019-06-28 21:11 ` Pip Cet
  0 siblings, 1 reply; 10+ messages in thread
From: Andrea Cardaci @ 2019-06-28 16:19 UTC (permalink / raw)
  To: 36421

[-- Attachment #1: Type: text/plain, Size: 780 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1158 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-09-16  3:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-28 16:19 bug#36421: Having some text with face height > 1.0 causes scroll-step to be ignored Andrea Cardaci
2019-06-28 21:11 ` Pip Cet
2019-06-28 23:29   ` Andrea Cardaci
2019-06-29  7:35     ` Eli Zaretskii
2019-06-29 19:55       ` Juanma Barranquero
2019-06-29 22:43         ` Andrea Cardaci
2019-07-04 20:11           ` Noam Postavsky
2019-06-30 14:55         ` Eli Zaretskii
2019-06-30 17:07           ` Juanma Barranquero
2019-09-16  3:08       ` Stefan Kangas

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).