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, improved Date: Sun, 25 Jun 2017 16:54:04 +0300 Message-ID: <83k240tbpf.fsf@gnu.org> References: <83tw35thxw.fsf@gnu.org> <594F8982.7070406@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1498398905 21607 195.159.176.226 (25 Jun 2017 13:55:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 25 Jun 2017 13:55:05 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 25 15:54:57 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 1dP807-000511-K9 for ged-emacs-devel@m.gmane.org; Sun, 25 Jun 2017 15:54:55 +0200 Original-Received: from localhost ([::1]:42701 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dP80B-0006Ph-CR for ged-emacs-devel@m.gmane.org; Sun, 25 Jun 2017 09:54:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dP7za-0006Pa-3j for emacs-devel@gnu.org; Sun, 25 Jun 2017 09:54:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dP7zX-0001NE-0h for emacs-devel@gnu.org; Sun, 25 Jun 2017 09:54:22 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dP7zW-0001N9-Sv; Sun, 25 Jun 2017 09:54:18 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2615 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dP7zW-0008T4-5t; Sun, 25 Jun 2017 09:54:18 -0400 In-reply-to: <594F8982.7070406@gmx.at> (message from martin rudalics on Sun, 25 Jun 2017 11:59:30 +0200) 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:215955 Archived-At: > Date: Sun, 25 Jun 2017 11:59:30 +0200 > From: martin rudalics > > > All the bugs reported till now are fixed, with the sole exception of > > truncated-lines display. The latter behaves better now (in > > particular, the funny problem reported by Martin, whereby you couldn't > > get to the line beginning, is gone), > > Confirmed. The speed is quite remarkable, BTW. Thanks. > We could think about a slot in the window structure which would control > line number display for a particular window (including the tooltip and > minibuffer windows). We'd need three values: Something like 'always' > for displaying them unconditionally, nil for respecting the window > buffer's local value and 'never' for never displaying line numbers in > that window. Is there a use case for displaying line numbers in a window rather than in all windows displaying a specific buffer? The code is already involved enough, and every additional sub-feature makes it a bit slower and less clear. So if there are no valid use cases for this, I'd like to wait until they come up, before coding this.