Fork me on GitHub
#emacs
<
2017-05-31
>
stardiviner05:05:51

Does anybody use Org-mode's ob-clojure with CIDER? I want to show result from this org-mode babel src block:

#+BEGIN_SRC clojure :session
(if true
  (do (println "Success!")
      "By Zeus's hammer!")
  (do (println "Failure!")
      "By Aquaman's trident!"))
#+END_SRC

#+RESULTS:

But I got nothing. Is there anything special I need to specify for :session header arguments?

stardiviner05:05:01

I tried :results output and :results value. none of them works.

norman19:05:43

Does anyone know of a way for two terminal emacs on the same machine to share buffers? I’m vaguely aware of server mode and emacsclient, which does not appears to do something different.

ghosss20:05:41

server and emacsclient should get you want you want. start emacs in one terminal and eval (server-start), in another terminal, run emacsclient -t, that will connect a client to the emacs from the other terminal

ghosss20:05:05

I have (server-start) in my init file so that emacsclient is always available