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: Sat, 15 Jul 2023 11:52:41 +0300 Message-ID: <83ilald09y.fsf@gnu.org> References: <877cr4nez9.fsf@localhost> <83lefj4okb.fsf@gnu.org> <83fs5r3tqv.fsf@gnu.org> <834jm6fppc.fsf@gnu.org> <87a5vyidy6.fsf@localhost> <83sf9qe2ip.fsf@gnu.org> <83a5vxejz6.fsf@gnu.org> <87lefhhc4s.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11182"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 64596@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 15 10:53:13 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 1qKb1c-0002fD-7x for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Jul 2023 10:53:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKb1V-0000CH-DD; Sat, 15 Jul 2023 04:53: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 1qKb1S-00005L-OT for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2023 04:53: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 1qKb1S-0006Cn-GR for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2023 04:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qKb1S-0003KA-BX for bug-gnu-emacs@gnu.org; Sat, 15 Jul 2023 04:53: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: Sat, 15 Jul 2023 08:53: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.168941114712734 (code B ref 64596); Sat, 15 Jul 2023 08:53:02 +0000 Original-Received: (at 64596) by debbugs.gnu.org; 15 Jul 2023 08:52:27 +0000 Original-Received: from localhost ([127.0.0.1]:44118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKb0s-0003JK-R0 for submit@debbugs.gnu.org; Sat, 15 Jul 2023 04:52:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKb0r-0003J8-9P for 64596@debbugs.gnu.org; Sat, 15 Jul 2023 04:52:26 -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 1qKb0l-00063M-PZ; Sat, 15 Jul 2023 04:52:19 -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=ToaqyB4WbnjzQ7pDIC0oWbkTQu2mh6Zy30tPd61pw7g=; b=eiiEF7unh2Bq rprU7iV+Tzb3rBzQMZ5LqmTq78QaGZIcRSo4/PF9YYem9KTMk2zsKnj6GqpGlZi6nmQgvXYWDvxIN C427yeXCjj215h9HI3DUrpxcKhtrQ4RJ0wJ002Mv2S68QzytWdH5825sf11p1kgqXlcZWudYSz1cX PmVIQHCLvZmJHtKu9uojQCEV4QEUt5R6BYyyJf5PO6AaTk1cEyy5MIqi71zpxzEUousJP3YhTU/zD qou6Qn/ylqrzjymyftLdNgJgRRUunDZSBz1Hf2PRZJm9ixMvkmVKLcRfEMUX2h4qf768jbL+u2AA3 RoOim8FLtmGA3O/5/hWR/g==; 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 1qKb0l-0008Ik-7Q; Sat, 15 Jul 2023 04:52:19 -0400 In-Reply-To: <87lefhhc4s.fsf@localhost> (message from Ihor Radchenko on Sat, 15 Jul 2023 07:22:59 +0000) 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:265175 Archived-At: > From: Ihor Radchenko > Cc: monnier@iro.umontreal.ca, 64596@debbugs.gnu.org > Date: Sat, 15 Jul 2023 07:22:59 +0000 > > >From my recent reading of the commentary in xdisp.c, one apparently > missing summary is which window and frame components are considered by > the redisplay code. Basically, all of them, I'd say. > "Glyph rows." section in the top comment talk about margins + text area, > but the real redisplay_internal appears to consider (1) title bars; (2) > menu bars; (3) header line; (4) tab line; (5) mode-line; (6) window > text; (7) echo area (which is treated specially). That section indeed mentions the text area and the margins, but only because the glyph rows distinguish between them. The other areas you mention either don't use our glyphs (title bar), or have no margin areas (mode line, header line, menu bar, etc.), only the text area. Echo area is displayed in a mini-window, which is just a window, albeit a special one. > > .... But I will not agree to > > random poking at this or that particular flag, unless there's > > convincing evidence that it causes a display bug or a significant > > performance problem. Because otherwise making changes in code that we > > don't sufficiently understand can only cause bugs, and guess who gets > > to work on fixing them. > > That's understandable. > But the general idea of having some kind of "experimental" flag might be > still useful in other situations. Not necessarily redisplay. > Of course, such experiments should be still weighed carefully. I'm okay with such experimental flags, and we did use them in the past (still have some of them in the current sources). I'm just saying those should be selective enough to allow enabling/disabling a small set of features, not all of them together.