Re: [O] Bug: org-babel-tangle sometimes does not respect header-args property [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.1/lisp/org/)]

2018-06-23 Thread Henry Blevins
(:exports . "code") (:tangle . "yes") (:lexical . "no") (:hlines . "no") (:noweb . "no") (:cache . "no") (:session . "none")) "" nil 2649 "(ref:%s)") ("emacs-lisp" "(let (blocks)\n (org-babel-map-src-blocks (buffer-file-name)\n(push (org-babel-get-src-block-info 'light)\n blocks))\n blocks) " ((:results . "pp replace") (:exports . "code") (:tangle . "yes") (:lexical . "no") (:hlines . "no") (:noweb . "no") (:cache . "no") (:session . "none")) "" nil 975 "(ref:%s)") ("emacs-lisp" "(org-babel-tangle)" ((:results . "silent") (:exports . "code") (:tangle . "yes") (:lexical . "no") (:hlines . "no") (:noweb . "no") (:cache . "no") (:session . "none")) "" nil 563 "(ref:%s)")) #+end_example Running the following block tangles correctly #+name correct-tangle #+BEGIN_SRC emacs-lisp :results silent (org-babel-tangle) #+END_SRC I apologize if this is difficult to read. To summarize, my findings indicate that =org-babel-get-src-block-info= is incorrectly processing or merging the properties of each block depending on how, or where, it is run. I unfortunately don't have time right now to untangle this fully, but I hope this helps. Best Regards, Henry Blevins

Re: [O] [PATCH] ob-scheme.el: Fix scheme blocks ignoring :results in formatting

2018-06-21 Thread Henry Blevins
d can add "TINYCHANGE" if you would prefer. Regards, Henry From 564661f586501dd235f2dad6ece45d0100dc21a9 Mon Sep 17 00:00:00 2001 From: Henry Blevins Date: Thu, 21 Jun 2018 14:56:48 -0400 Subject: [PATCH 2/2] test-ob-scheme.el: Add tests for scheme result types * test-ob-scheme.el (t

Re: [O] [PATCH] ob-scheme.el: Fix scheme blocks ignoring :results in formatting

2018-06-21 Thread Henry Blevins
Neil Jerram writes: > But if I want the table output > > | 1 | 2 | 3 | > > will there still be a way to get it? (I'm sure I have org files that > need this!) This patch will not affect any of your existing org files unless you have specified you want the block to output as 'verbatim', 'scalar' o

[O] [PATCH] ob-scheme.el: Fix scheme blocks ignoring :results in formatting

2018-06-20 Thread Henry Blevins
tting this. Regards, Henry Blevins From f93f086cbb16926c883a31fe8ad796e0da8bc8f7 Mon Sep 17 00:00:00 2001 From: Henry Blevins Date: Wed, 20 Jun 2018 14:38:47 -0400 Subject: [PATCH] ob-scheme.el: Fix scheme blocks ignoring :results in formatting * ob-scheme.el (org-babel-execute:scheme): P