From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen 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 10:48:10 -0400 Message-ID: References: <83cz3lpklx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17310"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63186-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 30 16:49:17 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 1pt8MX-0004I6-4I for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Apr 2023 16:49:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pt8MK-0000Tj-W6; Sun, 30 Apr 2023 10:49:05 -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 1pt8MJ-0000TS-Hn for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:49: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 1pt8MI-0004Bc-QQ for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pt8MI-0003uE-Ic for bug-gnu-emacs@gnu.org; Sun, 30 Apr 2023 10:49:02 -0400 Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Apr 2023 14:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 63186 X-GNU-PR-Package: emacs Mail-Followup-To: 63186@debbugs.gnu.org, aaronjensen@gmail.com, aaronjensen@gmail.com Original-Received: via spool by 63186-done@debbugs.gnu.org id=D63186.168286611114952 (code D ref 63186); Sun, 30 Apr 2023 14:49:02 +0000 Original-Received: (at 63186-done) by debbugs.gnu.org; 30 Apr 2023 14:48:31 +0000 Original-Received: from localhost ([127.0.0.1]:38212 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt8Ln-0003t3-DF for submit@debbugs.gnu.org; Sun, 30 Apr 2023 10:48:31 -0400 Original-Received: from mail-pg1-f173.google.com ([209.85.215.173]:60746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pt8Lk-0003sP-L4 for 63186-done@debbugs.gnu.org; Sun, 30 Apr 2023 10:48:29 -0400 Original-Received: by mail-pg1-f173.google.com with SMTP id 41be03b00d2f7-5208be24dcbso1034918a12.1 for <63186-done@debbugs.gnu.org>; Sun, 30 Apr 2023 07:48:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682866102; x=1685458102; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=jUsDzOLcb1b7WtIzy8KT16Y2PXVlsT9FBLXtiwIJP60=; b=coZTY0snDuhwUnebmOWtZs8idDadMKaXGqZc0yCl4/WzoXZDKOVIGUfsTjoG2xOcdH rLPtsVMpy606pJX9W0ZoGfsjeHzCVDQO7N4rZEaD1x6wa7QGe5NPu/wKZPCAL5nH0qxQ Gz1zj1TtiezxDezW2a2OtXukBkLTA9TN849yd/OJZMuFl+pgAtkNZKDK6TT0sxD0pSq6 ULxUJR28lmb0m3CPtt9qOOp1J5/eEJ32C2KwmjvMwjEhipGrsSnToPOJ+r3Ui4tvRrlM 6cIGDImsKsm75R5u1tj0bDoalVUvQB/A7pF65/cF7MptPvKhnhWcZKFF4W1rKLO3NaXT iElA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682866102; x=1685458102; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jUsDzOLcb1b7WtIzy8KT16Y2PXVlsT9FBLXtiwIJP60=; b=FPYPKqyXhCXjxy9toDqHUmGcYrWkxuqnkYj2hi/iU+zDuxeD46yDuf5C/ZEJovmllb Ap/qVWhPYXv2qyer8ZrZdZHz1tIveNh0yLSUyxKf7CzoxgzPQ5vAfnFYcmhD88SgZxwo y1TFeR2yS9Srjts0wAJMXdnNQVCYcY39/mXoUvH2lvB4HRiZOLyHWrv8x206tEPDlz5k 2/MuoVOU5POuJelMXG2/y5HjJJSWkUc/eFgCHh0IEABrdO/C+0AKuq12KL5AFFJJWlPo ujaSVvf+8Fqzi8KFReneCFciSC8x1rt/C2I6yUcldT3NiWyTZmY1PPMe8YJwNBVVp7N1 leqw== X-Gm-Message-State: AC+VfDxmPnwlrvS6Qt86lE+9RTrte7xa42iPHAByOHjCtN22uxAcS2xL gQPEiE+mzXaTYPUzYXAE8QvOf0qQpbxPZ/geJ8lBnNnE X-Google-Smtp-Source: ACHHUZ6JqJWE5l973GH3SEscpdbua+zlClEOGCW4ND1+52HNEbRu7j59C45Y6/I2CWWS51LYD05wEwMsF8Yc8FgyTpM= X-Received: by 2002:a05:6a20:244b:b0:f6:442f:37c9 with SMTP id t11-20020a056a20244b00b000f6442f37c9mr14261184pzc.39.1682866102285; Sun, 30 Apr 2023 07:48:22 -0700 (PDT) In-Reply-To: <83cz3lpklx.fsf@gnu.org> 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:260838 Archived-At: On Sun, Apr 30, 2023 at 9:25=E2=80=AFAM Eli Zaretskii wrote: > > > 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 th= e > > 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. Aaron