From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Added inotify support. Date: Wed, 03 Oct 2012 21:33:08 +0200 Message-ID: <87626rcpvv.fsf@wanadoo.es> References: <2181827.T3JxG88qQt@descartes> <83lifoa7hr.fsf@gnu.org> <87obkkcu92.fsf@wanadoo.es> <83ipas9pmz.fsf@gnu.org> <83wqz78kx2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1349401784 23269 80.91.229.3 (5 Oct 2012 01:49:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2012 01:49:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 05 03:49:50 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TJx30-0005tv-27 for ged-emacs-devel@m.gmane.org; Fri, 05 Oct 2012 03:49:50 +0200 Original-Received: from localhost ([::1]:55752 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJwkq-0006LK-9b for ged-emacs-devel@m.gmane.org; Thu, 04 Oct 2012 21:31:04 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJwkl-0006AC-QG for emacs-devel@gnu.org; Thu, 04 Oct 2012 21:31:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJwkj-0003sC-Ew for emacs-devel@gnu.org; Thu, 04 Oct 2012 21:30:59 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:35821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJwkj-0003qn-8Y for emacs-devel@gnu.org; Thu, 04 Oct 2012 21:30:57 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TJwhd-0000QM-8a for emacs-devel@gnu.org; Fri, 05 Oct 2012 03:27:45 +0200 Original-Received: from 161.red-83-34-29.dynamicip.rima-tde.net ([83.34.29.161]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Oct 2012 03:27:45 +0200 Original-Received: from ofv by 161.red-83-34-29.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Oct 2012 03:27:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 161.red-83-34-29.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:r2K3M2RSwRbLTHe0qGcBEk5olEY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154032 Archived-At: Eli Zaretskii writes: [snip] > This is why I think we _must_ have a higher-level API in place for > this feature to be useful in practice, even if just inotify back end > is supported. Agreed. For starters, IMHO we need just two events: file-contents-changed, which comprises write, truncate, delete, and rename operations and fulfills the requirements of autorevert-like features, and file-metadata-changed, which is what dired-like features need. BTW, I would take care of the MSWindows implementation, if nobody beats me to it. [snip]