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#64596: 30.0.50; On FIXME: in src/buffer.c:1481 (force-mode-line-update) Date: Fri, 14 Jul 2023 19:00:31 +0300 Message-ID: <834jm6fppc.fsf@gnu.org> References: <877cr4nez9.fsf@localhost> <83lefj4okb.fsf@gnu.org> <83fs5r3tqv.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18934"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, 64596@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 14 18:03:26 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 1qKLGO-0004e4-9W for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jul 2023 18: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 1qKLEA-0003Os-BS; Fri, 14 Jul 2023 12:01:06 -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 1qKLE7-0003MW-Oh for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 12:01:03 -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 1qKLE6-0000fY-Gx for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 12:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qKLE6-0005bM-2Q for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 12:01: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: Fri, 14 Jul 2023 16:01:02 +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.168935042721482 (code B ref 64596); Fri, 14 Jul 2023 16:01:02 +0000 Original-Received: (at 64596) by debbugs.gnu.org; 14 Jul 2023 16:00:27 +0000 Original-Received: from localhost ([127.0.0.1]:43296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKLDW-0005aQ-Nu for submit@debbugs.gnu.org; Fri, 14 Jul 2023 12:00:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKLDT-0005aA-S3 for 64596@debbugs.gnu.org; Fri, 14 Jul 2023 12:00:25 -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 1qKLDO-0000XW-Ga; Fri, 14 Jul 2023 12:00:18 -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=YZ2LCmn7xu1N2+iuB5WH2JQ0tvVFiSExhqgtIzBiSG0=; b=O1GM2b5+2RYW DxgZ2Uw/PYV7Gre/G7eTbObueykUU3tBmdrYeVIVn29aXwXE7Ol5L7aow3yDHPYu1u8GBJ2VR5wBO CD99qN0elydXIwC7rN3IkQHZX/Odg4/dtoF5Xo00hFf5Zq0UByigDuHuhqRb8o/yGSCEANoECmyZE I/eyT1fTjbo/XNLeDhhYwEfWUFjowe2HkSe6hSgw1wjKMm/qmkvyAHq2zPMlKh5EjfvCCiT1zMtjq aurwnF4NjAiZeCahoqZbxQnh9sntoDpZGCnFE1RVlAseBFhTa0fSgzGAh1LJM/Mx+0zUS5QkkWzPV ZOQuqUIhZmI4+INtxkFqSA==; 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 1qKLDI-0004uS-Gu; Fri, 14 Jul 2023 12:00:18 -0400 In-Reply-To: (message from Stefan Monnier on Fri, 14 Jul 2023 10:31:23 -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:265106 Archived-At: > From: Stefan Monnier > Cc: yantar92@posteo.net, 64596@debbugs.gnu.org > Date: Fri, 14 Jul 2023 10:31:23 -0400 > > > It would be nice to analyze all those flags, make them more selective, > > and understand/document better what optimizations and optional > > processing are affected by each one of them. It is a large and > > somewhat ungrateful job, so if someone wants to do it by > > systematically examining the situations where we set each one of those > > flags and their effects on redisplay, I can offer my best help (though > > I cannot afford doing this job myself). > > I can't see it happening ever in such a systematic way. I still hope it will. It's a good way of getting familiar with the display code, so maybe someone will step forward. > A more pragmatic approach is the one you propose afterwards: based on > our vague understanding of how things work, make a few simplifications, > expose them to our users and then see what bug reports we get in return. > > I suspect a single boolean variable (which we could call > `internal--use-old-slow-redisplay`) to control those simplifications > would be enough. No, one variable is not enough -- it will never tell us which of the potential flags or settings of the flag requires to be reinstated. We need to be able to investigate this at a finer granularity. And the variables should be called something like use-old-and-correct-redisplay-for-mode-line.