From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Remote display-time-mail-file Date: Thu, 16 Sep 2010 20:38:32 +0200 Message-ID: <837hil355j.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1284662341 9201 80.91.229.12 (16 Sep 2010 18:39:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 16 Sep 2010 18:39:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 16 20:39:00 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OwJMH-0002NQ-TH for ged-emacs-devel@m.gmane.org; Thu, 16 Sep 2010 20:38:58 +0200 Original-Received: from localhost ([127.0.0.1]:51213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwJMH-00046G-Af for ged-emacs-devel@m.gmane.org; Thu, 16 Sep 2010 14:38:57 -0400 Original-Received: from [140.186.70.92] (port=41453 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwJLx-0003aM-UO for emacs-devel@gnu.org; Thu, 16 Sep 2010 14:38:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwJLr-0002mv-Ma for emacs-devel@gnu.org; Thu, 16 Sep 2010 14:38:37 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:39199) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwJLr-0002m8-Fz for emacs-devel@gnu.org; Thu, 16 Sep 2010 14:38:31 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L8U00300RPW8Y00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Thu, 16 Sep 2010 20:38:29 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.81.53]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L8U003YJRS45C30@a-mtaout23.012.net.il>; Thu, 16 Sep 2010 20:38:29 +0200 (IST) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:130265 Archived-At: Is this supposed to work: (setq display-time-mail-file "/plink:eliz@fencepost.gnu.org:/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? I tried to debug this, but since I don't even see tramp-handle-file-attributes being called, I'm probably missing something very important. But what? FWIW, visiting files on the same host via the `plink' method does work. TIA