GNU bug report logs - #8355
24.0.50; Boxes in mode-line and scrolling

Previous Next

Package: emacs;

Reported by: Antoine Levitt <antoine.levitt <at> gmail.com>

Date: Sun, 27 Mar 2011 13:42:02 UTC

Severity: normal

Tags: fixed, moreinfo

Found in version 24.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 8355 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Antoine Levitt <antoine.levitt <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 8355 <at> debbugs.gnu.org
Subject: Re: bug#8355: 24.0.50; Boxes in mode-line and scrolling
Date: Tue, 08 Dec 2020 19:18:12 +0100
Antoine Levitt <antoine.levitt <at> gmail.com> writes:

> Here's a reproducer from emacs -Q (just reproduced on 27.1):
>
> Set
> (setq scroll-conservatively 100000000)
> (setq scroll-preserve-screen-position 'stay)
>
> Open a latex file of some complexity (with sections and math, for
> instance https://arxiv.org/e-print/2003.00726, but it works on any tex
> file), and make sure it's in latex-mode. Go somewhere in the middle of
> the file, center point (C-l), then scroll up then down (C-v and M-v).

Yup; I can reproduce this in Emacs 28 -- point moves around a lot when
paging back and forth.

> I traced it down to
> lines of varying heights: it disappears if I set
> (setq font-latex-fontify-script nil)
> (setq font-latex-fontify-sectioning 'color)

Yes, I guess this is due to the mixture of line heights in that
buffer -- when it's computing how many lines to scroll back and forth,
it's not being consistent when going forward and backward.

Eli, does this sound familiar to you?

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




This bug report was last modified 4 years and 126 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.