bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64713: 30.0.50; Modeline position not being updated while using mode


From: Eli Zaretskii
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@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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]