From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Popup when buffer file is changed on disk Date: Sun, 6 Feb 2005 19:17:28 +0100 Message-ID: <02661d4e228e08886b261fb4c5cf3ed3@swipnet.se> References: <200502040036.j140atb03430@raven.dms.auburn.edu> <009d01c50bbb$9aa2fd50$0200a8c0@sedrcw11488> <000c01c50bc5$248dc1e0$6501a8c0@y8h26> <01c50bd6$Blat.v2.4$48866000@zahav.net.il> <001701c50be6$0eb9fa20$0200a8c0@sedrcw11488> <01c50c1c$Blat.v2.4$88670e40@zahav.net.il> <002801c50c2a$cbce93c0$0200a8c0@sedrcw11488> <004801c50c76$42764a90$0200a8c0@sedrcw11488> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107715603 14110 80.91.229.2 (6 Feb 2005 18:46:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Feb 2005 18:46:43 +0000 (UTC) Cc: eliz@gnu.org, moheb1333@comcast.net, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 06 19:46:42 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CxrPs-0003gl-41 for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2005 19:45:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cxrdq-0001bP-LN for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2005 14:00:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cxrcv-0001MQ-Rt for emacs-devel@gnu.org; Sun, 06 Feb 2005 13:59:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cxrcp-0001JR-FZ for emacs-devel@gnu.org; Sun, 06 Feb 2005 13:59:17 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cxrco-0001G9-QM for emacs-devel@gnu.org; Sun, 06 Feb 2005 13:59:14 -0500 Original-Received: from [195.54.107.70] (helo=mxfep01.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CxqzD-00004y-Ab; Sun, 06 Feb 2005 13:18:19 -0500 Original-Received: from coolsville.localdomain ([83.226.180.210] [83.226.180.210]) by mxfep01.bredband.com with ESMTP id <20050206181817.GVDM23903.mxfep01.bredband.com@coolsville.localdomain>; Sun, 6 Feb 2005 19:18:17 +0100 In-Reply-To: <004801c50c76$42764a90$0200a8c0@sedrcw11488> Original-To: "Lennart Borgman" X-Mailer: Apple Mail (2.619.2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: main.gmane.org gmane.emacs.devel:32959 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32959 > > I am only able to implement this on w32. I guess it should be > straightforward to do the same for other OS:es if there are events for > app > activation/deactivation (which I suppose there are). The only part that > differs is the "real message loop". I haven't seen other OS:es (i.e. Unix) use the terms activate/deactivate for applications. What does it mean? That some GUI window for the application gets focus? In that case a better implementation is to generate a lisp event for FOCUS_IN. That should work on all platforms directly. Jan D.