From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#15029: 24.3; feature-request: add window-focus-lost-hook Date: Fri, 09 Aug 2013 19:24:12 -0400 Message-ID: References: <20130805232148.b0f8363e1c2ab7279f873bee@gmx.com> <71bo58am8s.fsf@fencepost.gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1376090709 619 80.91.229.3 (9 Aug 2013 23:25:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Aug 2013 23:25:09 +0000 (UTC) Cc: 15029@debbugs.gnu.org, dmol@gmx.com To: Jan =?UTF-8?Q?Dj=E4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 10 01:25:11 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V7w3Q-0007uG-N5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Aug 2013 01:25:08 +0200 Original-Received: from localhost ([::1]:56802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7w3Q-0003aT-6v for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Aug 2013 19:25:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7w3L-0003Z6-SU for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2013 19:25:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7w3L-0007Fi-1l for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2013 19:25:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7w3K-0007FJ-Uz for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2013 19:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V7w3J-0000yf-V9 for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2013 19:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Aug 2013 23:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15029 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15029-submit@debbugs.gnu.org id=B15029.13760906613681 (code B ref 15029); Fri, 09 Aug 2013 23:25:01 +0000 Original-Received: (at 15029) by debbugs.gnu.org; 9 Aug 2013 23:24:21 +0000 Original-Received: from localhost ([127.0.0.1]:50599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7w2d-0000xF-Hu for submit@debbugs.gnu.org; Fri, 09 Aug 2013 19:24:20 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:49573 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7w2a-0000x6-QH for 15029@debbugs.gnu.org; Fri, 09 Aug 2013 19:24:17 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1V7w2W-0004SR-FP; Fri, 09 Aug 2013 19:24:12 -0400 In-reply-to: (message from Jan =?UTF-8?Q?Dj=E4rv?= on Fri, 9 Aug 2013 19:43:33 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:77233 Archived-At: [ 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.