GNU bug report logs - #20674
linum-mode overwrites existing margin width

Previous Next

Package: emacs;

Reported by: "Paul W. Rankin" <hello <at> paulwrankin.com>

Date: Wed, 27 May 2015 15:37:02 UTC

Severity: minor

Tags: fixed

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 20674 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: "Paul W. Rankin" <hello <at> paulwrankin.com>
Cc: 20674 <at> debbugs.gnu.org
Subject: Re: bug#20674: linum-mode overwrites existing margin width
Date: Thu, 28 May 2015 14:30:19 -0400
> Either linum-mode.el ~ L167 should be changed to accommodate existing
> margin width, setting width to the maximum of existing or calculated
> value, or the function should test whether the calculated width exceeds
> the current margin width, and only update the window if necessary.

You might like to try the development version of nlinum.el where I've
implemented something like that.

http://git.savannah.gnu.org/cgit/emacs/elpa.git/plain/packages/nlinum/nlinum.el


        Stefan




This bug report was last modified 7 years and 198 days ago.

Previous Next


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