From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Favorite way of syncing? Date: Sat, 12 Sep 2015 09:15:22 +0800 Message-ID: <87wpvwphed.fsf@ericabrahamsen.net> References: <87twr1c8s3.fsf@yale.edu> <87a8strnm3.fsf@ericabrahamsen.net> <34AA198A-5C08-4FDD-8D12-5241E44A0B9D@friolz.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaZPr-0004Hp-Un for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 21:15:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaZPo-0007vZ-Pe for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 21:15:43 -0400 Received: from plane.gmane.org ([80.91.229.3]:38009) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaZPo-0007tt-E2 for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 21:15:40 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZaZPe-00014v-If for emacs-orgmode@gnu.org; Sat, 12 Sep 2015 03:15:30 +0200 Received: from 123.118.189.87 ([123.118.189.87]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Sep 2015 03:15:30 +0200 Received: from eric by 123.118.189.87 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Sep 2015 03:15:30 +0200 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: emacs-orgmode@gnu.org On 09/11/15 20:59 PM, Tobias Frischholz wrote: >> I do this, too. I don't think Magit helps much, in fact I'd be better >> off writing functions for `emacs-startup-hook' and `kill-emacs-hook' >> that do my pushes and pulls for me. > > Those hooks sound very interesting to mean. Has anyone on this list information in programming those? The only thing I can think of that might be worth noting is that `kill-emacs-hook' is meant for non-interactive hooks. If you want your hook to query the user, you're supposed to use `kill-emacs-query-functions' instead. Eric