unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Dale Sedivec <dale@codefu.org>
Cc: 42653@debbugs.gnu.org
Subject: bug#42653: Emacs now recentering very aggressively
Date: Fri, 11 Sep 2020 12:29:04 +0200	[thread overview]
Message-ID: <87tuw41ua7.fsf@gnus.org> (raw)
In-Reply-To: <3CEF44D3-EBBB-4F8E-99E0-0CB4A1010707@codefu.org> (Dale Sedivec's message of "Thu, 10 Sep 2020 16:18:55 -0500")

Dale Sedivec <dale@codefu.org> writes:

> 2. Display anything in the header line: (setq-default header-line-format "foo"
[...]

> Expected behavior: Point is sitting at the bottom line of the window
> no matter how many times you page up
>
> Observed behavior: The window is recentered, usually after ever page
> up, with a slight delay

Ah!  So that's what this is.  I spent some time the other day tracking
down why this was happening in erc buffers, so I was looking at recent
erc changes.  But erc is one of the few modes I have with a header line
that I sometimes scroll back in, so that explains it.

> I can stop this from happening with (setq scroll-conservatively 101),
> so perhaps the behavior is intentional?  However, the fact that point
> stays at the bottom of the window for a brief instant, and then only
> recenters when (I am **guessing**) which-func-update runs leads me to
> believe this is unintentional behavior.

Yes, it's definitely unintentional.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2020-09-11 10:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-01 10:39 bug#42653: 28.0.50; scroll-margin is sometimes ignored with hl-line/display-line-numbers-mode Kevin Liu
2020-08-01 16:44 ` Eli Zaretskii
2020-08-01 17:32   ` Kevin Liu
2020-08-02 15:33     ` Eli Zaretskii
2020-08-02 20:24       ` Kevin Liu
2020-08-03  2:28         ` Eli Zaretskii
2020-08-03  3:18           ` Kevin Liu
2020-08-03 14:57             ` Eli Zaretskii
2020-09-10 21:18 ` bug#42653: Emacs now recentering very aggressively Dale Sedivec
2020-09-11 10:29   ` Lars Ingebrigtsen [this message]
2020-09-12  8:08   ` Eli Zaretskii
2022-02-09  9:49     ` bug#42653: 28.0.50; scroll-margin is sometimes ignored with hl-line/display-line-numbers-mode Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tuw41ua7.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=42653@debbugs.gnu.org \
    --cc=dale@codefu.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 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).