emacs-devel
[Top][All Lists]
Advanced

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

Re: Remote display-time-mail-file


From: Michael Albinus
Subject: Re: Remote display-time-mail-file
Date: Fri, 17 Sep 2010 22:59:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Michael Albinus <address@hidden> writes:

> Stefan Monnier <address@hidden> writes:
>
>>> I wouldn't recommend to disable Tramp's file attributes cache at
>>> all. There are serious performance improvements, using the cache.
>>
>> Isn't there some timeout on the cache entries?
>
> Some internal ones, like `tramp-completion-reread-directory-timeout'. I
> could extend it for a general case. I'll check it next days.

Maybe it's worth to mention, that `tramp-cache-inhibit-cache' does
something like this:

  tramp-cache-inhibit-cache is a variable defined in `tramp-cache.el'.
  Its value is nil

  Inhibit cache read access, when `t'.
  `nil' means to accept cache entries unconditionally.  If the
  value is a timestamp (as returned by `current-time'), cache
  entries are not used when they have been written before this
  time.

If we use a relative time (number of seconds the cache is valid), and
generalize this variable outside Tramp, it could serve our purposes.

>>         Stefan

Best regards, Michael.



reply via email to

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