GNU bug report logs -
#43949
Strange behaviour for linum-mode
Previous Next
Full log
View this message in rfc822 format
>>>>> On Tue, 13 Oct 2020 18:46:28 +0300, Eli Zaretskii <eliz <at> gnu.org> said:
>> From: Robert Pluim <rpluim <at> gmail.com>
>> Date: Tue, 13 Oct 2020 09:30:49 +0200
>> Cc: Stefan Kangas <stefan <at> marxist.se>, 43949 <at> debbugs.gnu.org
>>
>> Having said that, eliminating that space seems to work, but it does
>> make the display look very squashed. Eli, what do you think of
>> a configuration variable allowing that space to be narrower?
Eli> I'm not sure I understand what you have in mind, please elaborate.
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.
Robert
--
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.