[Top][All Lists]

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

Re: autoreverting remote files

From: Stefan Monnier
Subject: Re: autoreverting remote files
Date: Sun, 26 Jul 2009 14:23:19 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (gnu/linux)

>>> 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.
>> If it's accessed via Tramp over su/sudo, then one could argue that the
>> file is not remote.

> Sure. But `file-remote-p' does not know the difference.

Not true: file-remote-p delegates the job to Tramp, and Tramp does know.


reply via email to

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