Commit graph

664 commits

Author SHA1 Message Date
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
syl20bnr
c8682b5b86 Add new achievements
New section Special Mentions, first mentions attributed to:
StreakyCobra
justbur
CestDiego
JAremko

Rename Special section to Special Titles

Give The Librarian special title to JAremko
2016-04-12 23:53:18 -04:00
syl20bnr
07852abad5 Format documenation files with doc-fmt tool 2016-04-12 23:31:38 -04:00
JAremko
4cff5d12b8 Change headline "How do I..." -> "How do I:"
It's a more common form. Also it simplifies removal of
trailing ",", ";", "." from org headlines.
2016-04-12 23:19:07 -04:00
Eivind Fonn
2034195771 Remove some mentions of extensions 2016-04-11 14:53:28 +02:00
Xiao Hanyu
a797194d63 Fix typo in FAQ.org 2016-04-07 22:58:53 -04:00
Xiao Hanyu
aa1129eee0 Fix url links in VIMUSERS.org 2016-04-07 22:58:18 -04:00
Kevin Suen
c964644e64 Clarified surround command documentation 2016-04-07 22:15:09 -04:00
Robert Johnson
16e1be2691 Fix inconsistent notation of SPC key in docs
Replace all occurrences of <SPC> in org files with SPC.

Fixes syl20bnr/spacemacs#1823
2016-04-05 12:46:10 +02:00
Fabien Dubosson
d6202d3f33 Reorder projectile-replace-regexp alphabetically 2016-04-05 12:38:43 +02:00
d12frosted
5212e5539e add key binding for projectile-replace-regexp
Following https://github.com/bbatsov/projectile/pull/977
2016-04-05 12:37:53 +02:00
Fabien Dubosson
5e4c12c117 Justify a paragraph in the FAQ 2016-04-05 12:28:14 +02:00
Teo Stocco
dae39145a4 Add ansi-term information to FAQ 2016-04-05 12:28:14 +02:00
Muneeb Shaikh
25abc07359 hybrid: evilify supporting buffer as default
Fix #5645
2016-04-04 22:24:37 -04:00
syl20bnr
ac5a68e236 FAQ: move up some items in the list 2016-04-01 09:19:38 -04:00
Eivind Fonn
5fe895dd99 Add FAQ entry about HTTPS 2016-04-01 15:03:12 +02:00
person808
4010c63276 Change theme search keybinding to SPC T s.
Unify the bindings of spacemacs-helm and spacemacs-ivy. The new mnemonic
for both ivy and helm is `Themes/select`.
2016-04-01 00:26:20 -04:00
syl20bnr
3b0c1fd93d Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00
Immortalin
95ca114ee6 Added FAQ entry for remapping paste key 2016-03-30 18:51:34 -04:00
syl20bnr
828ae8113d Replace enforce-column layer by a toggle on SPC t 8 2016-03-21 21:18:36 -04:00
syl20bnr
f48b251968 Delete SPC j b and move SPC j u to SPC j b
By convention, jump back should be on `b`, not `u`
Since `SPC j u` is free, move as well `SPC j U` to `SPC j u`.

`SPC j b` for bookmark jump is already available under `SPC f b`
2016-03-21 20:02:56 -04:00
syl20bnr
f801ceebe7 Doc: transient-state => transient state 2016-03-20 22:08:49 -04:00
syl20bnr
eaddd19e71 Update layouts and workspaces documentation 2016-03-20 22:00:45 -04:00
syl20bnr
944960daf8 Move eyebrowse to spacemacs-layouts layer and add documentation
Add toggle capability with ? for workspaces transient state
Remove the variable eyebrowse-display-help
2016-03-20 21:48:06 -04:00
Sylvain Benner
bc31eb4878 FAQ windows: Add GDIPP as an alternative for MacType 2016-03-18 17:03:30 -04:00
syl20bnr
4f07ff2030 First pass to update DOCUMENTATION.org 2016-03-17 22:03:19 -04:00
syl20bnr
5585a40db1 doc: update editing style documentation 2016-03-17 20:38:23 -04:00
syl20bnr
d52eb414bb Remove dotspacemacs-use-ido
Users should now bind ido commands themselves.
2016-03-10 23:13:19 -05:00
syl20bnr
b97b61c01c Add documentation for C-c C-e in helm-find-files 2016-03-10 23:13:19 -05:00
syl20bnr
0ca738989e Update, simplify and add smooth scrolling toggle on SPC t v 2016-03-02 09:13:09 -05:00
Johan K. Jensen
be2c471397 Fix inline code blocks
Add zero-width space because emphasis blocks can't start/end with
a comma, an apostrophe or a quote.
2016-03-01 18:51:13 +01:00
Eivind Fonn
2442431d92 Further improve helm-descbinds documentation 2016-02-25 20:33:05 +01:00
Th. Rikl
4c2d5b9d7e Explain helm-descbind prompt more detailed 2016-02-25 20:32:36 +01:00
Eivind Fonn
6355c7dd73 Add FAQ about lockfiles 2016-02-23 10:36:25 +01:00
strout
1577f25361 Fix typo 2016-02-19 23:52:59 -05:00
syl20bnr
835aa53435 Add uuidgen package to generate... UUIDs 2016-02-17 16:11:39 -05:00
Muneeb Shaikh
f8484fa8aa achievement: 6k star 2016-02-16 23:03:31 -05:00
justbur
aab007d225 evil-jumper: Remove obsolete package
The functionality is now incorporated into the evil core and this
package has been marked as obsolete.
2016-02-16 21:23:07 -05:00
adrsta
feefea4b18 Update align function documentation 2016-02-14 23:39:37 -05:00
syl20bnr
5ac51287cd Replace close words by delete in documentation 2016-02-14 23:11:52 -05:00
Robert O'Connor
4348c17433 Switch “bc”->“bd” and “wc”->“wd”
Also:
- switch spacemacs layouts to the same.
- Add “wD” for ace-delete-window
- switch window dedication toggle to “wt”
- all documentation has been updated to reflect these changes

Closes #5031
2016-02-14 23:09:45 -05:00
Fabien Dubosson
06cb27e1dc [doc] Fix some additional SPC : to SPC SPC 2016-02-07 14:39:54 +01:00
Christoph Hegemann
ce4ad5161e Update FAQ.org
To match new dotfiles-emacs-command-key default of SPC
2016-02-07 14:33:44 +01:00
Fran Casas
c3ef15faee Add more doc to the underscores word motion. 2016-02-07 14:30:55 +01:00
Fabien Dubosson
6903524ec4 [Doc] Fix possible misunderstanding of "root"
"root" usually refer to `/` on linux. Use "project's root" to avoid
misunderstanding.
2016-02-02 16:45:29 +01:00
Eivind Fonn
8d60b15ccf Move projectile-shell-pop to shell layer 2016-02-02 16:42:58 +01:00
Fabien Dubosson
010444cdc7 Add projectile-shell-pop and bind it to SPC p '
This allows to open a shell at project's root
2016-02-02 16:36:39 +01:00
Fabien Dubosson
8c8da65b25 Add FAQ entry about helm-ag file extension filter
Fix #3282
2016-02-01 19:08:11 +01:00
Fabien Dubosson
ff2b87d7ba Add FAQ entry about X11 mouse support in terminals
Fix #4028
2016-02-01 18:42:20 +01:00
Eivind Fonn
b3b0ecb399 Make buffer and window close bindings consistent 2016-01-31 23:43:23 -05:00
syl20bnr
39d044dcb4 Move unimpaired contribution to spacemacs-evil
And document it.
2016-01-31 23:04:48 -05:00
Fabien Dubosson
324c2fa8d8 Add link-hint package
Use link-hint package. Bind it to `SPC x o` and `SPC x O`.
2016-01-31 23:04:47 -05:00
Balaji Sivaraman
e19abfc559 Fix/delete dead references to HOWTOs.org file 2016-01-31 23:04:47 -05:00
Balaji Sivaraman
2b1ed603dc Change all references of micro-state in codebase to transient-state 2016-01-31 23:04:47 -05:00
syl20bnr
09af60594c LAYERS.org: update layer files section 2016-01-31 22:27:40 -05:00
Robert O'Connor
63e15998f8 Update layers tutorial with new layer structure 2016-01-31 22:22:33 -05:00
syl20bnr
564c98e1bc Typo: at point --> around point 2016-01-31 20:32:02 -05:00
Fabien Dubosson
42bc71dcac Add helm-projectile-find-file-dwim
Complete #4144 in supporting `spacemacs-helm`
2016-01-31 22:12:49 +01:00
Tu Do
03ec0cb4bb [#4137] Give useful Projectile commands key bindings
helm-projectile-find-file-dwim is equivalent to find-file-at-point,
but operate in project scope and does not require full path.
2016-01-31 21:48:52 +01:00
Xue Fuqiao
4958f7fc10 Fix "the point" problems
Point is a proper name when it refers to the current editing location.
Moreover, point designates a place *between* two characters (or before the first
character, or after the last character), rather than a particular character.

References:

* http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00414.html
* https://www.gnu.org/software/emacs/manual/html_node/elisp/Point.html#index-point
2016-01-31 21:48:52 +01:00
Rastus Vernon
bdc719876a Change 'SPC f e h' to 'SPC h SPC'
The 'SPC f e h' binding is deprecated, therefore the documentation
should refer to 'SPC h SPC' instead.
2016-01-31 21:42:07 +01:00
Fabien Dubosson
92a689a499 [FAQ.org] Make BEGIN_ blocks uniform 2016-01-31 21:42:07 +01:00
Fabien Dubosson
125a553dae [FAQ.org] Justify paragraphs 2016-01-31 21:42:03 +01:00
Balaji Sivaraman
4cf6a88ff8 Add How-to for running Spacemacs w/o modifying existing config 2016-01-31 20:33:21 +01:00
syl20bnr
a000a03349 Move report error to SPC h I
h for help and I for issue
2016-01-26 01:21:02 -05:00