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#58634: Long delay with blank screen whilst loading desktop at emacs startup Date: Sat, 22 Oct 2022 09:26:14 +0300 Message-ID: <83h6zwv0ft.fsf@gnu.org> References: <834jvxwbuf.fsf@gnu.org> <8335bhw68r.fsf@gnu.org> <83zgdpuq3b.fsf@gnu.org> <83r0z1uju2.fsf@gnu.org> <83lep9ugyi.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11838"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58634@debbugs.gnu.org, juri@linkov.net To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 22 08:31:04 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 1om82B-0002vN-EY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 22 Oct 2022 08:31:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1om7yc-0003lT-7P; Sat, 22 Oct 2022 02:27:22 -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 1om7yJ-0003jJ-5L for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2022 02:27:12 -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 1om7yI-0008MI-T8 for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2022 02:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1om7yI-00005t-H3 for bug-gnu-emacs@gnu.org; Sat, 22 Oct 2022 02:27: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: Sat, 22 Oct 2022 06:27: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.1666420015348 (code B ref 58634); Sat, 22 Oct 2022 06:27:02 +0000 Original-Received: (at 58634) by debbugs.gnu.org; 22 Oct 2022 06:26:55 +0000 Original-Received: from localhost ([127.0.0.1]:39575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1om7yB-00005X-HH for submit@debbugs.gnu.org; Sat, 22 Oct 2022 02:26:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1om7y9-00005F-A1 for 58634@debbugs.gnu.org; Sat, 22 Oct 2022 02:26:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1om7xo-0008F4-FE; Sat, 22 Oct 2022 02:26:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hcYvOZxBcqpaNgYEdHIoTYFavKbOJxbPaEIZvu6uifo=; b=CsoxPZ4Z/khV ObydVaufuy1in4jcGckhX4Lx7oeJujy/2eXHllM2qdZ6PZgrpdOGtiV+JoAS6WIpYJ12F8OBoC+JK vRtR4HWWFBRp1dYcJR9OEwEyaC0giYmeTiMIfY/BI4aidAByHLLDwT1SA8b3ilfpHgu+LQASdSoP5 fZVHRu7hxhF0dTmVqHIgjZxPAhBpETT4YULczO5i/RjReMx8XRArGSBsKeAAHnbhObstep7jP+Qix z19f7j6mV7mreR7fEK+HpBO/CHCZO2GEJuJdHipmgNNeLjHVhI93+lKNKR3Xs/CCLUC6D28LbbXb1 bE5HS5DE6E84MhsyNXZPow==; Original-Received: from [87.69.77.57] (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 1om7xj-0001l3-Cz; Sat, 22 Oct 2022 02:26:32 -0400 In-Reply-To: (message from Alan Mackenzie on Fri, 21 Oct 2022 20:11:12 +0000) 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: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246023 Archived-At: > Date: Fri, 21 Oct 2022 20:11:12 +0000 > Cc: juri@linkov.net, 58634@debbugs.gnu.org > From: Alan Mackenzie > > > I'm even okay with adding a hook after each buffer is restored, if > > that will make you happy. I just don't want these messages (or > > anything similar) show by default, because no one wants them badly > > enough. > > As a general principle: > > When an operation can take a while to finish, you should inform the > user about the progress it makes. This way the user can estimate > remaining time and clearly see that Emacs is busy working, not hung. > > [Emacs Lisp manual, page "Progress"] In my configurations, desktop.el upholds that promise. If you are unhappy even with the additional hook proposal (you didn't say), then I guess we have nothing more to discuss here that could be useful. > What is a mystery is how desktop.el could have survived so long without > the progress indication recommended by the Elisp manual. Once again, when I restore my sessions, I see a flurry of messages that inform me of what's going on. And my sessions are very large, so they take a relatively long time to restore. There's nothing wrong with desktop.el per se, not in the common use cases. > > We may not know how common the display issue is, but we do know how > > common the irritation is: extremely uncommon, to say the least. > > We do not know. All we know is that few people have complained "Few" as in "none". Again, this part of the discussion is not useful. If an additional hook could fulfill your needs, please feel free to install such a change, and let's move on to more important stuff.