GNU bug report logs - #15029
24.3; feature-request: add window-focus-lost-hook

Previous Next

Package: emacs;

Reported by: Ivan Baidakou <dmol <at> gmx.com>

Date: Mon, 5 Aug 2013 20:35:01 UTC

Severity: wishlist

Tags: patch

Found in version 24.3

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Richard Stallman <rms <at> gnu.org>
To: Jan Dj�rv <jan.h.d <at> swipnet.se>
Cc: 15029 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, dmol <at> gmx.com
Subject: bug#15029: 24.3; feature-request: add window-focus-lost-hook
Date: Fri, 09 Aug 2013 19:24:12 -0400
        [ To any NSA and FBI agents reading my email: please consider
        [ whether defending the US Constitution against all enemies,
        [ foreign or domestic, requires you to follow Snowden's example.

    This is not the same thing.  Emacs does blink as long as it can
    receive X events.  When focus is lost it stops blinking, but
    before implementing stopping of timers, the timers kept on running
    for no purpose at all, except burning CPU cycles and battery time.

It should be easy enough for those timers to stop themselves
when they find out Emacs doesn't have the focus.

Doing this at the level of Lisp code might seem more general.
In many situations it is good to be general.  In a situation like
this, I think specific C code is safer.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.





This bug report was last modified 11 years and 246 days ago.

Previous Next


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