From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.devel Subject: Re: Native display of line numbers, improved Date: Sun, 25 Jun 2017 14:30:11 -0600 Message-ID: <87efu7lsj0.fsf@lylat> References: <83tw35thxw.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1498422639 29190 195.159.176.226 (25 Jun 2017 20:30:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Jun 2017 20:30:39 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 25 22:30:34 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPEAs-0006zo-RJ for ged-emacs-devel@m.gmane.org; Sun, 25 Jun 2017 22:30:26 +0200 Original-Received: from localhost ([::1]:43765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPEAy-0004Rl-5X for ged-emacs-devel@m.gmane.org; Sun, 25 Jun 2017 16:30:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPEAl-0004QU-VB for emacs-devel@gnu.org; Sun, 25 Jun 2017 16:30:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPEAi-0002y2-SH for emacs-devel@gnu.org; Sun, 25 Jun 2017 16:30:19 -0400 Original-Received: from mail-it0-x22e.google.com ([2607:f8b0:4001:c0b::22e]:37972) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPEAi-0002wD-No; Sun, 25 Jun 2017 16:30:16 -0400 Original-Received: by mail-it0-x22e.google.com with SMTP id b205so30394772itg.1; Sun, 25 Jun 2017 13:30:15 -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 :user-agent:mime-version; bh=+6oKtlhOpDH6ixSoQSCgLHyg2WYbJKTDadnY7Hsz3As=; b=DMSgRcXcTqIZvQRC5/O2kGTKoDzX4q6Izs7SQmKHyRzqvG250yywsrs2rlfU/Y/CfO K6yF3HQevRDEuIAX4XxqawgmDcCeSLhqz0glJ693a5EFQM7uO4DaSEcOj5dQxzoxKJBz Hckpafo3dDukkaOffYdR58cnrdifLMABLfNOI33omDP+2/Qf2UoZGV9l6oRn2HL0lJPl 4Tty7sduiXpSZBr/hL0+iM7N5L2yvffaQ5rP0TLaBGUwE6Hc2CyfzfxWvjK9G9R7jXVz Iy9v3r2Pa3FemSxDVlH9qGapedjNeM80HToKgn/T3itgxQon51oPz99/+EmaF6uJJxj3 wjSw== 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:user-agent:mime-version; bh=+6oKtlhOpDH6ixSoQSCgLHyg2WYbJKTDadnY7Hsz3As=; b=hyTLwVNFCuevsvST5cASFkoJW5Xq3YYc215X2SM1kVx81yuLZRpks+NXFL2a7HU1eU tM4eoHlBbdMBLF83XtYvCnezSpL7ednjNIDa78rNp77xRvJs4C5os09k1KlBwQW7a4QV 3uplvrAXAjMjGkWDUX2a3t6LT+WQcmJfA0qKBRA1Ry0fq4xpovF3nl6j+Y0SPjCaIA0o M2ZYz8V+wnP1cO0Sk6ObIYq00USm3bgPdZvqteNlhOfOwwogJc457r2cRXFWfDMSnH6z 5HZWZsIcs7U8+1Kpvh59sRiqKR/UaDj4WhLwpcyj+5d0/WQREhGzef1JCHu/y2Imk11U t0Ag== X-Gm-Message-State: AKS2vOyHckxbzEMuwHjqyqmZ/B5HE0FydEWMtG23/0pOxJX+0JVbtmHh Bp+mrMSQ5OSFE1Kc X-Received: by 10.36.85.214 with SMTP id e205mr20102060itb.120.1498422614215; Sun, 25 Jun 2017 13:30:14 -0700 (PDT) Original-Received: from lylat (S010664777d9cebe3.ss.shawcable.net. [70.64.85.59]) by smtp.gmail.com with ESMTPSA id p74sm6398576iop.10.2017.06.25.13.30.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 25 Jun 2017 13:30:13 -0700 (PDT) In-Reply-To: <83tw35thxw.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 24 Jun 2017 20:27:07 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:215979 Archived-At: Eli Zaretskii writes: Firstly, thanks for working on this. If I may, I have a couple of feature requests: 1. An option to never dynamically shrink 'display-line-number-width' while still dynamically growing. I dislike having column 0 constantly changing, so an option to only grow the width dynamically like in (n)linum would be very appreciated. 2. Building off of the above, it would be nice if there was an option to calculate the minimum line number width of a buffer when visiting it, like in linum. The 2nd one I believe I could accomplish with some Lisp code, but I was thinking that it might be more efficient/convenient if this could be implemented in the core.