bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58634: Long delay with blank screen whilst loading desktop at emacs


From: Alan Mackenzie
Subject: bug#58634: Long delay with blank screen whilst loading desktop at emacs startup
Date: Fri, 21 Oct 2022 14:15:16 +0000

Hello, Eli.

On Fri, Oct 21, 2022 at 16:22:16 +0300, Eli Zaretskii wrote:
> > Date: Fri, 21 Oct 2022 12:40:32 +0000
> > Cc: Juri Linkov <juri@linkov.net>, 58634@debbugs.gnu.org
> > From: Alan Mackenzie <acm@muc.de>

> > > I don't see any need for adding this.  Your case seems to be a rare
> > > one, and doesn't justify such complications.

> > What is rare about my case?

> That you see a blank frame.

That is true.  On a GUI frame, Emacs is unresponsive and apperantly hung.
Not quite as bad, but also not good.

> > My current idea is to count the buffers in desktop-save, and to output a
> > message:

> >     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.

-- 
Alan Mackenzie (Nuremberg, Germany).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]