From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: autorevert.el Date: 24 Mar 2004 13:03:16 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200403022319.i22NJbG01259@raven.dms.auburn.edu> <200403040508.i2458W811551@raven.dms.auburn.edu> <200403050400.i2540VQ21715@raven.dms.auburn.edu> <200403130310.i2D3A8w28676@raven.dms.auburn.edu> <200403150008.i2F083x04382@raven.dms.auburn.edu> <200403160456.i2G4uVL14097@raven.dms.auburn.edu> <2427-Tue16Mar2004214034+0200-eliz@elta.co.il> <8011-Fri19Mar2004164602+0200-eliz@elta.co.il> <200403210326.i2L3QpF29260@raven.dms.auburn.edu> <200403220244.i2M2ikR07506@raven.dms.auburn.edu> <200403221939.i2MJd8116508@raven.dms.auburn.edu> <8296-Tue23Mar2004214028+0200-eliz@elta.co NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1080152450 26009 80.91.224.253 (24 Mar 2004 18:20:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 24 Mar 2004 18:20:50 +0000 (UTC) Cc: Luc Teirlinck , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Mar 24 19:20:40 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B6CzY-0006cp-00 for ; Wed, 24 Mar 2004 19:20:40 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B6CzX-0007ti-00 for ; Wed, 24 Mar 2004 19:20:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6CxS-0007pv-2o for emacs-devel@quimby.gnus.org; Wed, 24 Mar 2004 13:18:30 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B6CpM-0005Bz-Gu for emacs-devel@gnu.org; Wed, 24 Mar 2004 13:10:08 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B6CjP-0003YI-90 for emacs-devel@gnu.org; Wed, 24 Mar 2004 13:04:30 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6Cis-0003Mr-6F; Wed, 24 Mar 2004 13:03:26 -0500 Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 4B25521132; Wed, 24 Mar 2004 13:03:16 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 345C08B4C3; Wed, 24 Mar 2004 13:03:16 -0500 (EST) Original-To: Eli Zaretskii In-Reply-To: Original-Lines: 22 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.9, requis 5, BAYES_00 -4.90) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20852 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20852 >> So even with your suggested version of stat, looking at the directory >> size would seem to be clearly inferior to the prior suggestion of >> listening to the messages delivered when a directory changes. Hmmm... we should compare it to the current code, not to some hypothetical other implementation that nobody has shown the willingness or ability to write. Of course, when/if the other code is written, we can use it in place of the "compare timestamp and size" since it will presumably be an overall better solution. > (In general, I'm opposed to planting into Emacs user-level features > implicit assumptions about Posix-specific behavior, in this case, that > a directory is just another file. Yes, I know: Emacs is being > developed primarily for Posix-compliant platforms, bla, bla...) I must say I don't understand what you're talking about here. The "listen to messages" thingy is very much non-posix. Stefan