[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp and auto-revert-tail-mode
From: |
Michael Albinus |
Subject: |
Re: tramp and auto-revert-tail-mode |
Date: |
Tue, 22 Aug 2006 10:46:23 +0200 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/20.7 (hpux) |
Dieter Wilhelm <dieter@duenenhof-wilhelm.de> 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))
...
Best regards, Michael.