From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#58634: Long delay with blank screen whilst loading desktop at emacs startup Date: Fri, 21 Oct 2022 15:42:54 +0000 Message-ID: References: <83czamy76j.fsf@gnu.org> <83zgdqwjca.fsf@gnu.org> <838rl9wh4m.fsf@gnu.org> <834jvxwbuf.fsf@gnu.org> <8335bhw68r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="704"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 58634@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 21 17:44:44 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 1oluCR-000AX9-MB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Oct 2022 17:44:43 +0200 Original-Received: from localhost ([::1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oluCJ-0002ZV-63 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Oct 2022 11:44:36 -0400 Original-Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oluBu-0002Z3-RW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Oct 2022 11:44:10 -0400 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 1oluBm-00028M-Um for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2022 11:44:03 -0400 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 1oluBm-0002F3-Cx for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2022 11:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oluBm-0006qx-8c for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2022 11:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Oct 2022 15:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58634 X-GNU-PR-Package: emacs Original-Received: via spool by 58634-submit@debbugs.gnu.org id=B58634.166636698326267 (code B ref 58634); Fri, 21 Oct 2022 15:44:02 +0000 Original-Received: (at 58634) by debbugs.gnu.org; 21 Oct 2022 15:43:03 +0000 Original-Received: from localhost ([127.0.0.1]:38753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oluAp-0006pb-A6 for submit@debbugs.gnu.org; Fri, 21 Oct 2022 11:43:03 -0400 Original-Received: from mx3.muc.de ([193.149.48.5]:58455) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oluAn-0006oy-GQ for 58634@debbugs.gnu.org; Fri, 21 Oct 2022 11:43:02 -0400 Original-Received: (qmail 59961 invoked by uid 3782); 21 Oct 2022 17:42:55 +0200 Original-Received: from acm.muc.de (p4fe15b9b.dip0.t-ipconnect.de [79.225.91.155]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 21 Oct 2022 17:42:55 +0200 Original-Received: (qmail 4737 invoked by uid 1000); 21 Oct 2022 15:42:54 -0000 Content-Disposition: inline In-Reply-To: <8335bhw68r.fsf@gnu.org> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de 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:245993 Archived-At: Hello, Eli. On Fri, Oct 21, 2022 at 18:23:16 +0300, Eli Zaretskii wrote: > > Date: Fri, 21 Oct 2022 14:15:16 +0000 > > Cc: juri@linkov.net, 58634@debbugs.gnu.org > > From: Alan Mackenzie > > > > Restoring buffers: 127/166 > > > > as we restore the buffers. We already count the buffers as we load > > > > them. > > > This will slow down the session restoration, so I'd rather avoid it. > > I've implemented it, and timed it. With the progress reporting enabled, > > it takes 0.2% longer than with it disabled. This is negligible. > In your case, maybe. Yes. Even if that difference was ten times as long, or even a hundred times as long, it would still be insignificant. If it proves to be a hindrance, it can always be disabled by a boolean defcustom. > I'm against adding this kind of trace. Yes, that's clear, but you haven't suggested anything better. Emacs freezing for large portions of a minute, or even longer, is not a good thing. -- Alan Mackenzie (Nuremberg, Germany).