emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [PATCH] ob-scheme.el: Fix scheme code blocks execution error in


From: KDr2
Subject: Re: [O] [PATCH] ob-scheme.el: Fix scheme code blocks execution error in batch mode
Date: Tue, 8 Apr 2014 21:56:07 +0800

Hi, folks

Has anyone reviewed this patch? Or is there a better way to fix the bug?

Thanks.


On Wed, Apr 2, 2014 at 11:48 AM, KDr2 <address@hidden> wrote:
The bug:
write file ~/scheme-test.org with the content below:
-------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 this patch fixes this.

--
-- 



--
-- 

KDr2, http://kdr2.com

reply via email to

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