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#74876: 31.0.50; Force fringe refresh / force-window-update not affecting fringes Date: Tue, 17 Dec 2024 16:19:49 +0200 Message-ID: <864j32o0hm.fsf@gnu.org> References: <7yl87cc0algqh3xvlrywg2z8@mina86.com> <86zfkyrovc.fsf@gnu.org> <40wpfj26bxd5k4i38c92e0sr@mina86.com> <86seqps9v4.fsf@gnu.org> <8634impkrb.fsf@gnu.org> <71m50+9qm4uxqup7x3scw9xa@mina86.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10312"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74876@debbugs.gnu.org To: Michal Nazarewicz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 17 15:21:34 2024 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 1tNYS6-0002UI-HU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Dec 2024 15:21:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNYRc-0004Ny-0M; Tue, 17 Dec 2024 09:21:04 -0500 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 1tNYRb-0004Nq-33 for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 09:21:03 -0500 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 1tNYRa-0003ha-Ql for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 09:21:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=iW/I6knD9Noh7/dnwnGFr3S2N5ibPXVUJKrvqhvSLec=; b=Fp72YBktPyziXkuXNMgrAX7icgJS3CR6ckyhXyRiYK6vHzAerkLrWE4a7aB+DEl+O9HX/q+3h2KimzeMxt66NGhToiT8ifrj5VBvscHXnwLMEObInEFQ2PS9ytr6BT5nL251TUqbDvwx9g1RANSBnuU1rJcoidYxIP08ztsbmMQQIRhxWJxpje4mSAlAhZLkqiUkR4hvgyoTI1PUqOVJDK7hOdv5Yn+PV3DqfUp4nAveckrXLUIN4ODdue5cepm4fJbDkfhYWo1FHDFKj9fkB7le+L10LRQmBJx/V3WMen1c2vQlA4KMsuOnXrdj9S4lWVsE6xsdmLmIpTz5cRtkdA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNYRa-00028Q-CA for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 09:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Dec 2024 14:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74876 X-GNU-PR-Package: emacs Original-Received: via spool by 74876-submit@debbugs.gnu.org id=B74876.17344452258126 (code B ref 74876); Tue, 17 Dec 2024 14:21:02 +0000 Original-Received: (at 74876) by debbugs.gnu.org; 17 Dec 2024 14:20:25 +0000 Original-Received: from localhost ([127.0.0.1]:58216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNYQz-000270-AH for submit@debbugs.gnu.org; Tue, 17 Dec 2024 09:20:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNYQw-00025D-Dr for 74876@debbugs.gnu.org; Tue, 17 Dec 2024 09:20:23 -0500 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 1tNYQp-0003ca-VV; Tue, 17 Dec 2024 09:20:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=iW/I6knD9Noh7/dnwnGFr3S2N5ibPXVUJKrvqhvSLec=; b=kIV/iC7coNT7o96LTXIT lBUg6g2Yok4O9eEslGP8XwXM8HIvCx84gkqBypYUqoGFx5QWkkVknt1yNP/GOfTUBW61iQckTV0Mu F8wVs4bFiYpqgUcqFTV2I5QuPf0BwSFw62+sy5FyqJYNNLSBIVIkh7M/9YccJlIEVhRAFnqZFEgnN gHL+0jcUv+p6poRDD0fQGUJavr8DwiHr/Vnt7Udl4fAnsyAAS2btAnBToJ/U4EQn4Dnc01YIZ+J4S 39hsEJhpyi0mdUzf/kmcJ8/s5x6auoyZCYbLIJ8q0ps9WfTb/1fX6fsU/Tkz5WmrpVWImWjvdiJ1B Ly1eZNODbkD9qg==; In-Reply-To: <71m50+9qm4uxqup7x3scw9xa@mina86.com> (message from Michal Nazarewicz on Tue, 17 Dec 2024 14:20:52 +0100) 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:297298 Archived-At: > From: Michal Nazarewicz > Cc: 74876@debbugs.gnu.org > Date: Tue, 17 Dec 2024 14:20:52 +0100 > > On Tue, Dec 17 2024, Eli Zaretskii wrote: > >> From: Michal Nazarewicz > >> Cc: 74876@debbugs.gnu.org > >> Date: Mon, 16 Dec 2024 22:47:43 +0100 > >> > >> On Sun, Dec 15 2024, Eli Zaretskii wrote: > >> > Thanks. I don't think what you want can possibly work, unless we > >> > completely redesign how the fringes are updated. > >> > >> Well… there’s always the atomic option of calling redraw-frame. Though > >> I’ve found that changing an attribute of a font is sufficient. > >> I believe what makes things work is setting f->face_change and calling > >> fset_redisplay. > > > > Both methods are quite expensive, and will cause flickering in some > > configurations, > > Yes, I’ve figured as much, but it’s not like I have another choice. You have: declare this feature impossible to implement in a reasonable way, given the restrictions of the current display engine design and implementation. At the very least, I hope you will document this for the users, so they are not surprised.