From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 16:26:02 +0300 Message-ID: <83cz3lpklx.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29924"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63186@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 30 15:26:33 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pt74S-0007d5-QT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Apr 2023 15:26:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pt749-0001OI-BQ; Sun, 30 Apr 2023 09:26:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pt744-0001M2-1c for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 09:26:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pt73y-0007w8-JZ for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 09:26:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pt73y-0001QB-EM for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 09:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Apr 2023 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63186 X-GNU-PR-Package: emacs Original-Received: via spool by 63186-submit@debbugs.gnu.org id=B63186.16828611585445 (code B ref 63186); Sun, 30 Apr 2023 13:26:02 +0000 Original-Received: (at 63186) by debbugs.gnu.org; 30 Apr 2023 13:25:58 +0000 Original-Received: from localhost ([127.0.0.1]:37491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt73u-0001Pl-13 for submit@debbugs.gnu.org; Sun, 30 Apr 2023 09:25:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt73q-0001PN-10 for 63186@debbugs.gnu.org; Sun, 30 Apr 2023 09:25:57 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pt73k-0007sJ-Hc; Sun, 30 Apr 2023 09:25:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7L2Z4IAafYDtRgwnrvTB8gcUxQyU+7eb1434GkDQnMI=; b=b9cUedQuHKFL 7fyVKHbtgaN1LpflHwOdqLsj24Zkku9Qxa1UXfucV6fQO6Y8OXUM5v3fjFKMQzf43jA7+CnfpYXTn 09DPGScSYR3zsrMaT2GqjGN4bZ1MWRfaT4KHslOgS+KEYpKeZcD+0m+BwWvZuaKN07ugES5thbXcX bNqWenVeJurIpfIwvoM9QcUxhgjIHBeR+mEGwMUQne1lYjE+Tc+5KPK9GkpncXcEpkg8NmF9AelBg v4O5rTmBhdWBitf+nq2Xt7wy9PlvkB1iMXOn/Iy4PFegO6BJ4ap53JFwWrdFh6FoS30Twy5x4kkI4 41nTZ2PV5VITrc44dk4eSw==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pt73L-0001Yo-Op; Sun, 30 Apr 2023 09:25:46 -0400 In-Reply-To: (message from Aaron Jensen on Sun, 30 Apr 2023 05:54:50 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:260835 Archived-At: > From: Aaron Jensen > Date: Sun, 30 Apr 2023 05:54:50 -0400 > > >From emacs -Q: > > In the scratch buffer, eval: > > (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.)