bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8874: Redisplay confusion in Info, due to recentering fix


From: Chong Yidong
Subject: bug#8874: Redisplay confusion in Info, due to recentering fix
Date: Sat, 18 Jun 2011 14:07:10 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> How urgent is it to fix this?  Can it be postponed until I'm done with
> bidi reordering of display strings, and we enter code freeze?

The bidi work is more urgent, so feel free to postphone the fix for this
until you have the time.

FWIW, I took a quick look, and it appears that the following should do
the trick.  But it can wait till you have time to double-check the code.

*** src/xdisp.c 2011-06-14 18:57:19 +0000
--- src/xdisp.c 2011-06-18 18:03:55 +0000
***************
*** 14391,14397 ****
              if (pt_offset)
                centering_position -= pt_offset;
              centering_position -=
!               FRAME_LINE_HEIGHT (f) * (1 + margin + (last_line_misfit != 0));
              /* Don't let point enter the scroll margin near top of
                 the window.  */
              if (centering_position < margin * FRAME_LINE_HEIGHT (f))
--- 14391,14397 ----
              if (pt_offset)
                centering_position -= pt_offset;
              centering_position -=
!               FRAME_LINE_HEIGHT (f) * (2 + margin + (last_line_misfit != 0));
              /* Don't let point enter the scroll margin near top of
                 the window.  */
              if (centering_position < margin * FRAME_LINE_HEIGHT (f))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]