From: Eric Schulte <schulte.eric@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 20:45:47 -0600 [thread overview]
Message-ID: <87sipky46c.fsf@gmail.com> (raw)
In-Reply-To: <CAHfjm6iF5Vj7snw5d+3j+R=mt=5Gb2GiSwXsdHXiFst-4Ns9Cg@mail.gmail.com> (KDr2's message of "Wed, 2 Apr 2014 11:48:11 +0800")
We can no longer use `flet' in the Org-mode code base, please re-work
this patch w/o flet.
Also, I don't see your name in the list of contributors, and (I believe)
this patch is too large to apply w/o FSF assignment. See the following
page on how to contribute to Org-mode.
http://orgmode.org/worg/org-contribute.html
KDr2 <killy.draw@gmail.com> writes:
> 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.
>
> --
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
next prev parent reply other threads:[~2014-04-11 2:46 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
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 [this message]
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=87sipky46c.fsf@gmail.com \
--to=schulte.eric@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).