This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-01
Channels
- # aleph (3)
- # announcements (10)
- # babashka (6)
- # bangalore-clj (4)
- # beginners (91)
- # biff (7)
- # cider (25)
- # cljs-dev (1)
- # clojure (109)
- # clojure-europe (9)
- # clojure-norway (5)
- # clojure-uk (1)
- # clojurescript (22)
- # cursive (22)
- # data-science (1)
- # datalevin (5)
- # datomic (7)
- # emacs (7)
- # etaoin (1)
- # events (3)
- # graphql (12)
- # hyperfiddle (1)
- # inf-clojure (1)
- # lsp (69)
- # luminus (1)
- # meander (21)
- # nbb (4)
- # off-topic (27)
- # other-languages (12)
- # rdf (58)
- # releases (3)
- # remote-jobs (2)
- # rum (12)
- # shadow-cljs (4)
- # sql (3)
- # xtdb (1)
jo in org ins't there a way to inline elisp, also inside source blocks? My goal is to achieve something like this:
#+begin_src elisp
(defvar my-file-name "resources/foo.sql")
#+end_src
#+begin_src sql :tangle <my-file-name>
select
#+end_src
#+begin_src clojure
(jdbc/execute.... <my-file-name>)
#+end_src
so something like an ad hoc substitution definition or something. Where I say subst with this string and further up I define the stringWhat's your question? I read twice, still can't decipher it. Are you trying to share results of evaluation of one source block with another?
initially I thought there must be a way to basically refer from any text in org to another block, like expanding the text. Or to basically expand elisp into text would also be interesting
IIRC, you can't refer to another source block verbatim. But I think I successfully fed an example block to a source block once. Using the same technique described by Kitchin.
i thought this was the main emacs thread, ignore those messages 🙂