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 14:16:40 +0200 Message-ID: <8634impkrb.fsf@gnu.org> References: <7yl87cc0algqh3xvlrywg2z8@mina86.com> <86zfkyrovc.fsf@gnu.org> <40wpfj26bxd5k4i38c92e0sr@mina86.com> <86seqps9v4.fsf@gnu.org> 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="15788"; 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 13:17:50 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 1tNWWL-0003yV-Qa for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Dec 2024 13:17:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNWVm-00014V-Ty; Tue, 17 Dec 2024 07:17:15 -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 1tNWVb-00011l-3d for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 07:17: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 1tNWVa-00081e-KV for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 07:17: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=iyhE4khlyNPFoccZyHiRfPrei/UCxeN2cBQ1Arnmp9M=; b=SfW5dIrhCBGQxng2B/1dCUR5dPDo1dgX/56Ve0w/shtA3nh/ZxsDt/mpJtMklBOIZnKGZN8BNTEYuq5/+x2w7fzQa/YsPXBKbQF8x6WeHN3BPcxS2h35k3hciCBASYeUnEw232eSkkCU5w+WF/LrgSeCAaDbtNY7NFZrYUPjcBaqnqqvdb0ez3OQ4lDugvhVrM2AhXtKquqP5PT6oJT++yxP5XdRZymS/Dvfm4G+oW/UoqRnqCa0TGwFsax5Xco1pVp309AFnaOJoAAZnXwiW4QfmIrWv/90pfZviQUqPiIycfY+XgHnu8cr0Y4JVTOCjX8hgTwa5bU3fikPQQKePQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNWVa-0004SR-E5 for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 07:17: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 12:17: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.173443782017117 (code B ref 74876); Tue, 17 Dec 2024 12:17:02 +0000 Original-Received: (at 74876) by debbugs.gnu.org; 17 Dec 2024 12:17:00 +0000 Original-Received: from localhost ([127.0.0.1]:57859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNWVX-0004Ry-R6 for submit@debbugs.gnu.org; Tue, 17 Dec 2024 07:17:00 -0500 Original-Received: from [209.51.188.92] (port=58064 helo=eggs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNWVW-0004Rc-EL for 74876@debbugs.gnu.org; Tue, 17 Dec 2024 07:16:58 -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 1tNWVG-0007zU-NG; Tue, 17 Dec 2024 07:16:44 -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=iyhE4khlyNPFoccZyHiRfPrei/UCxeN2cBQ1Arnmp9M=; b=dEIXeJQbZ3aa3l3HYyP3 pmLQo/+MSyo8BeR00+fNxFXI+PvBllhTmHHND9CkZSKQdMt39vc2BssBOTYL7jWKyohIiBM6PhnQR H8ry5Dva5h8wLYXszlYTTgO8ev9GGG5vfMtcayfpvHy4UyDUK4d6S8IYYMT52uRxob/GQRKklerxi Tz0G3GJbMNQ39Rx7dCS0GH6kCXgUishHRDqY8xY/ZcK401WKO/zZtxPd/jrHt7JU2LW1sXV4XT3Lc mJL45xBqDt8RsWCfSpe00EZ36fbc1oSM0Gu6w4U7KdcVgVXAfnpbgYyfpsUJOrd8LpZiTzi6xmD4U zr9UfI5/g0NqaA==; In-Reply-To: (message from Michal Nazarewicz on Mon, 16 Dec 2024 22:47:43 +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:297269 Archived-At: > 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, so I recommend against that.