GNU bug report logs - #64713
30.0.50; Modeline position not being updated while using mode-line-format-right-align

Previous Next

Package: emacs;

Reported by: Juan Palacios <jpalaciosdev <at> gmail.com>

Date: Tue, 18 Jul 2023 16:19:02 UTC

Severity: normal

Found in version 30.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: Juan Palacios <jpalaciosdev <at> gmail.com>,  Hugo Heagren <hugo <at> heagren.com>
Cc: 64713 <at> debbugs.gnu.org
Subject: bug#64713: 30.0.50; Modeline position not being updated while using mode-line-format-right-align
Date: Tue, 18 Jul 2023 20:04:16 +0300
> From: Juan Palacios <jpalaciosdev <at> gmail.com>
> Date: Tue, 18 Jul 2023 18:15:27 +0200
> 
> mode-line-position does not get updated consistently when used in
> combination with mode-line-format-right-align in mode-line-format.
> 
> Evaluate the following code in the *scratch* buffer, then C-n and C-p
> and observe how the line counter on the mode line is not updated most
> of the time:
> 
> (setq mode-line-format '("%e" mode-line-front-space
>  (:propertize
>   ("" mode-line-mule-info mode-line-client mode-line-modified
>    mode-line-remote)
>   display (min-width (5.0)))
>  mode-line-frame-identification mode-line-buffer-identification "   "
>  mode-line-position
>  mode-line-format-right-align
>  (vc-mode vc-mode) "  " mode-line-modes
>  mode-line-misc-info mode-line-end-spaces))
> 
> Notice that mode-line-format-right-align was added just after
> mode-line-position.

Hugo, can you please look into this?




This bug report was last modified 1 year and 302 days ago.

Previous Next


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