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: Fri, 04 Oct 2019 11:52:10 +0200 Message-ID: <87pnjchm7p.fsf@wavexx.thregr.org> References: <834l4xbfmp.fsf@gnu.org> <87ef414dfn.fsf@wavexx.thregr.org> <83o9359w3l.fsf@gnu.org> <83eezycce5.fsf@gnu.org> <87muekj0i9.fsf@wavexx.thregr.org> <87d0fgagjl.fsf@gnus.org> <20191001225254.mwjnxlynjdc3mz7y@Ergus> <83lfu389vn.fsf@gnu.org> <87ftk9v4kx.fsf@wavexx.thregr.org> <83wodl54yt.fsf@gnu.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="72373"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.3.5; emacs 27.0.50 Cc: spacibba@aol.com, Juanma Barranquero , rpluim@gmail.com, stefan@marxist.se, emacs-devel@gnu.org, larsi@gnus.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 04 13:03:42 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 1iGLN8-000Ih1-9K for ged-emacs-devel@m.gmane.org; Fri, 04 Oct 2019 13:03:42 +0200 Original-Received: from localhost ([::1]:46202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGLN6-0006be-1X for ged-emacs-devel@m.gmane.org; Fri, 04 Oct 2019 07:03:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56353) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGKG8-00035T-EH for emacs-devel@gnu.org; Fri, 04 Oct 2019 05:52:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGKG7-0001qb-Bd for emacs-devel@gnu.org; Fri, 04 Oct 2019 05:52:24 -0400 Original-Received: from erc.thregr.org ([2001:41c9:1:41f::63]:55504) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iGKG6-0001oq-2J; Fri, 04 Oct 2019 05:52:22 -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 1iGKFz-000n2B-9K (envelope-from ); Fri, 04 Oct 2019 11:52:15 +0200 In-reply-to: <83wodl54yt.fsf@gnu.org> 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:240557 Archived-At: On Fri, Oct 04 2019, Eli Zaretskii wrote: >> That's a different feature. > > Indeed. Fine with this. >> - If you set it to a negative number (as you'll do, to compensate for the headers), what number will had >> previous lines: negative (which is currently unsupported), or positive going backwards? > > The latter. Or maybe no number at all. I'm used to a negative sign, but it's logically redundant so omitting a minus and going with a positive counting backwards would be perfectly fine. >> - What do you want to do when in relative/visual modes? > > Nothing: these modes are incompatible with the offset mode. Agreed. >> - What about narrowing? > > We could say that using the offset implies display-line-numbers-widen. I never thought or happen to be in this scenario so far. Implying d-l-n-widen makes sense as a starting point. I could play around and see.