[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] org batch job using emacsclient?
From: |
Adam Spiers |
Subject: |
Re: [Orgmode] org batch job using emacsclient? |
Date: |
Mon, 16 Nov 2009 11:13:58 +0000 |
User-agent: |
Mutt/1.5.20 (2009-08-17) |
Hi Stefan,
On Mon, Nov 16, 2009 at 09:51:38AM +0100, Stefan Vollmar wrote:
[snipped]
> To improve performance, we want to switch to emacsclient but we are
> not sure how to adapt the above code to do this. Our first attempt:
>
> cmd = emacsclient + " --eval " \
> + " \"(add-to-list 'load-path \\\"" + ORGLIB + "\\\")\"" \
> + " \"(require 'org)\"" \
> + " \"(require 'org-exp)\"" \
> + " \"(setq org-export-headline-levels 2)\"" \
> + " \"(load-file \\\"" + orgfile + "\\\")\"" \
> + " \"(org-export-as-html)\""
>
> did not work.
> Any help is appreciated.
Can you elaborate on what you mean by "did not work" - what happened
exactly?
Regards,
Adam