[Top][All Lists]
[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.
- Remote display-time-mail-file, Eli Zaretskii, 2010/09/16
- Re: Remote display-time-mail-file, Eli Zaretskii, 2010/09/16
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/16
- Re: Remote display-time-mail-file,
Eli Zaretskii <=
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/17
- Re: Remote display-time-mail-file, Stefan Monnier, 2010/09/17
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/17
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/17
- Re: Remote display-time-mail-file, Eli Zaretskii, 2010/09/17
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/18
- Re: Remote display-time-mail-file, Stefan Monnier, 2010/09/18
- Re: Remote display-time-mail-file, Eli Zaretskii, 2010/09/18
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/18
- Re: Remote display-time-mail-file, Michael Albinus, 2010/09/30