Commit graph

628 commits

Author SHA1 Message Date
Laverne Schrock
35024b150d Correct docs on loading of packages without layer
This commit clarifies where to find the
=dotspacemacs-additional-packages= variable. It also improves upon the
code example.
2016-07-05 00:23:16 -04:00
syl20bnr
d858725360 Fix doc typo and tweak source code pro doc 2016-07-05 00:23:16 -04:00
d12frosted
5b9e84ea72 improve font documentation
- make it clear that setting dotspacemacs-default-font has no effect in
  terminal
- make it clear that it's user responsibility to install Source Code Pro
  font
2016-07-05 00:23:16 -04:00
JAremko
e3c86859b3 refactor space-doc, add to the FAQ. 2016-07-05 00:23:16 -04:00
Eivind Fonn
6609cbe85f Evilify indent-rigidly 2016-07-05 00:23:16 -04:00
syl20bnr
b30c393b8d Refactor SPC w and SPC b regarding deletion
The motivation is to clean redundent actions and bring more consistency
between `SPC b` and `SPC w` by:
- using capital letters for ace-window actions
- reusing the same letters between window and buffer when possible
- adding support for universal prefix argument to delete both window
and buffer

Details of changes:

Buffer

- `SPC b k` has been removed since the functionality is
available directly in Helm by selecting the kill buffer action

- `SPC b m` (buffer move) has been removed because the functionality
is available via `SPC w` with `SPC w h/j/k/l`, `SPC w H/J/K/L` and
`SPC w M` (see window section for the new `SPC w M`).

- `SPC b K` (kill other buffers) is now `SPC b m` to map with `SPC w m`
(kill other window or maximize). Using the universal prefix argument
`SPC u SPC b m` will also kill the windows.

- `SPC b C-k` (kill buffer matching regexp) is now simply on `SPC b k`.

- `SPC b D` now kills a buffer using ace-window.

- `SPC b d` and `SPC b D` now accept an universal prefix argument to
also delete the window. So `SPC u SPC b d` and `SPC u SPC b D` delete
the buffer and the window.

Window

- `SPC w M` now swap the window using ace-window.

- old `SPC w M` (center window) is now on `SPC w c` and `SPC w C` uses
ace-window.

- `SPC w SPC` (select window) is now on `SPC w W` since it uses
ace-window.

- `SPC w d` and `SPC w D` now accepts an universal prefix argument to
delete the window and the buffer.
2016-06-26 00:05:55 -04:00
Jonas Benn
878c45abf9
Add kill-buffer-and-window keybinding
`kill-buffer-and-window` is now bound to `SPC b D` and the keybinding
is documented.
2016-06-25 09:06:40 +03:00
MadAnd
7733146a33 DOCUMENTATION.org: fix indent text object docs 2016-06-23 22:34:56 -04:00
syl20bnr
829f00a824 Add more info for fish shell and ansi-term 2016-06-22 23:28:41 -04:00
Eivind Fonn
2f51da332a Update indent textobjects documentation 2016-06-22 18:37:28 +02:00
d12frosted
6d5bca70c9
don't ask users to spaceline-compile 2016-06-21 09:43:57 +03:00
Eivind Fonn
92b48eadea 💣 Drop support for Emacs 24.3
Spacemacs now needs at least 24.4 to launch.
2016-06-20 22:05:56 -04:00
syl20bnr
117dcba0ed Revert "Drop support for Emacs 24.3"
This reverts commit 31bab70397 making
a new commit to put TheBB as the author.
2016-06-20 22:05:12 -04:00
syl20bnr
31bab70397 💣 Drop support for Emacs 24.3
Spacemacs now needs at least 24.4 to launch.
2016-06-20 21:55:36 -04:00
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
ralesi
704732fc84 Reimplement #5339 by justbur to add :packages keyword. 2016-06-19 22:07:44 -04:00
Eivind Fonn
c24553dee2 Update documentation 2016-06-18 19:21:27 -04:00
d12frosted
52202cc927
fix double equals sign in FAQ 2016-06-17 09:28:09 +03:00
syl20bnr
ad72dab624 Move pcre2el key bindings to SPC x r prefix
Also document it.
Move everything to spacemacs-base since the new prefix is not as invasive
2016-06-13 00:01:25 -04:00
Robert O'Connor
f4fcd93b2f 2000th fork 🔱 by @Gameguykiler
😹 🍰 👏 🔥 ❤️  🎉 🚀 :octocat:
2016-06-12 23:02:15 -04:00
Brett Cannon
9b4586837f Fix a minor grammatical mistake 2016-06-12 21:45:48 -04:00
Albin Ludvig Otterhäll
9e3f75a36f Remove references to Solarized themes
Solarized themes has been removed from the default distribution of
Spacemacs.
2016-06-12 21:12:34 -04:00
syl20bnr
dc822d5b9e space-doc: disable line numbers and resized images
Resize images to 600 pixel width (exclude README.org for now)
Disable line numbers.
2016-06-10 15:50:45 -04:00
syl20bnr
f23ecf0b12 Rename +distribution to +distributions 2016-06-08 22:17:04 -04:00
Markus Koller
58bb7d122f spacemacs-base: Always kill buffers with SPC b d
Fixes #4929
2016-06-05 21:22:50 -04:00
Allen Li
5c1f56f636 Use defconst in LAYER documentation 2016-06-02 23:14:55 -04:00
syl20bnr
c0f19caa5a New local package spacemacs-whitespace-cleanup
Under toggle SPC t W with lighter W
2016-06-02 22:39:41 -04:00
Eivind Fonn
5a4e8a3f01 core: add toggle for whitespace cleanup 2016-06-02 21:02:30 -04:00
syl20bnr
29bae4026a Improve lighter consistency of toggles
Make global and local whitespace mode lighters identical
Add a lighter for fill column indicator
2016-06-02 20:57:15 -04:00
syl20bnr
4dead4cca7 Use use-package hooks for helm and ivy projectile setup
It allows the configuration function for projectile to be agnostic of
other packages.

Also fix wrong `SPC p s` key binding (it is `SPC p p`).
2016-05-31 23:19:54 -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
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
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
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
380be09700 Fix wrong documentation introduced by previous commit. 2016-05-27 07:58:37 -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
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
MadAnd
87f5d89d3e FAQ.org: fix text 2016-05-27 00:32:05 -04:00
Eivind Fonn
84fc47a106 Update powerline separator documentation 2016-05-11 09:57:49 +02:00
Eivind Fonn
9502ed1f86 Add FAQ entry about font settings 2016-05-05 15:13:30 +02:00
Li Xinyang
22a47a5e97 Fix a typo 2016-05-05 12:57:13 +02:00
Eivind Fonn
7383bac3a3 SPC cd: close more compilation windows 2016-05-05 12:50:27 +02:00
Don March
4833cd4dd5 Add small, non-structural fixes to documentation 2016-04-28 15:40:51 +02:00
NJBS
746b04f7e8 Add 7000th star to achievements 2016-04-28 15:34:51 +02:00
Fabien Dubosson
4ad9c93f59 Apply fill-paragraph after previous commit 2016-04-28 15:30:54 +02:00
Bar
940941b96e Clarify search-replace tool dependecy
Make it clearer that search-replace via helm-ag requires ag, pt, or ack.
2016-04-28 15:28:38 +02:00
tj@data-driven.de
65faafd766 Improve dotdirectory section of QUICK_START.org. 2016-04-21 20:58:53 -04:00
syl20bnr
edfc5dea98 Remove some empty lines in doc 2016-04-17 00:37:47 -04:00
Muneeb Shaikh
32f9b809ed core: update report-issue docs and docstring
* core/core-spacemacs.el (spacemacs/report-issue): update docstring
* doc/DOCUMENTATION.org (Reporting Issue table): reword key description
  to keep table width small

Fix #5155
2016-04-17 00:37:47 -04:00
Joe Hillenbrand
af6f3d0d87 Bind SPC p T to projectile-test-project
The purpose of `projectile-find-test-file` is not obvious
and it is not applicable to all languages.

Actually running the tests seems like a more useful and intuitive binding.
2016-04-17 00:37:47 -04:00