From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Tramp with global-auto-revert-mode. Date: Mon, 17 May 2004 18:58:42 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200405122254.i4CMsUj29445@raven.dms.auburn.edu> <200405122326.i4CNQk929511@raven.dms.auburn.edu> <200405132324.i4DNOBs14811@raven.dms.auburn.edu> <200405140008.i4E08lb14858@raven.dms.auburn.edu> <871xln4xmc.fsf-monnier+emacs@gnu.org> <87oeorb5pq.fsf@emptyhost.emptydomain.de> <867jvcihnf.fsf@slowfox.dyndns.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084835112 30927 80.91.224.253 (17 May 2004 23:05:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 May 2004 23:05:12 +0000 (UTC) Cc: dak@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 18 01:05:07 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 1BPrAR-0005ch-00 for ; Tue, 18 May 2004 01:05:07 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BPrAQ-00089K-00 for ; Tue, 18 May 2004 01:05:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPr99-0004Sk-RW for emacs-devel@quimby.gnus.org; Mon, 17 May 2004 19:03:47 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BPr4Q-0003Yo-MD for emacs-devel@gnu.org; Mon, 17 May 2004 18:58:54 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BPr4K-0003WL-U9 for emacs-devel@gnu.org; Mon, 17 May 2004 18:58:51 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BPr4E-0003Vf-Lw for emacs-devel@gnu.org; Mon, 17 May 2004 18:58:42 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BPr4E-0000NL-3o; Mon, 17 May 2004 18:58:42 -0400 Original-To: Kai Grossjohann In-reply-to: <867jvcihnf.fsf@slowfox.dyndns.org> (message from Kai Grossjohann on Sun, 16 May 2004 16:13:56 +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:23605 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23605 > I think it is best to prevent recursive calls to Tramp. > One way to do this is to turn off auto-revert mode > while inside of any Tramp operation. Okay, so I suggest to extend Tramp such that it looks to see if the buffer is busy, and if so, it signals an error. We could do that, but we don't want attempts to auto-revert to cause errors. How about turning off auto-revert mode while inside Tramp?