GNU bug report logs - #43949
Strange behaviour for linum-mode

Previous Next

Package: emacs;

Reported by: Pedro Andres Aranda Gutierrez <paaguti <at> gmail.com>

Date: Mon, 12 Oct 2020 11:50:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: stefan <at> marxist.se, paaguti <at> gmail.com, 43949 <at> debbugs.gnu.org
Subject: bug#43949: Strange behaviour for linum-mode
Date: Tue, 13 Oct 2020 19:19:54 +0300
> From: Robert Pluim <rpluim <at> gmail.com>
> Cc: paaguti <at> gmail.com,  stefan <at> marxist.se,  43949 <at> 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?





This bug report was last modified 4 years and 305 days ago.

Previous Next


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