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

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

bug#43949: Strange behaviour for linum-mode


From: Eli Zaretskii
Subject: bug#43949: Strange behaviour for linum-mode
Date: Tue, 13 Oct 2020 19:19:54 +0300

> From: Robert Pluim <rpluim@gmail.com>
> Cc: paaguti@gmail.com,  stefan@marxist.se,  43949@debbugs.gnu.org
> Date: Tue, 13 Oct 2020 18:06:06 +0200
> 
> Instead of this in xdisp.c:23046
> 
>   strcat (lnum_buf, " ");
> 
> use the equivalent of
> 
> (setq line-number-space-width 0.5)
> (insert (propertize " " 'display '(space . line-number-space-width)))
> 
> and adjusting the x-coordinate of the glyphs after the space
> appropriately.

Did you read the comment before this code?






reply via email to

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