unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: "Jan Dj�rv" <jan.h.d@swipnet.se>
Cc: 15029@debbugs.gnu.org, dmol@gmx.com
Subject: bug#15029: 24.3; feature-request: add window-focus-lost-hook
Date: Fri, 09 Aug 2013 19:24:12 -0400	[thread overview]
Message-ID: <E1V7w2W-0004SR-FP@fencepost.gnu.org> (raw)
In-Reply-To: <C36E29E0-1827-4BFC-B9E4-7BBF2F644C3D@swipnet.se> (message from Jan Dj�rv on Fri, 9 Aug 2013 19:43:33 +0200)

        [ 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.






  reply	other threads:[~2013-08-09 23:24 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-05 20:21 bug#15029: 24.3; feature-request: add window-focus-lost-hook Ivan Baidakou
2013-08-06 23:57 ` Glenn Morris
2013-08-07 19:21   ` Richard Stallman
2013-08-08  3:34     ` Glenn Morris
2013-08-08 15:46       ` Richard Stallman
2013-08-08 16:15         ` Glenn Morris
2013-08-09  2:38           ` Richard Stallman
2013-08-09 16:05             ` Glenn Morris
2013-08-09 23:23               ` Richard Stallman
2013-11-17 19:29               ` Glenn Morris
2013-11-19  2:24                 ` Glenn Morris
2013-08-08 16:37         ` Stefan Monnier
2013-08-09  2:38           ` Richard Stallman
2013-08-09  7:42             ` Eli Zaretskii
2013-08-09 13:54             ` Stefan Monnier
2013-08-09 16:56               ` Richard Stallman
2013-08-09 17:43                 ` Jan Djärv
2013-08-09 23:24                   ` Richard Stallman [this message]
2013-08-09 18:40                 ` Stefan Monnier
2013-08-08 16:56         ` Eli Zaretskii
2013-08-09  2:38           ` Richard Stallman
2013-08-09  7:37             ` Eli Zaretskii
2013-08-09 16:54               ` Richard Stallman
2013-08-09 18:20                 ` Eli Zaretskii
2013-08-09 23:24                   ` Richard Stallman

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=E1V7w2W-0004SR-FP@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=15029@debbugs.gnu.org \
    --cc=dmol@gmx.com \
    --cc=jan.h.d@swipnet.se \
    /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).