[Top][All Lists]

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

bug#17813: 24.3.91; bad linum display with `text-scale-adjust'

From: Stefan Monnier
Subject: bug#17813: 24.3.91; bad linum display with `text-scale-adjust'
Date: Thu, 19 Jun 2014 14:46:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> Font size of line numbers by `linum-mode' follow `text-scale-adjust', though
> the size of left margin doesn't change.
> (nlinum also has the same problem)

> The possible solutions are,
> (1) To change the width of left margin for line numbers.
> (2) To fix the font size of line numbers.

I think the right solution is to scale the margin width by the ratio
"linum font size / base font size".  Then users can set their `linum'
face the way want and choose between (1) and (2).

But it turns out that face-attribute can't be used for that because it
does not pay attention to face-remapping-alist.

Miles, Eli, others, do you know of a function that returns "the font
size, including face-remapping-alist effects"?


reply via email to

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