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#59902: 30.0.50; Image overlay is not updated until the cursor moves to the overlay Date: Thu, 15 Dec 2022 14:31:05 +0000 Message-ID: <87bko4u4ba.fsf@localhost> References: <87zgby87rm.fsf@localhost> <87a63x7l1w.fsf@localhost> <83h6y51w66.fsf@gnu.org> <87wn6zr376.fsf@localhost> <83bkoby0zq.fsf@gnu.org> <87ilijfrac.fsf@localhost> <83o7sbwddn.fsf@gnu.org> <87zgbul2ln.fsf@localhost> <83bkoautll.fsf@gnu.org> <87pmcpc940.fsf@localhost> <83h6y0sqyo.fsf@gnu.org> <87cz8lufqn.fsf@localhost> <83edt1kkm3.fsf@gnu.org> <871qp1uee8.fsf@localhost> <83bko5kk6d.fsf@gnu.org> <87y1r9sz8r.fsf@localhost> <83a63olxxb.fsf@gnu.org> <87tu1wud4e.fsf@localhost> <838rj8lscm.fsf@gnu.org> <87fsdgu7f5.fsf@localhost> <834jtwlp57.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19779"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59902@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 15 15:32:12 2022 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 1p5pHP-0004uV-7A for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Dec 2022 15:32:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5pHJ-0005R3-4I; Thu, 15 Dec 2022 09:32: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 1p5pHH-0005Nm-17 for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 09:32:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5pHG-0004L9-PF for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 09:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5pHG-0006od-I8 for bug-gnu-emacs@gnu.org; Thu, 15 Dec 2022 09:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Dec 2022 14:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59902 X-GNU-PR-Package: emacs Original-Received: via spool by 59902-submit@debbugs.gnu.org id=B59902.167111468326187 (code B ref 59902); Thu, 15 Dec 2022 14:32:02 +0000 Original-Received: (at 59902) by debbugs.gnu.org; 15 Dec 2022 14:31:23 +0000 Original-Received: from localhost ([127.0.0.1]:43076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5pGc-0006oJ-Dw for submit@debbugs.gnu.org; Thu, 15 Dec 2022 09:31:23 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:35373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5pGZ-0006o9-Ce for 59902@debbugs.gnu.org; Thu, 15 Dec 2022 09:31:20 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7F0A724002B for <59902@debbugs.gnu.org>; Thu, 15 Dec 2022 15:31:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1671114673; bh=5vzt9JFlCwfQuSbP8BgM1GeZfDHmpH/e0OlQ1Pl3Vkg=; h=From:To:Cc:Subject:Date:From; b=O6tNZ3PDwrbe5YshxOocFFTTljMmN2SiqNb7krklrBo0TZS5ahSidUdZBhLJofLJv Kbuu0Z2us1J21B1C2YYaMYvrNyfliuEdsAntN4a6HKuNp4vgofXHEhF7yb1OQf7fbN yLj1RLu6G9ezxNFaOyeOW9M5hmfmyZE+0tjsLDmRqHQE1mgvZgfsvbE0ip+LyjYHS0 HSmBRV7R5PQSt+8Ad19+ab2O3SxtEActlf0ULe28ZqAblbT8ho1bbqZxfPLcrRmSw+ +ISWZTtzIsanXyvL83xC6I+G0YzTnTGBRu+xkSgoZkiBV0acLIYxM0JpigTveQoneN LkDnkVmCOLrXg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NXvmc4NTDz6tmc; Thu, 15 Dec 2022 15:31:09 +0100 (CET) In-Reply-To: <834jtwlp57.fsf@gnu.org> 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:251100 Archived-At: Eli Zaretskii writes: >> Practically, I'd prefer Emacs to provide a macro or extra argument that >> binds all the necessary hooks when opening a file buffer. Maybe, >> something similar to `delay-mode-hooks'. > > I don't think this is possible in practice, since only the application > can know which hooks are or aren't needed. I'd say that only the application can know which hooks _are_ needed. For example, a common issue with Org + large number of small files is running hooks. We do know that org-mode-hook may be needed for correctness, while all other hooks are likely not needed for non-interactive use (parsing the file contents). So, it is not about disabling some hooks but rather about enabling some known-in-advance hooks. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at