Commit graph

4301 commits

Author SHA1 Message Date
emacspace cca6bc15a8 documentation fixes:Sat Oct 13 23:09:18 UTC 2018 2018-10-13 23:09:18 +00:00
JAremko 12b4fdb1fe fix sayid url 2018-10-13 23:56:28 +03:00
Boris Buliga 0ba3fb479e
use a global key binding for helm-org-rifle
Fixes #11420
2018-10-13 19:25:35 +03:00
Stéphane Bisinger c68c526fd6
Add keybings to rename the file and organize imports in typescript 2018-10-13 19:24:32 +03:00
Boris Buliga 4929f62a70
add instructions for setting shell for multi-term
Fixes #5818
2018-10-13 19:23:14 +03:00
Matt Kramer 5f27eee072
Fix global toggles for aggressive-indent and smartparens
Previously the global toggles acted on the local instead of global mode
2018-10-13 19:22:23 +03:00
Daniel Rivas Perez b860fd760c Fixed shell popup broken on macOS
Shell popup was broken, removing the '.' fixed it.
2018-10-13 11:05:27 +01:00
cipharius 79fe37c8b2
Wrap 'shell' command to start in current buffer 2018-10-12 18:29:04 +03:00
deb0ch 2e0f495c47
treemacs layer: make treemacs resizable by default 2018-10-11 19:57:12 +03:00
Matt Kramer df6d744b86
Put magic-latex-buffer in TeX-update-style-hook instead of LaTeX-mode-hook
See https://github.com/zk-phi/magic-latex-buffer/issues/36
2018-10-11 09:12:58 +03:00
Boris Buliga 58cb7257d2
load helm-org-rifle only when helm layer is used 2018-10-11 08:59:27 +03:00
Langston Barrett ff9fd1bcc3
org layer: add helm-org-rifle, bind to SPC m r 2018-10-11 08:54:41 +03:00
JAremko cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Robert O'Connor aabe2817df
java layer: Fix typo in README 2018-10-10 22:08:55 +03:00
Daniel Molina c60072cd2c
Fix: add prefix to org-mode clock options. 2018-10-10 08:06:00 +03:00
Colin Woodbury 6ea44f6205 pact: reference flycheck-pact as found on MELPA 2018-10-09 22:35:49 +01:00
Colin Woodbury 43e3faca4f pact: Fixed README formatting 2018-10-09 22:35:49 +01:00
Colin Woodbury 122571ef8d pact: Add a README 2018-10-09 22:35:49 +01:00
Colin Woodbury 0ae0c2580f pact: Flycheck compatibility 2018-10-09 22:35:49 +01:00
Colin Woodbury 2df43d5ecf pact: silence some warnings 2018-10-09 22:35:49 +01:00
Colin Woodbury 3241347981 pact: attempt to activate flycheck 2018-10-09 22:35:49 +01:00
Colin Woodbury 4819cd41be pact: Enable repl loading 2018-10-09 22:35:49 +01:00
Colin Woodbury 7cfae1539f pact: first pass
- This works! We can get syntax highlighting in `.pact` files.
2018-10-09 22:35:49 +01:00
Xiang Ji b10dd39154 Julia: Add instructions for compiling language server. Fix typo. 2018-10-09 22:22:53 +01:00
Arne Brasseur 80baa130cf Make clj-refactor off by default, update Clojure README
Document how to use the newly introduced variables to enable sayid and
clj-refactor.

Also update the documentation on adding CIDER-related dependencies. CIDER 0.10
is three years old now, so I think the case where cider middleware isn't
injected automatically is getting rare. However there is still a good use case
for running your Clojure process outside of Emacs/CIDER, meaning you don't get
to benefit from `cider-jack-in`'s magic insjections, so I have focused more on
that case, adding information for clj-refactor's and sayid's middleware, as well
as CIDER's.
2018-10-09 22:18:51 +01:00
Alexander Wingård 07a7776b6f Override read-only when capturing clear in shell
When shell layer intercepts the clear commands and tries to replace it with
erase-buffer, this fails with 'Text is read-only'.
Work around this by using inhibit-read-only.
2018-10-09 00:16:20 +03:00
Langston Barrett ad8eb85960 layers/+emacs/org: more clock keybindings, more consistency
Previously org-clock-related keybindings lived under "aok" (when not
in org-mode) and "mC" (in org-mode). This changes "aok" to "aoC",
adds more keybindings under both, and makes them more consistent
overall.
2018-10-08 22:11:31 +01:00
Daniel Caixinha 1c166c279e
Add docker-compose keybinding to Docker layer
After merging [this PR](https://github.com/Silex/docker.el/pull/39), the
`docker.el` package now supports integration with `docker-compose`. This
commit adds a keybinding for `docker-compose`, which allows us to
interact with compose files for the current project.
2018-10-07 13:16:41 +03:00
deb0ch 2ac7ee8f9b
magit: enable colors in magit-log 2018-10-06 09:47:11 +03:00
Boris Buliga 39e4f1ab7c
update to flyspell-correct v0.5
`flyspell-correct-word-generic` and `flyspell-correct-previous-word-generic` are
deprecated and replaced by `flyspell-correct-at-point` and
`flyspell-correct-wrapper` respectively.

`flyspell-correct-wrapper` has a so-called 'rapid' mode, where you can correct
multiple words in a single run.
2018-10-05 09:38:59 +03:00
syl20bnr 9865e77313 Fix header typo 2018-09-11 15:08:53 -04:00
syl20bnr 9f8b867af1 Add SPC f y n and SPC f y N to copy the name of a file 2018-09-11 15:04:19 -04:00
Kalle Lindqvist ba93316939 treemacs: create and bind toggle project function 2018-09-11 00:44:48 +03:00
Deepu Mohan Puthrote afa6f0ba66 Review comments: shorter prefix name and :commands above :init 2018-09-10 22:30:41 +01:00
Deepu Mohan Puthrote d68af4833f Remove post-init and use :commands to optimise loading of counsel-spotify 2018-09-10 22:30:41 +01:00
mjkramer b8ca9f80d4 Add multi-term' to shell-default-shell' doc 2018-09-10 22:28:37 +01:00
Matt Kramer b4eeda6cb6 Add 'prettier to error msg of spacemacs/typescript-format 2018-09-10 22:28:03 +01:00
Kalle Lindqvist 67165df30c notmuch: use melpa for counsel-notmuch 2018-09-11 00:18:27 +03:00
Kalle Lindqvist 4d75af3e89 pass: add ivy-pass 2018-09-11 00:18:27 +03:00
duianto d40d45c256 [treemacs] give names to which-key +prefix entries
problem:
Which-key subgroups get the default name `+prefix`. The subgroup has to be
opened to find out which keys it contains.

solution:
Add more descriptive names:
```
c      treemacs-create
o      treemacs-visit-node
oa     treemacs-visit-node-ace
t      treemacs-toggles
y      treemacs-copy
C-p    treemacs-projects
C-p c  treemacs-projects-collapse
```
2018-09-10 22:06:26 +01:00
Codruț Constantin Gușoi be93ed91a0 Fixes spotify documentation formatting 2018-09-07 00:42:09 +03:00
bmag 044237139b Fix regression: void function helm-current-directory on C-x C-f
Invoking C-x C-f (spacemacs/helm-find-files) right after startup, before helm is
loaded, caused a void function error for helm-current-directory. This fixes it.
2018-09-06 10:57:27 +03:00
WarFox (Deepu Mohan Puthrote) 534785ad3d Documentation and keybindigs 2018-09-06 02:09:49 +03:00
Yuki Yoshioka 74bee3e6db add counsel-spotify to spotify layer for ivy users 2018-09-06 02:05:00 +03:00
Magnus Therning ca8aa4e9b9 org: re-arrange sync keys and add sync for cards
Signed-off-by: Magnus Therning <magnus.therning@zimpler.com>
2018-09-05 11:25:38 +01:00
Magnus Therning ab3b4c30ec org: move org-trello keys to "SPC m m"
Signed-off-by: Magnus Therning <magnus.therning@zimpler.com>
2018-09-05 11:25:38 +01:00
syl20bnr e641e6c6e6 Add doom-emacs mode-line theme
Set dotspacemacs-mode-line-theme to 'doom to enjoy this great minimalistic
mode-line.
2018-09-04 14:53:39 -04:00
syl20bnr 79d9b2ea4b ledger: simplify use-package configuration 2018-09-04 14:53:39 -04:00
James Wang a226c78ea1 Ivy: Add keybinding for counsel-minibuffer-history 2018-09-03 22:15:27 +01:00
Seong Yong-ju ce1cd872f9 Prefer eslint_d to eslint 2018-09-03 22:13:38 +01:00
Evan Klitzke 95f276bd21 Add helm-git-grep to the git layer 2018-09-04 00:06:03 +03:00
Miciah Masters 7852c3b36e Delete compilation finish hook
Before this commit, Spacemacs assigned an anonymous function to the
compilation-finish-function variable.  This variable was deprecated
in Emacs 22.1 and removed in Emacs 27.1 in favor of the
compilation-finish-functions hook.  Consequently, the assignment has
no practical effect in Emacs 27.1.

Although we could add the Spacemacs function to the new
compilation-finish-functions hook, the function serves little purpose; it
prints a generic message when compilation succeeds:

    compilation ok.

and it prints the key binding for spacemacs/next-error when compilation
fails:

    There were errors. Use SPC e n to visit.

However Emacs already prints messages to indicate success or failure,
respectively:

    Compilation finished

or (for example)

    Compilation exited abnormally with code 1

Because the Spacemacs function prints its "There were errors" message
immediately after Emacs prints its "Compilation exited abnormally" message,
the latter was obscured.  Because the exit code in Emacs's message could be
useful and the added value of the Spacemacs function's message is minimal,
we can simply delete the Spacemacs function.

* layers/+spacemacs/spacemacs-defaults/funcs.el
(compilation-finish-function): Delete the assignment and anonymous
function.
2018-09-03 21:29:53 +01:00
Kalle Lindqvist 3784b752b6 treemacs: remove unneeded pound symbols 2018-09-03 22:54:20 +03:00
Alexander Eberspächer 77afc63da8 Fix pyenv using system Python
Check the case of "pyenv which" returning "system". In this case, find the
Python executable using default "executable-find".
2018-09-03 20:21:05 +01:00
Jeremy Bi 955b2a19d6 proof-general is added in MELPA 2018-09-03 20:18:28 +01:00
Seong Yong-ju de346e33c6 Fix issues in ruby layer
Add a prefix for rake and refactor/RuboCop/robe commands. Add test and toggle
prefix for enh-ruby-mode. Use enh-ruby-toggle-block in enh-ruby-mode, instead of
ruby-toggle-block. Remove the prefix in prefixes "ruby/".
2018-09-03 20:17:30 +01:00
Fangrui Song 06d95490dc +tools/lsp: remove lsp-ui-peek-expand-by-default
lsp-ui has switched to (defcustom lsp-ui-peek-fontify 'on-demand ...) https://github.com/emacs-lsp/lsp-ui/pull/148 . This is no longer needed.
2018-09-03 20:16:46 +01:00
Alexander Eberspächer fb078f724e Fix keybindings in documentation of spell checking transient state 2018-09-03 20:15:33 +01:00
Francesc Elies Henar c57dd4870a Adds spell checking transient state 2018-09-01 00:19:59 +03:00
Codruț Constantin Gușoi 4148d567d4 Fixes elm readme formatting 2018-09-01 00:13:04 +03:00
Ting Zhou 91bf157706 make spacemacs/counsel-search with proper highlighting 2018-09-01 00:13:03 +03:00
duianto f143f76393 [jsonnet] readme.org: fix keybinding table
problem: a space before the closing ~, breaks the formatting
solution: remove the space to hide the ~ signs

And remove a word: "to"
2018-08-31 22:07:25 +01:00
Juan Edi 2ecfc21e3a Add elm-test-runner to elm layer
The package adds some convenient commands to run elm-test on:

  - a file
  - a directory
  - a projects

It also provides a handy way to toggle between a test and its implementation.
2018-09-01 00:05:36 +03:00
Magnus Therning d29c783286 org: add a toggle for bringing in org-trello
Signed-off-by: Magnus Therning <magnus@therning.org>
2018-08-31 23:45:10 +03:00
mpanarin ae00b1c70a Revert "Disable evil-ediff for now"
This reverts commit 4dbd5e6110.
2018-08-31 16:58:05 +03:00
JAremko cea81dd0ce [spacemacs-docker] clean .#recentf 2018-08-30 13:41:32 +03:00
bmag e3ad8d2a5f ivy-rich: update config for upstream changes
ivy-rich-switch-buffer-align-virtual-buffer has been made obsolete and doesn't
have a replacement.
2018-08-30 12:00:10 +03:00
Codruț Constantin Gușoi 816099aa2b Fixes keybinding conflict with fasd layer
The `SPC f a` keybinding was already used by the `fasd` layer so a
workaround had to be found for the newly introduced one.

Refs: c2e377c902
Refs: #11224

Thanks @agzam for pointing it out and investigating potential solutions.
2018-08-30 00:13:43 +03:00
JAremko 96d0fff00c [spacemacs-docker] up clojure installer 2018-08-29 23:12:02 +03:00
Ag Ibragimov ffc1617dd9 [mu4e] kill mu4e layout on app exit 2018-08-28 23:08:01 +01:00
cormacc 4ce0c259a0 lsp-layer core keybinding amendments
`m g a` typically used to switch between .c and .h files.
Rebound `goto-viewport-symbol` under `m g k`
Added missing bindings for lsp-ui-find-implementation under `m g l`

Incorporated some other feedback from @yyoncho and @sdwolfz
(See PR discussion for detail)
2018-08-28 22:48:48 +01:00
Benno Fünfstück 03b8f71997 fix typos 2018-08-28 22:37:08 +01:00
Benno Fünfstück f31bed7f52 python-mode: fix indent offset guessing for tab indentation 2018-08-28 22:37:08 +01:00
duianto 35b258cd51 [Haskell] Fix Readme.org typos, missing words 2018-08-28 22:13:14 +01:00
Andriy Senyshyn 24d5607b7b Update gocode repo
nsf/gocode is not maintained anymore. change to https://github.com/mdempsky/gocode
2018-08-28 21:59:29 +01:00
Miciah Masters 25ac434e83 Only disable eyebrowse advice if it exists
Fix issue #11207.

Only try to disable eyebrowse's advice on rename-buffer if we can find that
advice.  If eyebrowse is older than version 0.7.6 (2017-11-22), the advice
will not exist, and attempting to delete it will cause an error:

    ad-disable-advice: rename-buffer is not advised

* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//activate-persp-mode): Only disable the
eyebrowse-fixup-window-configs advice for rename-buffer if the advice
exists.
2018-08-28 21:57:27 +01:00
Cormac Cannon c122eb6a05 lsp-layer configuration and building blocks for derived layers.
See README.org for details

<<amendment 1>>
Updated some keybindings based on CONVENTIONS doc
Corrected file headers
Incorporated some immediate feedback from MaskRay

<<amendment 2>>
Corrected keybindings in README.org

<<amendment 3>>
Eliminated stray org-mode tag at table foot in README.org
Eliminated new 'l' prefix and moved bindings under 'g'

<<amendment 4>>
Updated defaults in config.el based on feedback from sebastiencs (lsp/lsp-ui dev)
- lsp-ui-sideline enabled by default
- lsp-ui-peek-expand-by-default disabled

<<amendment 5 09/04/18>>
Removed 'spacemacs/' prefix from lsp-format-buffer binding

<<amendment 6 09/04/18>>
Moved lsp-ui-peek bindings under j (jump)
Added goto bindings for new lsp-mode functions goto type definition and goto implementation

<<amendment 7 31/05/18>>
Corrected layer title in file headers
Rebased on dev tip (390462e)

<<amendment 8 03/07/18>>
Added keybindings for lsp-describe-thing-at-point,
lsp-workspace-restart, lsp-execute-code-action suggested by Yyoncho (LSP
Java)
Added avy keyboard navigation function provided by MaskRay
Reverted lsp-ui-peek to expand by default after an upstream change that
restricts expansion to current document, addressing the previous
performance issue.

<<amendment 9 04/07/18>>
Corrected keybinding for lsp-describe-thing-at-point

<<amendment 10 19/07/18>>
Rebound lsp-restart-workspace under mlq
Declared 'lsp' prefix (myrgy)
Added evil-set-command-property fix suggested by Yyoncho
Moved lsp-c-c++ layer from private branch to this PR after spending too
many hours of my life rebasing after circle CI picks up a formatting
error :)

<<amendment 11 25/07/18>>
Rebased
Bound cquery-freshen-index under lf
Bound cquery-preprocess-file under lp

<<amendment 12 01/08/18>>
Rebased
(c-c++ layer) moved semantic refactor refactor-at-point binding from mr
to mrp to prevent key binding error when semantic layer enabled

<<amendment 13 17/08/18>>
Added option to select ccls or cquery backend based on work by myrgy
Rebased on current upstream develop

<<amendment 14 20/08/18>>
Incorporated feedback from myrgy and maskray.
Corrected some duplication/inconsistencies.
Rebased.

<<amendment 15 21/08/18>>
Reduced duplication in backend config

<<amendment 16 22/08/18>>
Removed lsp-c-c++ layer example -- to be merged with c-c++ layer once
this PR is sorted

<<amendment 17 23/08/18>>
Added CHANGELOG.develop entry as per updated contribution guidelines.

<<amendment 18 24/08/18>>
Moved some keybindings as per feedback from sdwolfz
2018-08-23 23:02:52 +01:00
Miciah Masters 31f4c2a005 Advise rename-buffer when persp-mode activated
Before this commit, spacemacs-layouts/init-eyebrowse advised rename-buffer
with spacemacs//fixup-window-config.  However, this advice causes problems
if persp-mode is not activated when a function tries to rename a buffer.

In particular, Spacemacs's CI uses Emacs's batch mode to run
spacemacs/publish-doc, which uses rename-buffer.  In batch mode, persp-mode
is not activated, and consequently spacemacs/publish-doc was failing:

    Publishing file /home/travis/.emacs.d/news/news01.org using ‘org-html-publish-to-html’
    Skipping check for new version (reason: dotfile)
    Wrong type argument: hash-table-p, nil
    Warning (emacs): recentf mode: Wrong type argument: hash-table-p, nil
    spacemacs/publish-doc failed

In order to avoid problems, this commit moves the advising of rename-buffer
from spacemacs-layouts/init-eyebrowse to spacemacs//activate-persp-mode.

* layers/+spacemacs/spacemacs-layouts/packages.el
(spacemacs-layouts/init-eyebrowse): Move advice from here...
* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//activate-persp-mode): ...to here.
2018-08-23 10:29:37 +01:00
Seong Yong-ju 2c21d5098a Add prettier layer
Add prettier layer. Add prettier support for .css/.scss/.less/.js/.json file.
Add layer variables for html, javascript, json.
2018-08-22 00:15:28 +03:00
John Lee 9d2a1085ee Fix key bindings for wgrep
The problem was not with the existing bindings, but rather:

1. C-x C-e (spacemacs//counsel-edit -- from an ivy completion session) would
land you in an ivy-occur buffer with wgrep enabled but in motion state.  This
meant the spacemacs key bindings for wgrep were not available.  In particular,
the usual routine is:

* (enter ivy completion session, e.g. with SPC s a P)
* C-c C-e
* edit the buffer as needed
* , , (wgrep-finish-edit)
* , s wgrep-save-all-buffers

2. That last binding (, s) was not there.

One issue is that , s is available before wgrep-finish-edit is called, which is
confusing because I don't think it has any useful function at that point in
time.
2018-08-21 23:52:22 +03:00
Miciah 4972855231 Fix updating buffer names in window configurations
Eyebrowse stores window configurations for workspaces in frame properties.
These window configurations reference buffers by name, which means that
these references must be updated when a buffer is renamed.  To this end,
eyebrowse advises rename-buffer.

Spacemacs integrates eyebrowse with persp-mode by saving the eyebrowse
workspaces for a perspective as a parameter for that perspective so that
Spacemacs can restore a perspective's workspaces when switching to that
perspective.  However, eyebrowse's advice for rename-buffer fails to update
inactive workspaces, for which the window configurations are stored in
perspective parameters and not frame properties.

This commit disables eyebrowse's advice and adds perspective-aware advice
to update buffer references in workspace window configurations.

* layers/+spacemacs/spacemacs-layouts/funcs.el
(spacemacs//fixup-window-configs): New.
* layers/+spacemacs/spacemacs-layouts/packages.el
(spacemacs-layouts/init-eyebrowse): Remove eyebrowse-fixup-window-configs
advice for rename-buffer and advise with spacemacs//fixup-window-configs
instead.
2018-08-21 23:27:31 +03:00
Arne Brasseur 77cf6a2a36 Clojure layer: make sayid optional 2018-08-21 22:42:17 +03:00
kyoncho 862d873fa8 LSP Java backend for the Java layer
Fixes #10654

Added new backend for the Java.
2018-08-21 20:36:06 +01:00
Lupco Kotev 25be8ecb62 Update documentation to include golangci-lint 2018-08-20 23:03:45 +01:00
Lupco Kotev 1d49cd7ed8 Add golangci-lint support 2018-08-20 23:03:45 +01:00
Masayuki Takemura c2e377c902 spacemacs-defaults: add a keybind to open a file and replace buffer with it
Define an alias and use it internally so that (1) the name of the command will
be better to understand what it does than the original name and (2) Helm or Ivy
interface is invoked instead of Ido.

These are suggested in PR #11115.
2018-08-21 00:55:37 +03:00
Langston Barrett ab5b171524 apply patch from @sdwolfz re: formatting 2018-08-20 22:42:23 +01:00
Langston Barrett 8fcf41cd54 coq: add keybindings for company-coq's documentation functions 2018-08-20 22:42:23 +01:00
Andrew Stevanus 1045185c9f Fix Elfeed not saving on quit
This binding is redundant since Elfeed already binds q to
elfeed-search-quit-window.
2018-08-20 22:40:53 +01:00
Xiang Ji 5c702863bf Add chinese-conv package to chinese layer.
[chinese-conv](https://github.com/gucong/emacs-chinese-conv/) performs
conversion between simplified and traditional Chinese texts
2018-08-21 00:27:37 +03:00
smile13241324 a9a9b701ac doc: fix various errors in gtags layer README 2018-08-20 22:13:48 +01:00
Miciah Masters 4408788799 github: Disable status, issues, and PRs by default
Try again to fix issue #11176.

* layers/+source-control/github/packages.el (github/init-magithub): Disable
the GitHub project status, pull requests, and issues sections by default.
* layers/+source-control/github/README.org: Document that these sections
are all disabled by default, and how to enable them.
2018-08-18 15:06:26 -04:00
Miciah Masters 6659088dc5 github: Make Magithub offline by default
Fix issue #11176.

* layers/+source-control/github/packages.el (github/init-magithub):
Configure Magithub to be offline by default.
* layers/+source-control/github/README.org: Add documentation about
Magithub's offline mode.
2018-08-18 13:22:37 +01:00
gdkrmr 71bea49e48 add key bindings julia layer evil-surround 2018-08-16 23:55:27 +01:00
Ljupcho Kotev 107833af16 Remove unnecessary company-go function 2018-08-16 12:01:38 +01:00
Ismael f1066ec66e Fixes React imports when using web beautify. 2018-08-16 00:55:32 +03:00
Ljupcho Kotev 81865e1ea2 Change backend name from default to go-mode 2018-08-16 00:39:17 +03:00
Lupco Kotev bb3e3b2103 Add lsp support for go 2018-08-16 00:39:17 +03:00
jpathy 13d0212c18 Associate nix-mode with .nix files 2018-08-16 00:19:11 +03:00
smile13241324 252c94a1ce doc: revise docs for auto-complete and syntax-checking layers
Syntax-checking and auto-complete layers should more
directly communicate that their function depends on
the installation of individual language layers to avoid
misunderstandings with new users who only install
syntax-checking or auto-complete and install the packages
manually.
2018-08-15 22:15:45 +01:00
smile13241324 c0afbd0ee5 search-engine: add ecosia and make each engine use https 2018-08-15 20:22:42 +02:00
Codruț Constantin Gușoi 6a724e416d Fixes formatting on ruby readme 2018-08-11 13:13:22 +03:00
Brandon Conway 6302748f99 Add seeing is believing 2018-08-11 12:53:50 +03:00
Wieland Hoffmann b18672d9d1 core: Add support for lazy installation of the systemd layer
The list of supported file extensions is taken from
401d71c2dd/systemd.el (L391-L392).
2018-08-11 11:56:29 +03:00
Adam Beckmeyer 42f9ad4290 Add dedicated julia layer 2018-08-11 09:16:15 +01:00
Adam Beckmeyer feee0844c5 Remove julia from major-modes layer 2018-08-11 09:16:15 +01:00
Adam Beckmeyer 36161b4d47 Remove julia from ess layer 2018-08-11 09:16:15 +01:00
gdkrmr 4af499588a fix java layer 2018-08-09 23:02:16 +01:00
gdkrmr 875d4a6afc remove explicit prog-mode-hooks for ess 2018-08-09 23:02:16 +01:00
gdkrmr 8b858abc6a fix for ess issue emacs-ess/ESS#589 2018-08-09 23:02:16 +01:00
gdkrmr bf23cb17dd keybindings for the repl 2018-08-09 23:02:16 +01:00
gdkrmr 3186da89bb add xref integration for ess 2018-08-09 23:02:16 +01:00
syl20bnr 3f47bf8e11 Move major specific error key bindings to SPC m E prefix
Also add a convention for it.
2018-08-09 23:02:16 +01:00
Kalle Lindqvist 0a81d5f4ad html: remove emmet TAB key binding for Emacs style
Allow to use TAB for indenting as usual.
2018-08-09 22:50:03 +01:00
Langston Barrett 178b0caeb8 lang/coq: more insertion keybindings 2018-08-09 22:49:01 +01:00
Miciah Masters 6058921a02 layouts: Add free buffers to current layout
This fixes issue #5776.

* layers/+spacemacs/spacemacs-layouts/packages.el
(spacemacs-layouts/init-persp-mode):
Set persp-add-buffer-on-after-change-major-mode to 'free.
2018-08-09 22:43:11 +01:00
EMayej 17d9cbb86a docs(templates): template dir is set to private dir by default
templates directory under spacemacs.d won't be used anymore.
See commit 93dabc0bbc

Also see commit 04685e77ca for previous changes
2018-08-09 22:39:26 +01:00
EMayej ad9064fbf7 docs(templates): variable to disable emacs default templates
See commit 04685e77ca
2018-08-09 22:39:26 +01:00
lawr 591fe78eec go-layer: supoort set-tab-width equal nil to work with editorconfig 2018-08-10 00:36:46 +03:00
br3athein 72d2e7d09d Revert "Disable ac-ispell untill it's restored in melpa"
This reverts commit c290645261.
2018-08-09 22:28:27 +01:00
smile13241324 c20fe9a1ae doc: fix small typo in semantic feature block 2018-08-09 21:57:58 +01:00
Riley Levy 9af8e1564d Fix #1109: Escape argument for shell spacemacs/python-execute-file
Escape the filename before calling python on the filename in the shell in the
function `spacemacs/python-execute-file` by calling `shell-quote-argument`.
2018-08-04 10:51:49 -04:00
Miciah def07cbfa3 Fix smart-closing-parenthesis extra parenthesis
Fix issue #9477: spacemacs/smart-closing-parenthesis sometimes adds an
extra closing parenthesis.

spacemacs/smart-closing-parenthesis may call sp-up-sexp twice: first to
find the position of an existing closing delimiter or the position at which
one would be inserted, and second to insert a delimiter if necessary or
else move point after the existing closing delimiter.

The problem is that each call to sp-up-sexp may insert a delimiter, but
spacemacs/smart-closing-parenthesis is supposed to insert at most one.

The solution is to undo any edit performed by the first call to sp-up-sexp.

* layers/+spacemacs/spacemacs-editing/funcs.el: Undo any edit performed by
the first call to sp-up-sexp.
2018-08-04 10:48:00 -04:00
EMayej 6f9097e6f0 fix(python): index out of bound 2018-08-04 10:32:31 -04:00
Codruț Constantin Gușoi ca04186cfc Reverts js2-mode being forced on jsx files 2018-08-03 09:11:36 +01:00
Miciah 6d8be7b381 python: Initialize inferior-python-mode variables
Fix SPC m c c (spacemacs/python-execute-file) and SPC m c C
(spacemacs/python-execute-file-focus), which were causing
the following errors:

    save-current-buffer: Symbol’s value as variable is void: python-shell--interpreter
    error in process filter: python-shell-comint-end-of-output-p: Wrong type argument: arrayp, nil
    error in process filter: Wrong type argument: arrayp, nil

This commit also fixes issue #9070: spacemacs/python-execute-file-focus
does not change focus.

The problem is that spacemacs/python-execute-file-focus invokes
spacemacs/python-execute-file, spacemacs/python-execute-file invokes
inferior-python-mode, and inferior-python-mode uses the variables
python-shell--interpreter and python-shell--interpreter-args, which
the python package declares but does not initialize.

To resolve this problem, this commit initializes both variables to nil.

* layers/+lang/python/config.el: Initialize python-shell--interpreter and
python-shell--interpreter-args to nil.
2018-08-03 06:53:02 +03:00
Thomas de Beauchêne ce51206ff8 rjsx layer: match .jsx files as well 2018-08-03 01:58:45 +03:00
Thomas de Beauchêne 927a7c4566 javascript layer: open javascript files in js2-mode 2018-08-03 01:58:45 +03:00
Ting Zhou cffd90080b only use javascript-typescript-langserver for javascript, react, typescript
layer, and purge other langservers
2018-08-03 01:37:36 +03:00
David Chen faa33e9524 Add indent toggle to sql-model 2018-08-03 01:03:14 +03:00
Codruț Constantin Gușoi c290645261 Disable ac-ispell untill it's restored in melpa
It seems like the package is missing. We waited a while thinking it will be fixed but
people are starting to get annoyed by this. To be re-enabled once the upstream issue
is resolved.

Refs: https://github.com/melpa/melpa/issues/5657
2018-08-02 11:04:12 +01:00
Dan Girshovich 1ad673fcb7 add guard to check winum is loaded to fix #10446 2018-08-01 23:19:26 -04:00
Miciah Masters 2148562982 Fix loading of Magithub
Fix issue #10760: Magithub sections are not added to Magit.

The problem is that the Spacemacs init function's use-package form for
Magithub specifies both :after magit and :defer t. It should specify only
the former so that Magithub will be loaded when Magit is loaded.

* layers/+source-control/github/packages.el (github/init-magithub): Delete
:defer argument.
2018-08-01 23:03:19 -04:00
Miciah Masters 1ecffa9834 Bind SPC f i to spacemacs/insert-file 2018-08-01 22:46:40 -04:00
Miciah Masters 07964b1a2e Work around ido-mode remapping Spacemacs keys
Add aliases for commands that ido-mode remaps that we want to bind to
Spacemacs keys, and use these aliases in the Spacemacs key bindings so that
these bindings invoke the original commands rather than the ido commands.

See <https://github.com/syl20bnr/spacemacs/issues/10237#issuecomment-359861570>.
2018-08-01 22:46:40 -04:00
Robby O'Connor c3e402332f go layer: fix cosmetic issue 2018-08-02 00:20:24 +01:00
André Peric Tavares 31b3d66e2b Add keybindings for scrolling in epub layer
Add `d` and `u` for scrolling down and up, just like the `pdf` layer.
Those are actually default `nov` keybings.

Invert `up` and `down` `nov` commands

Add keybindings in epub layer docs

Align table
2018-08-02 01:38:05 +03:00
Jon Erik D Suero ff555d80b4 Add key binding to run gofmt manually 2018-08-01 17:54:27 -04:00
Jon Erik D Suero 166f6768ae go: add toggle for gofmt before save and turn it off by default 2018-08-01 17:52:03 -04:00
lukasz.czaplinski 87028e77a5 Mark alchemist jump handler as async
Right now `alchemist-goto-definition-at-point` is marked as sync, which
sometimes shows message "No jump handler was able to find this symbol." before jumping to correct definition.

[`alchemist-goto--open-definition`](https://github.com/tonini/alchemist.el/blob/master/alchemist-goto.el#L215) calls alchemist server before jumping to definition, which I think justifies marking this as async.

I have very little experience with either Emacs, or Spacemacs, so let me
know if there's anything I can clarify and/or test before this commit gets
merged :)
2018-08-01 17:44:41 -04:00
Guan Xipeng 0c878ae453 fix: spacemacs/pyenv-executable-find support multi pyenv versions 2018-08-01 17:42:44 -04:00
Miciah 0deadbebcf clojure: Delete bogus escaping in font-lock regexps
* layers/+lang/clojure/funcs.el (clojure/fancify-symbols): Delete bogus
backslashes.
2018-08-01 17:31:32 -04:00
Miciah 91267a2af7 clojure: Fix face name of fancified symbols
Fix issue #9271: Setting clojure-enable-fancify-symbols to t causes
the following to the be printed repeatedly in the message buffer:

    invalid face reference: t

The problem is that the clojure/fancify-symbols function adds font-lock
keywords with highlight forms containing face-name expressions that
evaluate to the return value of compose-region, which apparently is t;
this value is interpreted as a face name.

The solution to this problem is that the face-name expressions should
evaluate to nil, which will be interpreted as an empty list of properties
instead of a face name.

* layers/+lang/clojure/funcs.el (clojure/fancify-symbols): Define keywords
using face-name expressions that evaluate to nil.
2018-08-01 17:31:32 -04:00
Ting Zhou e362b17868 polish lsp-python and anaconda-mode 2018-08-01 17:22:36 -04:00
Silver Chan be55d82ef8 fix problem: c-c++-enable-clang-format-on-save not work
fix problem: when c-c++-enable-clang-format-on-save is set in c-c++ layer, but it didn't work.
2018-08-02 00:20:06 +03:00
syl20bnr 1ae5463051 Correctly lazy-load and disable zone 2018-07-29 15:42:32 -04:00
Kechao CAI 115c93050f +spacemacs: fix zone init
Commit 6f15744 causes the zone initialization error. This will fix #11101.
2018-07-29 15:32:31 -04:00
Anton-Latukha 026ba14691 layer: org: README.org: Org-journal support: rw body text 2018-07-28 18:53:24 -04:00
Anton-Latukha a78c8fec01 layer: org: README.org: Reveal.js support: rw body text 2018-07-28 18:53:24 -04:00
Anton-Latukha 0064a88213 layer: org: README.org: Gnuplot support: rw body text 2018-07-28 18:53:24 -04:00
Anton-Latukha b6d8d01622 layer: org: README.org: Twitter Bootstrap support: rw body text 2018-07-28 18:53:24 -04:00
Anton-Latukha 4cc92e9513 layer: org: README.org: Install: Layer: rw body text 2018-07-28 18:53:24 -04:00
syl20bnr 6f157449c1 Fix zone-out-when-idle and correctly disable it when nil 2018-07-28 18:32:23 -04:00
Codruț Constantin Gușoi f2a4cc87c1 Fixes copy-as-format documentation 2018-07-27 01:20:09 +03:00
Ruslan Kamashev c802d09ce9 Add copy-as-format layer 2018-07-27 01:09:30 +03:00
Seong Yong-ju 93dabc0bbc Fix templates layer
Fix the issue templates layer ignores "templates-private-directory".
2018-07-27 01:03:47 +03:00
Miciah Masters ef6e45f30e markdown: Update key bindings for Markdown Mode 2.3
Update key bindings to reflect some changes in Markdown Mode 2.3:

* markdown-exdent-region was renamed to markdown-outdent-region.
* markdown-insert-reference-image (SPC m i I) was folded
  into markdown-insert-image (SPC m i i).
* markdown-insert-inline-link-dwim (SPC m i l) and
  markdown-insert-reference-link-dwim (SPC m i L)
  were replaced by markdown-insert-link (SPC m i l).
* markdown-toggle-markup-hiding (SPC m t m) was added.
* markdown-jump (SPC m RET) was replaced by markdown-do (same).

Note that the documentation listed an incorrect key binding for
markdown-jump; this has been corrected.

* layers/+lang/markdown/packages.el (markdown/init-markdown-mode):
* layers/+lang/markdown/README.org: Update key bindings.
2018-07-27 00:50:17 +03:00
Francesc Elies Henar 8bb1cee649 [flycheck] binds flycheck-copy-errors-as-kill to SPC e y 2018-07-27 00:46:47 +03:00
Codruț Constantin Gușoi 84460c5ef4 Adds mandatory features heading for phoenix layer 2018-07-27 00:27:36 +03:00
Codruț Constantin Gușoi 45ee95c289 Fixes framework name in layer header 2018-07-24 01:18:35 +03:00
Lyuben Petrov e82efb4c45 Update phoenix prefix to SPC m f
As per the convention
https://github.com/syl20bnr/spacemacs/commit/90452329
2018-07-24 00:34:38 +03:00
Lyuben Petrov 86683ad558 Add phoenix layer
- First remove elixir's layer project prefix, since it was used only for
  one binding which would be better suited in tests prefix
- Move `alchemist-project-find-test` to test prefix
- Add `phoenix` prefix and declare bindings
2018-07-24 00:34:38 +03:00
Miciah 814ac87692 c-c++: Update SPC m g Y command
Upstream renamed rtags-cycle-overlays-on-screen to
rtags-cycle-through-diagnostics.  As a result, SPC m g Y
causes the following error:

    Wrong type argument: commandp, rtags-cycle-overlays-on-screen

This commit updates the corresponding key binding
to the new command name in order to prevent the error.

3011f4e787

* layers/+lang/c-c++/packages.el (c-c++/init-rtags): Change
rtags-cycle-overlays-on-screen to rtags-cycle-through-diagnostics.
2018-07-24 00:24:40 +03:00
André Peric Tavares 52b2b4b83d Update obsolete cider-refresh alias to cider-ns-refresh
`cider-refresh` is an obsolete alias:

8b8309d970/cider-ns.el (L204)
2018-07-24 00:21:29 +03:00
Miciah Masters bff8403446 shell: Adjust popup shell width only for left/right
Fix issue #11037: Do not adjust the width of a popup shell's window unless its
position is left or right.

* layers/+tools/shell/funcs.el: Check that shell-pop-window-position is 'left
or 'right before adjusting the window's width.
2018-07-24 00:05:53 +03:00
Adam Sokolnicki 2e9dcb54b1 Add the missing keybindings in ruby-on-rails layer 2018-07-24 00:02:13 +03:00
Jesse Byler 1671f53f93 Add function spacemacs/new-empty-buffer-new-frame with binding
Add new function spacemacs/new-empty-buffer-new-frame, implemented
with a new selector in spacemacs/new-empty-buffer.  Bind it to
<SPC> b N f
2018-07-23 23:52:31 +03:00
Alexander Miller a51d8cecd1 finance: use evil-ledger. 2018-07-23 09:22:13 +02:00
JAremko 6fef4b7481 Fix git-timemachine link 2018-07-20 02:45:50 +03:00
JAremko 6946e255e6 Reformat docs 2018-07-20 02:45:21 +03:00
Codruț Constantin Gușoi 4644a28868 Reorders prefixes and keybindings 2018-07-20 01:02:50 +03:00
Robert O'Connor 40f5a80f3f
Add emberjs layer 2018-07-16 20:02:01 -04:00
bmag 2f50f28419 Fix typo 2018-07-15 08:21:46 +03:00
Kalle Lindqvist dfd309a77b ivy: improve jumping in buffer 2018-07-15 08:18:35 +03:00
bmag e109777f8b spacemacs/ivy--regex-plus: fix documentation 2018-07-14 22:52:25 +03:00
ivasonn d2dab66724 search highlighting (spacemacs/counsel-search) with ivy--regex-plus
spacemacs//ivy--regex-plus is a replacement for ivy--regex-plus in user
configurations.
2018-07-14 22:46:08 +03:00
bmag e63a9c05bd counsel-search: fix counsel-more-chars call
counsel-more-chars changed upstream to take no arguments, so we change our call.
2018-07-14 22:46:08 +03:00
Andre Ramos f3cbf89b45 Clojure layer: fix regression for pinned cider 2018-07-12 16:26:39 +01:00
bmag 4f70a9abcc Load evil-surround when entering operator state
Only using visual state as entry point for evil-surround doesn't guarantee
surround is available for evil-yank and evil-delete. Fixed by also using
operator state.

Fixes #11019 and #11021
2018-07-12 11:56:20 +03:00
Miciah c4541bb1b5 helm: Fix error from SPC s f on non-file buffers
Fix issue #6416: SPC s f (spacemacs/helm-files-smart-do-search) in a buffer
that is not visiting a file causes an error:

    Wrong type argument: stringp, nil

* layers/+completion/helm/funcs.el
(spacemacs//helm-do-grep-region-or-symbol): Check whether preselection is
nil in order to avoid calling helm-basename on a nil value.
2018-07-12 09:28:13 +03:00
Codruț Constantin Gușoi e2c0250548 Clarifies the zero based column indexing with messages and docs 2018-07-12 09:13:02 +03:00
Miciah 899e6beaac Fix and rename column-indexing toggle
The column-indexing toggle did not have a :status property.  As a result,
the toggle command would enable the toggle but would not disable it.  In
addition, the absence of :status prevented -off and -on commands from being
defined.

This commit adds a :status property so that the toggle works properly and
-off and -on commands are defined.

This commit also renames the toggle to "zero-based-column-indexing" in order to
make its purpose clearer.

* layers/+spacemacs/spacemacs-defaults/keybindings.el (column-indexing):
Add :status and rename to "zero-based-column-indexing".
2018-07-10 18:17:57 -04:00
Alex Argunov c1bde286e4 clojure: move browse to help submenu, add cider-find-ns under gn 2018-07-11 00:26:33 +03:00
Roy Choo 43f0b4d617 typescript: remap keybinding to use tide function
- As described in #10870, typescript/jump-to-type-def function is removed,
but the keybinding is still calling it.

- Mapping the keybind to call tide jump to definition directly.
2018-07-11 00:20:07 +03:00
Magnus Therning 655117009d Add a binding to return from definition in intero mode
Signed-off-by: Magnus Therning <magnus@therning.org>
2018-07-11 00:11:31 +03:00
Rudi Grinberg c5d4107248 Fix handling of keymap property when it's symbol valued
The previous code would only handle the case when the property was a keymap. But
it can also be a symbol representing a keymap.
2018-07-11 00:04:46 +03:00
Bjarke Vad Andersen ebd8bffbad scala/java: Remove broken ensime key bindings and fix yanking types 2018-07-10 23:45:33 +03:00
p-sdk e090ffbd2d ruby: add popwin config for bundler, projectile-rails and rubocop 2018-07-10 00:36:10 +03:00
Codruț Constantin Gușoi 3de1d09a42 Formats the ruby key bindings table 2018-07-10 00:32:00 +03:00
FieryCod 41e9671a4d Fix the projectile layer 2018-07-09 23:17:08 +02:00
Codruț Constantin Gușoi 8ebe9f5093 Removes duplicates from ruby documentation 2018-07-10 00:11:45 +03:00
Codruț Constantin Gușoi 12f537a0db Adds ruby toggles documentation 2018-07-09 23:59:05 +03:00
Codruț Constantin Gușoi 05f27afa56 Creates a toggle prefix for ruby 2018-07-09 23:50:41 +03:00
Codruț Constantin Gușoi f715c1f12e Revert "Remove duplicate robe keybinding"
This reverts commit 7d63001515.
2018-07-09 23:48:05 +03:00
Codruț Constantin Gușoi 7d63001515 Remove duplicate robe keybinding
Robe had 2 keybindings for starting a server: `SPC m ,` and `SPC m s s`
but the first one was already defined for another purpose so it overwrote
it.
2018-07-09 23:43:17 +03:00
Miciah 1c78348ee6 ivy: Fix error on nil input with counsel search
Fix issue #6499: SPC m (spacemacs/search-project-auto-region-or-symbol) on
a blank line causes an error:

    rxt-string->pcre: Wrong type argument: arrayp, nil

* layers/+completion/ivy/funcs.el (spacemacs/counsel-search): Check whether
initial-input is nil in order to avoid calling rxt-quote-pcre on a nil
value.
2018-07-09 23:29:16 +03:00
Ting Zhou 9dc5ba8439 use evil normal mode as default for ivy-occur-grep-mode 2018-07-09 10:25:54 +03:00
syl20bnr 4dbd5e6110 Disable evil-ediff for now 2018-07-04 02:36:59 -04:00
Codruț Constantin Gușoi 31264ffc84 Fixes errors when restoring a perspective
The function ends up being called with an argument due to the before advice.
2018-07-04 01:17:28 +03:00
Daniel Perez Alvarez 5328e20cb8 add missing keybinding documentation for typescript layer 2018-07-04 00:57:33 +03:00
Daniel Perez Alvarez ce1d1a19c4 change En -> Ed 2018-07-04 00:53:38 +03:00
Daniel Perez Alvarez 75e192c897 [typescript] En -> tide-add-tslint-disable-next-line 2018-07-04 00:53:38 +03:00
Robert O'Connor b80e62f12d add syntax checking for jsonnet with flycheck 2018-07-04 00:26:29 +03:00
Andre Ramos 9cb0b07dff Clojure layer: fix function usage in clojure layer according to cider changes
The function `cider-current-repl-buffer` does not exist anymore in cider after PR [#2324](https://github.com/clojure-emacs/cider/pull/2324) was merged.
It broke the usage of functions in the clojure layer that sent used `spacemacs//cider-eval-in-repl-no-focus`, which sends forms to be evaluated in the repl buffer without focusing on it.
The fix is to use `cider-current-repl` instead of `cider-current-repl-buffer`
2018-07-04 00:16:58 +03:00
Ruslan Kamashev ecc7eeda74 Add gitignore-templates 2018-07-03 23:48:50 +03:00
syl20bnr a013d86874 core: update environment variables management
* add new dotfile function `dotspacemacs/user-env`
* add ignored env. vars with variable spacemacs-ignored-environment-variables
* ignore env vars: SSH_AUTH_SOCK and DBUS_SESSION_BUS_ADDRESS
* update documentation in DOCUMENTATION.org
* update .spacemacs.template with new function
* rename environment file from spacemacs.env to .spacemacs.env
* move location of .spacemacs.env file to home or dotdirectory
* add a header to the generated .spacemacs.env file to explain what it is
* make SPC f e e fallbacks to the function dotspacemacs/user-env if the user
  manages the env var by themselves
* make SPC f e E call the new function dotspacemacs/user-env
* sort environment variables in .spacemacs.env file
2018-07-03 01:25:28 -04:00
smile13241324 a087ee2ece org: add warning against manually loading org 2018-07-03 00:49:21 +03:00
Codruț Constantin Gușoi aba51afe48 Multiple ways to copy a file path 2018-06-29 01:09:54 +03:00
bmag b54ea8ef90 line-nums: don't default to text/prog-mode if disabled by user
When :enabled-for-modes is nil we default it to '(prog-mode text-mode), but if
any of them is in :disabled-for-modes then it shouldn't be enabled by default.
This commit fixes the second part.
2018-06-27 09:13:21 +03:00
yangbo d473121f90 enable eldoc for rust/racer 2018-06-26 18:40:28 +03:00
Zhige Xin ae407c2efd Fix typo in org/README 2018-06-26 10:01:56 +03:00
simendsjo dc6130a714 Adds *Process List* to popwin:special-display-config
`list-processes` would not focus the newly created window as it was missing from popwin.
2018-06-26 09:11:17 +03:00
syl20bnr 6220ace290 core: rework environment variables and PATH management
See updated DOCUMENTATION.org and FAQ.org for more info.

* add core-env.el
* add library load-env-vars.el
* add bootstrap package dotenv-mode.el
* remove spacemacs-environment from bootstrap layer
* remove dotspacemacs variable dotspacemacs-import-env-vars-from-shell
* remove dotspacemacs variable dotspacemacs-improt-env-vars-shell-file-name
* add new key binding SPC f e e to open spacemacs.env file
* add new key binding SPC f e E to reload environment variable from env file
* add new key binding SPC f e C-e to re-initialize the env file from shell.
2018-06-25 02:55:28 -04:00
syl20bnr 666671a881 Sort key bindings alphabetically in version-control README.org 2018-06-24 02:54:07 -04:00
Masayuki Takemura ce6e28601f diff-mode: define key bindings with leader key for vim editing style
This patch defines key bindings with leader key instead of evilified state to
make it easier for people those who edit in vim style to use diff-mode for both
of editing and reviewing files/buffers.

There are two use cases for diff-mode:

(1) to manually edit diff in a patch file
(2) to review diff that is generated by `vc-diff' or similar commands

The evilified state is useful for the case (2), but is confusing for the
case (1). Usually, users of vim editing style expect that they are in normal
state when a new buffer is created. However, when evilified state is used for
the case (1), some keys insert their character in a buffer, which let the users
think they are in insert state and keep hitting keys to edit the buffer, while
other keys invoke commands or change contents of buffer, which let them think
they are in normal state, so finally the user get lost what state they are in if
they don't know evilified state is used for diff-mode.

The changeset 58d521af5 "Unbreak diff-mode", originally written on Apr 2 2017,
tried to avoid the confusion by removing the evilified state configuration.
However, it is overwritten by the other and older changeset 8009e1bf5 "evilify
vc-* buffers", which is written on Feb 22 2016, for some reason.

This patch respects both of the use cases listed above, thus defines key
bindings with leader key instead of just removing the evilified state
configuration.
2018-06-24 02:54:07 -04:00
Codruț Constantin Gușoi bb013ef993 Remove obsolete purpose-conf argument for good
Now that emacs 25 is the minimum version supported this should not cause any more problems.
2018-06-20 23:56:41 +03:00
bmag 6b4a79d398 spaceline: fix copy-paste error in lazy-load hook name
Commit d7f5b58890 added a lazy-loader for
spaceline but used lazy-load-window-purpose as its name. As result,
window-purpose lazy-loader got overwritten and window-purpose didn't load at
all.
2018-06-20 09:51:45 +03:00
syl20bnr e1c8f1e3d6 Use add-to-list instead of push
Avoid pushing several time the same element on top of evil-surround-pairs-alist
2018-06-16 03:54:38 -04:00
syl20bnr 71da17e963 org: fix error void: evil-surround-pairs-alist 2018-06-16 03:52:32 -04:00
CharlesHD 1b22f5b30e Keyboard-Layout : after-config hooks for lazy-loaded packages 2018-06-16 03:18:05 -04:00
syl20bnr e7cc073548 sql: fix sql-indent and defer it 2018-06-16 03:13:04 -04:00
Kalle Lindqvist 378fa687a1 Move helm variable from helm layer to spacemacs-completion layer 2018-06-16 00:02:59 -04:00
syl20bnr f436680c9f sql: add comment to explain sql-indent config 2018-06-16 00:00:41 -04:00
Andrew Christianson 8ded639eb5 Add alex-hhh's sql-indent in place of mepla sql-indent 2018-06-15 23:56:27 -04:00
Thanh 76cf97e6a8 resize-shell-to-desired-width check for shell buffer before changing size 2018-06-15 23:52:33 -04:00
syl20bnr 767661fa2e jsonnet: update key bindings and add a logo 2018-06-15 23:07:37 -04:00
liz f2abfe8f88 Add basic JSonnet layer provided by jsonnet-mode 2018-06-15 22:45:25 -04:00
syl20bnr 1abce5ec10 Correctly import PATH environment variable with setenv
Previously we were only updating exec-path.
2018-06-15 10:29:48 -04:00
syl20bnr 54ace2e998 Fix lazy loading of evil-escape
Add transient hook on window-configuration-change-hook
2018-06-15 03:09:14 -04:00
syl20bnr d28990537f Add new variable dotspacemacs-import-env-vars-shell-file-name
Used to fetch the environment variables. This allows to keep shell-file-name
untouched.
2018-06-15 02:40:44 -04:00
syl20bnr 9ee832955a core: async import of env.vars and add new dotfile variable
* new variable dotspacemacs-import-env-vars-from-shell
 * asynchronous import of environments variables
 * move loadenv function to funcs.el
 * update documentation
2018-06-15 01:38:07 -04:00
syl20bnr 5ab0b7918e Lazy load evil-escape 2018-06-14 21:54:39 -04:00
syl20bnr 9d7c1c8adf Lazy load evil-numbers 2018-06-14 21:54:39 -04:00
syl20bnr 8281ed74ae Lazy load evil-lion 2018-06-14 21:54:39 -04:00
syl20bnr 03786aa94a Lazy load evil-surround 2018-06-14 21:54:39 -04:00
syl20bnr fc08a3b9c1 Lazy load evil-exchange 2018-06-14 21:54:39 -04:00
syl20bnr 8425d16c55 Lazy load evil-indent-plus 2018-06-14 21:54:39 -04:00
syl20bnr c50ff88812 Lazy load evil-args 2018-06-14 21:51:31 -04:00
syl20bnr 381584d1cc Lazy load ido-vertical 2018-06-14 21:23:59 -04:00
syl20bnr 3b06108161 Lazy load evil-goggles 2018-06-14 21:23:12 -04:00
syl20bnr ad3ee59158 Smart lazy load of line numbers 2018-06-14 21:23:02 -04:00
syl20bnr 36c5cb0725 Lazy load zone 2018-06-14 21:10:01 -04:00
syl20bnr c1c8dec3ea Lazy load flx-ido 2018-06-14 21:09:40 -04:00
fiveNinePlusR 75f1d915a8 [CORE] synchronize the environment variables from the default shell 2018-06-14 20:12:26 -04:00
Jason Axelson d01658ec61 Additional documentation for spacemacs/toggle-current-window-dedication 2018-06-14 20:12:16 -04:00
Kalle Lindqvist 2007ce3f1a spacemacs-navigation: remove duplicate code 2018-06-14 20:07:35 -04:00
syl20bnr d7f5b58890 spaceline: find a new way to speed it up without lazy loading it
Remove byte-compilation a startup time and put compilation of the mode line in
a window configuration change hook.
2018-06-14 10:08:38 -04:00
syl20bnr acfc8c5814 version-control: correctly defer diff-hl and git-gutter packages 2018-06-14 10:08:38 -04:00
syl20bnr 33c62b7d60 spaceline: define toggles at init time 2018-06-14 09:33:33 -04:00
syl20bnr 31324f68bb Avoid loading all the diff packages in version-control layer 2018-06-14 02:51:24 -04:00
syl20bnr 8b40cacc5e Load window purpose only when window configuration changes 2018-06-14 02:28:52 -04:00
syl20bnr c3c7249234 Delay diff-hl loading by 5 seconds 2018-06-14 02:28:10 -04:00
syl20bnr d19a20beb4 Load window-purpose when window configuration changes 2018-06-14 02:07:02 -04:00
syl20bnr ea0f73ec31 Defer volatile hightlight by 2 seconds
This takes some time to load and it is not a useful package for quick edits
2018-06-14 02:06:19 -04:00
syl20bnr e24be2186a Truly lazy load helm based on key bindings
We will need to also support Emacs editing style.
2018-06-14 02:05:01 -04:00
syl20bnr de858b2953 Fix startup buffers without spaceline mode line 2018-06-14 01:10:44 -04:00
Kalle Lindqvist 697fceb30a rest: completley remove this layer, was renamed to restructuredtext 2018-06-14 00:30:46 -04:00
Kalle Lindqvist 3472b16314 restructuredtext: remove rst-sphinx init block, sphinx-layer owns it 2018-06-14 00:30:46 -04:00
Kalle Lindqvist 3c40283c99 restructuredtext: Fix broken linum codeblock 2018-06-14 00:30:46 -04:00
syl20bnr 55d18a1a3a Move SPC s c to bootsrap layer 2018-06-14 00:21:56 -04:00
Daniel Molina 55e0506ef0 Fix typos 2018-06-14 00:15:49 -04:00
Benjamin Reynolds 594fdc8f05 Rename spacemacs/mplist-get functions to be more descriptive
* spacemacs/mplist-get -> spacemacs/mplist-get-values
* spacemacs/plist-get -> spacemacs/mplist-get-value
* refactor spacemacs/mplist-get-value to be defined in terms of mplist-get-values

Ref #10803 See [comment]

[comment]: https://github.com/syl20bnr/spacemacs/pull/10803#issuecomment-395292606
2018-06-14 00:15:49 -04:00
Codruț Constantin Gușoi 8754b24509 Fixes errors when env file does not exist at startup 2018-06-12 23:05:14 +03:00
Codruț Constantin Gușoi 8ad78ca7d3 Brings back search highlight clear 2018-06-12 22:43:22 +03:00
Ben Leggett 1884863864 Fix breakage of M-x caused by a417e3ca85 2018-06-12 13:53:23 -04:00
syl20bnr 386a8fa79d macOS: disable package pbcopy
See comments.
2018-06-11 12:48:13 -04:00
syl20bnr 17ad92b808 spaceline: remove after-display hook
The trade-off is that the spaceline separator is flat and the powerline height
is default for people using emacs --daemon.
2018-06-11 12:38:37 -04:00
syl20bnr a417d05cd0 layouts: be sure spaceline is loaded before restoring layouts
fixes #10849
2018-06-11 11:53:20 -04:00
syl20bnr 65018ea6c7 Hide Helm lighter in mode-line 2018-06-11 04:04:25 -04:00
syl20bnr 4bb1d6ab39 Defer spaceline loading 2018-06-11 04:00:13 -04:00
syl20bnr c12b72090c Cache PATH and env vars. fetched with exec-path-from-shell
See updated documentation in this commit.
2018-06-11 03:54:51 -04:00
syl20bnr 41b90e403c Lazy load evil-lisp-state 2018-06-11 02:46:38 -04:00
syl20bnr 50804ed6bb crystal: fix key bindings not available for play-crystal 2018-06-11 02:15:47 -04:00
syl20bnr 80bf864ebe Lazy load flycheck-crystal 2018-06-11 02:14:12 -04:00
syl20bnr 19b478efbd Lazy load flycheck 2018-06-11 02:14:12 -04:00
syl20bnr 095a83896a Remove evil-search-highlight-persist as it seems uneeded now 2018-06-11 02:02:20 -04:00
syl20bnr 4ddf464231 Lazy load color-identifiers-mode 2018-06-11 01:53:05 -04:00
syl20bnr f26f0db8ae Lazy load helm-ctest 2018-06-11 01:49:19 -04:00
syl20bnr adf10d652b Lazy load importmagic 2018-06-11 01:45:48 -04:00
syl20bnr 0b787ebb44 Lazy load volatile-highlights 2018-06-11 01:45:33 -04:00
syl20bnr d48ecea6e6 Lazy load anaconda-mode 2018-06-11 01:41:22 -04:00
syl20bnr 6d9c559dc1 Use transient hook to load window-purpose 2018-06-11 01:37:08 -04:00
syl20bnr 6a51d557da Also defer helm loading on idle 2018-06-11 01:34:08 -04:00
syl20bnr a417e3ca85 Lazy load helm 2018-06-11 01:34:02 -04:00
syl20bnr 49b1659a18 Lazy load lsp-mode 2018-06-11 00:28:11 -04:00
syl20bnr e0ad4e3b0a Delay loading of windows purpose 2018-06-11 00:17:30 -04:00
syl20bnr bd160f5da9 Lazy load inf-crystal 2018-06-10 23:59:12 -04:00
syl20bnr 2ff642e5e0 Lazy load info+
Again :-)
2018-06-10 23:57:02 -04:00
syl20bnr c41a122b24 Lazy load diff-hl 2018-06-10 23:30:48 -04:00
syl20bnr 699c1da30f Lazy load lsp-ui 2018-06-10 23:25:45 -04:00
syl20bnr 9951013bee Lazy load eval-sexp-fu 2018-06-10 23:24:44 -04:00
Josh Santos 7944ed2634 Fix environment variable setting for go and rust layers 2018-06-09 01:22:56 -04:00
syl20bnr b04cce06b2 go: defer loading of various packages 2018-06-09 01:11:41 -04:00
syl20bnr 9fc1883b4b go: fix bad quoting of go-packages-function 2018-06-09 01:10:03 -04:00
syl20bnr aedceddd92 go: cleanup layer sorting stuff and using idiomatic constructs 2018-06-09 01:09:11 -04:00
Cosmin Cojocar d47f9267e9 go: add support for go-impl in refactoring menu 2018-06-09 01:04:23 -04:00
syl20bnr f12b849993 go: sort packages.el and update README 2018-06-09 00:58:50 -04:00
Cosmin Cojocar 80dbae3825 go: add option in refactoring to fill a structure with default values 2018-06-09 00:51:33 -04:00
syl20bnr ae53d9612e go: update feature section with gopkgs 2018-06-09 00:49:07 -04:00
syl20bnr 0e0d5088b9 go: remove unused function load-gopath-file 2018-06-09 00:45:48 -04:00
syl20bnr 7951d763e3 go: reformat spacemacs/go-packages-gopkgs
Use setq instead of customize
Put spacemacs//go-set-tab-width in funcs.el
2018-06-09 00:43:52 -04:00
Cosmin Cojocar 938155c50a Configure the go-packages-functions to use the gopkgs tool
This is a much faster option than the current native function.
2018-06-09 00:39:08 -04:00
syl20bnr 0fd13aef2b go: change test generation key bindings according to conventions 2018-06-09 00:36:32 -04:00
Cosmin Cojocar 359960ae27 Add support to generate go tests with go-gen-test 2018-06-09 00:36:32 -04:00
syl20bnr 5004e05d44 Add hybrid-style-visual-feedback variable 2018-06-08 02:32:05 -04:00
syl20bnr b282e553ba Use dotspacemacs backward compatibility macro instead of aliases 2018-06-08 02:24:38 -04:00
syl20bnr 434df17f8b Rename hybrid-mode-xxxx variables to hybrid-style-xxxx
Use aliases to retain backward compatibility.
2018-06-08 02:24:38 -04:00
syl20bnr 2b4d90ba20 Set default value of vim-style-visual-feedback to nil 2018-06-08 02:24:38 -04:00
syl20bnr 9539e4206d Rename Vim style related variable to vim-style-xxxxx
Update the documentation
Define alias for backward compatibility
2018-06-08 02:24:38 -04:00
syl20bnr e39b3495bd Add vim-style-visual-feedback variable and documentation 2018-06-08 02:24:38 -04:00
Kalle Lindqvist 309b154d73 asm: add missing company package declaration 2018-06-07 17:36:46 -04:00
Kalle Lindqvist b9f1228306 rust: add missing counsel-gtags package declaration 2018-06-07 17:36:46 -04:00
Kalle Lindqvist 961e448caa rust: add missing smartparens package declaration 2018-06-07 17:36:46 -04:00
Kalle Lindqvist 4af9169d4b scheme: add missing parinfer package declaration 2018-06-07 17:36:46 -04:00
syl20bnr 1833c9c4f7 iedit: fix TAB in Vim and Hybrid states to toggle occurrences
Fixes #10398
2018-06-07 01:59:16 -04:00
Kalle Lindqvist bba3a782cb auto-completion: make helm-company use proper spacemacs idioms 2018-06-07 00:20:41 -04:00
Kalle Lindqvist eb4bc581c2 auto-completion: ensure the counsel block adds company hook in time 2018-06-07 00:20:41 -04:00
Kalle Lindqvist 90d40f5f65 auto-completion: use counsel-company to show completion candidates 2018-06-07 00:20:41 -04:00
Perry Fraser fb855fec67 Add elixir format keybind (#10812)
* Add elixir format keybind

* fix formatting

* Move elixir-format keybind to init-elixir-mode
2018-06-07 00:07:28 -04:00
syl20bnr a67e890965 Fix link to dash layer 2018-06-06 01:23:38 -04:00
syl20bnr 834c39c2fd Update promotion and demotion conventions and apply them to markdown 2018-06-06 01:15:48 -04:00
Kechao CAI 49b21c4c3c markdown: fix M-h, M-j, M-k, M-l bindings.
These key bindings are very useful in emacs-editing mode and should not be
overwrited.

This fixes #10640.
2018-06-06 00:51:20 -04:00
syl20bnr 335e6a2999 Remove buggy find-file-hook--open-junk-file 2018-06-06 00:36:10 -04:00
syl20bnr 763fec9900 Refactor epub layer
Evilify layer and put bindings behind g.
2018-06-06 00:36:10 -04:00
syl20bnr b37e6d687c Rename pdf-tools to pdf in pdf layer 2018-06-06 00:36:10 -04:00
syl20bnr 093cfb2ec4 New layer category +music, move spotify layer 2018-06-06 00:36:10 -04:00
syl20bnr 76981cda26 New layer category +readers, move layers:
dash
deft
elfeed
epub
pdf
speed-reading
2018-06-06 00:36:10 -04:00
Jeremy Dormitzer 0e67c0eba2 Add epub layer
Ignore the nov-places file produced by nov.el

Fix link formatting

Add features to README

Format README

Remove trailing whitespace
2018-06-06 00:36:10 -04:00
Kalle Lindqvist 2ad98d77a1 auto-completion: add ivy-yasnippet (#10813) 2018-06-05 22:45:37 -04:00
Miciah Masters e0b751bee3 Avoid non-idempotent use of push in init code
Replace push with add-to-list in layer init functions and related code.

Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.

Replace a conditional push onto erc-packages with use of :toggle.

When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements.  We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.

Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
syl20bnr 3595708d5f Enable italics in spacemacs theme 2018-06-05 16:50:30 -04:00
Codruț Constantin Gușoi 4a9d535786 Checks if tern exists before using it (#10788) 2018-06-04 02:19:15 -04:00
syl20bnr 2df4db5c60 core: new function spacemacs/plist-get
Made to play well with modified plist. Replace spacemacs/mplist-get by
spacemacs/plist-get in spacemacs|add-company-backends
2018-06-04 01:19:44 -04:00
syl20bnr a698c8ba58 auto-completion: fix add-company-backends macro
We must always use spacemacs/mplist-get on an modified plist, mixing both
spacemacs/mplist-get and plist-get leads to undefined behavior as soon as a
keyword as multiple keywords.
2018-06-04 01:07:00 -04:00
Thanh Vuong 0d800bdbfa spacemacs/integrate-evil-search also dupdates evil-ex-search-direction 2018-06-03 23:56:57 -04:00
bmag 50621c93af python: conditionally remove binding to obsolete keymap
Using a conditional instead of removing entirely since anaconda-mode code has
been in some flux recently. If the keymap stays obsolete when the dust settles
we can remove this block.
2018-06-03 20:19:19 +03:00
syl20bnr 740251d896 Disable evil-goggles pulse 2018-06-03 02:21:21 -04:00
syl20bnr a6542f8e7c Activate nameless only in GUI
Nameless triggers lots of graphical glitches making Emacs unusable in a terminal
when it is enabled.
2018-06-03 01:49:07 -04:00
syl20bnr a337aa7782 Force powerline-scale to be 1 when utf-8 separator is used 2018-06-03 01:48:26 -04:00
syl20bnr 306f8d6cd8 Hide ligther for evil-goggles-mode 2018-06-03 01:09:28 -04:00
Guido Kraemer 0fcdec5fa4 keybinding-alphabetic order 2018-06-02 18:34:30 +03:00
Guido Kraemer 76c4ec0358 add transpose sexps keybinding 2018-06-02 18:34:30 +03:00
Codruț Constantin Gușoi 0ebcc25369 Removes line numbers width setting
As discussed here: https://github.com/syl20bnr/spacemacs/issues/9362#issuecomment-393328914
2018-06-02 16:45:28 +03:00
Codruț Constantin Gușoi 3873ed52fe Revert back to in documentation 2018-06-02 16:37:56 +03:00
Adam Sokolnicki a80f4f6aa4 Move projectile-rails keybindings under the web framework key SPC m f
Closes #7424
2018-06-02 16:26:35 +03:00
Adam Sokolnicki eda1fd1da5 Set leader keys for projectile-rails minor mode instead of ruby's major mode 2018-06-02 16:26:35 +03:00
syl20bnr 1ec62a496a Add evil-goggles and tune effect duration for async and blocking ops 2018-06-02 02:51:06 -04:00
seemyvest 51f922694c Add key bindings for org-feed-update-all and org-feed-goto-inbox (#10745) 2018-06-02 02:00:33 -04:00
syl20bnr 1374cd615f Fix evil-escape lighter being shown in mode-line
Also simplify code a bit.
2018-06-02 01:56:25 -04:00
syl20bnr 8660f93dec nlinum: deprecate layer for Emacs 26.1 and above 2018-06-02 01:28:54 -04:00
Aaron Jensen 95a40af341 Revert "Move yas-activate-extra-mode setup to javascript layer" (#10746)
This reverts commit e4eca01e82.
2018-06-01 20:34:48 -04:00
syl20bnr 12a4d63b30 Fix counsel-gtags package name in common-lisp layer
Fixes #10591
2018-05-31 23:43:02 -04:00
Codruț Constantin Gușoi 390462e36d Adds some profiling keybinding under SPC h P 2018-05-31 01:23:02 +03:00
Codruț Constantin Gușoi 83f2fd4d22 Window splitting with custom delete
Implements some custom window layout splitting functions.
2018-05-31 01:16:57 +03:00
p-sdk 4e3990ce52 ruby: add key bindings for ruby-send-{buffer,line}-and-go 2018-05-31 01:09:50 +03:00
Víctor Cuadrado Juan f234df5f94 Don't hardcode fci-rule-color face
Faces should be set in themes or by use of the theming layer.

This closes #8917.
2018-05-31 00:56:20 +03:00
smile13241324 ecd256ca6d Fix some small typos in spacemacs-purpose documentation 2018-05-30 21:40:27 +02:00
Michael Rohleder 24ca355b6a add org-babel support for some of the more popular languages. (#10738)
* add org-babel support for some of the more popular languages.
* alphabetical sorted package names.
* removed blank lines at EOF.
2018-05-30 09:07:21 -04:00
bmag 3812c591cf Line numbers: tests and bug fixes for major-mode predicate 2018-05-30 11:35:26 +03:00
bmag 8f82486154 Add support for native line numbers in Emacs 26
Emacs 26.1 will introduce a new native line numbers feature:
"display-line-numbers". It includes relative line numbers, is faster than
current linum-mode, and doesn't use the margin area (it has its own area). So
yeah, we want to use the new feature when possible.

No changes are required on the user side, except for Emacs 26 users are
recommended to remove nlinum layer from their configuration (if they have
enabled it).

With this change:
- Emacs 26:
  - uses display-line-numbers by default.
  - linum and linum-relative packages are excluded.
- Emacs 25:
  - does NOT use display-line-numbers.
  - continues to use linum and linum-relative.
- nlinum layer:
  - can still be used as before in Emacs 25.
  - is NOT recommended in Emacs 26, but can be used.
  - when enabled, excludes display-line-numbers.

Also contains some bug fixes:

Fixes a bug where setting `dostpacemacs-line-numbers` to `t` or `relative`
enabled line numbers in every buffer, instead of only in buffers that derive
from prog-mode and text-mode.

Likewise fixes a bug where specifying `:enabled-for-modes nil` (or not
specifying `:enabled-for-modes` at all) in `dotspacemacs-line-numbers` settings
meant "enable in all modes" instead of "enable in modes derived from prog-mode
or text-mode".

Because of this change, also adds a way for users to enable line numbers
in *all* buffers.

Removes check for special buffer. All our current checks should be enough to
enable line numbers only where it makes sense. Disabling in all special buffers
is not necessary.
2018-05-28 19:29:15 +03:00
syl20bnr 738b1be5c3 treemacs: set variables in :init to be overridable in dotfile 2018-05-28 11:23:57 -04:00
Codruț Constantin Gușoi b68bd33a16 Fixes shell readme format 2018-05-28 00:50:16 +03:00
Codruț Constantin Gușoi 099c2b03a8 Adds documentation for OSX modifiers 2018-05-28 00:38:13 +03:00
fiveNinePlusR f7fb7e45a3 OSX: Fix the function keys not working correctly
page up and page down were not working correctly and this allows the normal emacs handling of system function keys.
2018-05-28 00:34:57 +03:00
duianto b5589b18b8 Rename ms in func ahs-ms-on-exit to ts
`ms` is an abbreviation for a micro state, which was the previous name for a
transient state.
2018-05-28 00:22:41 +03:00
duianto 1bcce809d5 Rename ms in helm-nav face definition to ts
The `spacemacs//helm-navigation-ts-set-face` function had been changed to call
the face `spacemacs-helm-navigation-ts-face` with `-ts-`, but the face
definition was still called `spacemacs-helm-navigation-ms-face` with `-ms-`.
2018-05-28 00:14:55 +03:00
AmanYang f5701f3ef7 Fix pushing org-projectile-todo-files to org-agenda-files
Using `(push (org-projectile-todo-files) org-agenda-files)' would occur error shown below when entering org-agenda-mode.
--error begin
Wrong type argument: stringp, ("~/.emacs.d/TODOs.org" ...)
--error end
`(org-projectile-todo-files)' returns a list of files.
 `push' function would make the list a new ELT of `org-agenda-files' rather than merging members into it.
But `org-file-menu-entry' only accept file path string as parameter.
2018-05-28 00:11:37 +03:00
David Balatero 4ad2f719fa Add shell-default-width configuration option for left/right side 2018-05-27 23:58:03 +03:00
Bet4 7fb966d3db recentf: use recentf-expand-file-name to generate recentf-exclude 2018-05-27 23:38:38 +03:00
Codruț Constantin Gușoi 20d4443352 Declares the pandoc prefix 2018-05-27 23:29:07 +03:00
martian-f 71ce9ac3ed Fix run-pandoc resetting settings
When using spacemacs/run-pandoc to open the pandoc hydra, pandoc-mode
is called each time, which will overwrite any previous changes the user
might have done to pandoc--local-settings.

Fix this by calling pandoc-mode only when it is not yet enabled.
2018-05-27 23:19:06 +03:00
Aleksei Fedotov e421377861 jabber: Fix missing optional argument for the alert jabber-alert-echo function.
Jabber alert function should accept an optional second argument containing a
title of the message. The function mimic the default implementation of
jabber-alert-echo by showing the title if it is present and a message body
otherwise.

This commit fixes an error which is thrown when jabber receives a new notification:
(wrong-number-of-arguments (lambda (msg) (if (minibuffer-prompt) nil (message "%s" msg))) 2)
2018-05-27 23:02:17 +03:00
Codruț Constantin Gușoi e1ae3448e6 Remove whitespace from readme 2018-05-27 22:54:25 +03:00
dh 496eb1db56 cleanup & change keybinding of magit-svn-popup 2018-05-27 22:46:44 +03:00
dh 24ba77e775 install magit-svn by default 2018-05-27 22:46:44 +03:00
dh 8cd8197348 enable magit-svn by default 2018-05-27 22:46:44 +03:00
smile13241324 106b27f52e Deactivate evil-escape in holy-mode 2018-05-27 22:37:48 +03:00
William Casarin 754853157b notmuch: add notmuch-show-as-patch
* Bind to <SPC m p p>
* Useful for viewing github review emails as a diff
2018-05-27 20:05:08 +03:00
pancho horrillo 3c20a65ff4 Fix typo in README.org
The sample `00:test_*.py` should read `00:test_.*.py`, as per https://github.com/mineo/yatemplate#description
2018-05-27 20:02:00 +03:00
Alexander Miller 3ff7f4adce filetree: Update treemacs layer. 2018-05-27 19:41:47 +03:00
Alexander Miller aeac113452 filetree: let neotree use "open" instead of "xdg-open" on macos.
Fixes #10744.
2018-05-27 14:30:28 +02:00
Simon Altschuler 505c500418 Enable scrolling in mu4e main mode 2018-05-25 01:31:09 +03:00
Evan Klitzke f98519c154 Add helm-pass to pass layer 2018-05-25 01:05:36 +03:00
CeleritasCelery 6905d9cafa fix bug with evil-pasted object 2018-05-24 10:38:55 -07:00
syl20bnr c9e364721e Fix formatting in javascript layer README.org 2018-05-24 01:44:28 -04:00
syl20bnr 74e8114ed6 Fix code block without language in +completion/templates README.org 2018-05-24 01:40:30 -04:00
Miciah Dashiel Butler Masters 78297be625 Fix various typos
* Fix various isolated typos

"apppend" -> "append"

"availabe" -> "available"

"Descripti using ternon" -> "Description"

"you have not them" -> "you don't have them"

"new on" -> "new one"

"plained" -> "curved"

"repel" -> "REPL"

"vairable" -> "variable"

* Fix a few errors in the CoffeeScript layer readme

Add a missing "the".

Correct a reference to the layer as "javascript" to "coffeescript".

Fix the syntax on the link to CoffeeLint.

* Fix typos: "dofile" -> "dotfile"

* Fix typos: "formated" and "formating"

"formated" -> "formatted"

"formating" -> "formatting"

* hy: Fix docstrings in funcs.el

Fix copy-and-pasted docstring text for
spacemacs/hy-shell-eval-current-form-and-go and
spacemacs/hy-shell-eval-region-and-go.

* Fix typos: "indendation" -> "indentation"

* Fix typos: "the the", "a a"

Fix duplicated (or misplaced) articles.

* Fix typos: "wether" -> "whether"

* Fix typos: "intialize" -> "initialize"
2018-05-23 22:12:30 -04:00
syl20bnr 7d19ba1711 python: fix missing t with :call-hooks keyword 2018-05-23 22:11:10 -04:00
mangosmoothie 41d16b545b updating regex to match single optional m character 2018-05-24 00:45:20 +03:00
Nathan Lloyd e1a6e8be1c add .mjs (ES6 module) extension to init-js2-mode 2018-05-24 00:43:41 +03:00
Codruț Constantin Gușoi 18c7241e2d Removes unwanted whitespaces 2018-05-23 23:27:20 +03:00
Wojciech Wojtyniak df4c3b96f1 Enable command history navigation in the cider REPL in an insert mode
This is the same navigation that is used in normal mode. This behavior matches
one from the elisp REPL.
2018-05-23 23:26:32 +03:00
Jonas Jelten 6d7c22c65c cmake: fix cmake-ide mode hook function name 2018-05-23 23:12:56 +03:00
Miciah Dashiel Butler Masters c18317ad05 shell: Restore correct value for company-idle-delay (#10728)
* shell: Restore correct value for company-idle-delay

In spacemacs//toggle-shell-auto-completion-based-on-path, re-enable
automatic suggestions by restoring company-idle-delay to the value of
auto-completion-idle-delay rather than to a hardcoded value.

* Document how to disable automatic suggestions

Document how to disable automatic suggestions, and mention that the Tab key
will still perform completion even with automatic suggestions disabled.
2018-05-23 00:27:08 -04:00
syl20bnr 04685e77ca templates: look for dotspacemacs-directory location first
Rename variable to templates-use-default-templates
2018-05-23 00:21:32 -04:00
Eivind Fonn 3d72cf2a53 Add templates layer (thanks YasuharuIida) 2018-05-22 23:46:07 -04:00
Robby O'Connor f7946542d2 [BREAKING CHANGE] delete extra-langs layer
This layer has long been deprecated and is due to be nuked.
2018-05-22 23:39:51 -04:00
Jesse Byler 65e605f81b Fix vert/horiz in Window Manipulation Transient St (#10726)
Swaps usage of veritcal and horizontal in the documentation string
for Window Manipulation Transient State.

Fix for Issue #10725.
2018-05-22 23:34:11 -04:00
syl20bnr 7be4e22d45 crystal: fix URL 2018-05-22 23:18:09 -04:00
kekenow 7a3c5c1ab2 Fix issue "counsel-gtags command doesn't work in c-c++ layer
* [#10031] Fix issue "counsel-gtags command doesn't work in c-c++ layer"

https://github.com/syl20bnr/spacemacs/issues/10031
2018-05-22 22:59:22 -04:00