Commit graph

3049 commits

Author SHA1 Message Date
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
bmag f221d7ed73 helm-bookmarks: don't change keys to early
helm-bookmark-map might not be available yet when helm-mode is enabled, so don't
change bindings until it is available. (fixes a void-variable error)
2017-09-07 13:49:55 +03:00
syl20bnr 6d73df7036 Fix SPC w = (balance windows) 2017-09-05 11:01:39 -04:00
syl20bnr 79a5687d1b Fix evil-snipe
Must always enable explicitly evil-snipe-mode even when evil-snipe-override-mode
is enabled.
2017-09-05 11:01:39 -04:00
Benjamin Reynolds 6bc940fe7c Fix last remaining link that uses relative style 2017-08-31 00:25:24 +03:00
JAremko 8a95d3bb92
Fix nix-mode.el URL 2017-08-31 00:23:34 +03:00
CeleritasCelery e32acfbf3b Fixed feature header 2017-08-29 20:00:44 +03:00