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

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

bug#11496: 24.1.50; Line numbers are not redrawn correctly in linum-mode


From: Stefan Monnier
Subject: bug#11496: 24.1.50; Line numbers are not redrawn correctly in linum-mode
Date: Wed, 16 May 2012 22:40:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

> Start with emacs -Q.
> Don't maximize frame.
> Open a file that has more lines than the current frame.
> M-x linum-mode
> Maximize frame.
> Line numbers are only drawn where the original, visible frame boundary
> was.
> Press down arrow key.
> Line numbers are redrawn for the entire frame.

> The same thing happens when narrowing on a function and then widen
> again.  Only the narrowed piece has the new line numbers until the next
> explicit redraw.

You may have more luck with my reimplementation of linum which uses
jit-lock, which hopefully fixes those problems (tho it may come with
others of course).


        Stefan

Attachment: nlinum.el
Description: application/emacs-lisp


reply via email to

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