From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Require feedback on an idea: move to a central server all my org file and edit from there? Date: Sat, 23 Jan 2016 23:13:13 +0100 Message-ID: <87r3h8c5c6.fsf@mbork.pl> References: <87twm4786t.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aN6Qz-0004yQ-ON for emacs-orgmode@gnu.org; Sat, 23 Jan 2016 17:13:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aN6Qw-00014l-IB for emacs-orgmode@gnu.org; Sat, 23 Jan 2016 17:13:29 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:34561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aN6Qo-00014N-Tm for emacs-orgmode@gnu.org; Sat, 23 Jan 2016 17:13:26 -0500 In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode , John Kitchin On 2016-01-23, at 19:28, Xebar Saram wrote: > Thanks for the feedback guys! > > Marcin: do you know of good packages or methods to auto push/pull from > emacs each time you save a file (preferably ones that dont require coding > skills :-)) Sadly, no. But this shouldn't be too difficult - basically, just put some code to run hg/git/whatever into one of the numerous Emacs hooks. For instance, check out after-save-hook. Alternatively, you could advice a function responsible for actually doing the autosave (do-auto-save - unfortunately, it's written in C and not in Elisp). > thx > > Z Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University