spacemacs/layers/+lang/emacs-lisp
syl20bnr 49df0162b3 emacs lisp: disable flycheck by default
In this case the saner default is too disable it because there is
too much false warning
2015-10-12 10:02:10 -04:00
..
img
README.org Doc conventions for lisp layer READMEs 2015-10-09 12:15:35 +02:00
config.el
packages.el emacs lisp: disable flycheck by default 2015-10-12 10:02:10 -04:00

README.org

Emacs Lisp contribution layer for Spacemacs

/TakeV/spacemacs/media/commit/6652e0d8b8d4048240c111ee942b548985e1c196/layers/+lang/emacs-lisp/img/emacs-lisp.png

Description

This layer gathers all the configuration related to emacs-lisp. This should always be in your dotfile, it is not recommended to uninstall it.

Install

To use this contribution add it to your ~/.spacemacs

  (setq-default dotspacemacs-configuration-layers '(emacs-lisp))

Key bindings

Working with lisp files (barfage, slurpage & more)

Spacemacs comes with a special lisp-state for working with lisp code that supports slurpage, barfage and more tools you'll likely want when working with lisp.

As this state works the same for all files, the documentation is in global DOCUMENTATION.org. In general, use SPC k to interact with the lisp-state.

Leader

Key Binding Description
SPC m g g go to definition of symbol under point
SPC m h h describe symbol at point
SPC m e $ or SPC m e l go to end of current line and evaluate
SPC m e b evaluate current buffer
SPC m e c evaluate current form (start with defun, setq, etc…)
SPC m e e evaluate sexp before point
SPC m e r evaluate current region
SPC m e f evaluation current function
SPC m , toggle lisp state
SPC m t b run tests of current buffer
SPC m t q run ert
SPC m d m open macrostep micro-state

srefactor

The semantic layer should be installed for these key bindings to become active.

Key Binding Description
SPC m = b format current buffer
SPC m = f format current function
SPC m = o format all on one line
SPC m = s format current sexp