[Top][All Lists]

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

Re: tramp no longer recognizes when remote files changed

From: Richard Stallman
Subject: Re: tramp no longer recognizes when remote files changed
Date: Sat, 28 Jul 2007 10:11:47 -0400

    Tramp 2.1, brought to Emacs trunk some weeks ago, caches file
    information in order to speed up. It uses cached information for
    example when `file-attributes' is called, and cannot recognize
    external file changes therefore.

Does it make sense to block use of the cached data specifically in the
case of checking whether a file has changed for C-x C-f?

What are the main occasions on which the cache is useful?

    > Could you, please, try the appended patch? You must set
    > `file-precious-flag' to t.

    This seems to fix it!  Thanks a lot!

`file-precious-flag' does other things.  It should not be reused to
control whether Tramp checks for a changed file.

Having a parameter for users to set is not a very good solution.
First let's look for a way to make Tramp do the right combination
of things by default.  Michael, can you try?

reply via email to

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