doomemacs/modules/lang/scheme
Elais Player 5205fde619
Add useful defaults and bindings to scheme mode (#2947)
* 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>
2020-04-24 00:00:27 -04:00
..
autoload.el
config.el
packages.el
README.org

lang/scheme

Description

This module provides an environment for hacking and having fun in scheme. It is powered by geiser.

Module Flags

This module provides no flags.

Plugins

Prerequisites

This module requires you to have at least one of the supported schemes, namely:

Their executables must be present in your path for geiser to work properly.

Features

Commands

Geiser

command key / ex command description
+scheme/open-repl :repl Open the Scheme Repl