GNU bug report logs - #63620
30.0.50; [Feature Request] run hooks on sleep/wake

Previous Next

Package: emacs;

Reported by: Andrew Cohen <acohen <at> ust.hk>

Date: Sat, 20 May 2023 23:25:02 UTC

Severity: wishlist

Tags: patch

Found in version 30.0.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ship Mints <shipmints <at> gmail.com>
Cc: acohen <at> ust.hk, 63620 <at> debbugs.gnu.org, michael.albinus <at> gmx.de, monnier <at> iro.umontreal.ca
Subject: bug#63620: 30.0.50; [Feature Request] run hooks on sleep/wake
Date: Thu, 06 Feb 2025 18:06:19 +0200
> From: Ship Mints <shipmints <at> gmail.com>
> Date: Thu, 6 Feb 2025 10:42:02 -0500
> Cc: Eli Zaretskii <eliz <at> gnu.org>, Andrew Cohen <acohen <at> ust.hk>, 63620 <at> debbugs.gnu.org, 
> 	michael.albinus <at> gmx.de
> 
> macOS has an annoying feature that will wake the computer periodically to check shite like email and
> messages and then go back to sleep. I do not know if the notifications we're interested in are invoked by this
> default behavior. I've disabled mine to avoid burning the battery with the lid closed.

If the system wakes from sleep, it shouldn't matter to Emacs why it
wakes.  If it then goes back to sleep, the sleep handler will be
reinvoked; if it doesn't, it won't.

So I'm not sure we should worry about this.  If the user doesn't want
his/her system to be awoken by these conditions, he/she should
configure the system appropriately, like you did.




This bug report was last modified 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.