reddit / emacs

Problem with org-babel and geiser-mit

False_Reveal176 · 2022-09-07 19:31
Hi all, I'm following this page: [https://www.orgmode.org/worg/org-contrib/babel/languages/ob-doc-scheme.html](https://www.orgmode.org/worg/org-contrib/babel/languages/ob-doc-scheme.html) to get scheme running in babel but I can't make it work. This is my config: (use-package geiser) (use-package geiser-mit) (setq geiser-active-implementations '(mit)) (org-babel-do-load-languages 'org-babel-load-languages '((scheme . t))) And this is the org file: #+header: :session #+begin_src scheme (+ 1 1) #+end_src when i hit C-c C-c in the block i get "Code block evaluation complete" in the echo area but no results under the `#+RESULTS:` and i'm redirected to the geiser REPL the first time (i don't kill this buffer i just switch to the org buffer after it), i also get a buffer `*Geiser Messages*` whith the following content: ​ ERROR: <1>: continuation failed "(geiser:eval '#f '(begin ;; -- geiser-scheme-implementation: mit -- (+ 1 1) ))" (error Selecting deleted buffer) Does anyone now how can i solve this problem? PS: I'm using emacs 28.1 with org-mode version 9.5.5 and the geiser REPL works correctly when i run `M-x geiser`
yantar92 · 2022-09-08 06:03
Did you try with development version of Org?
False_Reveal176 · 2022-09-08 13:22
I tried to follow: [https://orgmode.org/worg/org-faq.html#keeping-current-with-Org-mode-development](https://orgmode.org/worg/org-faq.html#keeping-current-with-Org-mode-development). I tried clone this repo: [https://git.sr.ht/\~bzg/org-mode](https://git.sr.ht/~bzg/org-mode) then run `make autoloads` as shown here: [https://orgmode.org/org.html#Installation](https://orgmode.org/org.html#Installation) but when i run `M-x org-version` i got: Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @ /home/user/projects/org-mode/lisp/) Am i doing something wrong?
yantar92 · 2022-09-08 13:29
Is `/home/user/projects/org-mode` the same with where you clone the repo?
False_Reveal176 · 2022-09-08 17:25
Yes, i cloned to this folder. Now i tried to download org using straight.el and it seen to be working, i have version `9.5.5` and i can evaluate the scheme code blocks. Thanks for the help!