unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: John Task <q01@disroot.org>, Hugo Heagren <hugo@heagren.com>
Cc: 65568@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: Sun, 27 Aug 2023 20:30:44 +0300	[thread overview]
Message-ID: <835y50jsu3.fsf@gnu.org> (raw)
In-Reply-To: <86sf84v3z9.fsf@disroot.org> (bug-gnu-emacs@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@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?





  reply	other threads:[~2023-08-27 17:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-27 16:18 bug#65568: 30.0.50; mode-line-format-right-align can make part of the modeline content disappear when eldoc is enabled John Task via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-08-27 17:30 ` Eli Zaretskii [this message]
2023-09-15  6:52   ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=835y50jsu3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=65568@debbugs.gnu.org \
    --cc=hugo@heagren.com \
    --cc=q01@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).