From: Eli Zaretskii <eliz@gnu.org>
To: Jean Louis <bugs@gnu.support>
Cc: 55159@debbugs.gnu.org
Subject: bug#55159: 29.0.50; ruler mode collides with header-line-format
Date: Thu, 28 Apr 2022 08:57:28 +0300 [thread overview]
Message-ID: <83pml1bvhz.fsf@gnu.org> (raw)
In-Reply-To: <86wnf97qlr.fsf@protected.rcdrun.com> (message from Jean Louis on Thu, 28 Apr 2022 07:56:48 +0300)
> From: Jean Louis <bugs@gnu.support>
> 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.
next prev parent reply other threads:[~2022-04-28 5:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-28 4:56 bug#55159: 29.0.50; ruler mode collides with header-line-format Jean Louis
2022-04-28 5:57 ` Eli Zaretskii [this message]
2022-04-28 10:24 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83pml1bvhz.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=55159@debbugs.gnu.org \
--cc=bugs@gnu.support \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).