From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Remote display-time-mail-file Date: Sat, 18 Sep 2010 11:06:45 +0200 Message-ID: <87bp7va09m.fsf@gmx.de> References: <837hil355j.fsf@gnu.org> <83zkvh1m4j.fsf@gnu.org> <87pqwdbdxs.fsf@gmx.de> <83r5gs1th2.fsf@gnu.org> <87ocbwnmkz.fsf@gmx.de> <87aangnl1j.fsf@gmx.de> <83sk18yrj6.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284801451 5504 80.91.229.12 (18 Sep 2010 09:17:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 18 Sep 2010 09:17:31 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 18 11:17:30 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 1OwtY0-0001Rs-Rd for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 11:17:29 +0200 Original-Received: from localhost ([127.0.0.1]:53198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwtXu-0007b5-9U for ged-emacs-devel@m.gmane.org; Sat, 18 Sep 2010 05:17:22 -0400 Original-Received: from [140.186.70.92] (port=35523 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwtXT-0007GR-QB for emacs-devel@gnu.org; Sat, 18 Sep 2010 05:16:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwtNh-00057U-E1 for emacs-devel@gnu.org; Sat, 18 Sep 2010 05:06:50 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:42562 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OwtNh-00057B-1n for emacs-devel@gnu.org; Sat, 18 Sep 2010 05:06:49 -0400 Original-Received: (qmail invoked by alias); 18 Sep 2010 09:06:47 -0000 Original-Received: from p4FC194ED.dip0.t-ipconnect.de (EHLO arthur.gmx.de) [79.193.148.237] by mail.gmx.net (mp038) with SMTP; 18 Sep 2010 11:06:47 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/nkvxbchznamFq5nS2FzOIxLhos64kdUbP3JKREv TfmKIwX4HtdOcK In-Reply-To: (Stefan Monnier's message of "Sat, 18 Sep 2010 11:00:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:130383 Archived-At: Stefan Monnier writes: > Indeed, but short of using some inotify-like thingy, Emacs has no way to > know when a file is modified by some other program, so the best it can > do is to say that it will be out of sync at worst up to N seconds. A while ago, I was playing with the idea to install an inotify listener on the remote host. I gave it up, because I haven't found a reasonable filter which files shall be reported as being modified. > Stefan Best regards, Michael.