From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Re: Popup when buffer file is changed on disk Date: Sun, 06 Feb 2005 09:20:51 +0200 Message-ID: <01c50c1c$Blat.v2.4$88670e40@zahav.net.il> 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1107675558 26922 80.91.229.2 (6 Feb 2005 07:39:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Feb 2005 07:39:18 +0000 (UTC) Cc: emacs-devel@gnu.org, moheb1333@comcast.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 06 08:39:18 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cxh0h-00079z-TC for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2005 08:39:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CxhEa-0002Xk-Hi for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2005 02:53:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CxhEB-0002U5-G0 for emacs-devel@gnu.org; Sun, 06 Feb 2005 02:53:07 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CxhE5-0002Rx-Kr for emacs-devel@gnu.org; Sun, 06 Feb 2005 02:53:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CxhE4-0002Pb-6f for emacs-devel@gnu.org; Sun, 06 Feb 2005 02:53:00 -0500 Original-Received: from [192.114.186.24] (helo=legolas.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CxgnI-0006UI-Gn for emacs-devel@gnu.org; Sun, 06 Feb 2005 02:25:20 -0500 Original-Received: from zaretski (tony04-57-217.inter.net.il [80.230.57.217]) by legolas.inter.net.il (MOS 3.5.6-GR) with ESMTP id DRY16019 (AUTH halo1); Sun, 6 Feb 2005 09:25:14 +0200 (IST) Original-To: "Lennart Borgman" X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.4 In-reply-to: <001701c50be6$0eb9fa20$0200a8c0@sedrcw11488> (lennart.borgman.073@student.lu.se) 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:32933 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:32933 > From: "Lennart Borgman" > Cc: > Date: Sun, 6 Feb 2005 01:51:43 +0100 > > > Would switching on auto-revert-mode solve your problem here? > > I have been missing this feature too. Emacs behaviour is quite confusing if > you are used to the behavior Moheb mentions. > > I do not believe that auto-revert-mode can do what Moheb (and I myself) > wants. What we want to happen is that Emacs should warn at the moment when > it gets focus that the file has changed. When Emacs warns you that the file was changed, what would you do in response? I thought that you would revert the buffer, so auto-revert seemed like a good solution.