From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Hetzner Subject: Re: New user, my use case, request basic advice Date: Wed, 26 Sep 2012 21:46:06 -0700 Message-ID: <87ipb09ipd.wl%egh@e6h.org> References: <87y5k8h3oh.fsf@gmail.com> Reply-To: Erik Hetzner Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Wed_Sep_26_21:46:06_2012-1" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TH5zI-0002oQ-ID for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 00:46:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TH5zH-0002Qd-72 for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 00:46:12 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:34549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TH5zH-0002QZ-1q for emacs-orgmode@gnu.org; Thu, 27 Sep 2012 00:46:11 -0400 Received: by ied10 with SMTP id 10so3809477ied.0 for ; Wed, 26 Sep 2012 21:46:10 -0700 (PDT) In-Reply-To: <87y5k8h3oh.fsf@gmail.com> 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 Cc: David Rogers --Multipart_Wed_Sep_26_21:46:06_2012-1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable At Mon, 17 Sep 2012 12:03:58 -0700, David Rogers wrote: >=20 > Hi >=20 > I'm gradually getting accustomed to org-mode; thanks to all those whose > work makes this great software keep getting even better. >=20 > I've been trying to figure out how to integrate org-mode into my > gadgets and my situation, and realize that I've been thinking about > it upside down. The missing piece of the puzzle, for me, the thing I > don't know how to accomplish, is the most important one to have. So, > here's what I've got and what I'm trying to do: > > [=E2=80=A6] > > Thanks for any thoughts or advice on how this might be done. Hi David, My setup, for slightly different goals, but which could probably meet your needs, is as follows. I keep my computers (laptop, work desktop, & server) notes directory (which contain my org files) synced using gitdocs [1]. This means that I always have the same org files on each machine. You could use the same setup to keep your org files synced with a server and use the rest of the setup below to accomplish mobile syncing. (Some remarks on gitdocs follow. Disadvantages: if I leave an org file open on one machine, and it gets updated on another, emacs complains because the file has changed. Alternatives: sync using dropbox.) I have an android phone, on which I use mobileorg. I use this, as near as I can tell, in the ordinary way, except that I run org-mobile-pull/push in crontabs on a server (actually, I just set this up, but it seems to work). Because my notes are synced (via gitdocs) across computers, this works fine. 15 * * * * emacs24 --batch -l /home/egh/.emacs --eval "(org-mobile-pull)" 20 * * * * emacs24 --batch -l /home/egh/.emacs --eval "(org-mobile-push)" I use org-caldav to sync my events to a google calendar. This is connected to my calendar on android. I suppose that I could use the mobileorg sync calendar function, but this seemed safer. My phone has a widget on the main screen that displays my next appointment. I assume that getting audible notifications is just a matter of settings. I run the caldav sync on my server [2] every hour, using the following: 10 * * * * emacs24 --batch -l /home/egh/.emacs --eval "(load-library \"or= g-caldav\")" --eval "(org-caldav-sync)" > /dev/null 2>&1 Because my server=E2=80=99s notes dir is synced (using gitdocs) with my lap= top & desktop, if I add an appointment on my laptop or desktop, it should be pushed to my google calendar in an hour at most. For the record, I also run the following: 0 5 * * * emacs --batch -l /home/egh/.emacs --eval "(org-batch-store-agen= da-views)" > /dev/null 2>&1 && mailx -s Agenda egh@e6h.org < /tmp/agenda_sc= hedule_day This generates an agenda & emails it to me daily. Furthermore, my agenda is pushed to an HTTP server, and I use it as my home page. So I look at it every time I see a new browser window. Hope that helps! best, Erik 1. https://github.com/bazaarlabs/gitdocs 2. Note that getting credentials set up is a little tricky. See https://github.com/dengste/org-caldav/issues/2 --Multipart_Wed_Sep_26_21:46:06_2012-1 Content-Type: text/plain; charset=US-ASCII Sent from my free software system . --Multipart_Wed_Sep_26_21:46:06_2012-1--