From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: Native line numbers landed on master Date: Fri, 4 Oct 2019 12:24:22 +0200 Message-ID: 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> <87pnjchm7p.fsf@wavexx.thregr.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000049073a0594131d93" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="219823"; mail-complaints-to="usenet@blaine.gmane.org" Cc: spacibba@aol.com, rpluim@gmail.com, stefan@marxist.se, Emacs developers , Lars Magne Ingebrigtsen , Eli Zaretskii To: "Yuri D'Elia" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 04 13:38:20 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 1iGLud-000v42-NC for ged-emacs-devel@m.gmane.org; Fri, 04 Oct 2019 13:38:19 +0200 Original-Received: from localhost ([::1]:46834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGLub-00031A-Qv for ged-emacs-devel@m.gmane.org; Fri, 04 Oct 2019 07:38:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36103) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGKln-0005av-Bv for emacs-devel@gnu.org; Fri, 04 Oct 2019 06:25:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGKll-0005Iq-1d for emacs-devel@gnu.org; Fri, 04 Oct 2019 06:25:07 -0400 Original-Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:42166) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iGKlh-0005Ds-1t; Fri, 04 Oct 2019 06:25:01 -0400 Original-Received: by mail-qt1-x836.google.com with SMTP id w14so7781847qto.9; Fri, 04 Oct 2019 03:25:00 -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=Tnrozc3/e5Ei3Ey8yd/EsjebS5Uc64yEZtYoJuYuKTY=; b=J0Y7gM0xdkJM2Y+UwMdSdkeRs4qPRrFDuxm4ir6VWwcQETKtKrQLXI5zrkNEHE+iK8 dILCONRu3QxAzjXg3CiqSEcphJclefaFq/zZyQbGsZUcBvo+STv/PcEZ1O0a1MQWXGin eol0CW13Kl/lRTCRgoW4t/e5ZZHpEzBs8pqjsOHGUBx7it6QyLVX4ghjcf6P/wWwtIGw Zh1b8Xq7Yppw2GUgGSp60jcPfvj2fcmu8t/cnX+Uj81rxmk0sOLYbKtSCTlwGIMBGDx6 gvynR2/XINFO1vlC8fbxsUeT1SwNFAmyiau5E86K9JMkQ5hQO/ENnglCgO6n7c7N1kzI Qy6w== 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=Tnrozc3/e5Ei3Ey8yd/EsjebS5Uc64yEZtYoJuYuKTY=; b=gsUdITwzcQQ2End0FVS3r/NnvWwBrNVBiL0WV8a2b/gLusJulSzjE5EgZca5woeo6Q qMhlktxx7cWzm409pbh1c9VfkDoxTzmwOPLwB5/tlAMPrc3LPQNHrZz61HedQBc43l5A 9zK0YS/q3Z8KcrH5MXoPPpRETMbatC7hTQpb9W5GKUoXu7IpvNNM6q2SYF6bZ0wFrOcZ trjF5BoSi+6EHHIYJ9tcSrAU0G7f6+gOTRuOQBmRRkMaEDEFNNG86R91PLqMxLxxApMz +p0MK3f6Mb0ngKLaaHhc5DnQjtCfFtkFp4PFcRa6ARRqNdzi6xwFWCsDBr/2UTJgbfGU udYw== X-Gm-Message-State: APjAAAXUw3ReJx7YwNFxMjREbeZU7FYkEGNbsn4/S2w0w063GvvfVme9 LlST5/jwM2XUMhnOSki3xzpDdyz7cC1rpzSQ1p4= X-Google-Smtp-Source: APXvYqx5jlp6513h+gpCnqqlJoquEJxAyOMgALfG1risROuFzrviv3qwgEayFHPu/Xv+6eXsfI8BbJ6mZaZLzG0i2VA= X-Received: by 2002:ad4:5812:: with SMTP id dd18mr12641338qvb.136.1570184700166; Fri, 04 Oct 2019 03:25:00 -0700 (PDT) In-Reply-To: <87pnjchm7p.fsf@wavexx.thregr.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::836 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:240562 Archived-At: --00000000000049073a0594131d93 Content-Type: text/plain; charset="UTF-8" On Fri, Oct 4, 2019 at 11:52 AM Yuri D'Elia wrote: > > 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. Negative would be more of a change. As for going for a positive backwards (passing throught 0), it's easy to implement. >> Nothing: these modes are incompatible with the offset mode. > Agreed. Ok. >> 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. Ok. I have a bit of an implementation. Give me a few hours. Also, I just broke bootstrapping :-( --00000000000049073a0594131d93 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Oct 4, 2019 at 11:52 AM Yuri D= 9;Elia <wavexx@thregr.org> w= rote:
=C2=A0
> > The la= tter.=C2=A0 Or maybe no number at all.
>
> I'm used to a ne= gative sign, but it's logically redundant so omitting a
> minus a= nd going with a positive counting backwards would be perfectly
> fine= .

Negative would be more of a change.

As for going for a positive backwards (passing throught 0), it's= easy to implement.

>> Nothing: these modes are i= ncompatible with the offset mode.
> Agreed.

Ok.

>> We could sa= y 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 a= round and see.

Ok.

I have a bit of an implementation. Give me a few hours. Also, I just= broke bootstrapping :-(=C2=A0
--00000000000049073a0594131d93--