help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp and auto-revert-tail-mode


From: Dieter Wilhelm
Subject: Re: tramp and auto-revert-tail-mode
Date: Tue, 22 Aug 2006 23:55:31 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Michael Albinus <michael.albinus@gmx.de> writes:

> 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))
>                    ...
>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]