[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65568: 30.0.50; mode-line-format-right-align can make part of the mo
From: |
Eli Zaretskii |
Subject: |
bug#65568: 30.0.50; mode-line-format-right-align can make part of the modeline content disappear when eldoc is enabled |
Date: |
Sun, 27 Aug 2023 20:30:44 +0300 |
> Date: Sun, 27 Aug 2023 13:18:56 -0300
> From: John Task via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> Steps to reproduce:
>
> + Start Emacs with emacs -Q
>
> + Evaluate the following code:
>
> (setq-default 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
> (vc-mode vc-mode) " "
> ;; Right align
> mode-line-format-right-align
> mode-line-modes mode-line-misc-info mode-line-end-spaces))
>
> + Type anything that triggers eldoc while in the minibuffer. For instance:
>
> M-: ( c d
>
> [Wait for eldoc to appear]
>
> + Quit with C-g
>
> Note that the right half of the modeline (which contains the major
> mode) is no longer displayed. It won't come back, not even with M-:
> (force-mode-line-update) RET. However, this only affects the current
> buffer.
Hugo, could you please look into this?