From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: [google] updated awk script for google to org conversion Date: Mon, 12 Jul 2010 18:50:25 +0100 Message-ID: <87iq4kio7y.wl%ucecesf@ucl.ac.uk> References: <87wrt5kqfn.wl%ucecesf@ucl.ac.uk> <87sk3tkmzx.wl%ucecesf@ucl.ac.uk> <87iq4l6sxi.fsf@gmx.ch> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Mon_Jul_12_18:50:25_2010-1" Return-path: Received: from [140.186.70.92] (port=51356 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYN9K-0001qp-3Y for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 13:50:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYN9H-0007JC-2r for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 13:50:36 -0400 Received: from vscane-c.ucl.ac.uk ([144.82.108.43]:44023) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYN9G-0007IS-Uy for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 13:50:35 -0400 In-Reply-To: <87iq4l6sxi.fsf@gmx.ch> 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: Sven Bretfeld Cc: org-mode mailing list --Multipart_Mon_Jul_12_18:50:25_2010-1 Content-Type: text/plain; charset=US-ASCII On 12 Jul 2010 09:49:29 +0200, "Sven Bretfeld" 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. --Multipart_Mon_Jul_12_18:50:25_2010-1 Content-Type: text/plain; charset=US-ASCII -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D --Multipart_Mon_Jul_12_18:50:25_2010-1 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 --Multipart_Mon_Jul_12_18:50:25_2010-1--