From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Mobile Org Sharing Questions Date: Tue, 4 May 2010 10:57:46 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1903773230==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9KVM-0005d1-D0 for emacs-orgmode@gnu.org; Tue, 04 May 2010 11:57:52 -0400 Received: from [140.186.70.92] (port=44386 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9KVK-0005bL-Bg for emacs-orgmode@gnu.org; Tue, 04 May 2010 11:57:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9KVI-0003Xq-Kn for emacs-orgmode@gnu.org; Tue, 04 May 2010 11:57:50 -0400 Received: from mail-pw0-f41.google.com ([209.85.160.41]:39891) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9KVI-0003XU-7H for emacs-orgmode@gnu.org; Tue, 04 May 2010 11:57:48 -0400 Received: by pwi10 with SMTP id 10so2128667pwi.0 for ; Tue, 04 May 2010 08:57:46 -0700 (PDT) In-Reply-To: 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: Greg Newman Cc: David Frascone , emacs-orgmode --===============1903773230== Content-Type: multipart/alternative; boundary=00221540010643db4d0485c6c59a --00221540010643db4d0485c6c59a Content-Type: text/plain; charset=ISO-8859-1 Here's what I did: (defun org-mobile-pullpush nil nil (org-mobile-pull) (org-mobile-push)) (run-at-time "00:59" 3600 'org-mobile-pullpush) This way, if I had anything on the mobile device, I get it merged locally and then pushed back to mobile. Didn't use it extensively, but from what I could see, works fine. Marcelo. On Fri, Apr 23, 2010 at 6:38 PM, Greg Newman wrote: > You don't really need a cron to do the push/pull thing. > What I have in my configs is the following. You can add org-mobile-pull to > it to if you'd like: > > (run-at-time "00:59" 3600 'org-mobile-push) > > This runs a push for me every hour. If I'm not at my mac I still know that > within the hour > I'll have an updated agenda on my iPhone. > > > > > > On Fri, Apr 23, 2010 at 5:31 PM, Matthew Jones wrote: > >> You could tie the push to the save hook fairly easily I would imagine. >> >> 73, >> Matthew W. Jones (KI4ZIB) >> http://matburt.net >> >> >> On Fri, Apr 23, 2010 at 5:04 PM, Marcelo de Moraes Serpa < >> celoserpa@gmail.com> wrote: >> >>> Cool! >>> >>> Auto-sync on start would be simple enough to implement (I think) and >>> would help a lot, although I was thinking on a more deeply integration with >>> the underlying OS, like, sync even when the app is closed (not sure you can >>> have background services on the iPhone OS ?). >>> >>> As for the emacs side, anyone has any better idea than a cron job? I'm >>> not an experienced elisper (not sure I could even call myself an elisp >>> programmer, even though I want to :)) so not sure we could more easily do >>> something from inside emacs itself. >>> >>> Marcelo. >>> >>> >>> On Fri, Apr 23, 2010 at 12:59 PM, Matthew Jones wrote: >>> >>>> That's an excellent idea.... I've considered adding an auto >>>> synchronization mode to the Android version, Richard would need to comment >>>> on the iPhone version. It may be one of those things where it would >>>> automatically sync when launched. >>>> >>>> 73, >>>> Matthew W. Jones (KI4ZIB) >>>> http://matburt.net >>>> >>>> >>>> On Fri, Apr 23, 2010 at 1:40 PM, Marcelo de Moraes Serpa < >>>> celoserpa@gmail.com> wrote: >>>> >>>>> On thing that I find could improve, though, is the workflow behind >>>>> org-mobile pull/push. Having to push from emacs and pull and then having to >>>>> update from the iPod/iPhone *manually* quickly becomes a hassle, and the >>>>> result is that I end up not using it as much as I wanted to. >>>>> >>>>> I'm thinking about setting up a cron to run emacs to evaluate >>>>> '(org-mobile-pull)(org-mobile-push)' every hour so I get "automatic" sync to >>>>> my iPod. We could also have an option on org-mobile to auto-sync too. Not >>>>> sure iPhone's OS architecture allows that, though. >>>>> >>>>> Marcelo. >>>>> >>>>> >>>>> On Fri, Apr 23, 2010 at 12:38 PM, Marcelo de Moraes Serpa < >>>>> celoserpa@gmail.com> wrote: >>>>> >>>>>> Get an account at dreamhost, a domain, and buy SSL from them. I did >>>>>> that and it works great for me (I have setup a subdomain of my main domain >>>>>> to point to a SSL secured IP, which in turn, points to a virtualhost setup >>>>>> on VPS @ dreamhost, this virtualhost has WebDAV enabled and is >>>>>> password-protected, naturally). >>>>>> >>>>>> If you are using Mac OSX, it's the easiest thing in the world. Just >>>>>> use finder to mount the WebDAV as a partition, and move this drive to the >>>>>> startup items so it gets connected everytime you boot. >>>>>> >>>>>> With Linux/Ubuntu, it's a little bit more CLI work, but you can get >>>>>> the very same effect (mount the drive, get it mounted automatically at >>>>>> boot-time) -- in both cases, just Google and you'll find plenty of articles. >>>>>> >>>>>> For Windows, I have no idea. Sorry. >>>>>> >>>>>> Marcelo. >>>>>> >>>>>> >>>>>> On Fri, Apr 23, 2010 at 12:17 PM, Matthew Jones >>>>> > wrote: >>>>>> >>>>>>> Hi David >>>>>>> >>>>>>> http://orgmode.org/org.html#Pulling-from-MobileOrg >>>>>>> >>>>>>> Currently you likely use org-mobile-push to put your files on the >>>>>>> remote server. You should be able to use org-mobile-pull for retrieval, is >>>>>>> this not the case? >>>>>>> >>>>>>> 73, >>>>>>> Matthew W. Jones (KI4ZIB) >>>>>>> http://matburt.net >>>>>>> >>>>>>> >>>>>>> On Thu, Apr 22, 2010 at 12:12 PM, David Frascone wrote: >>>>>>> >>>>>>>> >>>>>>>> I know it's a bit of an RTFM, but, I'm trying to figure out the best >>>>>>>> way to keep my org-mode in sync with my iPhone (Using MobileOrg). And, I'm >>>>>>>> VERY new to orgmode, and a bit new to emacs. I can easily do a one way sync >>>>>>>> (org-mode to somewhere, via html), but I'm looking for a better way (two way >>>>>>>> sync, like MobileOrg) >>>>>>>> >>>>>>>> I have dropbox, but it's not webdav. >>>>>>>> I also have an iDisk, but it's a pain to keep that synched. I >>>>>>>> simply don't like the mac synching. >>>>>>>> I signed up for the other webdav account, but, I'm not sure if >>>>>>>> that's the best way to do it. >>>>>>>> >>>>>>>> I can easily use ssh to keep my org files somewhere. But, that >>>>>>>> doesn't help the reverse path. >>>>>>>> I run my own apache at home, so, I suppose I could install webdav >>>>>>>> there, but I have concerns about security, having never messed with it. >>>>>>>> >>>>>>>> So, I guess my questions are: >>>>>>>> >>>>>>>> >>>>>>>> What's the simplest method that's possibly insecure (i.e. some >>>>>>>> random webdav provider)? >>>>>>>> And, what's the simplest method that's secure? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Thanks in advance, >>>>>>>> >>>>>>>> >>>>>>>> -Dave >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> 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 >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> 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 >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >> >> _______________________________________________ >> 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 >> >> > --00221540010643db4d0485c6c59a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Here's what I did:

(defun org-mobile-pullpush nil nil (org-mobil= e-pull)
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 (org-mobile-push))


(r= un-at-time "00:59" 3600 'org-mobile-pullpush)

This way= , if I had anything on the mobile device, I get it merged locally and then = pushed back to mobile. Didn't use it extensively, but from what I could= see, works fine.

Marcelo.

On Fri, Apr 23, 2010 at 6:38= PM, Greg Newman <gregoryjnewman@gmail.com> wrote:
You don't really need a cron to do the push/pull thing.=A0
What I h= ave in my configs is the following. =A0You can add org-mobile-pull to it to= if you'd like:

(run-at-time "00:59"= 3600 'org-mobile-push)

This runs a push for me every hour. =A0If I'm not a= t my mac I still know that within the hour
I'll have an updat= ed agenda on my iPhone.





On Fri, Apr 23, 2010 at 5:31 PM, Matthew Jones <bsdmatburt@gmail.com> wrote:
You could tie the push to the save hook fairly easily I would imagine.
=
On Fri, Apr 2= 3, 2010 at 5:04 PM, Marcelo de Moraes Serpa <celoserpa@gmail.com&g= t; wrote:
Cool!

Auto-sync on start would be simple enough to implement (I thin= k) and would help a lot, although I was thinking on a more deeply integrati= on with the underlying OS, like, sync even when the app is closed (not sure= you can have background services on the iPhone OS ?).

As for the emacs side, anyone has any better idea than a cron job? I= 9;m not an experienced elisper (not sure I could even call myself an elisp = programmer, even though I want to :)) so not sure we could more easily do s= omething from inside emacs itself.

Marcelo.


= On Fri, Apr 23, 2010 at 12:59 PM, Matthew Jones <bsdmatburt@gmail.com> wrote:
That's an excellent idea.... I've considered adding an auto synchro= nization mode to the Android version, Richard would need to comment on the = iPhone version. =A0It may be one of those things where it would automatical= ly sync when launched.
On Fri, Apr 2= 3, 2010 at 1:40 PM, Marcelo de Moraes Serpa <celoserpa@gmail.com&g= t; wrote:
On thing that I find could improve, though, is the workflow behind org-mobi= le pull/push. Having to push from emacs and pull and then having to update = from the iPod/iPhone *manually* quickly becomes a hassle, and the result is= that I end up not using it as much as I wanted to.

I'm thinking about setting up a cron to run emacs to evaluate '= (org-mobile-pull)(org-mobile-push)' every hour so I get "automatic= " sync to my iPod. We could also have an option on org-mobile to auto-= sync too. Not sure iPhone's OS architecture allows that, though.

Marcelo.


= On Fri, Apr 23, 2010 at 12:38 PM, Marcelo de Moraes Serpa <celoserpa@gma= il.com> wrote:
Get an account at dreamhost, a domain, and buy SSL from them. I did that an= d it works great for me (I have setup a subdomain of my main domain to poin= t to a SSL secured IP, which in turn, points to a virtualhost setup on VPS = @ dreamhost, this virtualhost has WebDAV enabled and is password-protected,= naturally).

If you are using Mac OSX, it's the easiest thing in the world. Just= use finder to mount the WebDAV as a partition, and move this drive to the = startup items so it gets connected everytime you boot.

With Linux/Ub= untu, it's a little bit more CLI work, but you can get the very same ef= fect (mount the drive, get it mounted automatically at boot-time) -- in bot= h cases, just Google and you'll find plenty of articles.

For Windows, I have no idea. Sorry.

Marc= elo.


On Fri, = Apr 23, 2010 at 12:17 PM, Matthew Jones <bsdmatburt@gmail.com> wrote:
Hi David

=
http://orgmode.org/org.html#Pulling-from-MobileOrg

Currently you likely use org-mobile-push to put your fi= les on the remote server. =A0You should be able to use org-mobile-pull for = retrieval, is this not the case?

73,
Matthew W. Jones (KI4ZIB)
http://matburt.net


On Thu, Apr 22, 201= 0 at 12:12 PM, David Frascone <dave@frascone.com> wrote:
=

I know it's a bit of an RTFM, but, I'm trying to figure out the= best way to keep my org-mode in sync with my iPhone (Using MobileOrg).=A0 = And, I'm VERY new to orgmode, and a bit new to emacs.=A0 I can easily d= o a one way sync (org-mode to somewhere, via html), but I'm looking for= a better way (two way sync, like MobileOrg)

I have dropbox, but it's not webdav.
I also have an iDisk, but i= t's a pain to keep that synched.=A0 I simply don't like the mac syn= ching.
I signed up for the other webdav account, but, I'm not sure i= f that's the best way to do it.

I can easily use ssh to keep my org files somewhere.=A0 But, that doesn= 't help the reverse path.
I run my own apache at home, so, I suppose= I could install webdav there, but I have concerns about security, having n= ever messed with it.

So, I guess my questions are:


What's the simplest method= that's possibly insecure (i.e. some random webdav provider)?
And, w= hat's the simplest method that's secure?



Thanks in a= dvance,


-Dave

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode







_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



--00221540010643db4d0485c6c59a-- --===============1903773230== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1903773230==--