From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Native line numbers landed on master Date: Mon, 07 Oct 2019 10:09:43 +0200 Message-ID: References: <834l4xbfmp.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: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="238433"; 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: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 07 10:10:30 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 1iHO69-000zt9-MK for ged-emacs-devel@m.gmane.org; Mon, 07 Oct 2019 10:10:29 +0200 Original-Received: from localhost ([::1]:41468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHO67-0003jA-Qm for ged-emacs-devel@m.gmane.org; Mon, 07 Oct 2019 04:10:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45853) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHO5U-0003if-Vt for emacs-devel@gnu.org; Mon, 07 Oct 2019 04:09:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHO5U-0000Qd-2S for emacs-devel@gnu.org; Mon, 07 Oct 2019 04:09:48 -0400 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:46195) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHO5T-0000Q5-SO; Mon, 07 Oct 2019 04:09:48 -0400 Original-Received: by mail-wr1-x42c.google.com with SMTP id o18so13979739wrv.13; Mon, 07 Oct 2019 01:09:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=zMhB/rolZzMw9BqFXeQn/F2SMglLeIknlnJB2O2vDcs=; b=t+9YJjtgyGUz16TOK65Atm7W2f6JxCb6A9s5HKieg5evNArlRqJfhvxf6PwEgTdmC9 iyiB/9sDDG9hkItxtCjIWZhx7drMZPj6ZS58BcJyN9L3dR5PKXboNKnkAEpbXLTBndoR OGg7R1pE8qvwIa3LAKjrTMZS/SCYTXzDCAkAGjZYD9i3zXxGvlbWO5lqG4917idl2HSA Zo7ZBNUlMQGFFfv8yq5mOHwmTf84uUBo/mwbc4Ggk7pwjHrbzD7/NkmwqKPL2NQqYte6 yrU1GZl7Pyqu1umBTZ3FyLjY6zU1sF35DJMhnXzAxPk0ZmtJnZR+Up/jQcP8q8vpcW0I S0Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=zMhB/rolZzMw9BqFXeQn/F2SMglLeIknlnJB2O2vDcs=; b=kcMQOaLSrejn9WlnAQiHHV175yGsQfvLvtSv68kZ/qZ36n+plLDXzs5PxbJpZwSu26 fawze/XxBCCinDIN4sxBb7AvNGjVxZrik9ulddfTlubVcC07uS+eJIhfP0QHFlbTJt4G mxIbXL9PpS3ExrU1/Y+3XrcP3p0BtZYNIOBZTrYqPhI8S9/No50Pl93IAPo7HTwFDDJ1 cvINSmZ8rPCJiLrknIvrgGVBcg2to4PbRJZc/0yvhdaDbxSAPEsrI6YGIoT8JuTAmw+n CBZaSQAz9Fpj3Iz8QzkVaZzV6xdCNyG2SRBq7/L/Tyi1yAVk9l/j2kIwrh2kpaELQmFI fvtw== X-Gm-Message-State: APjAAAXR0A3RH65XM2naYK8qVzaXFFV2fD37dX/yKphcSSe+QRSfubm1 47YzOXGua5KegwfGp0v8CPXJXOQ8 X-Google-Smtp-Source: APXvYqyMIMl0/M1qPNoU8u4cZFrLRdvMx3dRXjYDkH+DYlcNL4R+laThZ13hiQ88iKKuTAwgim8CZQ== X-Received: by 2002:a05:6000:43:: with SMTP id k3mr23078078wrx.84.1570435785897; Mon, 07 Oct 2019 01:09:45 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id a204sm23681471wmh.21.2019.10.07.01.09.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2019 01:09:44 -0700 (PDT) In-Reply-To: (Juanma Barranquero's message of "Mon, 7 Oct 2019 09:39:08 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42c 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:240690 Archived-At: >>>>> On Mon, 7 Oct 2019 09:39:08 +0200, Juanma Barranquero said: Juanma> 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. Juanma> I think it's usually not done for native type variables: intege= r, boolean. Juanma> But I could be wrong. I can=CA=BCt find any documentation stating that, although a quick scan of = eg xdisp.c supports that. >> Also: if you add this new variable to lisp/cus-start.el, it will be >> customizable. Juanma> Yes, I did that with the major/minor ticks. Juanma> But the offset strikes me as a variable that doesn't make much = sense to Juanma> customize. More like setting it in a mode hook or something. Juanma> Do you feel otherwise? I was thinking of the case where people want a particular value in most of their buffers, in which case they'd want a default, which they'd then override for a few cases with a mode-hook. I can=CA=BCt judge how common that would be though. Robert