unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: 63186-done@debbugs.gnu.org
Subject: bug#63186: 30.0.50; Modeline is not fully repainted when being set to nil then back to having content
Date: Sun, 30 Apr 2023 17:57:41 +0300	[thread overview]
Message-ID: <838re9pgd6.fsf@gnu.org> (raw)
In-Reply-To: <CAHyO48yq=4Boj=qWtU_SdUC8nPS0r2x1SkYnbznpPTUAZZz7hw@mail.gmail.com> (message from Aaron Jensen on Sun, 30 Apr 2023 10:48:10 -0400)

> From: Aaron Jensen <aaronjensen@gmail.com>
> Date: Sun, 30 Apr 2023 10:48:10 -0400
> Cc: 63186-done@debbugs.gnu.org
> 
> On Sun, Apr 30, 2023 at 9:25 AM Eli Zaretskii <eliz@gnu.org> wrote:
> >
> > > (setq mode-line-format "foo")
> > > (setq mode-line-format nil)
> > > (setq mode-line-format "boo")
> > >
> > > After the last line, only the "b" of the mode line will be rendered.
> > > Triggering a repaint with M-x or resizing the window causes the entire
> > > mode line to repaint.
> > >
> > > If the buffer has enough content in it such that there is text where the
> > > mode line is when it is set to `nil', most of that text will remain
> > > painted in place when the mode line is set to "boo".
> >
> > Thanks, should be fixed now on the emacs-29 branch.
> >
> > (This is a regression from Emacs 28, but I have no idea which change
> > caused it.)
> 
> Thanks, confirmed. Fixed when merged into Emacs 30 as well.

Thanks for testing.





      reply	other threads:[~2023-04-30 14:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-30  9:54 bug#63186: 30.0.50; Modeline is not fully repainted when being set to nil then back to having content Aaron Jensen
2023-04-30 13:26 ` Eli Zaretskii
2023-04-30 14:48   ` Aaron Jensen
2023-04-30 14:57     ` Eli Zaretskii [this message]

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=838re9pgd6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=63186-done@debbugs.gnu.org \
    --cc=aaronjensen@gmail.com \
    /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).