From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: tramp and auto-revert-tail-mode Date: Tue, 22 Aug 2006 23:55:31 +0200 Organization: The Church of Emacs Message-ID: <87bqqccu5o.fsf@hans.local.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156313813 381 80.91.229.2 (23 Aug 2006 06:16:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Aug 2006 06:16:53 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 23 08:16:50 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GFm2h-0002sE-HA for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Aug 2006 08:16:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GFm2g-0006pR-So for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Aug 2006 02:16:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GFm2V-0006pG-I9 for help-gnu-emacs@gnu.org; Wed, 23 Aug 2006 02:16:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GFm2S-0006oq-Sv for help-gnu-emacs@gnu.org; Wed, 23 Aug 2006 02:16:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GFm2S-0006on-OC for help-gnu-emacs@gnu.org; Wed, 23 Aug 2006 02:16:32 -0400 Original-Received: from [212.227.126.187] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GFmAE-0007eK-J2 for help-gnu-emacs@gnu.org; Wed, 23 Aug 2006 02:24:34 -0400 Original-Received: from [84.167.42.47] (helo=duenenhof-wilhelm.de) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis), id 0ML21M-1GFm2Q2DVO-0005je; Wed, 23 Aug 2006 08:16:30 +0200 Original-Received: by duenenhof-wilhelm.de (Postfix, from userid 1000) id 8B883487EA; Tue, 22 Aug 2006 23:55:32 +0200 (CEST) Original-To: Michael Albinus In-Reply-To: (Michael Albinus's message of "Tue, 22 Aug 2006 10:46:23 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:d7ab225b98a136e1c2910381f940ecb9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:36859 Archived-At: Michael Albinus writes: > Dieter Wilhelm writes: > >> Hi > > Hi, > >> I wanted to use auto-revert-tail-mode in a buffer which I opened with >> tramp because of read restrictions (/su::/var/log/mail I think). But >> this modes doesn't work as expected, is this a known bug or >> complication? > >>>From autorevert.el: > > ;; Auto-Revert Mode can be activated for individual buffers. Global > ;; Auto-Revert Mode applies to all file buffers. (If the user option > ;; `global-auto-revert-non-file-buffers' is non-nil, it also applies > ;; to some non-file buffers. This option is disabled by default.) > ;; Since checking a remote file is too slow, these modes do not check > ;; or revert remote files. > > See also `auto-revert-handler': > > (let* ((buffer (current-buffer)) > (revert > (or (and buffer-file-name > (not (file-remote-p buffer-file-name)) > ... > Thank you for the pointer: It seems to me that file-remote-p is not thoroughly enough for above cases when the file is indeed locally opened? -- Best wishes H. Dieter Wilhelm Darmstadt, Germany