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


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to