Commit graph

3255 commits

Author SHA1 Message Date
syl20bnr
eee2b4b89c python: document pippel and set key binding to SPC m P 2018-01-05 22:15:50 -05:00
James Wang
0a4f257da0 Add pippel for python package management 2018-01-05 21:54:41 -05:00
Christoph Paulik
17d350b585 Python: Fix pyenv-executable-find in presence of pyenv-which-ext. 2018-01-05 21:48:04 -05:00
Shane Pearlman
2f2ed06b0e Use python-mode for SCons script files 2018-01-05 21:46:52 -05:00
syl20bnr
302d272ae3 python: sort key bindings in doc and package config 2018-01-05 21:45:57 -05:00
Volodymyr Vitvitskyi
b63039a6a4 Support importmagic in the Python layer
Problem
-------
If the symbol is not resolved due to a missing import there is no automatic way
in the Python layer to import it.

Solution
--------
Use 'importmagic' package.

Pressing `SPC m r f` at point that requires an import will suggest a list of
possible options.
2018-01-05 21:44:11 -05:00
syl20bnr
6a345b86a0 python: document python-save-before-test 2018-01-05 21:41:26 -05:00
Benoit Coste
3f01fd5fed Add defvar python-save-before-test
If true, buffer is automatically saved when calling
python-test-* functions
2018-01-05 21:38:28 -05:00
lostmarble
572820e618 Update funcs.el
fix python/:init: Invalid version syntax: '5.1.0^M' bug, for "ipython --version" will return '5.1.0\r\n' on windows with Anaconda3
2018-01-05 21:37:08 -05:00
Muneeb Shaikh
ef36bdfb06 python: update anaconda-mode view mode variable names
Fix #10047
2018-01-05 21:37:03 -05:00
Muneeb Shaikh
3289e0d114 python: update invalid cython mode keybindings 2018-01-05 21:35:58 -05:00
syl20bnr
3b24f451f8 emacs-lisp: add dotspacemacs alias for nameless 2018-01-04 02:13:22 -05:00
syl20bnr
326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
syl20bnr
5700fc5b0a Fix typos in doc for safe structural editing 2018-01-04 01:55:54 -05:00
syl20bnr
f142ea6a32 org: hide lighter for evil-org
It is not conventional and missleading.
2018-01-04 01:40:52 -05:00
syl20bnr
2cb98447af Move evil-cleverparens to spacemacs-evil with major mode toggle
Delete layer evil-cleverparens and move the package to spacemacs-evil layer.

The feature is called "Safe structurral editing" for lisp dialects. Support for
it is added via pre-init functions in each of the concerned layer and proper
documentation is added to their README.org files.

This also removes the recently added package evil-smartparens. The goal is
to choose the best package for evil safe structural editing. For now we use
evil-cleverparens as we supported it first, if evil-smartparens is shown to be
a better package we will be able to switch to it.
2018-01-04 01:40:52 -05:00
syl20bnr
8bc9060af8 javascript: change key binding for repl live eval toggle
To respect convention move the key binding under `SPC m T l` and change
the lighter to a plain squared `l`.
2018-01-04 01:40:52 -05:00
syl20bnr
6265c057bf emacs-lisp: change nameless key binding to respect conventions
Convention for major mode specific toggles is to put them under SPC m T prefix.
Used `n` instead of `>` because there is no unicode squared symbol with `>`.

Also use the new generated function to register the hooks.
2018-01-04 01:40:52 -05:00
timor
debd7a010b use evil-smartparens-mode for smartparens-strict mode
This is more dwim in the sense that the normal deleting commands now behave more
like paredit, i.e. region deletion is adjusted to always keep the pairs
balanced.
2018-01-04 01:40:52 -05:00
Sunghyun Hwang
1de9bde5f7 Add note about helm-spotify specific key bindings 2018-01-04 01:40:52 -05:00
Josh Santos
a18eab6026 Add Troubleshooting section 2018-01-04 01:40:52 -05:00
JAremko
020eee4501
Update Docker distro 2017-12-31 18:04:09 +02:00
JAremko
c47d88a098 Format docs 2017-12-31 02:41:22 +02:00
smile13241324
b4d663dcb5 Fix doc for cscope, geolocation, wakatime, prodigy and smex layer 2017-12-27 20:20:32 +02:00
Gunnar Bastkowski
857f6304c7 Add keybinding to align by percent 2017-12-23 10:54:01 -05:00
Guido Kraemer
502a62a640 start julia repl with spacemacs/ess-start-repl 2017-12-23 17:46:02 +02:00
bmag
88a952fb33 ess: declare prefixes in loop 2017-12-23 17:46:02 +02:00
Guido Kraemer
99d575b9c8 fix julia keybindings and nice prefixes 2017-12-23 17:36:31 +02:00
Leonard Lausen
e26e9c0eae Fix org-projectile capture-template keyword argument
Introduced by
d57062569e
Unfortunately that commit prevents specifying &additional-options, which should
be fixed by https://github.com/IvanMalison/org-projectile/pull/35
2017-12-23 17:27:29 +02:00
Fredrik Bergstrand
5ec172d7bd c-c++: Improve the header include auto completion
This change makes the c-c++ layer configure company-c-headers to search for and
list completion alternatives according to the priority list found in 'man gcc'.
If supported, the default system include paths are also fetched from gcc's
configuration instead of being hard coded to "/usr/include" and
"/usr/local/include". This also remedies the problem where the C++ standard
library headers does not show up as completion alternatives without manual
addition of include paths (see #4493, #8655).
2017-12-19 00:31:43 -05:00
Dela Anthonio
01ddc98cef c-c++: Add clang-format functions and key bindings
Solve part of #7628. Additionally, #7629 is no longer needed.

Add support for formatting lines, functions, and buffers with clang-format. Each
function produces a clear message on success.

The README was updated to reflect the usage of the new key bindings. References
to binding clang-format to the tab key were removed.
2017-12-19 00:25:20 -05:00
Evan Klitzke
77ee302f16 enable c++11 mode in company-clang-arguments if c-c++-enable-c++11 is not nil 2017-12-19 00:23:43 -05:00
Evan Klitzke
16fd3e85a4 add an option to use google-c-style 2017-12-19 00:20:00 -05:00
Nir Friedman
f3dbeec5dc Add manual semantic completion function for company to ycmd layer 2017-12-19 00:14:01 -05:00
Nir Friedman
2ce1e367c0 Remove ycmd warning for unset var; always fires 2017-12-19 00:09:02 -05:00
Nir Friedman
589d341d67 Add manual completion function to ycmd layer 2017-12-19 00:02:50 -05:00
Alexander Dalshov
24827b6f08 c-c++ add option to control cmake-ide package 2017-12-18 23:51:28 -05:00
Richard Kim
7bab83c09e fixed a typo by moving one closing parenthesis 2017-12-18 23:49:13 -05:00
syl20bnr
2ed3946d7b emacs-lisp: improve nameless configuration
- Change nameless prefix to > instead of default :
- Change toggle to SPC m >
- Set nameless separator to nil in order to make it work with any type or separator
- Add diminish unicode ⧁
- Define some default global aliases for Spacemacs source code
- Rename layer variable emacs-lisp-nameless-mode to emacs-lisp-hide-namespace-prefix
- Make variable nameless-current-name safe as a local variable for string values
- Set nameless prefix for core-configuration-layer.el
2017-12-17 23:30:24 -05:00
AdrieanKhisbe
71f8919ebf fix typo and use a layer variable for auto nameless-mode 2017-12-17 22:17:05 -05:00
Adriean Khisbe
48b0484348 add documentation for Nameless and Overseer bindings 2017-12-17 22:16:49 -05:00
Adriean Khisbe
3dc09cfc4d hide automatic nameless behind a nameless-auto-mode switch 2017-12-17 22:16:32 -05:00
AdrieanKhisbe
2d40793804 setup nameless package (replacing package prefix with :) 2017-12-17 22:16:08 -05:00
AdrieanKhisbe
ad5ac65263 add overseer (ert test runner) to emacs layer, bindings with prefix 2017-12-17 22:15:33 -05:00
AdrieanKhisbe
295b4752ca identify Cask files as emacs-lisp-ones 2017-12-17 22:15:04 -05:00
syl20bnr
0bae94fe4d go: sort key bindings in README.org 2017-12-17 22:12:44 -05:00
brantou
d9065de1cb Add go-tag to go-layer 2017-12-17 22:10:24 -05:00
Robbert van der Helm
c61ae1a1c1 Add ivy support to the gtags layer
It would be much better to have a single function for each layer that
initializes ggtags, helm-gtags and counsel-gtags for a mode.
2017-12-17 22:03:01 -05:00
Dominik Schrempf
591ca203a7 ggtags diminish plus toggle 2017-12-17 21:59:23 -05:00
bfay
5bb9dc1320 fix cider-inspector-prev-page binding, also add 'p' as another key binding 2017-12-17 21:54:50 -05:00
Ag Ibragimov
2be8400975 Improves jump-to-definition for Clojure modes 2017-12-17 21:53:59 -05:00
syl20bnr
19b42377bb clojure: document clojure-cheatsheet in README.org 2017-12-17 19:51:13 -05:00
Michael van der Nest
e3e94b8568 Added clojure-cheatsheet to clojure documentation.
see https://github.com/clojure-emacs/clojure-cheatsheet
2017-12-17 19:43:59 -05:00
Miciah Masters
27699fc678 Delete rcirc-reconnect in favor of built-in cmd
Fix issue #9981: rcirc /reconnect command reverts to default port.

rcirc has included a built-in /reconnect command since Emacs 25.1, which
makes the rcirc-reconnect package shipped with the Spacemacs rcirc layer
superfluous.

Modify the rcirc layer's initialization not to load rcirc-reconnect, and
delete rcirc-reconnect from the layer's local packages.
2017-12-17 19:43:10 -05:00
duianto
7085826c08 Update renamed helm split window variable
The `helm-split-window-in-side-p` variable has been renamed to:
`helm-split-window-inside-p` here: 8b5df59a14

This caused the following variable `helm-always-two-windows` to become enabled.
2017-12-17 19:42:06 -05:00
Francesc Elies Henar
fea2b1e037 add notmuch layer
This patch adds a notmuch[1] layer to Spacemacs!

notmuch is a mail indexing system written in C. It provides an emacs
interface, and this patch adds Spacemacs support for this interface.

Thanks to @FrancescElies for starting this work, and working with me to
get it finished. We have been using the layer for awhile now and are
happy with the initial release!

Closes #2163

[1] https://notmuchmail.org/

Tested-by: Francesc Elies <elies@posteo.net>
Tested-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>
2017-12-17 19:35:05 -05:00
syl20bnr
b5f32bbded kotlin: fix typos 2017-12-17 19:10:06 -05:00
Shanavas M
9bdb6dce30 Add kotlin layer 2017-12-17 18:59:20 -05:00
Alexander Kjeldaas
adfccb147b Added gradle instructions. 2017-12-17 18:58:17 -05:00
syl20bnr
4c7bd2fde1 java: make java layer depend on groovy layer 2017-12-17 18:45:46 -05:00
syl20bnr
17fc89f9e7 java: improve maven and gradle support (also for groovy)
Add new packages `mvn` and `maven-test-mode`.
Move `gradle-mode` configuration from groovy layer to java layer
New prefix commands `SPC m m` for maven and `SPC m l` for gradle.
Make maven and gradle commands available in java-mode.
Update documentation.
2017-12-17 18:45:46 -05:00
Johnson Denen
a8340a0262 Add Gradle support to the Groovy layer 2017-12-17 15:29:11 -05:00
Jeremy Symon
009613ac8c Fix elfeed selection bindings in visual state
Some elfeed commands can operate on a number of entries, based on the active
selection. When selecting entries with evil (visual state), the bindings for
these commands are shadowed by visual state bindings, and can't be accessed.

To fix this, the affected elfeed bindings are explicitly defined for visual
state.
2017-12-17 15:27:55 -05:00
Joao Azevedo
d947556406 Add ENSIME jump handlers to the proper modes
Move scala handler to scala layer
2017-12-17 15:24:47 -05:00
duianto
d1b699fceb Clear both / and C-s search highlights with :noh
Clear both `/` and `C-s` search highlights with `:noh` and `:nohlsearch`,
and group the clear highlight commands next to each other.
2017-12-17 15:19:26 -05:00
smile13241324
a9e57f6c83 Fix documentation for sphinx, confluence, helm and ivy layer 2017-12-16 14:20:41 +02:00
smile13241324
00925c8206 Fix documentation for selectric, imenu-list and vimscript layers 2017-12-14 11:51:20 +02:00
smile13241324
1df1a06d5b Fix documentation for java, major-modes and purescript layer 2017-12-03 17:55:27 +02:00
smile13241324
af501dc25a Fix documentation for speed-reading, restclient and pandoc layer 2017-12-03 17:55:12 +02:00
Alexander Miller
6c77ed57a5 core: make it possible to define an evil state face without an evil cursor.
treemacs: do not define an evil cursor for treemacs.
2017-12-01 19:27:48 +02:00
Tony Lotts
4c4a1a4e13 Improvements to Haskell REPL bindings.
- Consistent REPL switch to/back bindings (Swap ", s S" and ", s s").
- Switch back to buffer from Intero REPL.
2017-12-01 19:05:48 +02:00
Kristoffer Haugsbakk
d475a1ba6f theming: add “Features:” section
Add “Features:” section with bullet points based on reading the rest of
the readme.

See: #9476
2017-11-20 04:16:09 +02:00
Kristoffer Haugsbakk
2cb3bd6e74 mu4e: add “Features:” section
This is based on the description on [mu4e’s homepage], accessed
2017-11-03.

[mu4e’s homepage]: <http://www.djcbsoftware.nl/code/mu/mu4e.html>

See: #9476
2017-11-20 04:15:55 +02:00
Kristoffer Haugsbakk
8d3dadeae7 mu4e: add “Description” section
See: #9476
2017-11-20 04:15:41 +02:00
Kristoffer Haugsbakk
10ba562350 typography: add “Features:” section
Add a “Features:” section by taking relevant pieces from the
“Description” supersection.

See: #9476
2017-11-20 04:15:24 +02:00
AlexandrosKotzias
cebb3b9ff2 Fix documentation issues with typescript 2017-11-19 11:38:17 +02:00
JAremko
e08400cec8 add ruby package to html layer deps installer 2017-11-19 11:35:52 +02:00
gdkrmr
6b056e50a0 improved keybindings for ess layer 2017-11-19 08:42:17 +02:00
JAremko
2ad62c7233 fix html layer deps installer 2017-11-19 06:29:10 +02:00
syl20bnr
8a5771559e core: change scope of elpa stable variables
make them public when they are used outside of core-configuration-layer.el
make them private when they are used only on this file.
2017-11-01 23:23:34 -04:00
syl20bnr
0aee37fbc9 Fix h key binding in compilation and grep buffers
Fixes #9780
2017-10-31 00:17:48 -04:00
syl20bnr
7717436c7e Fix neotree and treemacs window number allocation
Fixes #9798
2017-10-30 23:37:40 -04:00
bmag
cc1970ce44 move layouts: minor refactor 2017-10-21 16:12:41 +03:00
Linus Pettersson
cb8b577fe1 Add functionality to move layouts in layout list 2017-10-21 16:04:13 +03:00
duianto
d4016dbb04 Change Frame delete bindings from c/C to d/D
The Frame delete bindings SPC F c and C, are inconsistent with the delete window
and buffer bindings, that use: d and D

Changed the dired-other-frame binding from d to O
2017-10-21 15:40:44 +03:00
duianto
5883d085d8 Update themes transient state, t for helm-themes
Add the key binding: t
to open helm-themes, without having to use the arrow up key.

Reorder/rename: cycles backward and cycles forward
to: next and previous

Next is listed first, because it's the most common action, and it matches the
order in other transient states.

Change the t argument in the call to spacemacs/cycle-spacemacs-theme, to the
symbol 'backward, to make it clear what the argument does.

Add documentation for the Themes Transient State bindings.
2017-10-21 15:00:38 +03:00
Kalle Lindqvist
27cb845d3c Improve coffeescript support
Register REPL and add major-mode bindings.
2017-10-18 23:53:07 +02:00
CeleritasCelery
bd0b4baee0 fix org-default-notes-file precedence 2017-10-18 18:53:27 +03:00
JAremko
b0fb43dfe3
fix publish 2017-10-18 17:55:25 +03:00
JAremko
7ef6e1ab51
format docs 2017-10-18 04:25:55 +03:00
duianto
9e40acf4ad Update neotree layer, add screenshot
Add a screenshot to fix the broken link: img/neotree.png
2017-10-17 09:56:06 +03:00
bmag
a9ad9ae33c ess: add description, features to readme 2017-10-17 09:47:54 +03:00
ISELECT1\naylyn.gaffney
36f04308ab Remove ess-R-object-popup from ess layer.
As described in issue #9464, this package was removed from melpa for
not having a GPL compatible license and is causing an error every time
spacemacs starts.

Continuation of commit 8c3cf7c3ae
2017-10-17 09:47:54 +03:00
syl20bnr
bec3f8444d org: add M-RET for org-meta-return under major mode leader key
Fixes #9603
2017-10-15 12:09:32 -04:00
Joe Hillenbrand
5e63f8ca51 shell: use toggle-truncate-lines-on in README
Fix docs for "Fish shell and ansi-term" and explicitly enable `truncate-lines`.

I was using the suggested hook as well as `(setq-default truncate-lines t)`,
so my fish shell was acting funny because `truncate-lines` was being disabled 
rather than enabled.
2017-10-15 12:01:39 -04:00
syl20bnr
037d1367e7 Remove T N binding and make T n cycle and start the transient state 2017-10-15 11:37:01 -04:00
AdrieanKhisbe
9eab3bb6aa Enable backward theme cycling and add dedicated transient-state
Original Commit List
- update cycle-spacemacs-theme function to work backward with universal arg
- add a transient-state hydra to cycle through the modes
- move the transient-state definition in the +distribution spacemacs-base
- refactor using hydra syntax for expression as command
- modified cycle-theme to handle negative command argument
- add keybing for helm-themes in the transient-state
2017-10-15 11:29:21 -04:00
syl20bnr
038100d149 Change buffer transient state key bindings
b -> list buffers as in SPC b b
C-d -> burry buffer (all all b bindings are already taken)
2017-10-15 11:26:47 -04:00
AdrieanKhisbe
23fa553b4f improved buffer transient mode with extra bindings and new commands 2017-10-15 11:21:06 -04:00
smile13241324
d7995b985c Add remark for required project for "open matching file" commands 2017-10-15 11:19:52 -04:00
Jon Hermansen
00aecd4a53 Prompt user to install react-mode if a .jsx file is opened 2017-10-15 11:18:31 -04:00
syl20bnr
d8bfde8d50 perl: simplify key binsinds config and sort package config sexps 2017-10-15 11:08:01 -04:00
CeleritasCelery
3f5f8b78c8 Add Perl5 Company backend and code formatter 2017-10-15 11:08:01 -04:00
CeleritasCelery
249efa31de remove org table lighter 2017-10-15 11:08:01 -04:00
ISELECT1\naylyn.gaffney
8c3cf7c3ae Remove ess-R-object-popup from ess layer.
As described in issue #9464, this package was removed from melpa for
not having a GPL compatible license and is causing an error every time
spacemacs starts.
2017-10-15 11:08:01 -04:00
Jake Zerrer
60ad7b1a9c Add org-agenda commands to un-schedule and un-deadline tasks 2017-10-15 11:08:01 -04:00
syl20bnr
b09fe8553d org: enable org-src-tab-acts-natively 2017-10-15 11:08:01 -04:00
syl20bnr
ddcb5dc117 cfengine: configure org-babel for cfengine source blocks
Apply idiomatic way of configuring org-babel for the cfengine engine.
Remove the documentation about how to configure it since Spacemacs does it
automatically.
2017-10-15 11:08:01 -04:00
Nick Anderson
ba78fc9367 Add ob-cfengine3 to cfengine layer
This change adds the ob-cfengine3 package to the cfengine layer enabling
execution of cfengine3 SRC blocks inside of org-mode.
2017-10-15 11:08:01 -04:00
Kaushal Modi
a38a6bd4d2 Add ox-hugo
Resolves https://github.com/syl20bnr/spacemacs/issues/9663

Tested to work on a created-from-scratch spacemacs-base config created with
Emacs-style, ivy preferences.

I just added below to dotspacemacs-configuration-layers

    (org :variables
         org-enable-hugo-support t)

After this PR, C-c C-e in an Org file shows the Hugo export options.
2017-10-15 11:08:01 -04:00
wizmer
2531012319 Make nose fail compilation when tests fail
Using nose.main instead of nose.run returns the result of the tests
so the status of the *compilation* buffer can be modified accordingly
2017-10-15 11:08:01 -04:00
Alexander Miller
d820a3ed29 treemacs: Take into account that python may not be installed. 2017-10-15 11:08:01 -04:00
Alexander Miller
559367b38f treemacs: Fix typo and keybinds table and improve description in README. 2017-10-15 11:08:01 -04:00
nickclasener
53044e8005 Remove zonokai-theme theme as it is unavailable 2017-10-15 11:08:01 -04:00
Winkey Wong
5b12f52a85 Correct undo-tree buffer name in layer spacemacs-visual
There is a space in the buffer name of undo-tree. The popwin did not display right and the function `undo-tree-visualizer-quit` also seems not work well until I correct the buffer name.
2017-10-15 11:08:01 -04:00
syl20bnr
e6ef759fb0 Move SPC h U to SPC f e U to upgrade packages
SPC f e stands for Files Emacs so it makes sense to have it under this prefix.
Also there is already the reloading of the dotfile under SPC f e.
2017-10-15 11:08:01 -04:00
Codruț Constantin Gușoi
d987ded361 Adds keybinding for updating packages 2017-10-15 11:08:01 -04:00
Leon Isenberg
617c44ecc6 Fix: company-dante -> dante-company 2017-10-15 11:08:01 -04:00
Aaron Jensen
35f4c0621b Fix name of window-purpose in readme 2017-10-15 11:08:01 -04:00
Jeremie Pelletier
ffc31f3936 Add leader key prefixes for sql-mode 2017-10-15 11:08:01 -04:00
syl20bnr
7540c07c9d github: replace evilified-state-evilify by evilified-state-evilify-map 2017-10-15 11:08:01 -04:00
Jean-Sebastien A. Beaudry
71e3f1504c Add g r evilified binding to gist-list-mode 2017-10-15 11:08:01 -04:00
Saulius Menkevičius
4803da9842 prodigy: bind 'q' to quit-window in view mode 2017-10-15 11:08:01 -04:00
David Millar-Durrant
c5bba38416 added prefixes to the fsharp layer 2017-10-15 11:08:01 -04:00
Bjarke Vad
fce6bed3c9 Enable purescript-decl-scan-mode when loading purescript-mode
This should fix `SPC j i` for PureScript
2017-10-15 11:08:01 -04:00
Alexander Miller
f71fb1b245 treemacs: add spacemacs-evil-cursors entry for treemacs. 2017-10-15 17:15:27 +03:00
bmag
450da6f204 spacemacs-evil-cursors: make them easy to configure
Motivation: so layers with their own evil states (e.g. treemacs) can also
contain their own cursor configuration

Example usage: `(spacemacs/add-evil-cursor "treemacs" "RoyalBlue1" '(hbar . 0))`
2017-10-15 17:15:23 +03:00
syl20bnr
d87caa1969 neotree: fix list of feature
Also respect 80 chars max per line in treemacs feature list.
2017-10-08 18:18:23 -04:00
syl20bnr
902ceae0d3 treemacs: update README.org to be more conventional
Layer READMEs don't list the configuration of the package so this commit removes
the mentions of treemacs package readme.

Reformat the documentation of layer variables

Reformat key bindings in table

Respect 80 chars max per line.
2017-10-08 12:20:03 -04:00
syl20bnr
cf79d2207b treemacs: respect 80 chars per line 2017-10-08 12:05:43 -04:00
syl20bnr
4e6574b7f2 treemacs: add treemacs--window-number-ten to autoloads
If treemacs is not used before opening an helm buffer, it breaks helm and
emacs.
2017-10-08 12:03:21 -04:00
syl20bnr
e3afa35fbf treemacs: move to +filetree category and add can-shadow relation
Add shadow relation between neotree and treemacs
sort packages in treemacs packages.el file
2017-10-08 12:01:48 -04:00
Alexander Miller
403b246212 Add treemacs layer. 2017-10-08 11:45:49 -04:00
syl20bnr
41e91a9dcf core: move all dotspacemacs-helm-* variables to layer variables
Add support for backward compatibility via a macro instrad of defvaralias as the
latter was not sufficient to support all the use-cases.
2017-10-08 10:29:34 -04:00
syl20bnr
6e4eab6b97 Add helm to spacemacs default distribution 2017-10-08 07:52:15 -04:00
syl20bnr
67aaf51631 Move neotree to its own layer in new +filtree folder
Add neotree layer to default spacemacs distribution.
2017-10-08 07:51:43 -04:00
Benjamin Reynolds
b6474ff590 Fix various documentation errors and inconsistencies
Fixes documentation errors from issue #9476 in the following layers...

* syntax-checking
* games
* xkcd
* keyboard-layout
* racket
* osx
2017-10-05 11:15:21 +03:00
smile13241324
97537e46a7 Fix documentation for parinfer, pdf-tools, yaml, csv and salt layer 2017-10-05 11:15:02 +03:00
smile13241324
0e06bbafc4 Fix documentation for elisp, colour, ibuffer and windows-scripts 2017-10-02 03:01:54 +03:00
Ruslan Kamashev
a7e30bfcb4 Fix typo (issue #9655) 2017-09-29 12:47:35 +03:00
syl20bnr
71a0d418c4 Fix purpose error when both helm and ivy layers are not used
Delayed window-purpose related configuration by using eval-after-load and
use-package hooks.
2017-09-26 00:40:51 -04:00
syl20bnr
3bce69aba1 Fix warnings about unrecognized keys without helm or ivy layers
In perspective transient state. b and l keys in the docstring have no
corresponding functions declared whenever both helm and ivy layers are not
used.

Add two private variables to fix the issue:
- spacemacs--persp-display-buffers-func
- spacemacs--persp-display-perspectives-func

These variables are set to the correct functions by the helm and ivy layers via
a use-package hook.

Default is `ignore` function so b and l does nothing if both helm and ivy layers
are not used, TODO: we should find a better default function.
2017-09-26 00:10:00 -04:00
syl20bnr
dc58801c7d core: refactor shadow mechanism
Shadowing is now control by layer property ':can-shadow' only.
can-shadow is a commutative relation, if layer1 can shadow layer2 then layer2
can shadow layer1.
the shadow operator is a binary operator accepting two layer names, it is not
commutative and the order of the operands is determined by the order of the
layers in the dotfile (like the ownership stealing mechanism).

If ':can-shadow' is set explicity to nil in the dotfile then the layer won't
shadow any layer.
For instance to install both ivy and helm layer:

   (setq dotspacemacs-configuration-layers
   '(
     ivy
     (helm :can-shadow nil)
     )

note that due to the commutative relation the above example can also be
written (in this case, ':can-shadow' should be read ':can-be-shawdowed'):

   (setq dotspacemacs-configuration-layers
   '(
     (ivy :can-shadow nil)
     helm
     )
2017-09-25 23:07:22 -04:00
JAremko
7ff7f51e50 (docker dist) fix pdf-tools installer 2017-09-23 22:12:58 +03:00
syl20bnr
95699ee61c core: add layer shadowing system
Layers can now declare in their layers.el file that they shadow one or more
layers using the following functions:

- configuration-layer/shadow-layers
- configuration-layer/shadow-layer

Those function are commutative so:
    (configuration-layer/shadow-layer 'layer1 'layer2)
is the same as
    (configuration-layer/shadow-layer 'layer2 'layer1)
and means that
layer1 shadows layer2
and
layer2 shadows layer1

The typical use-case is helm and ivy layers. Helm shadows the ivy layer and
Ivy shadows the helm layer.

Shadowing is sensitive to the order of declaration of layers in the dotfile,
for instance:

    (setq dotspacemacs-configuration-layers '(
      helm
      ivy
     ))

means that ivy shadows helm so helm layer is effectively ignored,
whereas

    (setq dotspacemacs-configuration-layers '(
      ivy
      helm
     ))

means that helm shadows ivy so ivy layer is effectively ignored.

This mechanism can be turned off using the :can-shadow keyword:

    (setq dotspacemacs-configuration-layers '(
      ivy
      (helm :can-shadow nil)
     ))

means that both ivy and helm layers will be installed (not recommended in this
case)

Note that the `:can-shadow` mechanism will be fully implemented in a next
commit.
2017-09-21 23:56:09 -04:00
bmag
ca28bde049 purpose: disable popwin-mode at startup 2017-09-16 22:07:10 +03:00
bmag
22deb279c3 Revert "Remove obsolete purpose-conf name argument"
This reverts commit 4db4424b90 and adds an
appropriate comment.
2017-09-16 18:06:38 +03:00
Benjamin Reynolds
9341e1d751 Fix documentation issues with ruby, rails, and swift layers
See #9476
2017-09-11 22:35:46 +03:00
smile13241324
0c5f64347c Add "features" block to doc of plantuml, shell and search-engine layer 2017-09-11 22:35:31 +03:00
bmag
84751cbc53 counsel: rename git dir variable
counsel--git-grep-dir was renamed upstream to counsel--git-dir.
2017-09-10 19:54:33 +03:00