From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Native line numbers, final testing Date: Tue, 04 Jul 2017 17:32:09 +0300 Message-ID: <83mv8knuhi.fsf@gnu.org> References: <83y3s9pm2a.fsf@gnu.org> <83zicmntaq.fsf@gnu.org> <83van9o6l8.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1499178755 14182 195.159.176.226 (4 Jul 2017 14:32:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 4 Jul 2017 14:32:35 +0000 (UTC) Cc: james@jojojames.com, emacs-devel@gnu.org To: Filipe Silva Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 04 16:32:30 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 1dSOsM-0003BX-MX for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2017 16:32:26 +0200 Original-Received: from localhost ([::1]:41717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSOsR-0001Kd-WE for ged-emacs-devel@m.gmane.org; Tue, 04 Jul 2017 10:32:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60152) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSOsA-0001JI-5w for emacs-devel@gnu.org; Tue, 04 Jul 2017 10:32:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dSOs8-000173-TV for emacs-devel@gnu.org; Tue, 04 Jul 2017 10:32:14 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dSOs8-00016n-QK; Tue, 04 Jul 2017 10:32:12 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1575 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dSOs7-0005c0-SB; Tue, 04 Jul 2017 10:32:12 -0400 In-reply-to: (message from Filipe Silva on Tue, 4 Jul 2017 07:57:10 -0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:216155 Archived-At: > From: Filipe Silva > Date: Tue, 4 Jul 2017 07:57:10 -0300 > Cc: Eli Zaretskii , Emacs developers > > When working with really large files, 10k+ lines long, having the current line display the abs line number can > feel "to much" because all lines have max 2 number and the current line has 5 number so the fringe has to > grow extra 3 columns just to acommodate the current abs line number of the current line. > > Would it be possible to have like a toggle mechanism to switch the current line number of the current line from > abs to nothing or even to zero? that'd be a great addition to this already awesome feature. You can customize display-line-numbers-current-absolute to do what you want. Thank you for the feedback.