From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.devel Subject: Re: Popup when buffer file is changed on disk Date: Sun, 6 Feb 2005 19:00:35 +0100 Message-ID: <004801c50c76$42764a90$0200a8c0@sedrcw11488> 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> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107713462 8105 80.91.229.2 (6 Feb 2005 18:11:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Feb 2005 18:11:02 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org, moheb1333@comcast.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 06 19:11:02 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cxqqa-00087p-R2 for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2005 19:09:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cxr4Z-0002E6-1G for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2005 13:23:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cxr3l-0001no-1K for emacs-devel@gnu.org; Sun, 06 Feb 2005 13:23:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cxr3f-0001ke-9v for emacs-devel@gnu.org; Sun, 06 Feb 2005 13:22:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cxr3f-0001hg-2F for emacs-devel@gnu.org; Sun, 06 Feb 2005 13:22:55 -0500 Original-Received: from [81.228.9.114] (helo=av5-2-sn3.vrr.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cxqlt-0007Dl-4q; Sun, 06 Feb 2005 13:04:33 -0500 Original-Received: by av5-2-sn3.vrr.skanova.net (Postfix, from userid 502) id 6737C37E7A; Sun, 6 Feb 2005 19:04:32 +0100 (CET) Original-Received: from smtp1-2-sn3.vrr.skanova.net (smtp1-2-sn3.vrr.skanova.net [81.228.9.178]) by av5-2-sn3.vrr.skanova.net (Postfix) with ESMTP id 599BB37E51; Sun, 6 Feb 2005 19:04:32 +0100 (CET) Original-Received: from sedrcw11488 (t2o58p175.telia.com [62.20.165.175]) by smtp1-2-sn3.vrr.skanova.net (Postfix) with SMTP id F31D23800C; Sun, 6 Feb 2005 19:04:30 +0100 (CET) Original-To: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 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:32957 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32957 ----- Original Message ----- From: "Richard Stallman" > "File AA.C has changed on disk. Do you want to reload it?" > > I don't want to install this; I think it would be annoying. However, > you could write it and post a patch, and people could try it and > report whether they like it. If people generally agree it is a good > thing, I will install it. I tried to implement it to see how it could work. I took a little bit different road. I let the app activate event call a lisp function (which I named "handle-app-activation"). This should handle both app activation and app deactivation. Any ideas around this? 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".