emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Handling errors in command line exporting of agenda?


From: John Hendy
Subject: Re: [O] Handling errors in command line exporting of agenda?
Date: Mon, 8 Aug 2011 13:12:59 -0500

On Fri, Aug 5, 2011 at 6:34 PM, suvayu ali <address@hidden> wrote:
> Hi John,
>
> On Sat, Aug 6, 2011 at 12:15 AM, John Hendy <address@hidden> 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")

How would I do this via the command line? Also, it's pulling from
about 10 project files, so I'm not sure if I'd have to do this for
every file or how that works since the org-batch-agenda command seems
to be pulling from all of them. Perhaps there's some way to trigger
emacs to think, "Everything is read-only from here out"?


Thanks,
John

>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]