Commit graph

209 commits

Author SHA1 Message Date
syl20bnr 0a71214d68 Use archive instead of package-alist to detect orphans
Fixes #1538
2015-05-20 02:05:58 -04:00
et2010 ecc555e917 Add org elpa repository
so that org-plus-contrib package is included in package list.
2015-05-18 02:01:18 -04:00
syl20bnr 744b9ef656 core: better warning message with duplicated layers 2015-05-10 19:01:31 -04:00
syl20bnr 56a0a94377 Warn about duplicated layers 2015-05-09 21:59:03 -04:00
syl20bnr 32529256e5 Refactor discovery of layers
More robust exclusion of category directories
2015-04-25 01:26:22 -04:00
syl20bnr c82857d767 Move some layers to vim category 2015-04-25 00:07:58 -04:00
syl20bnr 670415a145 Move perspective in window-management category 2015-04-25 00:00:12 -04:00
syl20bnr 5930597e50 New variable: dotspacemacs-additional-packages
Adding packages to this list will install them without
needing them to be wrapped in a layer.
Ideal for niche languages of any package that don't need
any configuration.
2015-04-21 00:33:23 -04:00
syl20bnr 1dd129ef59 Move gnus layer to email category
defvar --> setq for package lists
2015-04-20 23:42:53 -04:00
syl20bnr fdd4e944ef Reload dotfile and layer anywhere with SPC f e R
Replace `SPC m c c` and `C-c C-c` in the dotfile

Resolve #1210
2015-04-18 23:40:24 -04:00
syl20bnr 57f802619b Don't consider used themes as orphans if they don't belong to a layer
Now it is not required to use the themes-megapack layer or define
a private layer to use a theme that is not in the spacemacs layer.
2015-04-14 15:50:29 -04:00
syl20bnr b8e617c886 New function spacemacs/warning 2015-04-12 12:25:53 -04:00
syl20bnr dac29ce71c Namespace spacemacs buffer functions with spacemacs-buffer prefix 2015-04-12 00:24:03 -04:00
syl20bnr cce8d5382d Contrib category "config"
Move puppet, ansible and dockerfile layer there
2015-04-10 22:58:14 -04:00
syl20bnr 3107d5d9f8 Fix two important bugs in Update/Rollback
- correctly detect package dependencies to update
- rollback is now an idempotent action
2015-04-07 23:51:08 -04:00
syl20bnr d96da88d8a Fix helm-spacemacs for unused layers 2015-04-04 01:39:27 -04:00
syl20bnr 57fcb93799 Rename *-declarep functions to *-usedp functions
Makes more sense from a user view point.
2015-04-03 19:13:52 -04:00
syl20bnr 69a45ce353 Don't load extensions.el files twice 2015-04-03 18:09:40 -04:00
syl20bnr 318bd23dc4 Add pre and post init functions support to configuration-layers
Now in addition to the <layer>/init-<pkg> function there are
- <layer>/pre-init-<pkg> (executed before <layer>/init-<pkg>)
- <layer>/post-init-<pkg> (executed after <layer>/init-<pkg>)

The init function is mandatory, if it is not present then the
package is ignored and not installed.

This mechanism allows soft (implicit) cross layers dependencies
between packages (see company for more info).

It is now possible to remove flycheck from spacemacs layer and
move it to its own syntax-checking layer.
2015-04-03 17:12:56 -04:00
syl20bnr 2905190dc8 Fix double loading of packages.el files 2015-04-02 23:13:21 -04:00
syl20bnr 5f7579867a New update method
- backup the packages to be updated
- then delete them
- the user restart emacs and spacemacs will install the last version

Fixes some update errors related to byte-compilation like the one
which affected the powerline (void variable left)

This commit also adds some page break for clarity
2015-04-02 22:23:16 -04:00
syl20bnr 655e1a2c6b Move xkcd layer in "fun" category folder 2015-04-01 23:26:47 -04:00
syl20bnr 30872ee12f Fix error when displaying the missing layer warning 2015-04-01 23:14:48 -04:00
syl20bnr 06607fe3e3 Move rcirc and erc layer in irc subfolder 2015-03-27 22:27:58 -04:00
syl20bnr 51c5de624d Fix non activated package if there is no defined init function
Fixes #898
2015-03-22 03:02:15 -04:00
syl20bnr 37c7041a26 Don't enable the package when initializing 2015-03-18 01:13:28 -04:00
syl20bnr 1ea3da322c Non blocking errors at startup + inline reports in spacemacs buffer
The mode line turns red when errors have been detected
and displays the number of errors.

Fixes #440
2015-03-16 01:29:39 -04:00
syl20bnr c9e4864f50 Tweaks for mode-line display at startup time 2015-03-12 00:25:52 -04:00
syl20bnr 9faa1542cb Use mode-line as a progress bar 2015-03-11 23:46:37 -04:00
syl20bnr 39ccec59b5 Split function configuration-layer/load-layer-files 2015-03-05 00:00:18 -05:00
syl20bnr ce01f956ff Fix spacemacs loading with 'all for dotspacemacs-configuration-layers 2015-03-03 03:58:29 -05:00
syl20bnr d2e4ad1535 Remove unnecessary function configuration-layer/load-file
This functions prevents some layer files from being reloaded
2015-03-02 00:18:39 -05:00
syl20bnr 293ca1c8bd C-c C-c in .spacemacs to resync the packages 2015-03-01 23:02:14 -05:00
syl20bnr 206b1a13ae Refactor init.el and rename core-spacemacs-mode.el to core-spacemacs.el 2015-03-01 22:12:09 -05:00
syl20bnr 8aeb6e24c0 Move dotfile layer and settings declaration in their own functions
layers declaration are now in `dotspacemacs/layers` function
settings are now part of the `dotspacemacs/init` function
2015-02-28 23:33:57 -05:00
Herbert Jones d7e6816607 declare layers should not include hidden dirs
To prevent the .git directory from showing up when hitting "SPC f e h"
it should not be included.  Hiding all hidden directories is likely the
desired behavior, instead of just ignoring ".git".
2015-02-27 22:54:40 -05:00
syl20bnr 97bb568360 Add variable dotspacemacs-loading-progress-bar
Default is t
2015-02-15 21:25:12 -05:00
syl20bnr 4168b9f217 Refactor the initialization of spacemacs
Users can now specify their own evil settings in
`dotspacemacs/init`
2015-02-15 20:14:36 -05:00
syl20bnr 9059a486fe Fix a bug in loading animation dot length 2015-02-14 23:42:26 -05:00
syl20bnr a8c9516c8b Correctly all spacemacs layer when 'all is specified 2015-02-14 23:41:07 -05:00
syl20bnr 94122defaf Add special value `add support for dotspacemacs-configuration-layers 2015-02-14 22:15:25 -05:00
syl20bnr d6a9b65061 Rename function to configuration-layers/declare-layers 2015-02-12 22:11:27 -05:00
syl20bnr 570f5e5e05 Move dotspacemacs/config to after-init-hook
Add log in `*Messages*` when executing `init` and `config` dotspacemacs
functions

resolves #588
2015-02-11 17:02:37 -05:00
syl20bnr b2f66f80f6 Add configuration-layer/layer-declaredp function 2015-02-10 23:22:26 -05:00
syl20bnr 3775115cf4 Fix error when attempting to delete an unknown package 2015-02-10 21:57:14 -05:00
syl20bnr 2efc66286c Display the number of backup packages in ido when selecting a slot 2015-02-10 21:56:44 -05:00
syl20bnr c7a5dc57dc Prompt before updating the packages 2015-02-10 21:56:18 -05:00
syl20bnr d177f3b020 Minor formatting change 2015-02-08 23:51:10 -05:00
syl20bnr 9075603d8a Fix [Update] for 24.3 2015-02-08 23:04:13 -05:00
syl20bnr 5f5c510019 Add non string variant of get package version functions 2015-02-08 23:03:52 -05:00
syl20bnr 887b46d119 Retry package installation on error
Fix upgrade errors thrown my package.el with some packages
2015-02-04 20:20:42 -05:00
syl20bnr e91e7230cf Add message to restart emacs after update and rollback 2015-02-04 00:36:06 -05:00
syl20bnr 3ae7a837d1 Add 24.3 compatibility for rollback 2015-02-04 00:28:58 -05:00
syl20bnr 6a9304b83d Add rollback support 2015-02-03 23:56:38 -05:00
syl20bnr d1cd20f6ba Correctly update the dependencies with Update Spacemacs 2015-02-03 02:05:29 -05:00
syl20bnr 4581515c73 Better feedback while updating packages with Update Spacemacs link 2015-02-03 00:58:17 -05:00
syl20bnr b8bfa7e1a3 Fix get version of built-in package 2015-02-03 00:57:55 -05:00
syl20bnr 4f24035d9b Fixes #489 Spacemacs uses the wrong package.el implementation
For emacs 24.3.50 (containing backports)
2015-01-27 22:24:22 -05:00
syl20bnr 16df76c0c8 Prefix all core files with core- 2015-01-26 22:51:47 -05:00
Renamed from core/configuration-layer.el (Browse further)