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: Thu, 08 Aug 2013 22:38:10 -0400 Message-ID: References: <20130805232148.b0f8363e1c2ab7279f873bee@gmx.com> <71bo58am8s.fsf@fencepost.gnu.org> <8vk3jwcg6t.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 1376015949 2270 80.91.229.3 (9 Aug 2013 02:39:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 Aug 2013 02:39:09 +0000 (UTC) Cc: 15029@debbugs.gnu.org, dmol@gmx.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 09 04:39: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 1V7cbe-0002o0-R5 for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Aug 2013 04:39:10 +0200 Original-Received: from localhost ([::1]:51601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7cbe-00070w-EK for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Aug 2013 22:39:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7cbZ-00070j-Rs for bug-gnu-emacs@gnu.org; Thu, 08 Aug 2013 22:39:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7cbW-0000ko-Ev for bug-gnu-emacs@gnu.org; Thu, 08 Aug 2013 22:39:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7cbW-0000kg-A0 for bug-gnu-emacs@gnu.org; Thu, 08 Aug 2013 22:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1V7cbV-0005GS-UC for bug-gnu-emacs@gnu.org; Thu, 08 Aug 2013 22:39: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 02:39: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.137601589620087 (code B ref 15029); Fri, 09 Aug 2013 02:39:01 +0000 Original-Received: (at 15029) by debbugs.gnu.org; 9 Aug 2013 02:38:16 +0000 Original-Received: from localhost ([127.0.0.1]:48382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7cak-0005Du-Sk for submit@debbugs.gnu.org; Thu, 08 Aug 2013 22:38:15 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:45082 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V7cai-0005Dh-Im for 15029@debbugs.gnu.org; Thu, 08 Aug 2013 22:38:12 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1V7cag-0003uv-Br; Thu, 08 Aug 2013 22:38:10 -0400 In-reply-to: <8vk3jwcg6t.fsf@fencepost.gnu.org> (message from Glenn Morris on Thu, 08 Aug 2013 12:15:06 -0400) 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:77118 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. To me, It seems a perfectly reasonable request to want Emacs do certain things (eg save all files) when it loses input focus. That is a bizarre thing to do. The right way to handle this is auto-save, which operates whether you change focus or not, and doesn't alter the files someone else will really look at. There is no accounting for tastes, but I don't think a questionable feature should be installed so people can do something so strange. As for debugging, same procedure as always: does it happen with emacs -Q? If not, it's something in your config, so bisect .emacs until you find the line that causes it. I don't think you understand the problem. The problem is how to debug a program when switching windows to the debugger triggers it to do something. -- 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.