From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#27743: 26.0.50; Native Line Numbers seem to reset Tab Width Date: Tue, 18 Jul 2017 17:27:54 +0300 Message-ID: <83inipddlh.fsf@gnu.org> References: <87a842wzn5.fsf@spock> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1500388971 3299 195.159.176.226 (18 Jul 2017 14:42:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Jul 2017 14:42:51 +0000 (UTC) Cc: 27743-done@debbugs.gnu.org To: Frank Terbeck Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 18 16:42:47 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1dXTi3-0000hC-4a for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jul 2017 16:42:47 +0200 Original-Received: from localhost ([::1]:56929 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXTi8-0006mb-Jj for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jul 2017 10:42:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXTTs-0001QR-Dv for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2017 10:28:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXTTn-0006He-BD for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2017 10:28:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44023) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dXTTn-0006H1-7t for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2017 10:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dXTTm-0005cN-0Z for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2017 10:28:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2017 14:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 27743 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 27743@debbugs.gnu.org, eliz@gnu.org, ft@bewatermyfriend.org Original-Received: via spool by 27743-done@debbugs.gnu.org id=D27743.150038808021580 (code D ref 27743); Tue, 18 Jul 2017 14:28:01 +0000 Original-Received: (at 27743-done) by debbugs.gnu.org; 18 Jul 2017 14:28:00 +0000 Original-Received: from localhost ([127.0.0.1]:46699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXTTj-0005c0-Ph for submit@debbugs.gnu.org; Tue, 18 Jul 2017 10:27:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40065) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dXTTh-0005bn-RK for 27743-done@debbugs.gnu.org; Tue, 18 Jul 2017 10:27:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dXTTa-0006A7-4t for 27743-done@debbugs.gnu.org; Tue, 18 Jul 2017 10:27:52 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:53436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dXTTa-0006A1-1P; Tue, 18 Jul 2017 10:27:50 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1207 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dXTTY-0000XD-QN; Tue, 18 Jul 2017 10:27:49 -0400 In-reply-to: <87a842wzn5.fsf@spock> (message from Frank Terbeck on Mon, 17 Jul 2017 22:56:46 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134716 Archived-At: > From: Frank Terbeck > Date: Mon, 17 Jul 2017 22:56:46 +0200 > > > This can in fact be reproduced from "emacs -Q". Just open a file that > uses tabs for indentation. Then set tabulator width: > > (setq tab-width 4) > > The display of the tabulator width should now visibly be four > characters. Now enable line number display: > > (setq display-line-numbers 'relative) > > Now the tabulator display returns to eight characters. This is the bug > that I'm reporting. Disabling line number display: > > (setq display-line-numbers nil) > > ...returns the tabulator width to four characters. Thanks, fixed. (A stupid mistake which is exposed only when using tab-width of 4 or less, whereas I, believe it or not, did all my testing with tab-width = 5 and more.)