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

Package: emacs;

Reported by: John Task <q01 <at> disroot.org>

Date: Sun, 27 Aug 2023 17:17:01 UTC

Severity: normal

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: hugo <at> heagren.com
Cc: q01 <at> disroot.org, 65568 <at> debbugs.gnu.org
Subject: bug#65568: 30.0.50; mode-line-format-right-align can make part of the modeline content disappear when eldoc is enabled
Date: Fri, 15 Sep 2023 09:52:57 +0300
Ping!

> Cc: 65568 <at> debbugs.gnu.org
> Date: Sun, 27 Aug 2023 20:30:44 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> 
> > 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.