all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Generate new babel code blocks and/or initialized code/data?
@ 2016-09-20 19:07 Lawrence Bottorff
  2016-09-20 19:33 ` Thomas S. Dye
  0 siblings, 1 reply; 7+ messages in thread
From: Lawrence Bottorff @ 2016-09-20 19:07 UTC (permalink / raw)
  To: emacs-orgmode Mailinglist

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

So I can run code for a REPL-type language like Clojure in a babel code
block and get "results," e.g., a Clojure code block takes in a vector of
mappings and produces new "results":

#+RESULTS[abc5c51bb569a82c19c4eea1c385c74e839922c7]:
symmetrize-body-parts-test
| :name | head            | :size |  3 |
| :name | left-eye        | :size |  1 |
| :name | right-eye       | :size |  1 |
| :name | left-ear        | :size |  1 |
. . .

but could I generate results that aren't just static output listed after a
#+RESULTS tag, rather, embedded in a newly created babel code block? I'd
like such output "initialized" as far as the running REPL is concerned too.
Is it possible to generate new code/data that is immediately known to the
REPL session? Any examples don't have to be Clojure.

LB

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-09-25  3:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-20 19:07 Generate new babel code blocks and/or initialized code/data? Lawrence Bottorff
2016-09-20 19:33 ` Thomas S. Dye
2016-09-24 20:53   ` Lawrence Bottorff
2016-09-24 21:02     ` Lawrence Bottorff
2016-09-25  0:03     ` Thomas S. Dye
2016-09-25  1:49       ` Lawrence Bottorff
2016-09-25  3:10         ` Thomas S. Dye

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.