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: Sun, 6 Feb 2005 11:04:45 -0600 (CST) Message-ID: <200502061704.j16H4iG15131@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> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1107709805 30640 80.91.229.2 (6 Feb 2005 17:10:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 6 Feb 2005 17:10:05 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 06 18:10:04 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Cxpv4-0001QW-AH for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2005 18:09:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cxq91-0006Qq-UW for ged-emacs-devel@m.gmane.org; Sun, 06 Feb 2005 12:24:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cxq7z-00066P-88 for emacs-devel@gnu.org; Sun, 06 Feb 2005 12:23:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cxq7k-0005yf-0K for emacs-devel@gnu.org; Sun, 06 Feb 2005 12:23:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cxq7h-0005vh-3J for emacs-devel@gnu.org; Sun, 06 Feb 2005 12:23:01 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CxprO-00039N-Iu; Sun, 06 Feb 2005 12:06:10 -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 j16H699N005784; Sun, 6 Feb 2005 11:06:10 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j16H4iG15131; Sun, 6 Feb 2005 11:04:45 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: lennart.borgman.073@student.lu.se In-reply-to: <000301c50c38$6a152640$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:32954 I believe that the following is better than my original patch. Only the second line of the docstring has changed. The thing that can go wrong if the option is nil is less often that you get "interrupted". than that Emacs fails to respond (whether to typing or to other commands). ===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 files are auto-reverted, not which files ! are auto-reverted. Modified files are never auto-reverted, ! regardless of the value of this option." :group 'auto-revert :type 'boolean) ============================================================