GNU bug report logs -
#4128
too many key-bindings in ns-win.el?
Previous Next
Reported by: John Prevost <prevost1 <at> cert.org>
Date: Tue, 11 Aug 2009 18:10:06 UTC
Severity: minor
Tags: notabug
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #22 received at 4128 <at> emacsbugs.donarmstrong.com (full text, mbox):
David Reitter wrote:
>> However, binding anything to a power-off command within Emacs sounds
>> like a bad idea.
>
> In the contrary, not reacting to the ns-power-off message would be a
> bad idea because it would stall and then cancel shutdown (and probably
> log out as well) on OS X. The app needs to react correctly to that,
> and that is to quit while asking the user whether to save unsaved
> buffers.
The impression I got from the bug report was that a command
`ns-power-off' was being bound to a key in Emacs. But it sounds
dangerous to make such an event a lisp level event and allow arbitrary
user code to delay or prevent shutdown of the system. On Windows, the
equivalent event auto-saves all buffers and exits, in a way that is not
held up by an infinite lisp loop in user code.
This bug report was last modified 5 years and 346 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.