GNU bug report logs -
#65568
30.0.50; mode-line-format-right-align can make part of the modeline content disappear when eldoc is enabled
Previous Next
Full log
View this message in rfc822 format
> 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 <at> 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?
This bug report was last modified 1 year and 278 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.