From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!.POSTED!not-for-mail
From: Eli Zaretskii <eliz@gnu.org>
Newsgroups: gmane.emacs.devel
Subject: Re: Native line numbers display and tab stops
Date: Sat, 24 Jun 2017 20:31:40 +0300
Message-ID: <83r2y9thqb.fsf@gnu.org>
References: <838tkivj1i.fsf@gnu.org> <20170623175009.GA3295@acm>
	<834lv6v2bs.fsf@gnu.org> <m2k24249wd.fsf@newartisans.com>
Reply-To: Eli Zaretskii <eliz@gnu.org>
NNTP-Posting-Host: blaine.gmane.org
X-Trace: blaine.gmane.org 1498325555 9002 195.159.176.226 (24 Jun 2017 17:32:35 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 24 Jun 2017 17:32:35 +0000 (UTC)
Cc: acm@muc.de, emacs-devel@gnu.org
To: John Wiegley <jwiegley@gmail.com>
Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 24 19:32:31 2017
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
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 <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1dOov7-0001y0-Dq
	for ged-emacs-devel@m.gmane.org; Sat, 24 Jun 2017 19:32:29 +0200
Original-Received: from localhost ([::1]:40002 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>)
	id 1dOovC-00082u-Ld
	for ged-emacs-devel@m.gmane.org; Sat, 24 Jun 2017 13:32:34 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39632)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <eliz@gnu.org>) id 1dOouc-00082o-Pf
	for emacs-devel@gnu.org; Sat, 24 Jun 2017 13:31:59 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <eliz@gnu.org>) id 1dOouZ-0002Gx-Ms
	for emacs-devel@gnu.org; Sat, 24 Jun 2017 13:31:58 -0400
Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37851)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@gnu.org>)
	id 1dOouZ-0002Gr-Jb; Sat, 24 Jun 2017 13:31:55 -0400
Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1944
	helo=home-c4e4a596f7)
	by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
	(Exim 4.82) (envelope-from <eliz@gnu.org>)
	id 1dOouY-0007bP-Rp; Sat, 24 Jun 2017 13:31:55 -0400
In-reply-to: <m2k24249wd.fsf@newartisans.com> (message from John Wiegley on
	Fri, 23 Jun 2017 15:27:46 -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." <emacs-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/emacs-devel/>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=subscribe>
Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org
Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
Xref: news.gmane.org gmane.emacs.devel:215937
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/215937>

> From: John Wiegley <jwiegley@gmail.com>
> Date: Fri, 23 Jun 2017 15:27:46 -0700
> Cc: Alan Mackenzie <acm@muc.de>, emacs-devel@gnu.org
> 
> >>>>> "EZ" == Eli Zaretskii <eliz@gnu.org> writes:
> 
> EZ> When you switch on line numbers, text of all lines is pushed to the right,
> EZ> but tab stops are left in the same horizontal position. They are all left
> EZ> at that position, so they still line up.
> 
> Not having tried it, but that does sound counter-intuitive at first glance...

I eventually convinced myself that this should be fixed, but I only
did that for the case of line-number display.  Other use cases, like
line-prefix, remain unchanged.