From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Popup when buffer file is changed on disk Date: Fri, 11 Feb 2005 13:38:23 -0600 (CST) Message-ID: <200502111938.j1BJcNj15388@raven.dms.auburn.edu> 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> <01c50c31$Blat.v2.4$d9a7a2a0@zahav.net.il> <000301c50c38$6a152640$0200a8c0@sedrcw11488> <200502061704.j16H4iG15131@raven.dms.auburn.edu> <200502110033.j1B0XD907696@raven.dms.auburn.edu> <01c51050$Blat.v2.4$2f98d360@zahav.net.il> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1108150925 31925 80.91.229.2 (11 Feb 2005 19:42:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2005 19:42:05 +0000 (UTC) Cc: lennart.borgman.073@student.lu.se, eliz@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 11 20:42:04 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CzgeY-0008IA-Aq for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2005 20:40:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CzgtX-0004Y6-RW for ged-emacs-devel@m.gmane.org; Fri, 11 Feb 2005 14:56:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Czgsg-0004DJ-C9 for emacs-devel@gnu.org; Fri, 11 Feb 2005 14:55:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Czgse-0004Cp-Ts for emacs-devel@gnu.org; Fri, 11 Feb 2005 14:55:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Czgse-0004CH-HX for emacs-devel@gnu.org; Fri, 11 Feb 2005 14:55:08 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Czge2-00026P-NF; Fri, 11 Feb 2005 14:40:02 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j1BJe19N014360; Fri, 11 Feb 2005 13:40:01 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j1BJcNj15388; Fri, 11 Feb 2005 13:38:23 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: dak@gnu.org In-reply-to: (message from David Kastrup on Fri, 11 Feb 2005 17:51:36 +0100) 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:33263 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:33263 Sorry, I mistakenly used the word "file" where "buffer" was meant. Of course, the option has nothing to do with modified buffers either, but it is exactly the purpose of the patch to point this out. "on user input" could be misinterpreted as meaning "after you modify the buffer" and "checking files" could be misunderstood as implicitly meaning to revert them, so the user could get the impression that if he sets the option to nil, autorevert will even autorevert modified buffers. For instance, I had the impression that this was how Lennart understood it, when he said that the option "did not work". ===File ~/autorevert-diff-b================================= *** autorevert.el 29 Dec 2004 21:08:55 -0600 1.42 --- autorevert.el 06 Feb 2005 10:48:08 -0600 *************** *** 150,156 **** (auto-revert-set-timer)))) (defcustom auto-revert-stop-on-user-input t ! "When non-nil Auto-Revert Mode stops checking files on user input." :group 'auto-revert :type 'boolean) --- 150,160 ---- (auto-revert-set-timer)))) (defcustom auto-revert-stop-on-user-input t ! "When non-nil Auto-Revert Mode stops checking files on user input. ! This prevents Auto Revert from interfering with your normal Emacs usage. ! This option controls when buffers are auto-reverted, not which buffers ! are auto-reverted. Modified buffers are never auto-reverted, ! regardless of the value of this option." :group 'auto-revert :type 'boolean) ============================================================