GNU bug report logs - #27734
26.0.50; display-line-numbers: allow to set alternate face for multiples of N

Previous Next

Package: emacs;

Reported by: Yuri D'Elia <wavexx <at> thregr.org>

Date: Mon, 17 Jul 2017 14:39:02 UTC

Severity: wishlist

Found in version 26.0.50

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27734 in the body.
You can then email your comments to 27734 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#27734; Package emacs. (Mon, 17 Jul 2017 14:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Yuri D'Elia <wavexx <at> thregr.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 17 Jul 2017 14:39:02 GMT) Full text and rfc822 format available.

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

From: Yuri D'Elia <wavexx <at> thregr.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.50;
 display-line-numbers: allow to set alternate face for multiples of N
Date: Mon, 17 Jul 2017 16:38:38 +0200
Severity: wishlist

When displaying line numbers using the new `display-line-numbers'
feature, we could add a face to be used for each line number that is a
multiple of some number N, which could be specified by the user.

 display-line-numbers-alternate (interger or nil to disable)
 line-number-alternate (alternative face)

When used with line-number-current-line, line-number-current-line
obviously takes precedence.




Reply sent to Juanma Barranquero <lekktu <at> gmail.com>:
You have taken responsibility. (Sun, 06 Oct 2019 18:57:02 GMT) Full text and rfc822 format available.

Notification sent to Yuri D'Elia <wavexx <at> thregr.org>:
bug acknowledged by developer. (Sun, 06 Oct 2019 18:57:03 GMT) Full text and rfc822 format available.

Message #10 received at 27734-done <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: "Yuri D'Elia" <wavexx <at> thregr.org>
Cc: 27734-done <at> debbugs.gnu.org
Subject: Re: bug#27734: 26.0.50; display-line-numbers: allow to set alternate
 face for multiples of N
Date: Sun, 6 Oct 2019 20:56:00 +0200
[Message part 1 (text/plain, inline)]
Implemented by this commit:

commit 8de2e69f021b5b2920a07d82c9869bb394171d41
 Author: Juanma Barranquero <lekktu <at> gmail.com>
 Date:   2019-10-06 20:53:18 +0200

     Set alternate faces for some line numbers (bug#27734)

     * lisp/faces.el (line-number-major-tick, line-number-minor-tick):
     New faces.
     * lisp/cus-start.el (display-line-numbers-major-tick)
     (display-line-numbers-minor-tick): Add customization info.
     * lisp/frame.el: Add `display-line-numbers-major-tick' and
     `display-line-numbers-minor-tick' to list of variables which
     should trigger redisplay of the current buffer.

     * src/xdisp.c (syms_of_xdisp) <display-line-numbers-major-tick>
     <display-line-numbers-major-tick>: Defvar new options.
     (syms_of_xdisp) <line-number-major-tick, line-number-minor-tick>:
     Defsym new faces.
     (maybe_produce_line_number): Use new faces for line numbers
     that are multiple of `display-line-numbers-major-tick' and
     `display-line-numbers-minor-tick'.

     * etc/NEWS (value): Announce new feature.
     * doc/emacs/display.texi (Display Custom): Describe it.  Wording by
     Robert Pluim <rpluim <at> gmail.com>
[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 04 Nov 2019 12:24:05 GMT) Full text and rfc822 format available.

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

Previous Next


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