From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] frame.c: focus hooks Date: Mon, 18 Nov 2013 13:44:23 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1384800262 2774 80.91.229.3 (18 Nov 2013 18:44:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Nov 2013 18:44:22 +0000 (UTC) Cc: brian@brianjenkins.org, emacs-devel@gnu.org To: Bozhidar Batsov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 18 19:44:29 2013 Return-path: Envelope-to: ged-emacs-devel@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 1ViToC-0004Xj-QF for ged-emacs-devel@m.gmane.org; Mon, 18 Nov 2013 19:44:28 +0100 Original-Received: from localhost ([::1]:45426 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViToC-0007Ve-Fn for ged-emacs-devel@m.gmane.org; Mon, 18 Nov 2013 13:44:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViTo9-0007UI-GT for emacs-devel@gnu.org; Mon, 18 Nov 2013 13:44:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ViTo8-0006wd-KO for emacs-devel@gnu.org; Mon, 18 Nov 2013 13:44:25 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViTo8-0006wZ-Gk for emacs-devel@gnu.org; Mon, 18 Nov 2013 13:44:24 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1ViTo7-0005Bs-PW; Mon, 18 Nov 2013 13:44:23 -0500 In-reply-to: (message from Bozhidar Batsov on Sun, 17 Nov 2013 20:29:52 +0200) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:165332 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. If you don't use click-to-focus, Emacs can gain and lose focus every time you move the mouse, even inadvertently. It would be very bad for this to have any lasting effect. I think such hooks should not exist. This allows saving all buffers on loss of focus. (Alt-tabbing between an editor and browser is a popular workflow for web programmers.) I think it is better to have Emacs control the change of focus and define a command that saves buffers and switches focus (if that's what you like to do). -- 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.