Table of Contents

Extempore layer

Table of ContentsClose

1 Description

This layer adds support for the Extempore programming environment.

1.1 Features:

  • run Extempore (inferior extempore buffer)
  • connect to & evaluate code
  • eldoc support

2 Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add extempore to the existing dotspacemacs-configuration-layers list in this file.

2.1 Configuration

The only configuration variable you might want to set out-of-the-box is extempore-path, so that you don't have to answer the "which directory?" prompt every time you call switch-to-extempore. You can set it when you add extempore to your dotspacemacs-configuration-layers like so:

(extempore :variables extempore-path "/path/to/extempore/")

Alternately, you could set it elsewhere in your init file, or through the customize interface.

There are a few other config variables to tweak, but in most cases the defaults will be ok if you're just starting out. If you want to see them all, open up M-x customize and look in the extempore group.

3 Key bindings

Key binding Description
SPC m c c Switch to Extempore
SPC m c j Connect to Extempore
SPC m e f Eval current definition
SPC m e e Eval last sexp
SPC m e r Eval region
SPC m e b Eval buffer

Author: root

Created: 2020-11-10 Tue 22:56