emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Moreland <rlm@ncogni.to>
To: emacs-orgmode@gnu.org
Subject: Re: Newbie question:  mobileorg and org-mode configuration
Date: Sun, 07 Mar 2010 19:13:03 -0500	[thread overview]
Message-ID: <4B94410F.8000103@ncogni.to> (raw)
In-Reply-To: <12A60A79-F0FF-4551-AB5C-C3F1CD859341@ualberta.ca>

Hi Neil,

Hope I can shed some light on the configuration for you:

- You shouldn't need to set org-mobile-files, afaik.  If you just define 
org-agenda-files, those files will be used (one less thing to maintain).

- You don't need the pre/post hooks at all.  In your case, just copying 
the files to /Volumes/nhepburn/org/state/ is enough to put them on the 
server.  (Well, sort of.. eventually it's up to OSX to sync that folder 
with your iDisk, but that should be automatic, or can be configured to 
be so).  The hooks are for those who need an additional step to copy the 
staged files from their local system to a remote server.

I think this may be good enough, you were almost there.  Let me know if 
you have trouble after making these changes.

-Richard

On 3/7/2010 7:07 PM, Neil Hepburn wrote:
> Hi All
>
> I am a new user to org-mode and was almost immediately hooked. (I'm also a relatively recent convert to emacs and Aquamacs.) I went out and fetched the mobileorg app for my iPod touch from the Apple appstore and now I'm rapidly losing what's left of my hair - doh!
>
> Anyhow, I have org-mode working happily in Aqumacs emacs but I can't seem to get things to work with org-mobile.  Here's the basics of my setup
>
> -my .org files reside in a folder on my iDisk so that I can sync them between my laptop and my desktop. That all works swell
>
> -I have mobileorg on my iPod set to hit my idisk account and that works fine.
>
> The problem I am having is figuring out the configuration stuff in my Preferences.el file. Here's a copy of the relevant section
>
>
> (setq org-mobile-directory "/Volumes/nhepburn/org/stage/")
> (setq org-mobile-files (quote("/Volumes/nhepburn/org/todo.org" "/Volumes/nhepburn/org/teaching.org" "/Volumes/nhepburn/org/research.org")))
> (setq org-mobile-inbox-for-pull "/Volumes/nhepburn/org/transit.org")
> (add-hook 'org-mobile-post-push-hook
> (lambda () (shell-command "scp -r /Volumes/nhepburn/org/stage/* user@wdhost:mobile/")))
> (add-hook 'org-mobile-pre-pull-hook
> (lambda () (shell-command "scp user@wdhost:mobile/mobileorg.org /Volumes/nhepburn/org/stage/ ")))
> (add-hook 'org-mobile-post-pull-hook
> (lambda () (shell-command "scp /Volumes/nhepburn/org/stage/mobileorg.org user@wdhost:mobile/")))
>
>
> my *.org files for org-mode reside in ../org/ while the mobile files reside in ../org/stage/
>
> I've scoured the Org-mobile manual, trolled through the mailing list archive, and spent countless hours doing google searches. Can someone suggest the right bit of stuff to put in here and then how to make org-mode in Aquamacs push to and pull from my mobileorg stuff?
>
> Thanks in advance.
>
> Regards,
> Neil
>
> _______________________________________________
> 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

      reply	other threads:[~2010-03-08  0:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-08  0:07 Newbie question: mobileorg and org-mode configuration Neil Hepburn
2010-03-08  0:13 ` Richard Moreland [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=4B94410F.8000103@ncogni.to \
    --to=rlm@ncogni.to \
    --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).