Subject: Re: bug#63620: 30.0.50; [Feature Request] run hooks on sleep/wake

From: Ship Mints <[email-masked]>
Date: Fri, 7 Feb 2025 08:20:09 -0500

In nsterm.m, it says:

  /* emacs -nw doesn't have an NSApp, so we're done.  */
  if (NSApp == nil)

That may influence if sleep/wake features are available in batch, at least
for macos, yes?

On Fri, Feb 7, 2025 at 7:54 AM Eli Zaretskii <[email-masked]> wrote:

> > From: Ship Mints <[email-masked]>
> > Date: Fri, 7 Feb 2025 07:31:33 -0500
> > Cc: [email-masked], [email-masked], [email-masked],
> >       [email-masked]
> >
> >
> > Forgive me for asking something you might think is obvious. Are all the
> platform initializations done even in
> > batch?
>
> No.  But what part of that you think could be relevant to the issue at
> hand?
>
> > So all display/system code works just with no initial frame?
>
> Actually, there is a frame in that case, but it is not a GUI frame.
>