From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Handling errors in command line exporting of agenda? Date: Sat, 6 Aug 2011 01:34:07 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpTuW-0006HO-7P for emacs-orgmode@gnu.org; Fri, 05 Aug 2011 19:34:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QpTuU-0001ZE-SV for emacs-orgmode@gnu.org; Fri, 05 Aug 2011 19:34:36 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:56839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QpTuU-0001Yx-Li for emacs-orgmode@gnu.org; Fri, 05 Aug 2011 19:34:34 -0400 Received: by fxg9 with SMTP id 9so2374021fxg.0 for ; Fri, 05 Aug 2011 16:34:33 -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: John Hendy Cc: emacs-orgmode Hi John, On Sat, Aug 6, 2011 at 12:15 AM, John Hendy wrote: > 1) writing a script that could handle the failure and leave the > current agenda exported text file if it happened > Do you run into the same problem if you one the file before hand in read only mode? Something like this before the agenda command might work. (find-file-read-only "FILENAME") -- Suvayu Open source is the future. It sets us free.