[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: hl-line-mode conflicts with scroll-margin]
From: |
Kim F. Storm |
Subject: |
Re: address@hidden: hl-line-mode conflicts with scroll-margin] |
Date: |
15 Jun 2004 12:42:19 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
address@hidden (Kim F. Storm) writes:
> Juri Linkov <address@hidden> writes:
>
> > address@hidden (Kim F. Storm) writes:
> > > The following patch solves the problem.
> >
> > Here is another related bug report for you :-)
> >
> > If scroll-margin is not 0 and font-lock-mode is turned on, i.e.
> >
> > (progn
> > (setq scroll-margin 5)
> > (global-font-lock-mode))
> >
> > then after moving the cursor down until it reaches the fifth line from
> > the bottom of the window the cursor is placed in the center of the window
> > where it starts jumping forth and back: after 1 second it moves to the
> > end of the line, and after another 1 second moves to the beginning
> > of the following line.
> >
> > This bug can be reproduced on GNU/Linux in Emacs versions starting
> > at least from 21.3.
>
>
> Ok, try this patch:
I have installed the patch.
I have also corrected scrolling at the top of the window when a header
line is present -- before, the header line counted as one line, so
the scroll margin seemed to be one less than the configured value.
--
Kim F. Storm <address@hidden> http://www.cua.dk