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: Auto-revert on remote files: disabling timers temporarily? Date: Sun, 30 May 2004 21:31:54 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200405310231.i4V2VsY12777@raven.dms.auburn.edu> References: <87aczpdhz4.fsf@gmx.de> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1085970838 21657 80.91.224.253 (31 May 2004 02:33:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 May 2004 02:33:58 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon May 31 04:33:52 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BUcca-0003ra-00 for ; Mon, 31 May 2004 04:33:52 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BUccZ-0002R3-00 for ; Mon, 31 May 2004 04:33:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUccj-000786-Lo for emacs-devel@quimby.gnus.org; Sun, 30 May 2004 22:34:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BUccZ-000778-Ow for emacs-devel@gnu.org; Sun, 30 May 2004 22:33:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BUccX-00075S-Km for emacs-devel@gnu.org; Sun, 30 May 2004 22:33:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUccX-000759-D3 for emacs-devel@gnu.org; Sun, 30 May 2004 22:33:49 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BUcbk-0003Ij-7v for emacs-devel@gnu.org; Sun, 30 May 2004 22:33:00 -0400 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 i4V2WkuE007975; Sun, 30 May 2004 21:32:46 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i4V2VsY12777; Sun, 30 May 2004 21:31:54 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: michael.albinus@gmx.de In-reply-to: <87aczpdhz4.fsf@gmx.de> (message from Michael Albinus on Sun, 30 May 2004 17:58:55 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24263 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24263 >>From my earlier message: With fifteen remote files and global-auto-revert-mode enabled, and the default value of auto-revert-interval (five seconds) auto-revert-buffers would essentially be running `file-readable-p' on remote files constantly, disabling other timers. I forgot that `auto-revert-handler' also calls `verify-visited-file-modtime', which takes, on my connection, .43 to .55 seconds a call for remote files, so with nearly one second for checking each remote file, under ideal conditions (for my connection), things seem hopeless. If any remote file actually needs to be reverted, trouble can ensue. Sincerely, Luc.