[Top][All Lists]

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

[O] Enhance Org babel scheme

From: José L. Doménech
Subject: [O] Enhance Org babel scheme
Date: Sun, 16 Jul 2017 19:08:02 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/26.0 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Hello, I have modified 'ob-scheme.el' to be able to return org tables.

This is a quick patch. I hope you find it useful buut I could modify,
document or write test for it if necesary.

I have already assigned the copyright for Emacs to the FSF.

Enhance the scheme babel block output.

Allow scheme code blocks to return a table.

* lisp/ob-scheme.el (org-babel-scheme-null-to): New custom option that
  allows to use a empty list to format the table output, initially assigned
  to 'hlines.
  (org-babel-scheme-table-or-string): New helper function to convert the
  return value from the block as a table or a string.
  (org-babel-execute-src-block): Changed to allow the return of a table for
  the output.

Attachment: ob-scheme.el.diff
Description: Text document

Best regards:

José L. Doménech

reply via email to

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