[Top][All Lists]

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

bug#26552: [patch] nlinum margin width calculation (emacs <25)

From: Eli Zaretskii
Subject: bug#26552: [patch] nlinum margin width calculation (emacs <25)
Date: Tue, 18 Apr 2017 19:14:32 +0300

> From: Christophe Rhodes <address@hidden>
> Date: Mon, 17 Apr 2017 22:26:56 +0100
> I think the calculation that nlinum-mode does to guess the margin size
> in the absence of font width information (in emacs versions less than
> 25) uses the wrong bit of font information: the pixel size, rather than
> the font height.  Trivial patch below, which fixes the problem for me.

Isn't it a mere coincidence that this fixes your problem?  How can
height be a better approximation for width than size?  What are the
actual numbers in your case?

reply via email to

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