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: Tue, 01 Aug 2017 06:35:00 +0300 Message-ID: <837eyo0xln.fsf@gnu.org> References: <87zibkax3f.fsf@holos> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1501558573 12748 195.159.176.226 (1 Aug 2017 03:36:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 Aug 2017 03:36:13 +0000 (UTC) Cc: 27895@debbugs.gnu.org To: Mark Oteiza Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 01 05:36:07 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 1dcNyZ-0002vC-1i for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Aug 2017 05:36:07 +0200 Original-Received: from localhost ([::1]:34273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcNyf-0003k7-15 for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Jul 2017 23:36:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcNyX-0003jq-Iw for bug-gnu-emacs@gnu.org; Mon, 31 Jul 2017 23:36:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcNyU-0005pO-Bt for bug-gnu-emacs@gnu.org; Mon, 31 Jul 2017 23:36:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33287) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcNyU-0005pK-93 for bug-gnu-emacs@gnu.org; Mon, 31 Jul 2017 23:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dcNyU-0006iv-44 for bug-gnu-emacs@gnu.org; Mon, 31 Jul 2017 23:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Aug 2017 03:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27895 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 27895-submit@debbugs.gnu.org id=B27895.150155851625791 (code B ref 27895); Tue, 01 Aug 2017 03:36:02 +0000 Original-Received: (at 27895) by debbugs.gnu.org; 1 Aug 2017 03:35:16 +0000 Original-Received: from localhost ([127.0.0.1]:35964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcNxk-0006hv-7z for submit@debbugs.gnu.org; Mon, 31 Jul 2017 23:35:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcNxi-0006hg-L4 for 27895@debbugs.gnu.org; Mon, 31 Jul 2017 23:35:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcNxa-0005Hl-3h for 27895@debbugs.gnu.org; Mon, 31 Jul 2017 23:35:09 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcNxa-0005Hh-0P; Mon, 31 Jul 2017 23:35:06 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4378 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dcNxY-0003FF-CW; Mon, 31 Jul 2017 23:35:05 -0400 In-reply-to: <87zibkax3f.fsf@holos> (message from Mark Oteiza on Mon, 31 Jul 2017 21:35:48 -0400) 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:135203 Archived-At: > 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.