spacemacs/core
syl20bnr 57350a3b48 core: reimplement :packages keyword and update documentation
Old implementation excluded package that were not selected, this
implementation does not excluded them, it simply ignore it in the
layer where they are not selected. This reimplementation comes from
a refactor of the way packages.el files are loaded, instead of loading
these files at the moment of resolving the list of used packages, they
are now loaded when making the layer objects. A neat consequence is that
side effects is better confined and the configuration-layer/get-packages
is now pure (at least a lot more pure than before).
In the `cfgl-layer` class the slot `:user-packages` has been renamed
to `:selected-packages` which defaults to `'all` meaning that all
the packages in `:packages` are selected. `:selected-packages` value
is given by the new function `configuration-layer//select-packages`.
Effectively selected packages are given by a new method for `cfgl-layer`
class called `cfgl-layer-get-packages`.

Tests have been updated to reflect the changes.

Also documentation on configuration layer declaration in the dotfile
section of DOCUMENTATION.org has been greatly improved (I hope) and
reflect the last feature added to the
`dotspacemacs-configuration-layers` list.
2016-06-20 20:48:25 -04:00
..
aprilfool Zemacs: Show startup-list for the next millennium 2016-04-01 07:31:22 -04:00
banners core: add footer in home buffer 2016-06-05 00:19:18 -04:00
info Zemacs: Show startup-list for the next millennium 2016-04-01 07:31:22 -04:00
libs core: add footer in home buffer 2016-06-05 00:19:18 -04:00
templates Remove leuven theme from spacemas-ui-visual and simplify default value 2016-06-12 21:15:10 -04:00
tools/spacefmt core: rename doc-fmt to spacefmt 2016-05-27 00:32:05 -04:00
core-auto-completion.el Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
core-command-line.el core: new variable spacemacs-insecure 2016-06-09 23:09:59 -04:00
core-configuration-layer.el core: reimplement :packages keyword and update documentation 2016-06-20 20:48:25 -04:00
core-debug.el Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
core-display-init.el Fix init error for emacs in terminal mode 2016-06-13 00:25:39 -04:00
core-documentation.el Make export to html compatible with GitHub and toc-org 2016-03-30 22:29:00 -04:00
core-dotspacemacs.el Remove leuven theme from spacemas-ui-visual and simplify default value 2016-06-12 21:15:10 -04:00
core-emacs-backports.el Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
core-fonts-support.el core: add font to default-frame-alist 2016-06-06 09:01:31 -04:00
core-funcs.el spacemacs/dump-vars-to-file: don't visit dump file 2016-05-05 13:03:26 +02:00
core-keybindings.el Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00
core-load-paths.el core: add footer in home buffer 2016-06-05 00:19:18 -04:00
core-micro-state.el core: update doc after auto executing in micro state. 2016-01-31 23:04:47 -05:00
core-release-management.el Async is not present in spacemacs-base 2016-04-29 18:37:34 -04:00
core-spacemacs-buffer.el core: fix possibly negative string length 2016-06-13 10:59:29 +02:00
core-spacemacs.el core: display a numerical progression in mode-line 2016-06-13 00:56:25 -04:00
core-themes-support.el core: ensure quelpa is available when installing packages 2016-04-03 02:51:01 -04:00
core-toggle.el core: add predicate function for toggles 2016-05-31 22:33:44 -04:00
core-transient-state.el core: replace :additional-docs by an independent macro 2016-03-04 18:20:23 -05:00
core-use-package-ext.el Clean copyrights and update for year 2016 2016-01-11 21:42:17 -05:00