From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64596: 30.0.50; On FIXME: in src/buffer.c:1481 (force-mode-line-update) Date: Thu, 13 Jul 2023 18:02:26 -0400 Message-ID: References: <877cr4nez9.fsf@localhost> <83lefj4okb.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33536"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: yantar92@posteo.net, 64596@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 14 00:03:24 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 1qK4PD-0008Wh-Oc for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jul 2023 00:03:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qK4Ou-00050k-Tv; Thu, 13 Jul 2023 18:03: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 1qK4Os-00050T-JV for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 18:03:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qK4Os-0005qj-B3 for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 18:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qK4Or-00005T-TW for bug-gnu-emacs@gnu.org; Thu, 13 Jul 2023 18:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Jul 2023 22:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64596 X-GNU-PR-Package: emacs Original-Received: via spool by 64596-submit@debbugs.gnu.org id=B64596.168928575732750 (code B ref 64596); Thu, 13 Jul 2023 22:03:01 +0000 Original-Received: (at 64596) by debbugs.gnu.org; 13 Jul 2023 22:02:37 +0000 Original-Received: from localhost ([127.0.0.1]:40967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qK4OS-0008W9-Vb for submit@debbugs.gnu.org; Thu, 13 Jul 2023 18:02:37 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:51761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qK4OP-0008Vo-OD for 64596@debbugs.gnu.org; Thu, 13 Jul 2023 18:02:35 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 7DA148060E; Thu, 13 Jul 2023 18:02:28 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 7504B801D6; Thu, 13 Jul 2023 18:02:27 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1689285747; bh=WmgyprsdoNW5tR0EfnsiSE0S47OZKb6tfO2cGBjiF/w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=V1Pn0qX38f+Jc6ABZz64InMhvgXl8zgjUxblqc7HctdHSTCk0oDyOjjp/pBtxmzsS 876FaJ0OW5b7Ee1FTwW6Sgc9reFUX5QQuFJ8QwTKLYV5h8Ggap68Zdj2T2PQutBqMW dHTJr7CQqb1GJuQkyrxigrKjFZpq/x728bfUE5+QvCKj5kbNPqCeQWiL7qF6zlfKn7 DvzagpUE0B4rKqSME0Thj9VxpuAEYmhT7lXeM4Y28Bo5G6p6q6tvmaB5xlIar0UJKW cnXM5khELAnQLLSB3v/hXt87N6foFwwwDB8tnKZ/3uRNSsR73GDCf6yms2H+RFA/1O ozbrTOWVfGh+Q== Original-Received: from pastel (unknown [104.247.239.133]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 490471201B8; Thu, 13 Jul 2023 18:02:27 -0400 (EDT) In-Reply-To: <83lefj4okb.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 13 Jul 2023 22:08:20 +0300") 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:265052 Archived-At: > Then I guess you or Ihor (or both) should try removing that line and > run with that for a while. FWIW, I've been running without those two lines ever since I put this FIXME. > Alternatively, maybe in the case of ALL non-nil the code should set > the prevent_redisplay_optimizations_p flag of all the buffers that are > displayed in some window, since some redisplay optimizations are not > eligible when the mode-line is about to be updated. Any reason why the corresponding optimizations don't consult the `update_mode_lines` var (or the `update_mode_line` buffer flag), or maybe have redisplay start by propagating the `update_mode_line` buffer flag to `prevent_redisplay_optimizations_p`? Stefan