From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Moreland Subject: Re: Newbie question: mobileorg and org-mode configuration Date: Sun, 07 Mar 2010 19:13:03 -0500 Message-ID: <4B94410F.8000103@ncogni.to> References: <12A60A79-F0FF-4551-AB5C-C3F1CD859341@ualberta.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NoQaw-0007jQ-8a for emacs-orgmode@gnu.org; Sun, 07 Mar 2010 19:13:14 -0500 Received: from [140.186.70.92] (port=48095 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NoQav-0007io-9H for emacs-orgmode@gnu.org; Sun, 07 Mar 2010 19:13:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NoQau-0008Gz-30 for emacs-orgmode@gnu.org; Sun, 07 Mar 2010 19:13:13 -0500 Received: from mail-yw0-f178.google.com ([209.85.211.178]:56173) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NoQau-0008Gv-04 for emacs-orgmode@gnu.org; Sun, 07 Mar 2010 19:13:12 -0500 Received: by ywh8 with SMTP id 8so2345099ywh.6 for ; Sun, 07 Mar 2010 16:13:10 -0800 (PST) In-Reply-To: <12A60A79-F0FF-4551-AB5C-C3F1CD859341@ualberta.ca> 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: emacs-orgmode@gnu.org 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