Very cool. Someone should setup a tutorial on Google<->org sync. As of now, the information is spread around and outdated.
Thanks! Marcelo. On Mon, Jul 12, 2010 at 12:50 PM, Eric S Fraga <ucec...@ucl.ac.uk> wrote: > On 12 Jul 2010 09:49:29 +0200, "Sven Bretfeld" <sven.bretf...@gmx.ch> wrote: >> >> Hi Eric >> >> Thank you very much for the script and the idea. I'm a fan of MobileOrg >> for Android, but the diary functions are not convenient to deal with at >> the moment. So I adopted your method for date handling. Some >> observations: >> >> 1. wget doesn't overwrite an older basic.ics laying in the same folder. >> Instead it names the files of further downloads to basic.ics.1, >> basic.ics.2 and so on. Therefore I added an additional line (rm $ICS) >> to your shell-script (not the awk-script, but the one with the >> automatized procedure you sent in a previous posting): > > Yes, you are completely correct. I trimmed down my own shell script a > bit too much. I do have a "rm ${ICS}" command just before the > wget... Sorry about that. > >> 2. Running the above script with cron, makes Emacs continually ask if >> googlecalendar.org should really be edited, because the file had >> changed on disk. So I put the whole thing into an Emacs function: > > I think somebody else has already suggested auto-revert-mode, which is > what I use so I don't see this happening at all. > > Anyway, hope it continues to work for you and please do give any other > feedback you may have. > > > -- > Eric S Fraga > GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D > > _______________________________________________ > 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