From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#19776: 25.0.50; HTML rendering is very slow Date: Mon, 16 Apr 2018 00:00:39 +0200 Message-ID: <87h8oc6sfs.fsf@mouse.gnus.org> References: <87d1tuw42p.fsf@gnus.org> <87tvsc6syh.fsf@mouse.gnus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523829554 20496 195.159.176.226 (15 Apr 2018 21:59:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 15 Apr 2018 21:59:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 19776@debbugs.gnu.org To: Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 15 23:59:10 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7pfw-0005CV-VL for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Apr 2018 23:59:09 +0200 Original-Received: from localhost ([::1]:46409 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7pi3-0003F2-Ja for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Apr 2018 18:01:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7phr-0003Cw-8g for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 18:01:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7phm-0006JF-An for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 18:01:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:46748) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f7phm-0006J5-70 for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 18:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f7phl-0002Cg-Ur for bug-gnu-emacs@gnu.org; Sun, 15 Apr 2018 18:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Apr 2018 22:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19776 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19776-submit@debbugs.gnu.org id=B19776.15238296578182 (code B ref 19776); Sun, 15 Apr 2018 22:01:01 +0000 Original-Received: (at 19776) by debbugs.gnu.org; 15 Apr 2018 22:00:57 +0000 Original-Received: from localhost ([127.0.0.1]:54645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7phe-00023n-4r for submit@debbugs.gnu.org; Sun, 15 Apr 2018 18:00:57 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:39688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7phZ-0001yp-Ux for 19776@debbugs.gnu.org; Sun, 15 Apr 2018 18:00:53 -0400 Original-Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f7phV-0002jB-HY; Mon, 16 Apr 2018 00:00:49 +0200 Original-Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f7phP-0005rG-9c; Mon, 16 Apr 2018 00:00:39 +0200 In-Reply-To: <87tvsc6syh.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sun, 15 Apr 2018 23:49:26 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145416 Archived-At: Lars Ingebrigtsen writes: > Richard Stallman writes: > >> It takes around 5 seconds now -- still enough to lead a user >> to think it is broken. If it is going to take this long, >> it should show echo area messages about process. > > If we had a form like > > (with-delayed-message (1 "Rendering html...") > ... all the code ...) > > then we'd be able to display a message if the code took longer than 1 > second. We don't have that, do we? Oh, I asked this before, and the answer is "nope, not at all". The problem is that it can't be done with normal timers, since "all the code" may be pure Elisp and never yield. For that reason, it can't be done with the new thread support, either. So it would require some C-level magic. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no