geiser

Setting language with #lang in the REPL

天涯浪子 提交于 2019-12-03 11:24:00
问题 I would like to set the language in the REPL on the fly, with #lang , not using "-I" command-line argument. But this gives me the error "read: #lang not enabled in the current context". Is there a command-line switch that I'm missing? Or maybe a ",metacommand" I can use? The reason I need this is because I would like to be able to send an Emacs buffer to the Racket REPL, but that won't work if the file starts with #lang . 回答1: [Edit] I can't get C-x C-b to work with #lang either. But a buffer

Setting Racket Geiser Emacs Path

不羁的心 提交于 2019-11-30 18:35:15
I'm trying to get Geiser's REPL to work in Emacs, but it doesn't seem to be able to find Racket. racket is on my path, but anytime I type run-geiser followed by racket it complains: Unable to start REPL: Searching for program: no such file or directory, racket I read in the Geiser docs that I may have to manually tell Geiser where to find racket , but I can't tell where to configure this property of Geiser. Thanks for your help. Scott Klarenbach Ok, so I added: (setq geiser-racket-binary "/home/user/racket/bin/racket") to my .emacs file after loading geiser.el . I was expecting a configuration

Setting Racket Geiser Emacs Path

瘦欲@ 提交于 2019-11-30 16:51:48
问题 I'm trying to get Geiser's REPL to work in Emacs, but it doesn't seem to be able to find Racket. racket is on my path, but anytime I type run-geiser followed by racket it complains: Unable to start REPL: Searching for program: no such file or directory, racket I read in the Geiser docs that I may have to manually tell Geiser where to find racket , but I can't tell where to configure this property of Geiser. Thanks for your help. 回答1: Ok, so I added: (setq geiser-racket-binary "/home/user