From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: [google] updated awk script for google to org conversion Date: Mon, 12 Jul 2010 12:54:47 -0500 Message-ID: References: <87wrt5kqfn.wl%ucecesf@ucl.ac.uk> <87sk3tkmzx.wl%ucecesf@ucl.ac.uk> <87iq4l6sxi.fsf@gmx.ch> <87iq4kio7y.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=36366 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYNDO-0003pA-7W for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 13:54:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYNDM-0007vD-PD for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 13:54:50 -0400 Received: from mail-pz0-f41.google.com ([209.85.210.41]:59099) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYNDM-0007v6-Kk for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 13:54:48 -0400 Received: by pzk33 with SMTP id 33so2898025pzk.0 for ; Mon, 12 Jul 2010 10:54:47 -0700 (PDT) In-Reply-To: <87iq4kio7y.wl%ucecesf@ucl.ac.uk> 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: Eric S Fraga Cc: org-mode mailing list 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 wrote: > On 12 Jul 2010 09:49:29 +0200, "Sven Bretfeld" wro= te: >> >> 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. >> =A0 =A0Instead it names the files of further downloads to basic.ics.1, >> =A0 =A0basic.ics.2 and so on. Therefore I added an additional line (rm $= ICS) >> =A0 =A0to your shell-script (not the awk-script, but the one with the >> =A0 =A0automatized procedure you sent in a previous posting): > > Yes, you are completely correct. =A0I trimmed down my own shell script a > bit too much. =A0I do have a "rm ${ICS}" command just before the > wget... =A0Sorry about that. > >> 2. Running the above script with cron, makes Emacs continually ask if >> =A0 =A0googlecalendar.org should really be edited, because the file had >> =A0 =A0changed 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 =A0570D 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 > >