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: Stefan Kangas
Subject: bug#58634: Long delay with blank screen whilst loading desktop at emacs startup
Date: Fri, 21 Oct 2022 12:09:37 -0700

Alan Mackenzie <acm@muc.de> writes:

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

Yes, this would be useful.  It is bad to not see any progress while the
desktop is loading, for several reasons.  One of them is that you
usually expect to see some kind of indication of progress during
long-running operations.

I wrote up some code to show such a counter myself about a year and a
half ago, and I'm attaching the patch here in case it is of any help.
Maybe you could take some inspiration from it Alan, or maybe not.

I honestly can't remember why I didn't propose it back then.  Maybe I
felt like it should be possible to find a more elegant solution?  I
can't remember.  In any case, if the patch still applies it should at
the very least work, I hope.

Attachment: 0001-New-option-to-show-progress-as-desktop-file-loads.patch
Description: Text Data


reply via email to

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