emacs-devel
[Top][All Lists]
Advanced

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

Re: something like linum.el ought to be added


From: Stefan Monnier
Subject: Re: something like linum.el ought to be added
Date: Sun, 16 Sep 2007 19:04:07 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>     Yes, and I also found it's not enough to update line numbers in
>     window-size-change-functions, configuration-change-hook, and
>     after-change-functions; one should also do it in hs-...-hook,
>     allout-..., outline-..., and many others.

> I think that means we need to add a suitable hook which redisplay can
> call to inform Lisp code that visibility changes may have altered the
> position of the bottom of the window.

OTOH, using jit-lock would make this unnecessary.
After all, the progression of linum.el follows the one from lazy-lock.el to
jit-lock.el (lazy-lock suffered from the same problems with outline-mode,
as a matter of fact).


        Stefan




reply via email to

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