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 display of line numbers Date: Sun, 18 Jun 2017 17:31:19 +0300 Message-ID: <83zid5xt8o.fsf@gnu.org> References: <83lgoqzm0v.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1497796305 21842 195.159.176.226 (18 Jun 2017 14:31:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Jun 2017 14:31:45 +0000 (UTC) Cc: emacs-devel@gnu.org, mathias.dahl@gmail.com To: James Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 18 16:31:40 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 1dMbEp-0005Nj-Mt for ged-emacs-devel@m.gmane.org; Sun, 18 Jun 2017 16:31:39 +0200 Original-Received: from localhost ([::1]:38552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMbEu-00043s-Ko for ged-emacs-devel@m.gmane.org; Sun, 18 Jun 2017 10:31:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMbEo-00043m-PQ for emacs-devel@gnu.org; Sun, 18 Jun 2017 10:31:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMbEj-0008Lw-QL for emacs-devel@gnu.org; Sun, 18 Jun 2017 10:31:38 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMbEj-0008Ll-NQ; Sun, 18 Jun 2017 10:31:33 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3286 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dMbEi-0006O5-WC; Sun, 18 Jun 2017 10:31:33 -0400 In-reply-to: (message from James Nguyen on Sat, 17 Jun 2017 15:12:04 -0700) 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:215743 Archived-At: > From: James Nguyen > Date: Sat, 17 Jun 2017 15:12:04 -0700 > Cc: Eli Zaretskii , > emacs-devel@gnu.org > > While we're on this topic, I wonder how feasible it would be to do smooth pixel > scrolling at the C layer. On the device-independent level, this is already supported, has been since Emacs 21. Emacs 26 has a minor mode which uses this to provide pixel-level smooth scroll commands. But they slow down scrolling, so some people might not like that. And the only way I can think of to implement a faster smooth scrolling is to do that in terminal-specific code, i.e. separately for X, w32, and NS. Patches are welcome. > I like how nlinum highlights the current line with a different face. I think > it's a nice UI polish item. (Not everything has to be 100% for functional > purposes.) > > - > > For Relative Numbers, a feature request would be to have the current line > represent the current line number instead of 0. I think vim 8 does that > for relative numbers. I guess this will have to be added, thanks for the feedback.