emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: Favorite way of syncing?
Date: Sat, 12 Sep 2015 09:15:22 +0800	[thread overview]
Message-ID: <87wpvwphed.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 34AA198A-5C08-4FDD-8D12-5241E44A0B9D@friolz.com


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

  parent reply	other threads:[~2015-09-12  1:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-11 13:59 Favorite way of syncing? Tobias Frischholz
2015-09-11 14:27 ` Alan Schmitt
2015-09-11 14:47 ` Jorge A. Alfaro-Murillo
2015-09-11 15:18   ` Eric Abrahamsen
2015-09-11 15:25     ` Tory S. Anderson
2015-09-11 15:48       ` Joon Ro
     [not found]     ` <34AA198A-5C08-4FDD-8D12-5241E44A0B9D@friolz.com>
2015-09-12  1:15       ` Eric Abrahamsen [this message]
2015-09-11 15:13 ` Paul Rudin
2015-09-11 15:18 ` Eric S Fraga
2015-09-11 16:42 ` Ramon Diaz-Uriarte
2015-09-11 20:47   ` Eric S Fraga
2015-09-13  7:07     ` Paul Rudin
2015-09-13 19:18       ` Ramon Diaz-Uriarte
2015-09-11 22:05 ` Myles English
2015-09-11 22:51   ` Kyle Meyer
2015-09-12  1:24   ` Eric Abrahamsen
2015-09-14  9:34     ` Myles English
2015-09-15  2:07       ` Eric Abrahamsen
2015-09-12  5:18 ` Erik Hetzner
2015-09-12 13:31   ` Rasmus

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87wpvwphed.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \
    /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/org-mode.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).