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#19776: 25.0.50; HTML rendering is very slow Date: Sun, 24 Oct 2021 20:06:31 +0300 Message-ID: <83pmru2vzc.fsf@gnu.org> References: <87d1tuw42p.fsf@gnus.org> <87tvsc6syh.fsf@mouse.gnus.org> <87h8oc6sfs.fsf@mouse.gnus.org> <83pmrw5hfs.fsf@gnu.org> <875ytmbnk2.fsf@gnus.org> <83y26i34e1.fsf@gnu.org> <87wnm27b57.fsf@gnus.org> <87sfwq75q4.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29885"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org, 19776@debbugs.gnu.org To: Lars Ingebrigtsen , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 24 19:08:11 2021 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 1megyh-0007aV-I6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Oct 2021 19:08:11 +0200 Original-Received: from localhost ([::1]:58074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1megyf-0000CY-HU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Oct 2021 13:08:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1megyY-00008X-LI for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2021 13:08:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57348) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1megyY-0006Td-Cd for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2021 13:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1megyY-0000KZ-2i for bug-gnu-emacs@gnu.org; Sun, 24 Oct 2021 13:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Oct 2021 17:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19776 X-GNU-PR-Package: emacs Original-Received: via spool by 19776-submit@debbugs.gnu.org id=B19776.16350952241201 (code B ref 19776); Sun, 24 Oct 2021 17:08:02 +0000 Original-Received: (at 19776) by debbugs.gnu.org; 24 Oct 2021 17:07:04 +0000 Original-Received: from localhost ([127.0.0.1]:40661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1megxb-0000JJ-Go for submit@debbugs.gnu.org; Sun, 24 Oct 2021 13:07:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1megxP-0000Ib-Px for 19776@debbugs.gnu.org; Sun, 24 Oct 2021 13:07:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39944) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1megxK-0005d4-By; Sun, 24 Oct 2021 13:06:46 -0400 Original-Received: from [87.69.77.57] (port=1545 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1megxE-0002mE-2c; Sun, 24 Oct 2021 13:06:40 -0400 In-Reply-To: <87sfwq75q4.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 24 Oct 2021 18:22:27 +0200) 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" Xref: news.gmane.io gmane.emacs.bugs:218152 Archived-At: > From: Lars Ingebrigtsen > Cc: stefan@marxist.se, rms@gnu.org, 19776@debbugs.gnu.org > Date: Sun, 24 Oct 2021 18:22:27 +0200 > > I've now implemented the special form, and it works fine interpreted. > But I'm having problems with the byte compilation. > > So I've done a > > (byte-defop-compiler-1 with-delayed-message) > > and I think I understand that it wants to > > (byte-compile-form (nth 1 form)) > (byte-compile-form (nth 2 form)) > (byte-compile-body-do-effect (cdr (cdr (cdr form)))) > > But this would be the first special form that doesn't have a byte op > code, probably? Is that allowed? I couldn't find any other examples of > that being a thing. > > I may well be missing something. > > But if that's the case, and we don't want to use a byte op for this, > then we'd have to make the special form into a normal macro, and then > create two helper functions (to start and stop the atimer in > question)... which is perhaps others have done kinda similar things > this way before. > > But that's kinda meh. Am I missing something, and it's easy to write > the byte-compile-with-delayed-message function without a byte op? Or > should we use a byte op? Stefan, any words of wisdom here?