From: Oleh <ohwoeowho@gmail.com>
To: KDr2 <killy.draw@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] ob-scheme.el: Fix scheme code blocks execution error in batch mode
Date: Thu, 10 Apr 2014 10:27:33 +0200 [thread overview]
Message-ID: <CAA01p3pJWX5GrJ-xBCKRWYpTY-wxdt_igVRG+g-Z1biNrJbTiA@mail.gmail.com> (raw)
In-Reply-To: <CAHfjm6hchOOqH4wrDtGsuuMUL6aiNhEGc=r1ViKzH+uCFFOdsw@mail.gmail.com>
Hi,
I tried to have a look at your patch, but ob-scheme has stopped working
for me. Can you send me the minimal init.el to make your scheme-test.org
work in interactive mode?
regards,
Oleh
On Tue, Apr 8, 2014 at 3:56 PM, KDr2 <killy.draw@gmail.com> wrote:
> 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 <killy.draw@gmail.com> 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
>
>
>
>
> --
> --
>
> KDr2, http://kdr2.com
next prev parent reply other threads:[~2014-04-10 8:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-02 3:48 [PATCH] ob-scheme.el: Fix scheme code blocks execution error in batch mode KDr2
2014-04-08 13:56 ` KDr2
2014-04-10 8:27 ` Oleh [this message]
2014-04-10 8:36 ` KDr2
2014-04-10 8:55 ` Oleh
2014-04-10 9:02 ` KDr2
2014-04-10 10:54 ` Oleh
2014-04-10 11:00 ` KDr2
2014-04-10 11:22 ` Oleh
2014-04-10 11:32 ` KDr2
2014-04-11 2:45 ` Eric Schulte
2014-04-11 5:18 ` KDr2
2014-04-11 19:18 ` Eric Schulte
2014-04-12 8:13 ` KDr2
2014-04-12 14:12 ` Eric Schulte
2014-05-22 12:45 ` KDr2
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAA01p3pJWX5GrJ-xBCKRWYpTY-wxdt_igVRG+g-Z1biNrJbTiA@mail.gmail.com \
--to=ohwoeowho@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=killy.draw@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).