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: notify api Date: Thu, 11 Jul 2013 15:46:46 +0200 Message-ID: <87ehb56wft.fsf@gmx.de> References: <87ppuqxp8d.fsf@gmx.de> <87k3kxqkt5.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373550430 21749 80.91.229.3 (11 Jul 2013 13:47:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jul 2013 13:47:10 +0000 (UTC) Cc: John Yates To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 11 15:47:10 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 1UxHDB-0003Cw-Py for ged-emacs-devel@m.gmane.org; Thu, 11 Jul 2013 15:47:09 +0200 Original-Received: from localhost ([::1]:53864 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxHDB-0000zc-EL for ged-emacs-devel@m.gmane.org; Thu, 11 Jul 2013 09:47:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxHD8-0000yO-Vh for emacs-devel@gnu.org; Thu, 11 Jul 2013 09:47:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxHD7-0001mt-Ry for emacs-devel@gnu.org; Thu, 11 Jul 2013 09:47:06 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:64026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxHD7-0001ml-Iq for emacs-devel@gnu.org; Thu, 11 Jul 2013 09:47:05 -0400 Original-Received: from detlef.gmx.de ([93.202.49.74]) by mail.gmx.com (mrgmx102) with ESMTPS (Nemesis) id 0M03qC-1U37Fp1lwC-00uLTv; Thu, 11 Jul 2013 15:47:02 +0200 In-Reply-To: <87k3kxqkt5.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 11 Jul 2013 09:37:42 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V03:K0:joBjKg7m7IuhK2LfgvleFHnQzLwPhzZmgan5vIqHMY6j1edh+US Ab18IVQRcnvMwAd+Iu3KYmkUOEQ62EdkBQA8h9kcb1o+3mjgiipe752QxSZ9q1ZWR3kSadM zdJU6WhyVL4FTundb7uE/jnQCAVCOeuG6plDgo+jceZvgN6ZbGG3u8lik40Q4no/V6VzeKy F70BHH38vBoDPcRKKC/vA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.19 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:161825 Archived-At: Ted Zlatanov writes: > MA> Beside autorevert.el, I haven't seen use cases yet. > > Could Gnus set up notifications against a directory (Maildir or nnml)? For sure. > Then it wouldn't have to scan the directory to find out what files have > been added or deleted. > > Another possible use case is that `dired' and `vc-dir' could autoupdate > so you don't have to hit `g' to refresh. > > A buffer for a VC-controlled file, e.g. with Git, could listen for > notifications on the directory and notice when the current branch or > other information change and at least update the modeline. > > I hope these are interesting :) Yep. But somebody has to take the ball, and implement it. I've done it for autorevert, likely I won't track the other cases. > Ted Best regards, Michael.