From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#27895: 26.0.50; display-line-numbers and header-line-format alignment Date: Sun, 6 Aug 2017 16:25:43 -0400 Message-ID: <20170806202543.GA1853@holos.localdomain> References: <87zibkax3f.fsf@holos> <837eyo0xln.fsf@gnu.org> <83y3qyuujc.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: blaine.gmane.org 1502051187 7962 195.159.176.226 (6 Aug 2017 20:26:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 Aug 2017 20:26:27 +0000 (UTC) User-Agent: Mutt/1.8.3 (2017-05-23) Cc: 27895-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 06 22:26:21 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 1deS7v-0001gC-1k for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Aug 2017 22:26:19 +0200 Original-Received: from localhost ([::1]:34248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deS81-0003U5-1f for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Aug 2017 16:26:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1deS7k-0003Kq-Tl for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 16:26:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1deS7e-0004NT-8i for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 16:26:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42315) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1deS7e-0004NP-4L for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 16:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1deS7d-0007kV-UC for bug-gnu-emacs@gnu.org; Sun, 06 Aug 2017 16:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 06 Aug 2017 20:26:01 +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-done@debbugs.gnu.org id=D27895.150205115229772 (code D ref 27895); Sun, 06 Aug 2017 20:26:01 +0000 Original-Received: (at 27895-done) by debbugs.gnu.org; 6 Aug 2017 20:25:52 +0000 Original-Received: from localhost ([127.0.0.1]:44992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deS7U-0007k8-E7 for submit@debbugs.gnu.org; Sun, 06 Aug 2017 16:25:52 -0400 Original-Received: from mail-qk0-f175.google.com ([209.85.220.175]:37143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deS7S-0007jv-EZ for 27895-done@debbugs.gnu.org; Sun, 06 Aug 2017 16:25:50 -0400 Original-Received: by mail-qk0-f175.google.com with SMTP id z18so30967215qka.4 for <27895-done@debbugs.gnu.org>; Sun, 06 Aug 2017 13:25:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=/l0vH2t4Rjy0xh7EDr2Re76psMzrPlramaJgX8ex0AI=; b=Qy85h8ecmuZmerUQUj+Mu2JShi7fzoWlndDIRlw0HiKME20AHqH34TvHCzobPECtrW gJDji5ViGF4xydeVqEaoanS77WaE+uGIF8ITMd+x/kwKKlVdDirzC9g9lF47Pf3hvXTn aWW9Rq1SeaPT2YD0rJ9M3hw4LsJb/SegB1+miM2K1J9XuDWqx9tyB9tmHc3bVsVDyoDH kH8/TWKNWGtY3/NAa1BVY3YmZjQj+SjLgRLk4UtOFZsdKIHs1J2KPkn4uLGZLa4eYsTU qqKLDWXO54sUMNqoubimzkkd972l+fg8uZe/rkTGF+1uO+ePSHwQ+cExSLo7N+y96usb bTKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/l0vH2t4Rjy0xh7EDr2Re76psMzrPlramaJgX8ex0AI=; b=JjZB+l81oc7Xpz7HSetcbPoNNIUY0QfpjJjW+QzaHt6kzI+Yi9uQYIMXkta2W1fdMj PBYbWn+iFzYaPmSWX3hjobpp9Y2/Mart1YPCbfi4inbIYYDp/LrEDPSxEf2zb2giWrGU Ho1rTZ9kktxo9GqCcC47J1JBqSYcq9/gzVbAzavaVuDl/u4EurP5eSayIpaqqXqMwFZ4 UMna1dQAW3/RcpmKVXj65LE49KUGAGdLQjWeZEt+T5rMBnpoYAZFRwQCuQUnPAbYlZ0J nK8DuPCDhsvEoTx47UQhauUW4ISRrt1jxEfA5ORGpb7nAJwgxeqM9/QECkZsPUAfoamf jk8w== X-Gm-Message-State: AHYfb5gRnzA73alR2tIqLzs55W/HgYatXaTYQtOTe7TOEmdBBB1/TJ5Z oNX7FTEVVpBFD3xZn4EVBg== X-Received: by 10.55.9.140 with SMTP id 134mr11113737qkj.355.1502051144635; Sun, 06 Aug 2017 13:25:44 -0700 (PDT) Original-Received: from holos.localdomain (pool-173-64-88-95.bltmmd.fios.verizon.net. [173.64.88.95]) by smtp.gmail.com with ESMTPSA id e40sm5204552qta.14.2017.08.06.13.25.43 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 06 Aug 2017 13:25:43 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 25401693FF; Sun, 6 Aug 2017 16:25:43 -0400 (EDT) Content-Disposition: inline In-Reply-To: <83y3qyuujc.fsf@gnu.org> 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:135512 Archived-At: On 05/08/17 at 02:24pm, Eli Zaretskii wrote: >> > 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. Info mode being an exception is fine I suppose, though I don't agree that it would look buggy. However, from -Q: 1. C-x C-b 2. M-x global-display-line-numbers-mode The header line does not change until one does a revert-buffer in the buffer list. This doesn't look good to me.