unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: esa.peuha@gmail.com, 6719@debbugs.gnu.org
Subject: bug#6719: Issues with Windows hibernation
Date: Wed, 02 Oct 2019 17:53:02 +0300	[thread overview]
Message-ID: <83pnjf8ai9.fsf@gnu.org> (raw)
In-Reply-To: <87zhikw98z.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue,  01 Oct 2019 21:34:04 +0200)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Tue, 01 Oct 2019 21:34:04 +0200
> Cc: 6719@debbugs.gnu.org
> 
> Esa Peuha <esa.peuha@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.





  reply	other threads:[~2019-10-02 14:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-24 16:52 bug#6719: Issues with Windows hibernation Esa Peuha
2019-10-01 19:34 ` Lars Ingebrigtsen
2019-10-02 14:53   ` Eli Zaretskii [this message]
2019-10-03 14:26     ` Lars Ingebrigtsen
2019-10-03 16:46       ` Eli Zaretskii
2019-10-03 17:12         ` Lars Ingebrigtsen
2019-10-03 17:30           ` Eli Zaretskii
2019-10-07  3:30             ` Lars Ingebrigtsen
2019-10-07  5:04               ` Tomas Nordin
2019-10-07  5:06                 ` Lars Ingebrigtsen
2019-10-07  8:57                   ` Tomas Nordin
2019-10-08 16:39                     ` Lars Ingebrigtsen
2019-10-07 12:13                   ` Noam Postavsky

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83pnjf8ai9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=6719@debbugs.gnu.org \
    --cc=esa.peuha@gmail.com \
    --cc=larsi@gnus.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).