From mboxrd@z Thu Jan 1 00:00:00 1970 From: ishi soichi Subject: Re: automatically org-mobile-push/pull ? Date: Thu, 11 Nov 2010 18:54:34 +0900 Message-ID: References: <4CDBB7FD.3070807@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1964981583==" Return-path: Received: from [140.186.70.92] (port=33948 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGTrZ-0002Ob-9n for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 04:54:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGTrY-0005lT-5i for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 04:54:37 -0500 Received: from mail-pw0-f41.google.com ([209.85.160.41]:61094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGTrX-0005j9-So for emacs-orgmode@gnu.org; Thu, 11 Nov 2010 04:54:36 -0500 Received: by pwi1 with SMTP id 1so489197pwi.0 for ; Thu, 11 Nov 2010 01:54:34 -0800 (PST) In-Reply-To: <4CDBB7FD.3070807@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Suvayu Ali Cc: emacs-orgmode@gnu.org --===============1964981583== Content-Type: multipart/alternative; boundary=000e0cd14694138a3f0494c3f62a --000e0cd14694138a3f0494c3f62a Content-Type: text/plain; charset=ISO-8859-1 Thanks everyone. I will try to customize it. soichi 2010/11/11 Suvayu Ali > > Hi Soichi, > > > On Thursday 11 November 2010 01:11 AM, ishi soichi wrote: > >> Hi. Is there anyway to execute automatically "org-mobile-push/pull" ? >> >> For example, when starting Emacs, "org-mobile-pull" is done. And when >> killing Emacs, "org-mobile-push". >> >> > You can customise these hooks, > > (add-hook 'after-init-hook 'org-mobile-pull) > (add-hook 'kill-emacs-hook 'org-mobile-push) > > And put it in your init file (e.g. ~/.emacs or ~/.emacs.d/init.el). > > Soichi >> > > Hope this helps. > > -- > Suvayu > > Open source is the future. It sets us free. > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --000e0cd14694138a3f0494c3f62a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks everyone. =A0I will try to customize it.

soichi
2010/11/11 Suvayu Ali &l= t;fatkasuvayu+linux@gmail.= com>
Hi Soichi,


On Thursday 11 November 2010 01:11 AM, ishi soichi wrote:
Hi. Is there anyway to execute automatically "org-mobile-push/pull&quo= t; ?

For example, when starting Emacs, "org-mobile-pull" is done. =A0A= nd when
killing Emacs, "org-mobile-push".


You can customise these hooks,

(add-hook 'after-init-hook 'org-mobile-pull)
(add-hook 'kill-emacs-hook 'org-mobile-push)

And put it in your init file (e.g. ~/.emacs or ~/.emacs.d/init.el).

Soichi

Hope this helps.

--
Suvayu

Open source is the future. It sets us free.


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--000e0cd14694138a3f0494c3f62a-- --===============1964981583== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1964981583==--