From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Native line numbers display and tab stops Date: Fri, 23 Jun 2017 17:50:09 +0000 Message-ID: <20170623175009.GA3295@acm> References: <838tkivj1i.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1498240296 30695 195.159.176.226 (23 Jun 2017 17:51:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Jun 2017 17:51:36 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 23 19:51:32 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 1dOSjv-0007YJ-Uy for ged-emacs-devel@m.gmane.org; Fri, 23 Jun 2017 19:51:28 +0200 Original-Received: from localhost ([::1]:36771 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dOSk0-0004ny-Oj for ged-emacs-devel@m.gmane.org; Fri, 23 Jun 2017 13:51:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dOSjt-0004nM-IG for emacs-devel@gnu.org; Fri, 23 Jun 2017 13:51:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dOSjo-00063l-Ly for emacs-devel@gnu.org; Fri, 23 Jun 2017 13:51:25 -0400 Original-Received: from ocolin.muc.de ([193.149.48.4]:46409 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1dOSjo-000637-AD for emacs-devel@gnu.org; Fri, 23 Jun 2017 13:51:20 -0400 Original-Received: (qmail 53379 invoked by uid 3782); 23 Jun 2017 17:51:18 -0000 Original-Received: from acm.muc.de (p548C641C.dip0.t-ipconnect.de [84.140.100.28]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 23 Jun 2017 19:51:17 +0200 Original-Received: (qmail 3770 invoked by uid 1000); 23 Jun 2017 17:50:09 -0000 Content-Disposition: inline In-Reply-To: <838tkivj1i.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.4 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:215911 Archived-At: Hello, Eli. On Fri, Jun 23, 2017 at 18:08:09 +0300, Eli Zaretskii wrote: > Someone reported on Reddit that turning on native line numbers display > (available on the line-numbers branch) doesn't update the tab stops to > start from zero after the line numbers. This looked like a bug, but I > see that the same happens when line-prefix is set to a non-nil value. > So maybe this is a feature? What do people think? Should I fix this > for all display features which insert stuff before the line beginning? Well, as far as the line numbers are concerned, they are a pure display feature. They should not affect editing commands. I think it is a bug if a user types `tab-to-tab-stop' on one line, switches on the line numbers, then types the same on the next line and finds that the two places tabbed to don't line up. Whether it's a bug with other display features, I can't really say, because I'm not familiar enough with them. > TIA -- Alan Mackenzie (Nuremberg, Germany).