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: Markus Triska
Subject: Re: something like linum.el ought to be added
Date: Sat, 15 Sep 2007 18:01:38 +0200

"Juanma Barranquero" <address@hidden> writes:

> If you line-number a narrowed buffer and then widen it, the newly
> visible lines are not numbered until C-l or cursor movement, etc.

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 have for now reinstated the original behaviour: Line numbers are
(also) updated in post-command-hook. However, one can set linum-eager
to `nil' to obtain more conservative updates, at the price of
potentially missing some changes. Use C-l or scroll in such cases.




reply via email to

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