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

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

Re: Overlays disappearing during line-by-line scrolling


From: Ralf Angeli
Subject: Re: Overlays disappearing during line-by-line scrolling
Date: Wed, 13 Jul 2005 13:43:23 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

* Kim F. Storm (2005-07-13) writes:

> I have installed some changes to fix this and other problems related
> to line-move around such multi-line overlay strings.

Cool!  Thank you very much!  I was plowing through the code in xdisp.c
and dispnew.c but didn't really know where to start.  Maybe I can
learn something from your changes if I find the time to study
them. (c:

> The changes touches on some tricky low-level "move_it_..." functions
> so I may have broken other things...

Some cursory testing did not reveal any breakage but I will report
back in case I find anything.

The behavior now is much better, i.e. the overlay strings don't
disappear anymore and scrolling does not get stuck.  Scrolling may
look a bit strange because overlays with multi-line overlay strings
are skipped as a whole and not displayed anymore.  So if you have
something like this

  first line first line [overlay overlay overlay overlay overlay
  overlay overlay overlay overlay] second line second line

and do `C-u 1 C-v' until the first line is scrolled out of the window,
the first window line then will only contain

  second line second line

missing the start of the overlay on the second line of the example.

Anyway, your last change resulted in a big improvement, so thanks
again.

-- 
Ralf




reply via email to

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