all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andrea Cardaci <cyrus.and@gmail.com>
To: 36421@debbugs.gnu.org
Subject: bug#36421: Having some text with face height > 1.0 causes scroll-step to be ignored
Date: Fri, 28 Jun 2019 18:19:58 +0200	[thread overview]
Message-ID: <CACMsj9P_VhC9AayEg_GOoNdAYGh8sfH24xDiqy+XeEFsOg363w@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2019-06-28 16:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-28 16:19 Andrea Cardaci [this message]
2019-06-28 21:11 ` bug#36421: Having some text with face height > 1.0 causes scroll-step to be ignored 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

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=CACMsj9P_VhC9AayEg_GOoNdAYGh8sfH24xDiqy+XeEFsOg363w@mail.gmail.com \
    --to=cyrus.and@gmail.com \
    --cc=36421@debbugs.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.