GNU bug report logs - #74817
31.0.50; mode-line-format-right-align doesn't work well on header-line

Previous Next

Package: emacs;

Reported by: Eval Exec <execvy <at> gmail.com>

Date: Thu, 12 Dec 2024 10:36:01 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Eval Exec <execvy <at> gmail.com>
Cc: 74817 <at> debbugs.gnu.org
Subject: bug#74817: 31.0.50; mode-line-format-right-align doesn't work well on header-line
Date: Sat, 14 Dec 2024 12:55:00 +0200
tags 74817 notabug wontfix
thanks

> From: Eval Exec <execvy <at> gmail.com>
> Date: Thu, 12 Dec 2024 18:35:07 +0800
> 
> 
> for example:
> I create a scratch init.el:
> ```elisp
> 
> 
> (defun header0()
>   "header_line_head")
> (defun header1()
>   "header_line_tail")
> 
> (add-to-list 'header-line-format '(:eval (header0)) t)
> (add-to-list 'header-line-format mode-line-format-right-align t)
> (add-to-list 'header-line-format '(:eval (header1)) t)
> ```
> 
> Then start emacs, I got: https://imgur.com/a/PHGxRyf
> 
> You can see, in the right side of header-line, it's wrong, not right align well.

This feature doesn't work in header-line, only in mode-line.  It
specifically looks at mode-line-format.




This bug report was last modified 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.