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: Re: File watch support in autorevert.el Date: Sat, 12 Jan 2013 16:06:35 +0200 Message-ID: <83txqmsdg4.fsf@gnu.org> References: <878v819kok.fsf@gmx.de> <83fw28uj9c.fsf@gnu.org> <87ip73n3xl.fsf@gmx.de> <87libz2v76.fsf@gmx.de> <836232tyze.fsf@gnu.org> <878v7ytuf7.fsf@gmx.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1357999610 29851 80.91.229.3 (12 Jan 2013 14:06:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jan 2013 14:06:50 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 12 15:07:08 2013 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 1Tu1jh-0002xW-Il for ged-emacs-devel@m.gmane.org; Sat, 12 Jan 2013 15:07:01 +0100 Original-Received: from localhost ([::1]:52524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu1jR-0000o5-Ew for ged-emacs-devel@m.gmane.org; Sat, 12 Jan 2013 09:06:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu1jK-0000nn-8y for emacs-devel@gnu.org; Sat, 12 Jan 2013 09:06:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tu1jE-00043K-Ft for emacs-devel@gnu.org; Sat, 12 Jan 2013 09:06:38 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:33667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tu1jE-000433-5c for emacs-devel@gnu.org; Sat, 12 Jan 2013 09:06:32 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MGI00100MPN0800@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Sat, 12 Jan 2013 16:06:11 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MGI0011ON6A0C30@a-mtaout22.012.net.il>; Sat, 12 Jan 2013 16:06:11 +0200 (IST) In-reply-to: <878v7ytuf7.fsf@gmx.de> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 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:156279 Archived-At: > From: Michael Albinus > Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org > Date: Sat, 12 Jan 2013 14:14:36 +0100 > > > Perhaps the inotify implementation should watch the parent directory > > instead of the file. > > I was thinking about, but I have no idea on performance issues when > notifications come in from all files in a large directory. How is this different from receiving a lot of output from a subprocess? Emacs already copes with that, and file notifications use the same mechanisms as process output reception. So I wouldn't worry about that.