emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: KDr2 <killy.draw@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [PATCH] ob-scheme.el: Fix scheme code blocks execution error in batch mode
Date: Tue, 8 Apr 2014 21:56:07 +0800	[thread overview]
Message-ID: <CAHfjm6hchOOqH4wrDtGsuuMUL6aiNhEGc=r1ViKzH+uCFFOdsw@mail.gmail.com> (raw)
In-Reply-To: <CAHfjm6iF5Vj7snw5d+3j+R=mt=5Gb2GiSwXsdHXiFst-4Ns9Cg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 803 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1960 bytes --]

  reply	other threads:[~2014-04-08 13:56 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 [this message]
2014-04-10  8:27   ` Oleh
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='CAHfjm6hchOOqH4wrDtGsuuMUL6aiNhEGc=r1ViKzH+uCFFOdsw@mail.gmail.com' \
    --to=killy.draw@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).