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#27895: 26.0.50; display-line-numbers and header-line-format alignment Date: Sat, 05 Aug 2017 14:24:23 +0300 Message-ID: <83y3qyuujc.fsf@gnu.org> References: <87zibkax3f.fsf@holos> <837eyo0xln.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1501932314 16154 195.159.176.226 (5 Aug 2017 11:25:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Aug 2017 11:25:14 +0000 (UTC) Cc: 27895-done@debbugs.gnu.org To: mvoteiza@udel.edu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 05 13:25:10 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 1ddxCd-0003o5-6g for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Aug 2017 13:25:07 +0200 Original-Received: from localhost ([::1]:56282 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddxCj-00076G-FC for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Aug 2017 07:25:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddxCd-00075R-18 for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 07:25:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddxCY-00049N-Ur for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 07:25:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39883) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ddxCY-00049E-SB for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 07:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ddxCY-00007P-MC for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2017 07:25:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Aug 2017 11:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 27895 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 27895@debbugs.gnu.org, eliz@gnu.org, mvoteiza@udel.edu Original-Received: via spool by 27895-done@debbugs.gnu.org id=D27895.1501932282418 (code D ref 27895); Sat, 05 Aug 2017 11:25:02 +0000 Original-Received: (at 27895-done) by debbugs.gnu.org; 5 Aug 2017 11:24:42 +0000 Original-Received: from localhost ([127.0.0.1]:42559 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddxCE-00006c-7n for submit@debbugs.gnu.org; Sat, 05 Aug 2017 07:24:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ddxCD-00006Q-5I for 27895-done@debbugs.gnu.org; Sat, 05 Aug 2017 07:24:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ddxC3-0003ui-VG for 27895-done@debbugs.gnu.org; Sat, 05 Aug 2017 07:24:35 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ddxC3-0003ud-SR; Sat, 05 Aug 2017 07:24:31 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1629 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ddxC3-00006o-G1; Sat, 05 Aug 2017 07:24:31 -0400 In-reply-to: <837eyo0xln.fsf@gnu.org> (message from Eli Zaretskii on Tue, 01 Aug 2017 06:35:00 +0300) 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:135414 Archived-At: > Date: Tue, 01 Aug 2017 06:35:00 +0300 > From: Eli Zaretskii > Cc: 27895@debbugs.gnu.org > > > From: Mark Oteiza > > Date: Mon, 31 Jul 2017 21:35:48 -0400 > > > > Enabling display-line-numbers should affect how header-line-format is > > shown. > > I'm not sure I agree with this, not in this general form. Modes use > header-line in different ways, and I don't think we can decide for all > of them up front how they should react to line numbers. > > While I agree that tabulated-list modes and ruler-mode should indeed > be sensitive to line numbers, because the header-line in those modes > should align with the rest of buffer text, a counter-example is Info > mode, where indenting the header-line will IMO make the display look > uglier, almost buggy. > > If people agree that the effect on header-line should be dependent on > the mode, then it follows that the fix should be in the modes, not in > the display engine. Fixing tabulated-list-mode will fix all of its > descendants; ruler-mode will need a separate fix. And likewise for > any other mode which reports a similar issue. No further comments, so I've fixed tabulated-list-mode and ruler-mode to be sensitive to display-line-numbers, and I'm boldly marking this bug done. Thanks.