From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michal Nazarewicz Newsgroups: gmane.emacs.bugs Subject: bug#74876: 31.0.50; Force fringe refresh / force-window-update not affecting fringes Date: Wed, 01 Jan 2025 20:02:45 +0100 Message-ID: <7okn4mf143680yga1fqtbdbf@mina86.com> References: <7yl87cc0algqh3xvlrywg2z8@mina86.com> <86zfkyrovc.fsf@gnu.org> <40wpfj26bxd5k4i38c92e0sr@mina86.com> <86seqps9v4.fsf@gnu.org> <8634impkrb.fsf@gnu.org> <71m50+9qm4uxqup7x3scw9xa@mina86.com> <864j32o0hm.fsf@gnu.org> <86pll6l5zm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23403"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74876@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 01 20:03:17 2025 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 1tT3zw-0005vS-TN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Jan 2025 20:03:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tT3zl-0000Xw-3G; Wed, 01 Jan 2025 14:03:05 -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 1tT3zj-0000Xc-1V for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 14:03: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 1tT3zi-0007n7-Mc for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 14:03: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:Date:References:In-Reply-To:From:To:Subject; bh=+fzuCejdlsYHSu9YnLPjwm/NOdOXuri20T+oVsWzQKA=; b=WR33ndm4FBs6BDj0mfXXpc8l9s6gSAYovdZrXxr2acbUq4BxZ3WF3jJJylq+p9JzMIyxT/6mXP6SDBIPwxssEC/hRAL5rZ6qWxq00r1YZD57rOpwm8pX25Dd8G4cv6D+sTFWPKY9ed0VQaUFFsgWJ4Ge7fBUbFAUeUGMSg+oXYrr0oLXfkkiv978tOZ3CW14V51bXIvHW9vMQaQexThL5zgQR2PGTdMCTq8G1GQtXPcpx6wd4xzLkyTPbCF8hZap0f5SAIhckOMemlR0nuoUO31tG+uddl+1tDMBDqemx0BZYGJhqlETdtivC4SVcIYaD1ZdUcMoE4gBSS/O11MaDw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tT3zi-0006xQ-Hc for bug-gnu-emacs@gnu.org; Wed, 01 Jan 2025 14:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michal Nazarewicz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Jan 2025 19:03: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.173575817526722 (code B ref 74876); Wed, 01 Jan 2025 19:03:02 +0000 Original-Received: (at 74876) by debbugs.gnu.org; 1 Jan 2025 19:02:55 +0000 Original-Received: from localhost ([127.0.0.1]:39810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tT3zb-0006wv-0s for submit@debbugs.gnu.org; Wed, 01 Jan 2025 14:02:55 -0500 Original-Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:55649) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tT3zZ-0006wi-6c for 74876@debbugs.gnu.org; Wed, 01 Jan 2025 14:02:54 -0500 Original-Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5d3d14336f0so2609101a12.3 for <74876@debbugs.gnu.org>; Wed, 01 Jan 2025 11:02:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735758167; x=1736362967; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:face :references:in-reply-to:subject:cc:to:from:sender:from:to:cc:subject :date:message-id:reply-to; bh=+fzuCejdlsYHSu9YnLPjwm/NOdOXuri20T+oVsWzQKA=; b=EqVjD+PO9Ej6IKdAREW1l6/n1oXBCCqhqfVVOkK2n7+ckm03IibqvLBsZlqK58XQs2 z2XrlT1jSnNULKtpxZIQu/TNY+7+kxydwgYz3i3w1LpoqxbyrFr1qfIco5rQi9vFrzwM QYcaNcD8iy7hWJTieubkIwkA+e+NPUG5eMGFsMuVPwaz3ekggO2ZuSkLU6hlMcmnWSbG JRRllMbCXq/B4a2tqnECmXnriRZH4dHqiCQ/I1mNq+Riv22vxuj/tTeV1e5T9h8MRKlD o8LAnyPqB9QzN/QoZVpajI+99aZfvUnhMKKOXOTeLRHPOkZAMsg+f1cOMFVkspcfVHIY Cnyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735758167; x=1736362967; h=content-transfer-encoding:mime-version:message-id:date:face :references:in-reply-to:subject:cc:to:from:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=+fzuCejdlsYHSu9YnLPjwm/NOdOXuri20T+oVsWzQKA=; b=uiQ31L871aoaTEr+7n91pmZNBJHpR5F+Ns1BhdbH7YIMsmE8AmQeY2RTlY8AzYZsOu iigz+Ar+uCoR5hLxSOD3eRPCYjkYeCdiud1xie6FL7zI/enypmcds6guF8V6mLmnor1C y3VcLj5vtob2cKdU4Fau3PZLdlGh5nTNJ4oXd88dbV7vLUBmj8JqvuW5u5/kw3UCmZM3 2CYTxa8XN66ZzUhsHx9fqWmXHOmipLIPL1lM6y7KwED7L5YQaID/kp1Gb5jl5Xr8eNsQ 67LUQjty7S03mJIZAvZN44ACxS2+xn+trB5zaNKwW4WX2pEzNtCDK/o4g5IpvDyv5QSs TjCw== X-Gm-Message-State: AOJu0YxYWqC4H2vMm0V25qb+KN18nAMsPdU/dE2xrlo2eljFqCoJ21U1 k8JIURd7XSeQUBTX5iISnUpo5CpyCJ2um15k9gzQtitUgVIxEUfvZG1f1g== X-Gm-Gg: ASbGncvX9NkGTbaKpOIQZ6c5CcnrMvdX8J3Yas0ek/Dszv3c/31UZ3KP1wsoCmyeocR Xt7S6j63N2Pd5oBgdQhBvQUol6972qAM+U2+1RlTSvkbunGkmzNdJDbZ2cGXql4lumvYVbOz8AN ffKhwZ1xYz7m+v36m+QbHfbpdZUrCp7+vr7kvbjmqI0Ngns80BMmYU6A+OW28nFwMqcdLK6KpZz bRUFTO21sJaKcoyxRnrOoqyfpmULw0/KtNR/n0EyJ3IyxvoGuYheoOXYK6rqVxuR2quK/epQBCa 15uuBQ== X-Google-Smtp-Source: AGHT+IE7aX4McJfaaJBKkbi/amfDvbOLsbrYZWDZeWPu+7VZIl+GGeLOd0kATjvzvJAJhiSzps/YgA== X-Received: by 2002:a05:6402:5253:b0:5d0:aa2d:6eee with SMTP id 4fb4d7f45d1cf-5d81ddf7fb6mr39731843a12.26.1735758166563; Wed, 01 Jan 2025 11:02:46 -0800 (PST) Original-Received: from erwin (87-205-2-211.static.ip.netia.com.pl. [87.205.2.211]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0f0653bbsm1726499266b.184.2025.01.01.11.02.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jan 2025 11:02:46 -0800 (PST) In-Reply-To: <86pll6l5zm.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWjgIPUupJ7V0jLrom4gmjPs42bY0MdFRLHgE5UPDCbfGm9mH6qmkAJAAACNUlEQVQ4y23SMW/aQBQHcKtb2Zx0abZeIxuTCSELJVmiinboRpGHJktloROQzUQcB2vUXFe35XBYUicRAiYUVSjfru/d+QwlnDz5p/97z+dnVcw5WVQ2zxpcdrQTTiIin3bB6lcaTnaBO5c8eoJG2yBl5El+Ob3fglMW3RUIkQ9xxQ8UBEFQafiVZ/5wZqWExM+LvwEegAY856xZO7MgQkq3jxpO56GXxO5VDQAjpVmWqPLYoSGvIahIuvAVHLeEEDd9DRYAkUcKzscAUgCQ0hwSKBOExuh7kvQQUskY4yjsHqeaCfFjLK6x1AzeeyiRD/C1JW5aGqw5IS5mZre+FVz0RVtoUGPJmBCP/4QPJGKUA1oEMJwAHIv+JljYZYCJi1FRQS2DaUw6sgsQTMfb0Fz9RvjyP3iR01x9RGj0N6HgcefS819CSjidDwIFPSFEDgRg1tUw2oBXAB33T2DV63XbM6AqhZzysm3ZcKZrKBAn5O7Q1rAqGoBKNGRsmUG1n0NKaJtd2RnscTWvnom6fGngDaNrCNl728A+c2gLQP8PFpkEjNWjlGqQfPEhWRqoInSyi2p+drsGDjhAeAeSQI8kfjSwbwCn8gblvIftInzT30HdQT2HlU4gwCbLSQ7VFqVEA0RCtjTwtnjdLlkasNjQwF7x02F2iQSL8XIGB8 VQ71WBKHHf5XCIgLUUtIcGSBPhdZIQorpEBrxsqT3GYgRpmicIqrsEgSZm3FG+iJbHYid0/wGj+iTGCXRsqQAAAABJRU5ErkJggg== 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:298071 Archived-At: On Wed, Jan 01 2025, Eli Zaretskii wrote: >> From: Michal Nazarewicz >> Cc: 74876@debbugs.gnu.org >> Date: Wed, 01 Jan 2025 19:14:40 +0100 >>=20 >> On Tue, Dec 17 2024, Eli Zaretskii wrote: >> > 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. >>=20 >> pulse.el forces 10 refreshes every 30 ms. If that=E2=80=99s acceptable = for >> package which is part of Emacs, a single refresh when people switch >> windows is good enough for a third-party package. > > pulse.el typically refreshes only a small portion of a window, and > therefore redisplay will only redraw that portion. So this doesn't > normally lead to flickering (unless you pulse a large portion of the > window). pulse.el changes face which forces refresh just as I described in this thread. If you=E2=80=99re saying Emacs is smart enough to notice that only small portion of the window needs refreshing, this should also be true in my case where only fringes need refreshing. --=20 Best regards =E3=83=9F=E3=83=8F=E3=82=A6 =E2=80=9C=F0=9D=93=B6=F0=9D=93=B2=F0=9D=93=B7= =F0=9D=93=AA86=E2=80=9D =E3=83=8A=E3=82=B6=E3=83=AC=E3=83=B4=E3=82=A4=E3=83= =84 =C2=ABIf at first you don=E2=80=99t succeed, give up skydiving=C2=BB