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: Eli Zaretskii
Subject: bug#58634: Long delay with blank screen whilst loading desktop at emacs startup
Date: Sat, 22 Oct 2022 16:11:06 +0300

> Date: Sat, 22 Oct 2022 12:20:18 +0000
> Cc: juri@linkov.net, 58634@debbugs.gnu.org
> From: Alan Mackenzie <acm@muc.de>
> 
> Hello, Eli.
> 
> On Sat, Oct 22, 2022 at 09:26:14 +0300, Eli Zaretskii wrote:
> > > Date: Fri, 21 Oct 2022 20:11:12 +0000
> > > Cc: juri@linkov.net, 58634@debbugs.gnu.org
> > > From: Alan Mackenzie <acm@muc.de>
> 
> > > > 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.
> 
> I want them.  Stefan Kangas wants them.  We don't know how many other
> people want them, even amongst Emacs developers.  If you don't want the
> messages enabled by default, why not include the facility disabled by
> default, so that users can enable it when they do want it?

A hook I proposed is a more general facility, and can satisfy this
need as well.  It looks to me as a better solution.

> > 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.
> 
> The additional hook is a red herring.  To be fully useful, it would need
> to be passed the current filename and the total number of buffers being
> restored.

Since it's a hook called when restoring a buffer, it should be called
with the buffer name.  The total number of buffers is AFAIR known only
after everything is processed, and is stored in the
desktop-buffer-ok-count.  What else is missing?





reply via email to

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