From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55159: 29.0.50; ruler mode collides with header-line-format Date: Thu, 28 Apr 2022 08:57:28 +0300 Message-ID: <83pml1bvhz.fsf@gnu.org> References: <86wnf97qlr.fsf@protected.rcdrun.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14397"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55159@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 28 07:58:16 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njxAO-0003bW-3g for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Apr 2022 07:58:16 +0200 Original-Received: from localhost ([::1]:48446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njxAN-0007GO-75 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Apr 2022 01:58:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njxAA-0007Dp-Av for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2022 01:58:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njxAA-0004vI-2G for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2022 01:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njxAA-0004jb-1s for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2022 01:58: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: Thu, 28 Apr 2022 05:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55159 X-GNU-PR-Package: emacs Original-Received: via spool by 55159-submit@debbugs.gnu.org id=B55159.165112545818159 (code B ref 55159); Thu, 28 Apr 2022 05:58:02 +0000 Original-Received: (at 55159) by debbugs.gnu.org; 28 Apr 2022 05:57:38 +0000 Original-Received: from localhost ([127.0.0.1]:45004 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njx9m-0004ip-Gq for submit@debbugs.gnu.org; Thu, 28 Apr 2022 01:57:38 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njx9k-0004ia-K0 for 55159@debbugs.gnu.org; Thu, 28 Apr 2022 01:57:37 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44686) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njx9f-0004ri-6Q; Thu, 28 Apr 2022 01:57:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=LHN0U/6BYN+43PYzYi8lGZZ5/BexCvr3mmLgTjlMsns=; b=cbz9K8PYGepi Lm7aB3nwu2YtLqfmJBhcjg9zNmKNBWGgDPbs4Yh+CN3RGSHpETZPv+MXLS7icFYJFKhTZRh5YWlJ0 qjwOMJQPTt89VMo8UxMEYlGQehciWM5xi5/dhDwVH6R8fHO11IrgRYuNaCNsH/BvkhOqo3W0mrXI5 kSEZoGiZBQwJ4LK28TmgjRg2N1YJgA3I7VvhmxksKltbjJfjC+ZI274alS5A56QKdXe469v2ToGAx 5VlkxkGP81tYN0Hg8M1iQcUGrlxwdfDx7cPiwLv7NtCatEOoYdvCCUDxwlcrPhbFUDB8G8zLndlDk VfuuCYnqv8KGZJdEXKsiOg==; Original-Received: from [87.69.77.57] (port=2054 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njx9e-0006i7-Ix; Thu, 28 Apr 2022 01:57:30 -0400 In-Reply-To: <86wnf97qlr.fsf@protected.rcdrun.com> (message from Jean Louis on Thu, 28 Apr 2022 07:56:48 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230832 Archived-At: > From: Jean Louis > Date: Thu, 28 Apr 2022 07:56:48 +0300 > > > Following does not work as expected: > > (progn > (ruler-mode) > (setq header-line-format "Instructions")) > > And it should -- I am not sure, but I guess that it worked before, > because I have a function that always uses ruler-mode and title. In what version of Emacs was that? > The header-line should be displayed above the ruler in my opinion. Both > combinations should work regardless if header-line-format comes first or > second. ruler-mode.el uses the header-line to display the ruler. It always did. So by overwriting header-line-format in a buffer under ruler-mode you shoot yourself in the foot; don't do that. I very much doubt that it ever worked for you as you describe, because ruler-mode.el used header-line since it was first introduced in Emacs 22.1. From NEWS.22: ** The ruler-mode.el library provides a minor mode for displaying an "active" ruler in the header line. You can use the mouse to visually change the `fill-column', `window-margins' and `tab-stop-list' settings. So I see no bug here, but a cockpit error.