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: Sun, 23 Oct 2022 19:23:48 +0300 Message-ID: <83sfjeqzjf.fsf@gnu.org> References: <83zgdpuq3b.fsf@gnu.org> <83r0z1uju2.fsf@gnu.org> <83lep9ugyi.fsf@gnu.org> <83h6zwv0ft.fsf@gnu.org> <83tu3wt34l.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10290"; 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 Mon Oct 24 06:10:55 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 1omone-0002U2-VW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Oct 2022 06:10:55 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omn91-0006we-F1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Oct 2022 22:24:51 -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 1omdmY-0001QO-UJ for bug-gnu-emacs@gnu.org; Sun, 23 Oct 2022 12:25:04 -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 1omdmY-0002Nr-Hp for bug-gnu-emacs@gnu.org; Sun, 23 Oct 2022 12:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omdmY-00062v-95 for bug-gnu-emacs@gnu.org; Sun, 23 Oct 2022 12:25: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: Sun, 23 Oct 2022 16:25: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.166654225723185 (code B ref 58634); Sun, 23 Oct 2022 16:25:02 +0000 Original-Received: (at 58634) by debbugs.gnu.org; 23 Oct 2022 16:24:17 +0000 Original-Received: from localhost ([127.0.0.1]:46416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omdlo-00061s-Lp for submit@debbugs.gnu.org; Sun, 23 Oct 2022 12:24:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omdlk-00061d-4K for 58634@debbugs.gnu.org; Sun, 23 Oct 2022 12:24:15 -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 1omdlc-0002Jl-Io; Sun, 23 Oct 2022 12:24:04 -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=bylIyXdoSJ+nanQ/gf4YfPcHU9OCQseGhqBvojnZIjA=; b=k8V397zQLg3u KxKaYHpqK/mTLtnkU6OTKyraxmw+HrRvLIEUSXkgDXPXkpNq+4Qm19xCpa9wquAzH2lMSx4lA4ie3 PUQ9PMoquYWxqJqlzktdvf+94olsq91+OsAHn9vqGQiefI9VG0mt1mxAymGapm6fshyVTdYcX8cCz XS1eLnxhmxmXZ2LNj5SMZYNRKJC8knuExFSWGU1YerHE6XXQ61QwVum3sfi26/RsafJxEzQX1+Kxu pyk2K6yaiqzbFMXyYtvOjoYuMxkyjj2ZDUbSx9MOBHzzfoKMJlTSWNiK4qMFUxGO17ExTB13COsRl gYzNx1yiLBCQLJty1zzcTg==; 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 1omdlc-0006W3-1h; Sun, 23 Oct 2022 12:24:04 -0400 In-Reply-To: (message from Alan Mackenzie on Sun, 23 Oct 2022 15:22:05 +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: , 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:246072 Archived-At: > Date: Sun, 23 Oct 2022 15:22:05 +0000 > Cc: juri@linkov.net, 58634@debbugs.gnu.org, acm@muc.de > From: Alan Mackenzie > > > A hook I proposed is a more general facility, and can satisfy this > > need as well. It looks to me as a better solution. > > OK, I've implemented a solution with a hook. It doesn't seem to be such a solution. I see the hook you've added, but I also see desktop-echo-progress and desktop-progress-message. Why are those here? Why is anything needed in addition to the hook and its calls where appropriate? My suggestion was to add the hook, and that's it. > The total number of buffers can be (and in my patch is) counted in > desktop-save and saved in .emacs.desktop. That means incompatible change of the desktop file format. Let's not do this, please, not for such unimportant reasons.