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: Eli Zaretskii
Subject: Re: Remote display-time-mail-file
Date: Fri, 17 Sep 2010 13:48:25 +0200

> From: Michael Albinus <address@hidden>
> Cc: address@hidden
> Date: Thu, 16 Sep 2010 23:01:35 +0200
> 
> >>  (setq display-time-mail-file "/plink:address@hidden:/var/mail/eliz")
> >> 
> >> ?
> >> 
> >> It doesn't work well for me in Emacs 23.2 on MS-Windows, and the
> >> reason seems to be that file-attributes, called by
> >> display-time-file-nonempty-p, only probes the file once, and
> >> thereafter returns the same attributes, even when the file's size
> >> changes.  Is there some cache somewhere?
> >
> > The same happens in 3-day old Emacs 24, FWIW, and for the same reason.
> 
> In order to check, whether Tramp's cache is involved, you might test the
> following patch (it might not be the final solution, 'tho):

Yes, this fixes the problem, thanks.

So what are the triggers for Tramp to refresh its cache?  Does every
function which deal with files that can be modified behind Emacs's
back need to bind tramp-cache-inhibit-cache to a non-nil value?
That'd be tedious, IMO.



reply via email to

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