On 16 Mar 2001, Kai Großjohann wrote:
> On 16 Mar 2001, Daniel Katz wrote:
>> 
>> With a local file, emacs would notice that the file had changed on
>> disk and offer to re-read it into the buffer.  Files that I visit by
>> tramp don't notice that the file has changed and don't ask whether I
>> want to refresh the buffer.
> 
> I wonder how does Emacs know that the file has changed in the local
> case?  

`verify-visited-file-modtime'

It's implemented in tramp2, so you can probably steal it from there.

        Daniel

-- 
In a minute there is time
For decisions and revisions which a minute will reverse.
        -- T.S. Eliot

Reply via email to