GNU bug report logs - #6719
[w32] Hibernate sends undefined <sleep> key & shrinks maximized windows

Previous Next

Package: emacs;

Reported by: Esa Peuha <esa.peuha <at> gmail.com>

Date: Sat, 24 Jul 2010 16:53:01 UTC

Severity: minor

Found in version 23.2

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 6719 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: esa.peuha <at> gmail.com, 6719 <at> debbugs.gnu.org
Subject: Re: bug#6719: Issues with Windows hibernation
Date: Wed, 02 Oct 2019 17:53:02 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Date: Tue, 01 Oct 2019 21:34:04 +0200
> Cc: 6719 <at> debbugs.gnu.org
> 
> Esa Peuha <esa.peuha <at> gmail.com> writes:
> 
> > If Windows XP is hibernated while Emacs 23.2 is running, Emacs gets
> > the <sleep> event which by default is undefined, so Emacs beeps before
> > hibernation and displays "<sleep> is undefined" after Windows is
> > resumed; I think <sleep> should be ignored by default.
> 
> (I'm going through old bug reports that unfortunately didn't get any
> response at the time.)
> 
> This seems like a reasonable thing to add to global-map (i.e., ignoring
> [sleep]), but is it common for Windows to send a [sleep] keystroke to
> apps before hibernating?

I don't know, FWIW, and couldn't see where we any w32 code to inject
that event when the system is about to hibernate.  Maybe I'm missing
something.




This bug report was last modified 5 years and 222 days ago.

Previous Next


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