I sent a mail "[PATCH] ob-scheme.el: Fix scheme code blocks execution error in batch mode" to the list yesterday, but I don't see it at
http://news.gmane.org/gmane.emacs.orgmode, so here I sent it to you again:
The bug:
-------8<--------------
#+BEGIN_SRC scheme :exports results :results output raw
(display "Hello Scheme in OrgMode")
#+END_SRC
-------8<--------------
and run:
emacs --batch --eval='(load "~/.emacs.d/init.el")' ~/
scheme-test.org -f org-html-export-to-html
you will find the bug:
`org-babel-scheme-execute-with-geiser' uses `current-message' to get the results of scheme code blocks, but `current-message' always returns nil in batch mode, and the attached patch fixes this.
Please consider to apply it, thanks.