syl20bnr
b45f3b0d0a
core: the owner of a package can override some properties
...
Allowed properties to be overridden are: location, step and excluded
This mechanism allow the user to alter the location of a given
package, for instance if she wants to use her own fork instead of the
version in ELPA.
Note that for now there is no easy way to override the package recipes.
2015-08-13 01:23:39 -04:00
syl20bnr
1c8d90c856
core: add support for quelpa recipes
2015-08-12 23:56:24 -04:00
syl20bnr
1514c6e7d3
core: fix bug in package-usedp
...
It returned t even if the package has no owner.
Fixes #2601
2015-08-11 23:25:00 -04:00
syl20bnr
4148fdff56
core: add support for local directory
2015-08-11 19:45:28 -04:00
syl20bnr
e2bdc25396
core: fix mandatory package and extension list variables
2015-08-10 21:22:28 -04:00
Robert O'Connor
3f7dab0eeb
Change elpa to use http.
...
GNU is having issues with HTTPS right now.
Fixes #2596
2015-08-09 21:52:47 -04:00
syl20bnr
b7205ebd49
core: fix load file error with dotspacemacs-additional-packages
2015-08-09 14:47:19 -04:00
syl20bnr
88143a33fa
core: correctly handle packages owned by the dotfile
...
i.e. packages listed it dotspacemacs-additional-packages
2015-08-09 11:38:15 -04:00
syl20bnr
9ac2d54423
core: correctly make excluded packages
2015-08-09 11:34:35 -04:00
syl20bnr
51807654a1
core: package-list-v2 fix packages update
...
Ready to be merged in develop
2015-08-09 00:59:13 -04:00
syl20bnr
64be291221
core: rename some function arguments to more explicit pkg-name
2015-08-09 00:59:13 -04:00
syl20bnr
88a6ddbe37
core: package-list-v2 fix orphan deletion
2015-08-09 00:59:12 -04:00
syl20bnr
f0985162c6
core: package-list-v2 fix helm-spacemacs
2015-08-09 00:59:12 -04:00
syl20bnr
00fc8f9502
core: package-list-v2 fix install of packages
2015-08-09 00:59:11 -04:00
syl20bnr
b887a21bb6
core: package-list-v2 working loading, still error at install time
2015-08-09 00:59:11 -04:00
syl20bnr
aa2669ee9c
core: package-list-v2 install and orphan detection
...
Still need to clean the orphan detection though
Packages are not configured for now
2015-08-09 00:58:48 -04:00
syl20bnr
e4748ea692
core: package-list-v2 sort package list
2015-08-09 00:58:33 -04:00
syl20bnr
e145f73b8b
core: package-list-v2 fix layer variables
2015-08-09 00:58:02 -04:00
syl20bnr
f484c2594a
core: package-list-v2 new class cfgl-package
2015-08-09 00:55:46 -04:00
syl20bnr
a0cbcd4a5d
core: fix error when a layer is not found
2015-07-26 20:41:06 -04:00
syl20bnr
faa18f49df
core: start to use eieio
...
Replace the alist of layer by a list of layer objects.
2015-07-26 00:41:41 -04:00
syl20bnr
844f2026ac
core: rename declare-layers and declare-layer funcs
...
renamed to declare-used-layers and declare-used-layer respectively
2015-07-25 22:59:54 -04:00
syl20bnr
55f13db2b7
core: fix error when dotspacemacs-directory is nil
2015-07-23 22:59:45 -04:00
justbur
252f26d555
Make default private layer directory explicit
2015-07-23 22:28:26 -04:00
justbur
e1eed07c30
Add option for .spacemacs.d/init.el .spacemacs file
...
Setting SPACEMACSDIR overrides location of .spacemacs.d
Add dotspacemacs-directory variable
Add dotspacemacs-directory to layer search path
2015-07-23 22:25:39 -04:00
syl20bnr
5e1c5319e9
core: put MELPA at the top of the list of archives
2015-07-02 00:38:47 -04:00
Travis B. Hartwell
e236d5a280
core: add optional argument to configuration-layer/update-packages
...
So if called using the universal argument or with a parameter yes is
assumed to the question to update packages. Useful for calling Emacs
in batch mode to update Spacemacs.
2015-07-01 01:45:37 -04:00
zimbatm
b5a732220a
Use SSL to contact elpa repositories when possible
...
* ELPA: Certificate for different domain. HTTPS redirects to HTTP.
* gnu: yes
* melpa: N/A
* org: N/A
* marmalade: Certificate expired. HTTP redirects to HTTPS.
2015-06-22 23:09:18 -04:00
syl20bnr
86c94a2c7f
core: auto-discover categories
...
Categories are directories whose names start with `!`
2015-06-05 22:47:23 -04:00
Eivind Fonn
a5a294cb33
Locate layers in arbitrary subdirectories
...
Conflicts:
core/core-configuration-layer.el
2015-06-05 21:36:43 -04:00
Keshav Kini
696f2d461a
Use weirder-looking templating variables
...
It's important to make templating variables something unique-looking so
that you don't accidentally write template variables where you don't
mean to. For example, in extensions.template, "package names go here"
was being replaced with "package <name of package>s go here", etc.
Also Search case-insensitively for good measure
2015-06-02 22:50:51 -04:00
syl20bnr
0846591934
Catch layer variable errors at startup
2015-06-01 00:29:38 -04:00
syl20bnr
4489de827b
Now :variables values must be quoted like in setq sexps
...
Fixes #1596
2015-05-31 20:55:46 -04:00
justbur
33e439e9cc
Add option to select other layer directories in create-layer
2015-05-27 23:56:11 -04:00
Tristan Hume
eecb250a55
Prefix categories with !
2015-05-25 00:50:38 -04:00
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