GNU ELPA - setup


Helpful Configuration Macro
setup-1.3.0.tar, 2022-Jun-12, 70.0 KiB
Philip Kaludercic <~pkal/>
Browse ELPA's repository
CGit or Gitweb

To install this package, run in Emacs:

M-x package-install RET setup RET

Full description

The `setup` macro simplifies repetitive configuration patterns, by
providing context-sensitive local macros in `setup' bodies.  These
macros can be mixed with regular elisp code without any issues,
allowing for flexible and terse configurations.  The list of local
macros can be extended by the user via `setup-define'.  A list of
currently known local macros are documented in the docstring for `setup'.

Examples and extended documentation can be found on Emacs wiki:  Please feel free to
contribute your own local macros or ideas.

Old versions

setup-1.2.0.tar.lz2021-Nov-0817.9 KiB
setup-1.1.0.tar.lz2021-Oct-0117.5 KiB
setup-1.0.1.tar.lz2021-Sep-2517.2 KiB
setup-1.0.0.tar.lz2021-Aug-1917.2 KiB
setup-0.2.1.tar.lz2021-Jul-0116.9 KiB
setup-0.2.0.tar.lz2021-Apr-1916.2 KiB
setup-0.1.2.tar.lz2021-Mar-2515.6 KiB
setup-0.1.1.tar.lz2021-Mar-1615.4 KiB


Version 1.3.0

- Add new `:and' macro.
- Add new `:with-function' macro and have `:hook-into' use
  the context function instead of the context mode (Earl Hyatt)
- Improve `:bind-into' handling of maps.

Version 1.2.0

- Remove `setup-wrap-to-demote-errors' from `setup-modifier-list'
- Pull `setup-expand-local-macros'  back into `setup'
- Let `:with-feature' and `:with-mode' check symbol properties to
  improve context-setting guesses.
- Move macros :hide-mode, :advise, :needs, :if-host and :load-from
  to EmacsWiki.
- Revert the indentation spec change for `setup-define'
- Add :bind-into macro
- Add :ensure key to `setup-define' to replace
  the deprecated setup-ensure-... functions
- Add `setup-bind' macro to simplify context modification.

Version 1.1.0:

- Fix quoting error in :file-match definition
- Remove unnecessary check for lexical binding
- Change `setup-define' indentation
- Handle multiple expressions in :when-loaded
- Improvements to setup docstring
- Wrap `setup' forms with `with-demoted-errors'
- Allow `setup' to be extended using `setup-modifier-list'