Commit graph

6423 commits

Author SHA1 Message Date
Eivind Fonn
845c42d252 core: add predicate function for toggles
Also use output in Spacemacs help sources
2016-05-31 22:33:44 -04:00
Eivind Fonn
62fc64f745 core: special toggle API for minor modes 2016-05-31 22:33:44 -04:00
syl20bnr
1da124f689 Add TODO for configuration-layer/describe-package 2016-05-31 22:33:04 -04:00
Eivind Fonn
6b3e1452cf core: misc. goodies for describe-package
- Use completing-read when called interactively
- Check for string locations in addition to built-in etc.
- Don’t double-princ on/off for toggles
- Bind to SPC hdP
2016-05-31 22:26:59 -04:00
syl20bnr
e825ad9be0 elixir: update doc 2016-05-31 22:23:18 -04:00
syl20bnr
4996f5248c elixir: add flycheck support for test results 2016-05-31 22:15:19 -04:00
syl20bnr
5b97df814e elixir: add flycheck support for credo 2016-05-31 21:51:49 -04:00
syl20bnr
dd572af071 elixir: add flycheck support for mix compile 2016-05-31 21:34:51 -04:00
syl20bnr
8fc53ae311 elixir: fix major mode face in mode-line
when a file is opened.
2016-05-31 20:21:50 -04:00
syl20bnr
ad40bae1bf core: fix deletion of orphan packages and deps 2016-05-31 14:32:21 -04:00
syl20bnr
5af1e453c6 elixir: fix smartparens setup 2016-05-31 13:49:09 -04:00
syl20bnr
9dfa7c3fa6 core: fix error with unknown layer listed in dotfile 2016-05-31 12:47:35 -04:00
syl20bnr
60f5a3a0fa New dotfile variable dotspacemacs-download-packages
This new variable replace dotspacemacs-delete-orphan-packages

It defines the behaviour of Spacemacs when downloading packages.

Possible values are `used', `used-but-keep-unused' and `all'.
- `used' will download only explicitly used packages and remove any
unused packages as well as their dependencies.
- `used-but-keep-unused' will download only the used packages but won't
delete them if they become unused.
- `all' will download all the packages regardless if they are used or
not and packages won't be deleted by Spacemacs.

Default value is `used`.
2016-05-30 22:58:59 -04:00
Eivind Fonn
d51987f497 core: remove support for all layers 2016-05-30 21:06:54 -04:00
Yasuharu Iida
4ef24c27f7 ocaml: Add support for ocamllex , ocamlyacc file. 2016-05-30 21:06:02 -04:00
syl20bnr
fb97b87cc6 Call spacemacs/set-leader-keys-for-major-mode only once 2016-05-30 21:04:04 -04:00
Eivind Fonn
e63478049a shell: fix projectile-multi-term-in-root 2016-05-30 21:02:59 -04:00
syl20bnr
3359efcb8e erc: Quote arguments to with-eval-after-load 2016-05-30 20:58:09 -04:00
Diego Berrocal
a4cd306558 Breaking Bug Fix ERC related errors 2016-05-30 20:58:09 -04:00
Eivind Fonn
92d735483e Revert "agda: fix executable name"
This reverts commit 2477a3bf89.
2016-05-30 15:04:49 +02:00
Eivind Fonn
2477a3bf89 agda: fix executable name 2016-05-30 14:59:42 +02:00
syl20bnr
881b1f1e7f Rename special banner cate to cat 2016-05-29 23:27:31 -04:00
sooheon
06efe3e6ae Typo fix for ipython layer: S-return to s-return
Also add "o" binding in ein:notebooklist-mode-map for ace-buffer-links.
It works just as in the spacemacs buffer.
2016-05-29 23:17:42 -04:00
Julian Ospald
d320d1af4b Fix proposed ghc-mod workaround in haskell layer README
"m" is extraneous.

Also see #4770 and #4790
2016-05-29 23:14:24 -04:00
JP-Ellis
e49c41adf9 Add make-frame shortcut, SPC w F
Placed it under the `SPC w` prefix since the related `other-frame` is
set to `SPC w o`.

Signed-off-by: JP-Ellis <josh@jpellis.me>
2016-05-29 23:13:47 -04:00
ralesi
10d2dce0be Fixes #6051, checks for existance of git-gutter. 2016-05-29 23:05:04 -04:00
JAremko
74e0644759 add more checkers 2016-05-29 23:03:23 -04:00
Fredrik Bergroth
dad78fbdef spacemacs-base: evilify tar-mode 2016-05-29 23:01:13 -04:00
d12frosted
ce88cdfca7 [haskell] fix type and info hey bindings 2016-05-29 23:00:24 -04:00
Jean-Martin Archer
71c731aaf6 Use scala-mode instead of scala-mode-2 which is deprecated 2016-05-29 22:53:19 -04:00
Eivind Fonn
a2a331cb8f Don’t explicitly set box attribute
Since the face inherits from mode-line this is unnecessary, and makes it
difficult to change the mode-line box property.
2016-05-29 22:51:22 -04:00
Dave Aitken
2f7218e4c2 add-flycheck-hook expects a mode in purescript layer 2016-05-29 22:50:19 -04:00
syl20bnr
5e448a60ed Remove loading of funcs.el and config.el for helm and ivy spacemacs help 2016-05-29 22:39:56 -04:00
syl20bnr
a2de9a63af Use :toggle keyword instead of when forms 2016-05-29 22:39:21 -04:00
syl20bnr
818867e012 Fix package sources for ivy and helm 2016-05-29 21:12:54 -04:00
Eivind Fonn
1623ff6044 bepo: dotspacemacs-verbose-loading was removed 2016-05-29 19:10:50 +02:00
Eivind Fonn
2c3243a178 shell: fix layer variable documentation 2016-05-29 19:10:13 +02:00
Eivind Fonn
ed8c0ca1dc latex: fix auctex-latexmk error 2016-05-29 18:23:51 +02:00
syl20bnr
46138cd25a Move declare-layers functions to new layers.el file 2016-05-28 21:26:00 -04:00
syl20bnr
d98be63dfa core: new layer file -> layers.el / Fix regressions of previous commits
The new layer file `layers.el` is used to declared additional layers.
It is like the sibling of packages.el except that for now it does not
take a list (can do this in a futur commit).

The new order for file loading is the following:

layers.el > packages.el > funcs.el > config.el > keybindings.el

Since packages.el relies on some undefined stuff encapsulated
in init functions, it is not meant to be byte compiled. OTOH funcs.el
(where lies most of the computation added by a package config) should
be compilable.

Since we load packages.el very early it is not possible to use
`configuration-layer/package-usedp` in funcs.el.

This commit also fixes the tests.
2016-05-28 21:20:23 -04:00
syl20bnr
ee59df2ab0 evernote: remove unneeded file 2016-05-28 19:49:36 -04:00
Eivind Fonn
439ce31bc5 asm: minor fixes
- Don’t need to enable company mode that way
- Disable electric local mode, and not global
- Properly handle electric indent disabling
2016-05-28 22:23:30 +02:00
syl20bnr
380be09700 Fix wrong documentation introduced by previous commit. 2016-05-27 07:58:37 -04:00
syl20bnr
2a74c60fde theming: encapsulate theming config in init function 2016-05-27 07:24:23 -04:00
Peng Liu
584cae8d6f Fix the dependencies missing in bibtex layer. 2016-05-27 00:32:05 -04:00
syl20bnr
303e76b769 remove remaining packages-funcs.el and packages-config.el 2016-05-27 00:32:05 -04:00
syl20bnr
2b6292ef10 spacemacs-bootstrap: remove f and s in package list
It is unneeded to list them.
2016-05-27 00:32:05 -04:00
syl20bnr
37dfa47961 core: allow package-usedp in both packages.el and funcs.el 2016-05-27 00:32:05 -04:00
syl20bnr
c6e47c0306 core: rename doc-fmt to spacefmt 2016-05-27 00:32:05 -04:00
syl20bnr
7f07a965ad core: expand doc-fmt usage to any form of formatting
Add argument `action` as first positional argument, the second
positonal argument is for tests.

Add actions `doc` and `config`, doc works on org files and config works
on configuration file like packages.el.
The special action `all` performs all actions.

Move test files to `test` sub-folder.

Choose between `md5sum` and `md5` (on OS X) executables.

Add a new formatting function `move-packages-to-config` to move
package lists to config.el file.
2016-05-27 00:32:05 -04:00