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 17:57:41 +0300 Message-ID: <838re9pgd6.fsf@gnu.org> References: <83cz3lpklx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22211"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63186-done@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 16:58:27 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 1pt8VO-0005Zy-Hi for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Apr 2023 16:58:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pt8V2-0002Da-N8; Sun, 30 Apr 2023 10:58:04 -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 1pt8V1-0002DA-2s for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:58:03 -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 1pt8V0-0005lk-R7 for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pt8V0-0004IP-Ip for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:58: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 14:58: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-done@debbugs.gnu.org id=D63186.168286663416423 (code D ref 63186); Sun, 30 Apr 2023 14:58:02 +0000 Original-Received: (at 63186-done) by debbugs.gnu.org; 30 Apr 2023 14:57:14 +0000 Original-Received: from localhost ([127.0.0.1]:38224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt8UD-0004Gm-KA for submit@debbugs.gnu.org; Sun, 30 Apr 2023 10:57:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt8UC-0004Ga-03 for 63186-done@debbugs.gnu.org; Sun, 30 Apr 2023 10:57:12 -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 1pt8U6-0005df-GR; Sun, 30 Apr 2023 10:57:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=aDUlCuzx8gziuTUzJtz0M8VcwBxewPrtd3mMgU3Mnzs=; b=QHvLOK1QYv2ykco9YsGy mFd33f3QJHFDs1cs11IIHCHWag6r8xHw+tEO3GqDNVAMYZoAQHE9gfhJW7/7ZieM/a2go2GH/uIKt tjVJW2Bzb/PikSZEpvyRPMtToRMiAu6vRZ+XS1FdxbcFonU9/rd1nvsyoTzNiAGQ9xTXdMpxCRXL+ EVKI7pH+d2H47OFb36s8Z3Iw8u6ucBQk/giS11KYtlUfOcr/XXgpfQy6V7lW6Uy96578909+qc5fi 11AHcJH6vVAN5+1CCFsrMAz8RtZyaP+B14w/lR9mzpx4QtK3HmV3t2NUiHGHQUBhVsEYe0ptQH361 mR55moaDhur+sw==; 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 1pt8U1-0003bS-HV; Sun, 30 Apr 2023 10:57:05 -0400 In-Reply-To: (message from Aaron Jensen on Sun, 30 Apr 2023 10:48:10 -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:260841 Archived-At: > From: Aaron Jensen > 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 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.