Initially I believed it would be a good idea to start the repl upon
entry into a scheme file, but this has so far preempted tools that rely
on direnv to create ad-hoc environments leading to not all dependencies
being availabe for scheme files. I had not realized how annoying this
could be because at the time all of my scheme libraries were installed
in my user environment.
Another reason for this change is it brings the scheme module back into line with
the repl based modules for other lisps like clojure.
* Add useful defaults and bindings to scheme mode
Scheme mode was pretty bare for a long time now and lacked many of
geiser's useful features like `geiser-smart-tab` and starting the geiser
repl on entering a file. This turns them on by default for the
productive schemer.
Besides that the following key bindings were remapped
+ `SPC m e e` -> `geiser-eval-last-sexp`
+ `SPC m e d` -> `geiser-eval-definition`
+ `SPC m e D` -> `geiser-eval-definition-and-go`
This brings the geiser keymaps in line with other lisp modes in doom.
Another change involves adding macro expand commands under `SPC m m` so
schemers can see what evil lurks beneath their commands.
Geiser autodoc commands have also been added under `SPC m h` for
schemers to read the docs, though they can still use `SPC c k` to do the
same thing.
* Remove package cookie
Its only necessary when not using (use-package!)
* Use setq instead of custom
* Add `defer t` back
* Add defer flag for scheme package
If a user went directly to a scheme file after load they would get an
error concerning rainbow-delimiters not being loaded. Deferring scheme
mode stops that error from happening
* Fix typo
Co-authored-by: Elais Player <elais@samus.hsd1.nm.comcast.net>