GNU bug report logs - #11496
24.1.50; Line numbers are not redrawn correctly in linum-mode

Previous Next

Package: emacs;

Reported by: Christoph Scholtes <cschol2112 <at> googlemail.com>

Date: Thu, 17 May 2012 01:47:02 UTC

Severity: normal

Merged with 12600

Found in versions 24.1.50, 24.2.50

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Christoph Scholtes <cschol2112 <at> googlemail.com>
Cc: 11496 <at> debbugs.gnu.org
Subject: bug#11496: 24.1.50; Line numbers are not redrawn correctly in linum-mode
Date: Wed, 16 May 2012 22:40:39 -0400
[Message part 1 (text/plain, inline)]
> 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
[nlinum.el (application/emacs-lisp, attachment)]

This bug report was last modified 12 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.