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 12:40:04 +0200 Message-ID: <87k19oiwaj.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> <87lfu4iyjj.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="112944"; 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 12:41:10 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 1iFFag-000TEv-Fu for ged-emacs-devel@m.gmane.org; Tue, 01 Oct 2019 12:41:10 +0200 Original-Received: from localhost ([::1]:40214 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFFae-0006Pw-HQ for ged-emacs-devel@m.gmane.org; Tue, 01 Oct 2019 06:41:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49368) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFFZh-0006OT-8H for emacs-devel@gnu.org; Tue, 01 Oct 2019 06:40:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFFZg-0000y4-0p for emacs-devel@gnu.org; Tue, 01 Oct 2019 06:40:09 -0400 Original-Received: from erc.thregr.org ([2001:41c9:1:41f::63]:53290) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iFFZe-0000x0-Fu; Tue, 01 Oct 2019 06:40:06 -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 1iFFZf-000PJZ-4X (envelope-from ); Tue, 01 Oct 2019 12:40:07 +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:240431 Archived-At: On Tue, Oct 01 2019, Juanma Barranquero wrote: >> 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. > > Interesting. To corroborate, I'd should point out that I rarely use[d] linum on source code. I only activate line numbers temporarily through goto-line, and would mostly use '10' there, for quick readability. But I do use line numbers frequently when scanning through data files of various forms, especially now that numbers are fast. For data it's generally much more useful to use large numbers or something that has meaning in data. In linum I also used to apply a line offset to ignore the initial headers of many text files. When using this offset consistently in both linum and a tweaked goto-line you can essentially jump to "records", which is incredibly neat for many scenarios.