From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: external process modifying buffers Date: Sun, 16 Sep 2012 14:24:14 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDMK8-0000Yn-LY for emacs-orgmode@gnu.org; Sun, 16 Sep 2012 17:24:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TDMK7-00021T-Jb for emacs-orgmode@gnu.org; Sun, 16 Sep 2012 17:24:16 -0400 Received: from mail-ie0-f169.google.com ([209.85.223.169]:58842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TDMK7-00021N-BP for emacs-orgmode@gnu.org; Sun, 16 Sep 2012 17:24:15 -0400 Received: by ied10 with SMTP id 10so902462ied.0 for ; Sun, 16 Sep 2012 14:24:14 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Charles Philip Chan Cc: Org-mode Thanks! That makes it much cleaner. My setup is now reduced to this: (setq global-auto-revert-mode t) (run-at-time "2 minutes" 600 '(lambda () (shell-command "ical2org>iCal.org"))) With full paths to the ical2org binary and the iCal.org file. Thanks, -k. On Sun, Sep 16, 2012 at 2:08 PM, Charles Philip Chan wrote: > Ken Mankoff writes: > > Hi Ken: > >> Right now I'm running ical2org via cron and re-generating iCal.org >> (redirecting stdout with ">"). When I try to regenerate the agenda, >> emacs complains: >> >> iCal.org changed on disk; really edit the buffer? (y, n, r or C-h) > > Set "global-auto-revert-mode" to "t". > > Cheers, > Charles > > -- > linux: the choice of a GNU generation > (ksh@cis.ufl.edu put this on Tshirts in '93)