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 03:51:29 +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> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000064c9805940bf3be" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="255352"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Ergus , Robert Pluim , Stefan Kangas , 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 03:52:40 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 1iGCls-0014LI-GI for ged-emacs-devel@m.gmane.org; Fri, 04 Oct 2019 03:52:40 +0200 Original-Received: from localhost ([::1]:41734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGClq-0006Y8-Kk for ged-emacs-devel@m.gmane.org; Thu, 03 Oct 2019 21:52:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53459) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iGClR-0006Y1-7V for emacs-devel@gnu.org; Thu, 03 Oct 2019 21:52:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iGClP-0002HK-Hd for emacs-devel@gnu.org; Thu, 03 Oct 2019 21:52:12 -0400 Original-Received: from mail-qk1-x729.google.com ([2607:f8b0:4864:20::729]:42466) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iGClM-0002Eb-MN; Thu, 03 Oct 2019 21:52:08 -0400 Original-Received: by mail-qk1-x729.google.com with SMTP id f16so4373741qkl.9; Thu, 03 Oct 2019 18:52:07 -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=jj6qwhd76+4dmJzZ2DATQvy6lmGTmNHHrLEN8y4wPaU=; b=ccBDxOs2fqsAa5aFepQGugfbZeXkFvneeILfuEqRrPDGmj4ozD+kP9Cnm4EdbpBKt2 3uyRTEv1itr14mgH83XNtXEp5TGnTE6qhNs4qxmTBuEbqqny8Rf33MF5H8eiyO0amdEZ D0UiLYCRXHIGsJ77sAUWygRgN7IKDFdw4b5ta0E1jkxzV2/O0pgKfsyRyFM4jpc4q2J3 apbCud+sEJzgWOiYnXbru25Li5rXC7BhVp6eSePzInOeCu3zxYdN5NMizn7qgGoMiKPY Mx7NoqIwFNvh0ef/MuwhmvkiQsEGYGiNkDfB7H3OeDZz8r3mMO82BNxQpxuelHyQ5Pbx 2lRA== 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=jj6qwhd76+4dmJzZ2DATQvy6lmGTmNHHrLEN8y4wPaU=; b=o+LZnEdlwQsUBeAjpUTQNLbEvFxmmj4j9GSVgDWDbaVbvbx6FI44Sh8Vuryadw+kEB j6Zeh4QqUqKdNmgz9WTdxQPdrQXUyjC+1kGCfn9SwWoifSlodV3THPCDWHxA6vx9rbt6 buGyWBcJA+gN0//CS+JYS6DEHVRdcjHl7ugiz0fLknInW0uDkpKtCt/4SDya4RMvJRd4 3trUDYW4/oBvO5vF5rGkQZfIVX9Wg8UyuiHcTm+oI3GXilu1r/iLSQ5LxAw2aTjLFkI1 QtZTeww+jgwlMOkwhRqnyyDsa93rkro5DIYoLnLvR5ytU9K2n8QTJ/SFqe31i/n6onKy OoCw== X-Gm-Message-State: APjAAAVmhv/bTkrB+duI5JxdOx3qMfngIZR4tBqWMD1Ob6zXmu10dDtI eToEakRTuruL3RtVOhEO85oBYmCSwOw1kxBUb6k= X-Google-Smtp-Source: APXvYqxDBvwGoymQ5mMzP8c2g60ZJDxyOwufKaFAgHculQowZrFEqeU5r7KKIYdBpfkdQDMRv9WdE3/Tccii2rOXXTY= X-Received: by 2002:a37:4802:: with SMTP id v2mr7669870qka.496.1570153926379; Thu, 03 Oct 2019 18:52:06 -0700 (PDT) In-Reply-To: <87ftk9v4kx.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::729 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:240544 Archived-At: --000000000000064c9805940bf3be Content-Type: text/plain; charset="UTF-8" On Fri, Oct 4, 2019 at 12:37 AM Yuri D'Elia wrote: > I'll throw this in, since I've mentioned it. > Can we add a line number offset? > > display-line-number-offset > > As a signed integer which gets added the current number, defaulting to > 0. That's a different feature. I don't understand the semantics. - 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? - What do you want to do when in relative/visual modes? - What about narrowing? --000000000000064c9805940bf3be Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On Fri, Oct 4, 2019 at 12:37 AM Yuri D'Elia <wavexx@thregr.org> wrote:

=
> I'll throw this in, since I've mentioned it.
> Can = we add a line number offset?
>
> display-line-number-offset
= >
> As a signed integer which gets added the current number, defau= lting to
> 0.

That's a different feature.
=

I don't understand the semantics.

- If you set it to a negative number (as you'll do, to compensa= te for the headers), what number will had previous lines: negative (which i= s currently unsupported), or positive going backwards?
- What do = you want to do when in relative/visual modes?
- What about narrow= ing?


--000000000000064c9805940bf3be--