From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#19776: 25.0.50; HTML rendering is very slow Date: Mon, 25 Oct 2021 16:48:17 +0200 Message-ID: <87o87dw47i.fsf@gnus.org> References: <83pmrw5hfs.fsf@gnu.org> <875ytmbnk2.fsf@gnus.org> <83y26i34e1.fsf@gnu.org> <87wnm27b57.fsf@gnus.org> <87sfwq75q4.fsf@gnus.org> <87wnm22q7y.fsf@gnus.org> <83ee8a2pm7.fsf@gnu.org> <87fssq2orj.fsf@gnus.org> <875ytm2h37.fsf@gnus.org> <87wnm1a78f.fsf@igel.home> <87h7d5z1ug.fsf@gnus.org> <87bl3d9pz7.fsf@igel.home> <87lf2hxlcr.fsf@gnus.org> <87a6ixxks2.fsf@gnus.org> <877de19nx2.fsf@igel.home> <87wnm1w4ri.fsf@gnus.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="21936"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: stefan@marxist.se, 19776@debbugs.gnu.org, rms@gnu.org, Stefan Monnier To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 25 16:52:04 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 1mf1KV-0005R1-4t for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Oct 2021 16:52:03 +0200 Original-Received: from localhost ([::1]:52582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mf1KT-00030Q-3W for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Oct 2021 10:52:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mf1Ha-0007zm-UN for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2021 10:49:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mf1Ha-0004oB-KB for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2021 10:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mf1Ha-00032D-Cp for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2021 10:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Oct 2021 14:49: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.163517331311619 (code B ref 19776); Mon, 25 Oct 2021 14:49:02 +0000 Original-Received: (at 19776) by debbugs.gnu.org; 25 Oct 2021 14:48:33 +0000 Original-Received: from localhost ([127.0.0.1]:43965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mf1H6-00031L-M3 for submit@debbugs.gnu.org; Mon, 25 Oct 2021 10:48:32 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:57166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mf1H5-000314-4c for 19776@debbugs.gnu.org; Mon, 25 Oct 2021 10:48:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ao2l1JyPkg3MmmzrYTyVZjKYTai06NZ6cWl0KdTqqf4=; b=SIf2gXQRTxilRZ1UTyJuFmA4HU L6kryt6Kb4bF4vuupGkVDnKoKRUtBf7IKDTKootkwybGFu4awzGiC9LIvCRrI4/6RrKH1Z/oBxKDo NYOKj3gQXMYqR1jw23s1v0n4ixkB8D9McYvp3wC4VN/2roRJ8Em0GP0XyTDW7+n/GEKI=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mf1Gr-0002AY-S5; Mon, 25 Oct 2021 16:48:20 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEUOCwsgHBwnJSMo RyUZJxUhNx3///9gxvanAAAAAWJLR0QGYWa4fQAAAAd0SU1FB+UKGQ4WCPUhMMoAAACwSURBVDjL zZJNCgMhDIWVsfvRE9ScwEVmL6h7oeP9r9II/dU4dNpC+3Dl5/MlIUJUSaEbiX+WnN917jNKGoQF kgUDcPNqA0+6Aq3rU8OAxgD7yvji4B5ak5qvAkAYywFaCnkcfDfMeVWfLhyfON9BXWq+YZrExseY 8gAEPwDR8WBNA0dU/qDWFLukU0mIDkNoQcEpu4xp6h1Ycl7C0gKKVvX0JdBNZKvyXvHgIvEDnQGf IRovh3etJgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMS0xMC0yNVQxNDoyMjowOCswMDowMOJ22N4A AAAldEVYdGRhdGU6bW9kaWZ5ADIwMjEtMTAtMjVUMTQ6MjI6MDgrMDA6MDCTK2BiAAAAAElFTkSu QmCC X-Now-Playing: Jlin's _Pres Rebooted_: "Lotus" In-Reply-To: <87wnm1w4ri.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 25 Oct 2021 16:36:17 +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:218298 Archived-At: Lars Ingebrigtsen writes: > No EMACS_IGNORE_TIMERFD > No EMACSDATA > No EMACS_FONT_LOG > No HANGUL_KEYBOARD_TYPE > > So that's four more bugs, I guess. No, just one. I interpreted the output wrong -- the only thing that's getenv'd before the environment is EMACS_IGNORE_TIMERFD. So this patch will fix that: diff --git a/src/emacs.c b/src/emacs.c index a24543a586..032b27fcf3 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1872,7 +1872,6 @@ main (int argc, char **argv) init_bignum (); init_threads (); init_eval (); - init_atimer (); running_asynch_code = 0; init_random (); @@ -2034,6 +2033,9 @@ main (int argc, char **argv) if (!will_dump_p ()) set_initial_environment (); + /* Has to run after the environment is set up. */ + init_atimer (); + #ifdef WINDOWSNT globals_of_w32 (); #ifdef HAVE_W32NOTIFY I think it's probably safe to push to Emacs 28, but since nobody has complained about it since 2014 (when this was introduced), I'm pushing it to master instead. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no