emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Erik Hetzner <egh@e6h.org>
To: emacs-orgmode@gnu.org
Cc: David Rogers <davidandrewrogers@gmail.com>
Subject: Re: New user, my use case, request basic advice
Date: Wed, 26 Sep 2012 21:46:06 -0700	[thread overview]
Message-ID: <87ipb09ipd.wl%egh@e6h.org> (raw)
In-Reply-To: <87y5k8h3oh.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3099 bytes --]

At Mon, 17 Sep 2012 12:03:58 -0700,
David Rogers wrote:
> 
> Hi
> 
> I'm gradually getting accustomed to org-mode; thanks to all those whose
> work makes this great software keep getting even better.
> 
> 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:
>
> […]
>
> 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 \"org-caldav\")" --eval "(org-caldav-sync)" > /dev/null 2>&1

Because my server’s notes dir is synced (using gitdocs) with my laptop
& 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-agenda-views)" > /dev/null 2>&1 && mailx -s Agenda egh@e6h.org < /tmp/agenda_schedule_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

[-- Attachment #2: Type: text/plain, Size: 53 bytes --]

Sent from my free software system <http://fsf.org/>.

      parent reply	other threads:[~2012-09-27  4:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17 19:03 New user, my use case, request basic advice David Rogers
2012-09-17 19:24 ` Charles Philip Chan
2012-09-27  4:46 ` Erik Hetzner [this message]

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=87ipb09ipd.wl%egh@e6h.org \
    --to=egh@e6h.org \
    --cc=davidandrewrogers@gmail.com \
    --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).