From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Native line numbers landed on master Date: Sun, 16 Jul 2017 17:25:56 +0300 Message-ID: <83d190e9vv.fsf@gnu.org> References: <83k23jl5ra.fsf@gnu.org> <87bmolqryw.fsf@wavexx.thregr.org> <83lgnpds9v.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1500215163 31680 195.159.176.226 (16 Jul 2017 14:26:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 16 Jul 2017 14:26:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: wavexx@thregr.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 16 16:25:57 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dWkUe-0007q9-EM for ged-emacs-devel@m.gmane.org; Sun, 16 Jul 2017 16:25:56 +0200 Original-Received: from localhost ([::1]:45421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWkUi-0002UX-BB for ged-emacs-devel@m.gmane.org; Sun, 16 Jul 2017 10:26:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWkUa-0002U7-JP for emacs-devel@gnu.org; Sun, 16 Jul 2017 10:25:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dWkUX-0005BU-FR for emacs-devel@gnu.org; Sun, 16 Jul 2017 10:25:52 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dWkUX-0005BQ-Bx; Sun, 16 Jul 2017 10:25:49 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2760 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dWkUW-0000UB-My; Sun, 16 Jul 2017 10:25:49 -0400 In-reply-to: <83lgnpds9v.fsf@gnu.org> (message from Eli Zaretskii on Sun, 16 Jul 2017 05:34:04 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:216729 Archived-At: > Date: Sun, 16 Jul 2017 05:34:04 +0300 > From: Eli Zaretskii > Cc: emacs-devel@gnu.org > > > From: Yuri D'Elia > > Date: Sun, 16 Jul 2017 00:02:15 +0200 > > > > Is there a way to customize the face on a line basis, like > > `linum-format' allows? > > No. 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, if enough people would like such a feature. But I don't think it's a good idea to call a Lisp function when we produce line numbers, as that would slow down redisplay too much. Don't forget that redisplay is called for even the simplest operations, like cursor motion commands, and in many cases it will have to call that function for (almost) all the lines visible in the window.