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

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

[debbugs-tracker] bug#27734: closed (26.0.50; display-line-numbers: allo


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27734: closed (26.0.50; display-line-numbers: allow to set alternate face for multiples of N)
Date: Sun, 06 Oct 2019 18:57:02 +0000

Your message dated Sun, 6 Oct 2019 20:56:00 +0200
with message-id <CAAeL0SSpzw4bdg_1CE8WJvro6O72qW-imasZ2pHNZ=address@hidden>
and subject line Re: bug#27734: 26.0.50; display-line-numbers: allow to set 
alternate face for multiples of N
has caused the debbugs.gnu.org bug report #27734,
regarding 26.0.50; display-line-numbers: allow to set alternate face for 
multiples of N
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
27734: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27734
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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 User-agent: mu4e 0.9.19; emacs 26.0.50
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.



--- End Message ---
--- Begin Message --- 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
Implemented by this commit:

commit 8de2e69f021b5b2920a07d82c9869bb394171d41
 Author: Juanma Barranquero <address@hidden>
 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 <address@hidden>

--- End Message ---

reply via email to

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