emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Newbie question: mobileorg and org-mode configuration


From: Richard Moreland
Subject: Re: [Orgmode] Newbie question: mobileorg and org-mode configuration
Date: Sun, 07 Mar 2010 19:13:03 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

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/* 
address@hidden:mobile/")))
(add-hook 'org-mobile-pre-pull-hook
(lambda () (shell-command "scp address@hidden:mobile/mobileorg.org 
/Volumes/nhepburn/org/stage/ ")))
(add-hook 'org-mobile-post-pull-hook
(lambda () (shell-command "scp /Volumes/nhepburn/org/stage/mobileorg.org 
address@hidden: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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]