emacs-devel
[Top][All Lists]
Advanced

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

Re: autoreverting remote files


From: Deniz Dogan
Subject: Re: autoreverting remote files
Date: Sat, 25 Jul 2009 13:51:30 +0200

The first thing that I come to think of is what should happen should
the request take longer than the interval. I'd like a feature which
increases the interval automagically depending on how long requests
take. It would also decrease the interval (but at no point go below
the user set value) if the request takes less time than the current
interval.

--
Deniz Dogan

2009/7/25, Michael Albinus <address@hidden>:
> Hi,
>
> in autorevert.el, remote files are excluded from operation. There are
> good reasons for this; mainly due to slow access.
>
> However, there are use cases where it might be acceptable to handle
> remote files, too. For example, watching a log file via
> `auto-revert-tail-mode', which can be accessed as root only.
>
> Therefore, I propose a new option `auto-revert-remote-interval'. This
> shall have the same meaning as `auto-revert-interval' for local
> files. The default value is nil, which means that remote files are not
> reverted. And the users shall be guided, that a good value shall be
> bigger than the default 5 seconds of `auto-revert-interval'.
>
> Additionally, one would need the new defun `auto-revert-set-remote-timer'.
>
> Opinions?
>
> Best regards, Michael.
>
>
>


-- 
Deniz Dogan




reply via email to

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