From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: notify api Date: Thu, 11 Jul 2013 16:25:36 +0200 Message-ID: <87sizlqilb.fsf@engster.org> References: <87ppuqxp8d.fsf@gmx.de> <87k3kxqkt5.fsf@lifelogs.com> <87ehb56wft.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373552751 17898 80.91.229.3 (11 Jul 2013 14:25:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jul 2013 14:25:51 +0000 (UTC) Cc: John Yates , Emacs developers To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 11 16:25:52 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 1UxHoe-0004AG-5m for ged-emacs-devel@m.gmane.org; Thu, 11 Jul 2013 16:25:52 +0200 Original-Received: from localhost ([::1]:38326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxHod-0007uV-M7 for ged-emacs-devel@m.gmane.org; Thu, 11 Jul 2013 10:25:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxHoY-0007sN-0q for emacs-devel@gnu.org; Thu, 11 Jul 2013 10:25:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxHoT-0005NQ-1w for emacs-devel@gnu.org; Thu, 11 Jul 2013 10:25:45 -0400 Original-Received: from randomsample.de ([83.169.19.17]:42561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxHoS-0005N6-Km for emacs-devel@gnu.org; Thu, 11 Jul 2013 10:25:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=L75/4ApoYluimZxORVJkxwdxkSFhfrCUzY2/Cte5TCI=; b=tKk0dWVskjDIc5clqZBcAlcxm5GHavzcPVOwz9Z4Rk9+xpgyMVU798bQM8qzPr/+nNXMZlap6dTxDZOjmOjvv0uNzdYZDFSoW0ijtc2sfpLX5bP/R0dqso355Hw0p0ri; Original-Received: from dslc-082-083-056-099.pools.arcor-ip.net ([82.83.56.99] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UxHoQ-0007t5-LD; Thu, 11 Jul 2013 16:25:38 +0200 In-Reply-To: <87ehb56wft.fsf@gmx.de> (Michael Albinus's message of "Thu, 11 Jul 2013 15:46:46 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Mail-Followup-To: Michael Albinus , Emacs developers , John Yates X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.169.19.17 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:161826 Archived-At: Michael Albinus writes: > Ted Zlatanov writes: >> 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. Magit has something like this for git: https://raw.github.com/magit/magit/master/contrib/magit-inotify.el -David