unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Engster <deng@randomsample.de>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: John Yates <john@yates-sheets.org>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: notify api
Date: Thu, 11 Jul 2013 16:25:36 +0200	[thread overview]
Message-ID: <87sizlqilb.fsf@engster.org> (raw)
In-Reply-To: <87ehb56wft.fsf@gmx.de> (Michael Albinus's message of "Thu, 11 Jul 2013 15:46:46 +0200")

Michael Albinus writes:
> Ted Zlatanov <tzz@lifelogs.com> 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



      reply	other threads:[~2013-07-11 14:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10 12:09 notify api John Yates
2013-07-10 18:08 ` Michael Albinus
2013-07-11 13:37   ` Ted Zlatanov
2013-07-11 13:46     ` Michael Albinus
2013-07-11 14:25       ` David Engster [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sizlqilb.fsf@engster.org \
    --to=deng@randomsample.de \
    --cc=emacs-devel@gnu.org \
    --cc=john@yates-sheets.org \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).