Commit graph

6388 commits

Author SHA1 Message Date
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
syl20bnr
c35e4ee27b core: remove packages-funcs and packages-config
Change the semantic of the files for a better control over the
configuration (like being able to use package-usedp function to
guard package configuration and function definition).

This is a big change!

The list of packages of the layer must now be placed in config.el
packages.el only contains pre-init, init and post-init functions

Now both packages.el and funcs.el can use
configuration-layer/package-usedp which is much more powerful than
just configuration-layer/layer-usedp.

Also merging into one file the layer variable and the list of packages
make sense (in this case config.el).

It also means that we can quickly load all the packages declared in
all layer for helm and ivy sources by just loading the config.el file.

Expect some regressions introduced by this change, like the helm
and ivy sources, they will be fixed in other commits.
2016-05-27 00:32:05 -04:00
sooheon
ec3ea5b41e Move custom-set-faces out of company config
Keep it in a recommendation in the README for the layer. Eval'ing the
custom-set-faces directly in the config makes it difficult to revert the
customizations.
2016-05-27 00:32:05 -04:00
sooheon
15e6290151 Make check for company-mode explicit, not implicit
People may have company-mode installed without necessarily using the
auto-completion layer.
2016-05-27 00:32:05 -04:00
sooheon
0a85d04892 Check for flycheck, not syntax-checking layer
This allows loading even when someone uses flycheck in their personal
layer.
2016-05-27 00:32:05 -04:00
syl20bnr
818afdfc71 Update diminish-hook to make it work with emacs daemon
And move the function to funcs.el
2016-05-27 00:32:05 -04:00
sooheon
671a4d21b7 Workaround for diminish without spaceline
@justbur's workaround, addresses #5194.
https://github.com/syl20bnr/spacemacs/issues/5194#issuecomment-189389164
2016-05-27 00:32:05 -04:00
Diego Alvarez
9cb0c1e109 Use new command to generate config
Old command doesn't exist anymore
2016-05-27 00:32:05 -04:00
syl20bnr
519d42e7c6 ivy: remove pcre2el from package list 2016-05-27 00:32:05 -04:00
sooheon
cd848d7e28 We don't need to declare pcre2el in ivy 2016-05-27 00:32:05 -04:00
syl20bnr
7945d39208 Move cate to 998 index and add support for `cate' value
Also removes some empty lines in the banner.
2016-05-27 00:32:05 -04:00
alex
77cb2237a5 Add a banner for my cute cate nemad momo 2016-05-27 00:32:05 -04:00
syl20bnr
dbf82d3136 common-lisp: move helm specific stuff to post-init function
Also move defined functions to funcs.el
2016-05-27 00:32:05 -04:00
kr5x
5eba263448 common-lisp: add helm for choose lisp implementation 2016-05-27 00:32:05 -04:00
MadAnd
87f5d89d3e FAQ.org: fix text 2016-05-27 00:32:05 -04:00
Diego Berrocal
0749c61add Add emojis to the Issue Template 2016-05-27 00:32:05 -04:00
Eivind Fonn
ac104d2739 Move helm setq out of with-eval-after-load 2016-05-23 12:59:11 +02:00
syl20bnr
e4b7536510 Remove smooth scrolling from packages list 2016-05-22 10:00:57 -04:00
Allen Li
a9c95142b9 Remove smooth scroll margin
User changing the scroll margin should handle these cases themselves.
2016-05-22 09:58:40 -04:00
syl20bnr
fd756a124e New layer nlinum + revert default support for linum
To use nlinum + nlinum-relative add the nlinum layer

Note: there are still work to do on nlinum-relative, at some point we
may replace linum by nlinum completely.
2016-05-20 23:57:32 -04:00
syl20bnr
e06929ddaf Replace smooth-scrolling package by a native alternative
My tests show that scroll-conservatively does the job, need your
feedback on this.

See https://github.com/syl20bnr/spacemacs/issues/6097
2016-05-20 23:36:13 -04:00
syl20bnr
46b880668c Fix neotree key bindings 2016-05-20 17:00:27 -04:00
syl20bnr
da55a898ee Fix diminish for hi-lock mode 2016-05-20 09:03:00 -04:00
syl20bnr
0b84b1be66 Fix errors with last revert and move neotree funcs 2016-05-19 20:22:07 -04:00
syl20bnr
ee1d7d4bfa Revert "New layer spacemacs-projects containing projectile and neotree"
This reverts commit 3f22eeaa03.

Projectile is used in various places and can be considered a base
package.
2016-05-19 20:22:07 -04:00
syl20bnr
156cead380 Revert "Experimenting with 0.2 delay to redraw relative line number"
This reverts commit 8fd78b06f3.
2016-05-19 14:33:36 -04:00
syl20bnr
8fd78b06f3 Experimenting with 0.2 delay to redraw relative line number
0.2 is the same delay for additional UI improvements like matching
parens and highlighting.
2016-05-19 13:46:06 -04:00
syl20bnr
463e477fd1 Revert "scroll transient state: invert up and down"
This reverts commit c9f7fc097e.

Motivation: prefer to match the behavior of `[`, `]`, `{`, `}` etc...
instead of `j` and `k`.
2016-05-17 11:00:50 -04:00
syl20bnr
3aa77e45d2 deft: move setq to :init 2016-05-17 00:19:38 -04:00
Andrew Schwartzmeyer
9cd73d61f7 deft: Fix create new file with filter text
The binding of `SPC m n` calls `deft-new-file`, which only uses the
filter text `(when deft-use-filter-string-for-filename)`, which is set
to nil originally. So we need to make it true.
2016-05-17 00:18:22 -04:00
syl20bnr
27a665e616 Move nlinum-relative to spacemacs-evil layer
Make more sense in this layer since it is used mainly by Vim style users
2016-05-17 00:05:14 -04:00
codefalling
fa4eeb49f0 Replace linum by nlinum and nlinum-relative 2016-05-17 00:02:41 -04:00
Boris
b4b4491019 fix link in spell-checking readme file 2016-05-16 23:58:29 -04:00
km
c61205a657 Add prefixes for the Org layer bindings 2016-05-16 23:58:07 -04:00
km
9c4bf48d3e Add prefixes to the OCaml bindings 2016-05-16 23:57:47 -04:00
syl20bnr
9b3f5cac05 ocaml: add doc for SPC m = 2016-05-16 23:57:15 -04:00