From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#64596: 30.0.50; On FIXME: in src/buffer.c:1481 (force-mode-line-update) Date: Sun, 16 Jul 2023 08:40:38 +0000 Message-ID: <87wmz0i709.fsf@localhost> 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> <83r0p9b3om.fsf@gnu.org> <83jzv1b152.fsf@gnu.org> <83a5vxas9k.fsf@gnu.org> <877cr1nep6.fsf@localhost> <835y6kbgik.fsf@gnu.org> <682666d3-51f3-9097-1eff-c2c6c6bc5ac4@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13500"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , monnier@iro.umontreal.ca, 64596@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 16 10:41:18 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 1qKxJe-0003M3-JD for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Jul 2023 10:41:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKxJR-00006G-NT; Sun, 16 Jul 2023 04:41: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 1qKxJQ-00005s-MT for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 04:41:04 -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 1qKxJQ-0007H4-Ey for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 04:41:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qKxJO-0000ZL-Al for bug-gnu-emacs@gnu.org; Sun, 16 Jul 2023 04:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jul 2023 08:41: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.16894968352136 (code B ref 64596); Sun, 16 Jul 2023 08:41:02 +0000 Original-Received: (at 64596) by debbugs.gnu.org; 16 Jul 2023 08:40:35 +0000 Original-Received: from localhost ([127.0.0.1]:46762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKxIw-0000YO-US for submit@debbugs.gnu.org; Sun, 16 Jul 2023 04:40:35 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:55093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKxIu-0000Y8-Te for 64596@debbugs.gnu.org; Sun, 16 Jul 2023 04:40:33 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 634F7240101 for <64596@debbugs.gnu.org>; Sun, 16 Jul 2023 10:40:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1689496827; bh=fqp5oCkRzXe3LTZirCqpGbwUzRg8BAeEvx5UaFstpnY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=PEGx6OkB7ZIN2hit5cHgN/NhaBlmHxTUDwLaZnAnip80RYsp32F1ETHBLR21I6uck I1E/AVRBNUEpIF/FWW6VjjYwp4J+79rbsSyASRBhZDKB/S+WHBCPjUCN5WSyEGKR+j uEH6o81IZ0rzm/wtPRKCLNLQCuQt1YQPwabp0BUlTGfpgyRRIN60LYprDeAbLT6UZw 4MExE8lDMYHwjZ5w/sd/9hYEDGy6WDqr02Luz+bWv04IjOUVeLVd5spbxuA5ErVOwH ObnthfmA4moxDFtbm4/olYVStHZmoRNjCEL8K9xeTnOM32WGtdmz5QUl8AkJw1qlrV gSW1rhBlfKM2g== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4R3dvZ0S74z9rxM; Sun, 16 Jul 2023 10:40:25 +0200 (CEST) In-Reply-To: <682666d3-51f3-9097-1eff-c2c6c6bc5ac4@gmx.at> 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:265295 Archived-At: martin rudalics writes: > Here 'set-window-configuration' should be able to tell redisplay that it > should redisplay the window but it should be able to tell that iff the > fringe really changed which is fairly easy to find out. Once it found > out, which kind of flag would it set? May someone list all the possible displayed elements Emacs considers? I think that it might be a good new API to have a single function that marks things for redisplay. That function will accept arguments indicating what exactly may need to be redisplayed: CURRENT_TEXT_LINE, FRINGE, LINE_NUMBERS, CURRENT_BUFFER_TEXT, CURRENT_BUFFER_MODELINES, ALL_MODELINES, CURRENT_FRAME, etc. Then, every place where we request redisplay will call that single API function, while being very explicit what kind of redisplay it has in mind. That API function may be implemented in backwards-compatible way - we can just hide the existing logic inside for now and simplify later instead of directly manipulating global and local flag variables. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at