From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 17 10:38:58 2017 Received: (at submit) by debbugs.gnu.org; 17 Jul 2017 14:38:58 +0000 Received: from localhost ([127.0.0.1]:44563 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX7Ao-0007tF-53 for submit@debbugs.gnu.org; Mon, 17 Jul 2017 10:38:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43325) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX7Am-0007t1-Ow for submit@debbugs.gnu.org; Mon, 17 Jul 2017 10:38:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX7Ag-0005Lw-Nx for submit@debbugs.gnu.org; Mon, 17 Jul 2017 10:38:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40261) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dX7Ag-0005Lr-LO for submit@debbugs.gnu.org; Mon, 17 Jul 2017 10:38:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX7Af-0000Zc-Nb for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 10:38:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX7Aa-0005KK-PB for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 10:38:49 -0400 Received: from erc.thregr.org ([46.43.2.63]:38614) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dX7Aa-0005Jx-Ik for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 10:38:44 -0400 Received: from [2a02:27e8:20:9049:56ee:75ff:fec2:8bfb] (helo=localhost) by erc.thregr.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1dX7AV-00079X-5W (envelope-from ) for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2017 16:38:39 +0200 User-agent: mu4e 0.9.19; emacs 26.0.50 From: Yuri D'Elia To: bug-gnu-emacs@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 Message-ID: <87bmojuo0h.fsf@wavexx.thregr.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 06 14:56:43 2019 Received: (at 27734-done) by debbugs.gnu.org; 6 Oct 2019 18:56:43 +0000 Received: from localhost ([127.0.0.1]:46865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHBhz-0001z2-5p for submit@debbugs.gnu.org; Sun, 06 Oct 2019 14:56:43 -0400 Received: from mail-qt1-f176.google.com ([209.85.160.176]:40916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHBhx-0001ym-3t for 27734-done@debbugs.gnu.org; Sun, 06 Oct 2019 14:56:41 -0400 Received: by mail-qt1-f176.google.com with SMTP id m61so5077129qte.7 for <27734-done@debbugs.gnu.org>; Sun, 06 Oct 2019 11:56:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jxZaZzIswai/ocpb5mvUVANEGqU8q6w4QqLpnQFkJPE=; b=GrPZtIkc1Y0Ly9PpjwM/VNCZ7rejlgGmtVWrdfew4GZbi2EQh213etMf/rzN/pE8/k ZZcGLdDK+hssfrqotjdI6Q/5AyrzuKEuMLlS9mI4IYy1Kv57T24CLyyXTjpqGHXQsh2h iRDZhurfJ5VLNUlIGzlnJArkvMEciWj/0w9sgw1kb+O7YaCiJPojk55ZXKI9r37haAt2 lCmIHjfMVHBH7/BrDxKCm7pLoJ1gdmsQXrvHb9rWFlTcGmvwPNqP1hbhiu5bO8l9O7iR wFqOQ9iGbuwxJ5WR7AUGlHeu2jkaGcrU9oHVpDpvjZJMNUOUO7V1mOLcdjLJj/zQq393 KhdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jxZaZzIswai/ocpb5mvUVANEGqU8q6w4QqLpnQFkJPE=; b=XOeRd9cQtOoqWY7B9CHgxdCAbPBdLpL27krjG3mEqrhHv9K6AatMjH3uNuHCaDKFpD t7GxC6B8FS6oca8D8jMBjcswDLQyMRKQw43VYD8GqjYG18NbucPYCwWfTFho5gtkesDa 8oYP6Tyvp09ICmJW/5cm7DzMMoFmQhvMjDcH0jbo2Zo/qtb3yNG0QmjudgDtBTWts61X SxXMw9Lonwk4P3euK9IhCtIvpt302uYrYeL80lkFHki0kREG/c6hdc7pria6txuM22VZ 0drG1CkoZYxP0k8Ljc0l0ohCk7TVQnrl1TGFIJZQOmFMBNcDPuNp8lbdsAMODVb7DNYL QAxg== X-Gm-Message-State: APjAAAWvJ0GtLlD3HiBMmOy9FFMV2wdZCbJfCdHL9xS1Eu3HIxihuGEJ fT8qv1vtxwydDRjPXTtz6NiScquvxhQoVvWdNzOYhISq X-Google-Smtp-Source: APXvYqyRSsu89Dgy+LAkK99oSJKupPwS/37XnzYmm/F6Gl9s2NiCETnxregfA8VMYT91S6rZizgA7tglojp4SKs+ACg= X-Received: by 2002:ad4:5812:: with SMTP id dd18mr22874497qvb.136.1570388195118; Sun, 06 Oct 2019 11:56:35 -0700 (PDT) MIME-Version: 1.0 References: <87bmojuo0h.fsf@wavexx.thregr.org> In-Reply-To: <87bmojuo0h.fsf@wavexx.thregr.org> From: Juanma Barranquero Date: Sun, 6 Oct 2019 20:56:00 +0200 Message-ID: Subject: Re: bug#27734: 26.0.50; display-line-numbers: allow to set alternate face for multiples of N To: "Yuri D'Elia" Content-Type: multipart/alternative; boundary="00000000000087934e0594427e89" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 27734-done Cc: 27734-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --00000000000087934e0594427e89 Content-Type: text/plain; charset="UTF-8" Implemented by this commit: commit 8de2e69f021b5b2920a07d82c9869bb394171d41 Author: Juanma Barranquero 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) : Defvar new options. (syms_of_xdisp) : 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 --00000000000087934e0594427e89 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Implemented by this commit:

commi= t 8de2e69f021b5b2920a07d82c9869bb394171d41
=C2=A0Author: Juanma Barranqu= ero <lekktu@gmail.com>
=C2= =A0Date: =C2=A0 2019-10-06 20:53:18 +0200

=C2=A0 =C2=A0 =C2=A0Set al= ternate faces for some line numbers (bug#27734)

=C2=A0 =C2=A0 =C2=A0= * lisp/faces.el (line-number-major-tick, line-number-minor-tick):
=C2=A0= =C2=A0 =C2=A0New faces.
=C2=A0 =C2=A0 =C2=A0* lisp/cus-start.el (displa= y-line-numbers-major-tick)
=C2=A0 =C2=A0 =C2=A0(display-line-numbers-min= or-tick): Add customization info.
=C2=A0 =C2=A0 =C2=A0* lisp/frame.el: A= dd `display-line-numbers-major-tick' and
=C2=A0 =C2=A0 =C2=A0`displa= y-line-numbers-minor-tick' to list of variables which
=C2=A0 =C2=A0 = =C2=A0should trigger redisplay of the current buffer.

=C2=A0 =C2=A0 = =C2=A0* src/xdisp.c (syms_of_xdisp) <display-line-numbers-major-tick>=
=C2=A0 =C2=A0 =C2=A0<display-line-numbers-major-tick>: Defvar new= options.
=C2=A0 =C2=A0 =C2=A0(syms_of_xdisp) <line-number-major-tick= , line-number-minor-tick>:
=C2=A0 =C2=A0 =C2=A0Defsym new faces.
= =C2=A0 =C2=A0 =C2=A0(maybe_produce_line_number): Use new faces for line num= bers
=C2=A0 =C2=A0 =C2=A0that are multiple of `display-line-numbers-majo= r-tick' and
=C2=A0 =C2=A0 =C2=A0`display-line-numbers-minor-tick'= ;.

=C2=A0 =C2=A0 =C2=A0* etc/NEWS (value): Announce new feature.
= =C2=A0 =C2=A0 =C2=A0* doc/emacs/display.texi (Display Custom): Describe it.= =C2=A0 Wording by
=C2=A0 =C2=A0 =C2=A0Robert Pluim <rpluim@gmail.com>
--00000000000087934e0594427e89-- From unknown Sat Aug 16 16:06:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 04 Nov 2019 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator