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 19:01:52 +0000 Message-ID: References: <838rl9wh4m.fsf@gnu.org> <834jvxwbuf.fsf@gnu.org> <8335bhw68r.fsf@gnu.org> <83zgdpuq3b.fsf@gnu.org> <83r0z1uju2.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="24024"; 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 21:48:43 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 1oly0Z-00065A-8m for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Oct 2022 21:48:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olxyi-0001hP-2k; Fri, 21 Oct 2022 15:46:48 -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 1olxIo-0007J5-5X for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2022 15:03:31 -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 1olxIM-0008LA-Jy for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2022 15:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olxIM-0003Xa-5c for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2022 15:03: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 19:03: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.166637892213529 (code B ref 58634); Fri, 21 Oct 2022 19:03:02 +0000 Original-Received: (at 58634) by debbugs.gnu.org; 21 Oct 2022 19:02:02 +0000 Original-Received: from localhost ([127.0.0.1]:39032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olxHN-0003Vu-Hx for submit@debbugs.gnu.org; Fri, 21 Oct 2022 15:02:02 -0400 Original-Received: from mx3.muc.de ([193.149.48.5]:64705) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olxHL-0003Vb-5K for 58634@debbugs.gnu.org; Fri, 21 Oct 2022 15:01:59 -0400 Original-Received: (qmail 34772 invoked by uid 3782); 21 Oct 2022 21:01:53 +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 21:01:52 +0200 Original-Received: (qmail 30106 invoked by uid 1000); 21 Oct 2022 19:01:52 -0000 Content-Disposition: inline In-Reply-To: <83r0z1uju2.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: , 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:246008 Archived-At: Hello, Eli. On Fri, Oct 21, 2022 at 21:12:37 +0300, Eli Zaretskii wrote: > > Date: Fri, 21 Oct 2022 17:15:19 +0000 > > Cc: juri@linkov.net, 58634@debbugs.gnu.org, acm@muc.de > > From: Alan Mackenzie > > Hello, Eli. > > On Fri, Oct 21, 2022 at 18:57:28 +0300, Eli Zaretskii wrote: > > > > Date: Fri, 21 Oct 2022 15:42:54 +0000 > > > > Cc: juri@linkov.net, 58634@debbugs.gnu.org, acm@muc.de > > > > From: Alan Mackenzie > > > > > 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. > > > I suggest to do nothing about that. > > Yes. I don't understand that. Emacs hangs irritatingly, and there's a > > simple fix. You're not prepared to apply it, to try it out, or even to > > look at it. > If you want some messages to be displayed, you should be able to > sprinkle your init file with them, right? No. I want reassurance that my Emacs hasn't hung completely, and giving some indication of how long it's going to be busy is also wanted. Random messages from .emacs won't help, here. > You can also define a desktop-after-read-hook function to display > something, if you want. I wasn't aware of this hook. Being run just once at the end of desktop-read, it doesn't look like it can be used to provide any information about the progress of that desktop-read. > Assuming this will make the frame display something, why impose your > personal preferences on everyone? That's not fair. One could make the same insinuation against anybody who added an option for users. My "personal preferences" here are a totally neutral, factual display which is not imposed on anybody; there is a defcustom to switch that display off. There is even the possibility of making its default nil. > I'm not aware of any complaints about what happens when desktop.el > restores a session (one more reason to consider your case a rare one). We simply don't know how common it is. It's the sort of phenomenon that irritates, but not enough to be bothered to do anything about it. I've been irritated by it for quite some time, also irritated in previous years by random buffers being displayed on my screen at startup without understanding why. Now I do understand why, and have made amendments to my Emacs so that these things don't happen any more. I was proposing to give users a choice between different sorts of irritation. I get irritated at indeterminate waits for something to happen, you get irritated by half a minute's worth of a counter incrementing on a screen. I will solve my personal problem by incorporating my changes into every current and future version of Emacs on my machine. > > What about the other remaining matter - that (message "") in info.el? > > Presumably we're waiting on some response from Juri. > Yes. Assuming my guess is correct, I'm okay with removing that. OK, thanks! -- Alan Mackenzie (Nuremberg, Germany).