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: Mon, 7 Oct 2019 09:39:08 +0200 Message-ID: References: <834l4xbfmp.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="000000000000bb26c405944d27fc" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="110541"; mail-complaints-to="usenet@blaine.gmane.org" Cc: spacibba@aol.com, stefan@marxist.se, Emacs developers , Yuri D'Elia , Eli Zaretskii , Lars Magne Ingebrigtsen To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 07 09:40: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 1iHNcy-000SfO-1q for ged-emacs-devel@m.gmane.org; Mon, 07 Oct 2019 09:40:20 +0200 Original-Received: from localhost ([::1]:41278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHNcw-0007YF-Uc for ged-emacs-devel@m.gmane.org; Mon, 07 Oct 2019 03:40:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42382) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHNcQ-0007Y4-Mf for emacs-devel@gnu.org; Mon, 07 Oct 2019 03:39:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHNcP-0007Cy-O9 for emacs-devel@gnu.org; Mon, 07 Oct 2019 03:39:46 -0400 Original-Received: from mail-qt1-x844.google.com ([2607:f8b0:4864:20::844]:38094) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHNcO-0007C9-FS; Mon, 07 Oct 2019 03:39:44 -0400 Original-Received: by mail-qt1-x844.google.com with SMTP id j31so17876510qta.5; Mon, 07 Oct 2019 00:39:44 -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=UWcW2utFi7r4hVWJA3qtY2PswzkP0SB09GjG8doZBrM=; b=qHpJE5Uml4LqIkXzAGEgmkZUwrSOliqa+rlK+eJLPwfe3msbyWQGv8E5K/4d1kLFOD YWEfvvfu2LMPyicXjd+MXHcsgW1J8XRGmYnNBWViMus4owI1iqprztXNeU6XecEH8aue MCp8cV/W75SUwMvQgCeE9LH3HxQ1t5XCkQOzF3sEWvS8zfVJoDUvR9ShZTtLppchz9sY XHdyRlXhZG6dwOfkDGtpktOeDX8DGIDRFl9//aUZ+E21rHkNT3sv/3FIJdyHZLNVfF+K kVfG65w7EOgxsIvg5+tHdfcuo8cOs1/Y6MEOl8PWzVhTpdr+i9a2nEstGrzyiTU/t8ZP wQqQ== 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=UWcW2utFi7r4hVWJA3qtY2PswzkP0SB09GjG8doZBrM=; b=OuDSEE6+U4x1HYSdBKO624LouEDLnRdsUQ886kkjL1Nua5dX5C41fAv8qS1tsUreeh z112FAtY+NWF2+Q4RvLZVj13gPFWMB4opDUv8ZzgwQH3CGP/3MXaOUR1yPAjCpnCYGEB jtxGF12HS9dCNr7vPkQ4aMMcV63BpVZm5TXwLbCn5PsIGil8YFbbCURx9v+ZAyLXrXMr eg5VZ+FybMpkOBS7uqy3Rh/28FVQmeWdfyo7sMoCe3zLsW4ZoqwpJlJdYas2aaV8g0uL IyyvPN63s4XPtIAVd6mkWZbx8kDcs778M2WO8NHFtGnmfBHdEzmUHCLN3vPS3L7QOXGo M3Ww== X-Gm-Message-State: APjAAAVh3Clez7NwDGYEvvThEuJ5dz7B//vSMCQnd4CNzzkat+822hYz rPZxV/70cdG5vpsuznELBkhCn6C5o51GwWu45hw= X-Google-Smtp-Source: APXvYqwFdnTVntdz5pN1mu5AS9wnmDgcPLHvuBWUxwRKFfQJg/s7rk6QHB9Ro5PsBpw/LJlS/KokXjJc47q8152R+Gc= X-Received: by 2002:aed:21d1:: with SMTP id m17mr29082707qtc.17.1570433983521; Mon, 07 Oct 2019 00:39:43 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::844 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:240689 Archived-At: --000000000000bb26c405944d27fc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Oct 7, 2019 at 8:54 AM Robert Pluim wrote: > I thought the convention for C-level variables for Lisp variables was > to stick a 'V' on the front, but I see Eli didn=CA=BCt do that for > display-line-numbers-widen, so now I=CA=BCm wondering. I think it's usually not done for native type variables: integer, boolean. But I could be wrong. > Also: if you add this new variable to lisp/cus-start.el, it will be > customizable. Yes, I did that with the major/minor ticks. But the offset strikes me as a variable that doesn't make much sense to customize. More like setting it in a mode hook or something. Do you feel otherwise? --000000000000bb26c405944d27fc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, Oct 7, 2019 at 8:54 AM Robert Pluim <rpluim@gmail.com> wrote:

> = I thought the convention for C-level variables for Lisp variables was
&g= t; to stick a 'V' on the front, but I see Eli didn=CA=BCt do that f= or
> display-line-numbers-widen, so now I=CA=BCm wondering.

I think it's usually not done for native type variables: integ= er, boolean. But I could be wrong.

> Also: if y= ou add this new variable to lisp/cus-start.el, it will be
> customiza= ble.

Yes, I did that with the major/minor ticks.

But the offset strikes me as a variable that doesn't m= ake much sense to customize. More like setting it in a mode hook or somethi= ng.

Do you feel otherwise?
--000000000000bb26c405944d27fc--