Questions tagged [geiser]

Geiser is a collection of Emacs major and minor modes that conspire with one or more Scheme interpreters to keep the Lisp Machine Spirit alive. It currently supports Guile and Racket.

Geiser is an Emacs environment to hack and have fun in Scheme. Currently geiser-mode directly supports Guile and Racket.

Geiser can offer the following functionality:

  • Form evaluation in the context of the current file’s module.
  • Macro expansion.
  • File/module loading and/or compilation.
  • Namespace-aware identifier completion (including local bindings, names visible in the current module, and module names).
  • Autodoc: the echo area shows information about the signature of the procedure/macro around point automatically.
  • Jump to definition of identifier at point.
  • Access to documentation (including docstrings when the implementation provides it).
  • Listings of identifiers exported by a given module.
  • Listings of callers/callees of procedures.
  • Rudimentary support for debugging (when the REPL provides a debugger) and error navigation.
  • Support for multiple, simultaneous REPLs.
  • Support for image display in those Schemes that treat them as first class values.

Links

Homepage: http://www.nongnu.org/geiser/

Racket Documentation: http://docs.racket-lang.org/guide/Emacs.html?q=geiser

27 questions
21
votes
3 answers

Setting language with #lang in the REPL

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…
Davor Cubranic
  • 1,051
  • 10
  • 16
12
votes
3 answers

Setting Racket Geiser Emacs Path

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…
Scott Klarenbach
  • 37,171
  • 15
  • 62
  • 91
6
votes
2 answers

How to Prevent Guile from Starting a Debugger for Every Error?

I am using Guile in conjunction with Geiser under Emacs while learning how to program in Scheme. I find it actually a hindrance that Guile drops into a debugger each time I make a typo or enter a wrong piece of code. How can I make Guile more…
haziz
  • 12,994
  • 16
  • 54
  • 75
3
votes
0 answers

Issue compiling Chicken files in Geiser/Emacs

I installed Geiser in Emacs. In a scheme buffer, if I run C-c C-s, I can choose Chicken as the implementation. If I run C-c C-z, it starts an REPL and switches to it. My buffer seems to be correctly linked to the REPL. However, if I hit C-c C-c on a…
Gradient
  • 2,253
  • 6
  • 25
  • 36
3
votes
0 answers

How can I reload and re-enter a modified Racket file in Geiser?

I'm using Geiser in Emacs on Windows as a Racket programming environment. I'm working on the file "d:/code/racket/foo.rkt". "d:/code/racket/foo.rkt" is a module (it starts with #lang racket). I can use ,enter "d:/code/racket/foo.rkt" at the Racket…
Peter
  • 3,619
  • 3
  • 31
  • 37
3
votes
3 answers

Killing Racket Infinite Loops in Geiser

When I accidentally make an infinite loop by evaluating a form in emacs with geiser + racket, after a minute or so of waiting, eventually emacs will start to respond again. Unfortunately, every eval after that takes at least a minute. Usually, after…
Steve
  • 1,596
  • 1
  • 10
  • 21
2
votes
1 answer

How to make racket the default implementation in geiser

The geiser documentation suggests that setting geiser-default-implementation is one way to prevent run-geiser from prompting for a scheme implementation. Another approach suggested by the geiser docs is to set the geiser-implementations-alist to the…
BPS
  • 218
  • 1
  • 6
2
votes
1 answer

Invoke Geiser with plt-r5rs rather than Racket?

When using Geiser and Emacs for Scheme programming, how do I set Geiser to invoke plt-r5rs legacy scheme, or possibly the R6RS variant, instead of Racket in "racket" mode? I want Racket, to function in R5RS (or possibly R6RS) mode within the REPL…
haziz
  • 12,994
  • 16
  • 54
  • 75
2
votes
1 answer

racket in geiser: switch language in live REPL to plai-typed

I've seen hits all around this basic issue, but nothing to help with, in particular, plai-typed. So, I can start a racket REPL in geiser, then type (require typed/racket) and it seems to take, i.e., I'm ready to go with basic typed racket. Normally,…
147pm
  • 2,137
  • 18
  • 28
2
votes
1 answer

Racket: Lack of debug message coming from Emacs with Geiser

I am newbie to use emacs with geiser. Currently, I do not have any problem with its regular operations, such as compiling program or launching REPL. But I do not know why the REPL within Geiser only provides very limited information if my program…
Chris.Q
  • 1,370
  • 16
  • 21
1
vote
1 answer

SICP: Evaluate Racket into REPL with Emacs and Geiser

Working through SICP using Emacs, Geiser, and MIT Scheme, I decided to switch over to Racket in order to properly do the exercises in section 2.2.4 involving the Picture Language. Configuration I got a setup together that works for MIT Scheme and…
Patrick Bucher
  • 1,302
  • 2
  • 14
  • 36
1
vote
1 answer

Geiser / Emacs hangs when I start Guile web server

I'm experimenting with Guile and simple web development. I have some experience with Common Lisp and Slime. And I'm a huge fan of interactive development. Geiser is great IDE, however I loose interactivity when I run even simple web server from…
rsm
  • 2,530
  • 4
  • 26
  • 33
1
vote
1 answer

geiser-eval-buffer switch to different frame

I am trying out geiser and after evaluating it always switch to different frame with different buffer than my source code. Could this be prevented? Is it possible to stay after pressing C-c C-b in my current buffer?
Ondrej
  • 503
  • 3
  • 21
1
vote
2 answers

Pass command line options to guile via geiser

Geiser can be configured to read ~/.guile when running Guile from within Emacs. I would like to append command line options to the argument list passed to guile. Is there a variable that holds the command line options?
Tobin
  • 359
  • 1
  • 2
  • 14
1
vote
1 answer

racket scheme geiser path not found

I followed the directions in the other questions about this problem but it does not seem to solve mine. So this is a duplicate only because the other answers do not work. .eamcs scheme part looks like this: (setq geiser-racket-binary…
Rekumaru
  • 421
  • 1
  • 4
  • 10
1
2