all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 58634@debbugs.gnu.org, juri@linkov.net
Subject: bug#58634: Long delay with blank screen whilst loading desktop at emacs startup
Date: Sun, 23 Oct 2022 18:58:42 +0000	[thread overview]
Message-ID: <Y1WO4j3MemSl8/0W@ACM> (raw)
In-Reply-To: <83sfjeqzjf.fsf@gnu.org>

Hello, Eli.

On Sun, Oct 23, 2022 at 19:23:48 +0300, Eli Zaretskii wrote:
> > Date: Sun, 23 Oct 2022 15:22:05 +0000
> > Cc: juri@linkov.net, 58634@debbugs.gnu.org, acm@muc.de
> > From: Alan Mackenzie <acm@muc.de>

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

What's the point of the hook on its own?  I can't see much.  I think what
you're suggesting is that every user who wants progress messages should
have to implement his own version.  That would be a tremendous waste of
hackers' time, and is, quite frankly, a ludicrous idea.  Besides, the
variable desktop-buffer-count is essential to full progress messages, and
it's scarcely clean programming for random hook functions to access it.

> My suggestion was to add the hook, and that's it.

I was hoping that wasn't what you meant.  I honestly can't see the point
in just the hook.  If you want this hook, feel free to extract it from my
patch.  I'm not willing to put any more time into this.

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

Not at all.  desktop has the facility of dumping random variables into
..emacs.desktop, and there's even a customisable variable for this.  In
this case an extra

    (setq desktop-buffer-count 166)

gets written into the file, alongside several similar ones.

> Let's not do this, please, not for such unimportant reasons.

It's not unimportant.  This facility of progress messages is a needed
enhancement, without known disadvantages.  You're not willing to merge it
into Emacs, but haven't given a valid reason why not.

I'm not willing to continue fighting you.  I will probably post my
original patch to emacs-devel in a day or two, and then we can see just
what sort of demand for it there is amongst Emacs developers.

-- 
Alan Mackenzie (Nuremberg, Germany).





  reply	other threads:[~2022-10-23 18:58 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-19 13:28 bug#58634: Long delay with blank screen whilst loading desktop at emacs startup Alan Mackenzie
2022-10-19 15:49 ` Eli Zaretskii
2022-10-19 19:11   ` Andrea Corallo
2022-10-19 19:58     ` Alan Mackenzie
2022-10-20  5:20       ` Eli Zaretskii
2022-10-20 10:55         ` Alan Mackenzie
2022-10-20 13:07           ` Eli Zaretskii
2022-10-20 15:28             ` Alan Mackenzie
2022-10-20 16:28               ` Eli Zaretskii
2022-10-21  8:59                 ` Alan Mackenzie
2022-10-21 11:28                   ` Eli Zaretskii
2022-10-21 12:40                     ` Alan Mackenzie
2022-10-21 13:22                       ` Eli Zaretskii
2022-10-21 14:15                         ` Alan Mackenzie
2022-10-21 15:23                           ` Eli Zaretskii
2022-10-21 15:42                             ` Alan Mackenzie
2022-10-21 15:57                               ` Eli Zaretskii
2022-10-21 17:15                                 ` Alan Mackenzie
2022-10-21 18:12                                   ` Eli Zaretskii
2022-10-21 19:01                                     ` Alan Mackenzie
2022-10-21 19:14                                       ` Eli Zaretskii
2022-10-21 20:11                                         ` Alan Mackenzie
2022-10-22  6:26                                           ` Eli Zaretskii
2022-10-22 12:20                                             ` Alan Mackenzie
2022-10-22 13:11                                               ` Eli Zaretskii
2022-10-23 15:22                                                 ` Alan Mackenzie
2022-10-23 16:23                                                   ` Eli Zaretskii
2022-10-23 18:58                                                     ` Alan Mackenzie [this message]
2022-10-23 19:11                                                       ` Eli Zaretskii
2022-10-26 16:35                                                         ` Alan Mackenzie
2022-10-26 16:38                                                           ` Eli Zaretskii
2022-10-26 19:39                                                           ` Stefan Kangas
2022-10-27  5:19                                                             ` Eli Zaretskii
2022-10-21 19:09                       ` Stefan Kangas
2022-10-22 17:46                     ` Juri Linkov
2022-10-22 18:33                       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y1WO4j3MemSl8/0W@ACM \
    --to=acm@muc.de \
    --cc=58634@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.