From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.devel Subject: Re: Native line numbers landed on master Date: Tue, 01 Oct 2019 11:51:28 +0200 Message-ID: <87lfu4iyjj.fsf@wavexx.thregr.org> References: <83k23jl5ra.fsf@gnu.org> <87bmolqryw.fsf@wavexx.thregr.org> <83blz5bh2m.fsf@gnu.org> <87h88x4fqw.fsf@wavexx.thregr.org> <834l4xbfmp.fsf@gnu.org> <87ef414dfn.fsf@wavexx.thregr.org> <83o9359w3l.fsf@gnu.org> <83eezycce5.fsf@gnu.org> <87muekj0i9.fsf@wavexx.thregr.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="176020"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.3.5; emacs 27.0.50 Cc: Eli Zaretskii , Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 01 11:52:31 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iFEpb-000jg5-7q for ged-emacs-devel@m.gmane.org; Tue, 01 Oct 2019 11:52:31 +0200 Original-Received: from localhost ([::1]:39802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFEpZ-0003dU-Ss for ged-emacs-devel@m.gmane.org; Tue, 01 Oct 2019 05:52:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38701) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFEog-0003dF-Ra for emacs-devel@gnu.org; Tue, 01 Oct 2019 05:51:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFEof-0000aT-QL for emacs-devel@gnu.org; Tue, 01 Oct 2019 05:51:34 -0400 Original-Received: from erc.thregr.org ([2001:41c9:1:41f::63]:53250) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iFEod-0000X5-Ob; Tue, 01 Oct 2019 05:51:31 -0400 Original-Received: from [2a02:27e8:ffff:10::3] (helo=localhost) by erc.thregr.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) id 1iFEod-000OzY-JU (envelope-from ); Tue, 01 Oct 2019 11:51:31 +0200 In-reply-to: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2001:41c9:1:41f::63 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:240428 Archived-At: On Tue, Oct 01 2019, Juanma Barranquero wrote: > It'd be possible to add two faces, line-number-Nth-line and > line-number-Mth-line, and add variables to customize that N and M instead > of what I've done. > > But, are you suggesting it just because it is more generic, or do you have > an use case for another integer? Well, I did use linum formatting in weird ways before :) But if I'd take two integers, I would put 10,100 or even 10,1000 instead. When scanning through large files I'd rather think in bigger numbers.