GNU bug report logs - #76566
[PATCH] Implement display-line-numbers-spacing-width

Previous Next

Package: emacs;

Reported by: Miro Palmu <email <at> miropalmu.cc>

Date: Tue, 25 Feb 2025 19:44:02 UTC

Severity: wishlist

Tags: notabug, patch, wontfix

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Miro Palmu <email <at> miropalmu.cc>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Implement display-line-numbers-spacing-width
Date: Tue, 25 Feb 2025 18:40:07 +0200
[Message part 1 (text/plain, inline)]
Currently there is hard coded one character wide spacing around line 
numbers.
This patch adds `display-line-numbers-spacing-width' (default: 1),
which allows to configure the width of the spacing.
This is mostly motivated by wanting to set the spacing to zero.


This is result of make -C test:

SUMMARY OF TEST RESULTS
-----------------------
Files examined: 528
Ran 7991 tests, 7784 results as expected, 1 unexpected, 206 skipped
1 files contained unexpected results:
  lisp/progmodes/c-ts-mode-tests.log

1 unexpected results:
   FAILED  c-ts-mode-test-indentation

I assume that failing c-ts-mode-test-indentation is unrelated to this patch.


Miro Palmu
[0001-Implement-display-line-numbers-spacing-width.patch (text/x-patch, attachment)]

This bug report was last modified 81 days ago.

Previous Next


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