Commit graph

5400 commits

Author SHA1 Message Date
emacspace fa991f0d62 documentation formatting: Sat Jul 18 07:52:04 UTC 2020 2020-07-18 10:01:18 +02:00
Maximilian Wolff a45c2ce7d5
[core] Revise fixed M-x binding
After the latest change the list of bindings
has been changed to a dynamic form which
is not only slow but very hard to maintain.

I have replaced the list with the original one
and replaced the fixed line with backquote notation
to keep it static.
2020-07-18 09:56:54 +02:00
hackartist 0e3065af92
[core] M-x prefix was fixed
* Issue
* It could not correctly bind a prefix.
* where `dotspacemacs-emacs-command-key` is modified,
* it continuously binds a `M-x` prefix to `SPC`
* `SPC` always looks as `M-x`

* Solution
* `SPC`, hard coded `string`, was modified to `dotspacemacs-emacs-command-key`

* Expectation
* When a `SPC` prefix is bound, it should be displayed as the registered name.
2020-07-18 09:53:01 +02:00
Loys Ollivier d0bfc51c7e
visual: apply ansi color only on compilation major mode
Some modes have compilation-mode as parent mode but the ansi coloring
scheme is breaking their highlighting.
i.e. https://github.com/Wilfred/ag.el/issues/124

Fix this by applying ansi-colors only when the major mode is
compilation-mode.

Signed-off-by: Loys Ollivier <loys.ollivier@gmail.com>
2020-07-18 09:47:34 +02:00
duianto 5150ac6c50 [helm] Hide helm-ff-cache-mode mode-line indicator 2020-07-18 09:40:14 +02:00
duianto dd397b1ad5 [semantic-web][docs] Fix layer renamed from semweb 2020-07-18 09:39:35 +02:00
Cormac Cannon bf1ef03bda [org] Updated 'Archive subtree' command to support customisation.
Binding ~SPC m s A~ to org-archive-subtree-default rather than existing
org-archive-subtree binding.
2020-07-18 09:38:54 +02:00
Codruț Constantin Gușoi 18bd126de4 Change browse-at-remote to "SPC go" sicne it is not github specific 2020-07-18 09:37:11 +02:00
Benjamin Yang 0fe36bed57 [shell] Update vterm binding in README
Back in commit ac3752ffd, the binding for `vterm` was updated to fit in with the
rest of the `shell` layer bindings (under `SPC a t s v`).  However, the `README`
was not updated to match.  This commit updates the `README` for the `shell`
layer.

Relates to #13503.
2020-07-18 09:35:11 +02:00
Keith Pinson 4e57eaceea
Remove gradle-mode to stop it breaking bindings of other major modes
After using Java mode, Gradle keybindings infect or even clobber keybindings of
any subsequently used major-mode. For example, the critical Agda major mode
keybinding of `l` as `agda2-load` gets with a Gradle menu!

The cause, found by @duianto, is that `emacs-gradle-mode` sets itself to a
[global](e4d665d578/gradle-mode.el (L176-L183))
minor mode. The docs for `define-minor-mode` say about `:global:`

> If non-nil specifies that the minor mode is not meant to be
> buffer-local, so don't make the variable MODE buffer-local.
> By default, the mode is buffer-local.

I don't know why `gradle-mode` is doing this; presumably there is some reason or
need for it. But the author of that package hasn't been on GitHub since 2017,
and the last update of the package itself is from early 2015.

To seal the deal, `gradle-mode` hasn't been working anyway (at least, I've never
got it to work). I've been running Gradle by launching a terminal within Emacs.

Fixes #13750.
2020-07-18 09:30:35 +02:00
Codruț Constantin Gușoi b3bbbd229d Update changelog with most important changes 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi 698a981e8c Adds text insertion functinos and keys 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi 69078f8d9b Disable the magic comment insertion by default 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi f4f9f74075 Use refactor prefix for the quote and block toggles 2020-07-17 21:02:28 +01:00
Codruț Constantin Gușoi ecb06efbb4 Fix ruby mode handling for special files 2020-07-17 21:02:28 +01:00
Maximilian Wolff 56338b537d
[elm] Add lsp support 2020-07-17 18:13:18 +02:00
Benjamin Yang 39de9ff0af [spell-checking] Add keybinding for flyspell-region
For those times when just a comment needs to be spellchecked, `flyspell-region`
should have its own keybinding.
2020-07-16 10:46:36 +02:00
duianto 1e677bb532 Revert "[spacemacs-bootstrap] Fix mode-line evil state foreground"
This reverts commit 4562da2b56.

Revert reason:
emacsclient broken on develop branch by commit 4562da2b5
https://github.com/syl20bnr/spacemacs/issues/13766
2020-07-13 22:20:37 +02:00
emacspace dec350eb84 documentation formatting: Sun Jul 12 08:21:50 UTC 2020 2020-07-12 21:03:53 +02:00
John Practicalli Stevenson 5f7e56fecc [clojure] refactor namespace key bindings
Add key bindings to refactor namespace forms for existing functions in CIDER.

"ran" 'clojure-insert-ns-form
"raN" 'clojure-insert-ns-form-at-point
"run" 'clojure-update-ns
2020-07-12 21:01:57 +02:00
milserk aef1c2726f Restore attribute and variable names in theming layer docs
The example attributes and variables names were lost in a previous commit. This commit adds them back.
2020-07-12 21:00:06 +02:00
duianto 4562da2b56 [spacemacs-bootstrap] Fix mode-line evil state foreground
The evil state foreground color on the mode-line was set to
the mode-line background color.

This caused problems with some themes.
[FEATURE REQUEST] Darker option for mode-line color codes #13731

Solution:
Set the evil state foreground color to the darker of the
mode-line face foreground or background colors.
2020-07-12 20:53:51 +02:00
Aaron L. Zeng 1a28a26738 [osx] Don't initialize osx-dictionary on non-mac systems
Restore the `SPC x w d` key binding for define-word-at-point, from
spacemacs-language.
2020-07-12 20:51:06 +02:00
kenkangxgwe 21b3ae20b3
Update key bindings for vterm
* Sending <kbd>Esc</kbd> to vterm using `vterm--self-insert` results in `1;5u`,
using `vterm-send-escape` instead.
* <kbd>Ret</kbd> is not sent by `vterm--self-insert`, using `vterm-send-return`
instead.
2020-07-12 20:41:07 +02:00
Maximilian Wolff d4a590a2fd
[helm] Fix helm with universal argument 2020-07-12 10:18:25 +02:00
Maximilian Wolff 920f568d81
[groovy] Make all variables adhere to layer naming scheme 2020-07-12 01:42:44 +02:00
Maximilian Wolff 8e3ea78191
[kotlin] Add lsp support 2020-07-12 01:34:25 +02:00
Maximilian Wolff f3f0e3a98d
[groovy] Fix missing ")" in documentation 2020-07-09 22:05:19 +02:00
Maximilian Wolff 3985f0042b
[vimscript] Add lsp server support 2020-07-09 22:03:55 +02:00
tuh8888 ce5f278a2a [git] Allow multichar major mode leader key for exiting magit commit edits 2020-07-07 16:06:38 +02:00
Maximilian Wolff ac3752ffd7
Add missing prefixes to global application bindings 2020-07-06 23:13:52 +02:00
Maximilian Wolff eacab70047
[groovy] Add lsp server support 2020-07-06 22:26:07 +02:00
Magnus Therning 7f2dfe9c91 [haskell] Move keybindings when using LSP
A few of the layer's keybindings are shadowed when using the LSP backend:

- `F` - format buffer using stylish
- `hh` - lookup on Hoogle
- `gi` - navigate to imports

These are useful shortcuts to keep, so when the LSP backend is in use they are
rebound like this:

- `F` -> `S`
- `hh` -> `hg`
- `gi` -> `gl`
- `hH` -> `hG` (not one that is shadowed, but rebound to bind external and local
  Hoogle lookups to similir shortcuts)
2020-07-05 22:33:08 +02:00
Ivan Yonchovski 7a107e65d2
Make spacemacs/useful-buffer-p much faster
- `with-current-buffer` triggers a lot of hooks.
2020-07-05 22:28:47 +02:00
Ade Attwood 7a9a16ec96 Add ctp files to html language
When editing Cakephp template files there is not highlighting. This adds the
`.ctp` files to the html language using web-mode.
2020-07-03 22:41:35 +02:00
Maximilian Wolff b82bc40b3c
Fix ignored popwin declarations
Popwin automatically configures pupo purposes
if properly configured. While I was checking
the existing configs I have found that the
settings will be ignored if the config is not
done via a post-config hook.

A quick search revealed a lot of popwin configs
which never had any effect.

This commit fixes these and with this also
restores the missing pupo configs.
2020-07-03 21:51:33 +02:00
Ivan Yonchovski f895dfc2a9 Remove the references to lsp-ui-flycheck-enable 2020-07-03 20:18:17 +02:00
emiltoacs 0045a72f83 [org] update org-journal obsolete functions
Related to comment in
[Issue: #13735]
2020-07-03 20:14:49 +02:00
Maximilian Wolff b68b44a1b1
[tern] Remove unmaintained package company-tern
Company tern is not longer on melpa and had to be removed.
See #13725 for details.
2020-07-03 01:18:40 +02:00
Maximilian Wolff 70441bd088
[twitter] Rebind application level binding to resolve key conflicts
Latest revision of application level bindings conflicted
with old twitter bindings. This moves twitter in the
matching category.
2020-07-03 00:09:08 +02:00
John Practicalli Stevenson 92c010a207 [applications] refactor key bindings to layer categories
refactor key bindings for applications to provide additional room for
applications and use lower case characters.

Move calc-dispatch to `SPC a *`

Relates to #13503
2020-07-02 23:43:19 +02:00
Thanh Vuong 4928a9f55d [sql] fix regession by #13718
remove sql-mode which is not a package move its init to init-sql
2020-07-02 10:29:50 +02:00
emacspace 89b265e779 documentation formatting: Wed Jul 1 19:13:36 UTC 2020 2020-07-01 21:23:53 +02:00
Shunya Ishii 403aef6fd4 [SQL] Add lsp support 2020-07-01 20:49:01 +02:00
Joel Pettersson 244b3f58a2 [go] Fix search for current test function to run
spacemacs/go-run-test-current-function() previously failed when point was
anywhere but at the end of the line on the first line of the test function to
run.
2020-07-01 20:45:04 +02:00
Steve Lorimer 70232d9f58 [lsp] remove requirement for yasnippet 2020-07-01 20:42:51 +02:00
Benjamin Yang 91556a33d4 [vagrant] Correctly bind vagrant-tramp-term
According to the README, `SPC a t v t` should start `vagrant-tramp-term`, but
instead, it seems to have been bound to `SPC a t v`.  This means that it
overrode all of the other vagrant keybindings under the prefix `SPC a t v`.

The issue seems to have been a typo from commit e38c33f.

Relates to #13503.
2020-07-01 20:38:48 +02:00
Maximilian Wolff c663420399
[purpose] Remove hack to load user purposes from layers
User purposes are exclusively for user configs.
Layers shall set purpose extensions instead to allow
reconfiguration.

The existing layers have been refactored to use
extensions now. So this kind of hack is not longer
needed.
2020-06-28 00:05:26 +02:00
Maximilian Wolff 2d326cf4f3
[mu4e] Refactor window-purpose config
Refactor window-purpose config to use
extension-configuration rather than
user-configuration to allow reconfiguration
in user-config.
2020-06-27 23:51:03 +02:00
Maximilian Wolff 8ac0edc297
[notmuch] Refactor window-purpose config
Refactor window-purpose config to use
extension-configuration rather than
user-configuration to allow reconfiguration
in user-config.
2020-06-27 23:37:47 +02:00
Maximilian Wolff 4f9fdb0664
[slack] Refactor window-purpose config
Refactor window-purpose config to use
extension-configuration rather than
user-configuration to allow reconfiguration
in user-config.
2020-06-27 22:55:36 +02:00
Maximilian Wolff f317db3ace
[jabber] Refactor window-purpose config
Refactor window-purpose config to use
extension-configuration rather than
user-configuration to allow reconfiguration
in user-config.
2020-06-27 22:42:57 +02:00
Maximilian Wolff 6452e8121c
[rcirc] Refactor window-purpose bindings
The purpose config was declared by using user mode purposes
which are reserved for user configuration.
2020-06-26 01:47:55 +02:00
Maximilian Wolff 1753db7386
[gnus] Refactor window-purpose bindings and fix wrong license header
The purpose config was declared by using user mode purposes
which are reserved for user configuration.

I have also fixed the license header for config.el which did
not mention Sylvain Benner & Contributors.
2020-06-26 01:33:36 +02:00
Maximilian Wolff 689244821c
[erc] Refactor window purpose allocation to use official form
In the old form the wrong type of extension
was added, this prevented any reconfiguration
of purpose allocations in the dotfile.

Now the right type of allocation is used
allowing users to overwrite the config easily.
How this is done is described in
the purpose layer.
2020-06-26 01:29:10 +02:00
Maximilian Wolff c4e420cf36
[purpose] Document how to properly declare and overwrite purposes
Also refactor purpose config in shell layer to
use the correct `post-init-window-purpose`
function.
2020-06-26 01:10:17 +02:00
emacspace d9730b74f6 documentation formatting: Thu Jun 25 15:41:42 UTC 2020 2020-06-25 18:28:53 +02:00
Aaron L. Zeng e9157a5607 [spacemacs-layouts] Fix return value of rename-buffer
spacemacs//fixup-window-configs is added as an `:around` advice for
`rename-buffer`.  It should preserve `rename-buffer`'s return value,
which is the new name of the buffer.
2020-06-25 17:39:19 +02:00
JAremko 6145a566e8 Remove docker distribution
This days there are better ways.
2020-06-25 14:30:55 +03:00
Miloš Mošić d4634b5711 Fix incf causing an error message
This was the only place where `incf` was used instead of `cl-incf`,
it fixes the "Symbol’s function definition is void: incf" error
2020-06-24 23:15:53 +02:00
emacspace 9ef6505204 documentation formatting: Wed Jun 24 20:50:11 UTC 2020 2020-06-24 23:15:02 +02:00
Magnus Therning c2950ac22a [haskell] Remove hayoo from Haskell layer keybindings 2020-06-24 22:45:14 +02:00
John Practicalli Stevenson e38c33feb0 [applications] refactor key bindings to tools
refactor key bindings for packages under +layers/tools

Relates to #13503
2020-06-24 22:43:30 +02:00
Maximilian Wolff 938a7395dc
[json] Add lsp support 2020-06-23 22:58:26 +02:00
Dan Burton deeed044fd update stack project-root command 2020-06-23 19:32:17 +02:00
Maximilian Wolff 5dcf7ae8e6
[terraform] Revise terraform lsp support
Made lsp support for terraform follow the convention
that if not explicitly set the backend shall be
inferred from the loaded layers in the dotfile.
2020-06-22 21:27:12 +02:00
Shunya Ishii 05bc20d806
[terraform] Add LSP support for terraform-lsp 2020-06-22 20:15:12 +02:00
Tomasz Kowal 80f17249e9 Fix origami bindings in normal mode 2020-06-21 17:08:47 +02:00
emacspace 78176ff6fa documentation formatting: Sat Jun 20 21:17:28 UTC 2020 2020-06-20 23:38:28 +02:00
Aaron L. Zeng 17c990629f
[osx] Use gls in dired regardless of exec-path-from-shell
f553b3622d indicated that Spacemacs no
longer uses `exec-path-from-shell`, and instead relies on
`spacemacs-env-vars-file` to make sure environment variables are
set correctly.  This caused `gls` not to be used on macOS any more.

This commit re-enables support for automatically using `gls` in dired.

Fix #10957.
2020-06-20 23:13:52 +02:00
Richard Kim ae971d7878 replaced one do with cl-do and position with cl-position 2020-06-20 22:46:09 +02:00
Maximilian Wolff a51397b3ce
[meson] Rebind lookup-doc-at-point to major mode specific binding 2020-06-20 21:49:23 +02:00
Matthew Leach 421fca3cea
[meson] add layer to +tools/
Add a new meson layer to the +tools layer set.
This basic layer is a simple wrapper around meson mode.
2020-06-20 21:22:57 +02:00
timor 6f39c20e8e [factor] Support running graphical Factor listener from Spacemacs
Fuel mode is responsible to connect to a Factor instance.  This change extends
the Factor layer to handle a graphical listener process, to which fuel can
connect afterwards.

A major motivation is also to make it easier to develop with different Factor
versions, which can be specified with (project-/directory-specific) variables.
When starting a Factor listener in a certain location this way, the elisp code
for fuel/factor mode is reloaded from that location.
2020-06-20 21:07:15 +02:00
duianto 78b45b4167 Fix typo in holy-mode latin function name
Noticed by phoe:
Typos in holy-mode.el · Issue #13576
https://github.com/syl20bnr/spacemacs/issues/13576
2020-06-18 13:02:06 +02:00
ivann f60997e6a6 [keyboard-layout] Add ediff remapping 2020-06-14 22:40:22 +02:00
Matt Kramer 5fcd84d845
[latex] Init jump handlers in LaTeX-mode-hook
AUCTeX is weird: It reports major-mode as latex-mode (since TeX-latex-mode is
applied as an :override advice on the basic built-in latex-mode), but its mode
hook is LaTeX-mode-hook, not latex-mode-hook (which is only run by the built-in
latex-mode). Since bind-map uses the value of major-mode, we must pass
latex-mode to spacemacs|define-jump-handlers. But then
spacemacs//init-jump-handlers-latex-mode gets added to latex-mode-hook, which
never gets run. So we must manualy add it to LaTeX-mode-hook.

[latex] Use dumb-jump as primary jump handler

Otherwise, the default is used, which prioritizes evil-goto-definition over
dumb-jump-go. Dumb Jump tends to Just Work, while evil-goto-definition doesn't
handle LaTeX very well, at least not without a TAGS table.

[latex] Update CHANGELOG.develop
2020-06-11 01:18:47 +02:00
emacspace e2fb193c09 documentation formatting: Wed Jun 10 22:15:04 UTC 2020 2020-06-11 00:56:53 +02:00
Steve Lorimer 464fed8757 [which-key] fixup for change to help text for "buffer-to-window-N" so which-key-replacement-alist works again 2020-06-11 00:52:08 +02:00
Ag Ibragimov 7234d61003 fix: org-store-link doesn't work unless you load mu4e
When mu4e layer is present org-store-link doesn't work immediately when you
start Emacs, unless you explicitly load mu4e.

It'd display "Please load mu4e before mu4e-org" message and do nothing.
2020-06-11 00:45:37 +02:00
Bjarke Vad Andersen 0e9edda361 [Scala] Add lsp-metals
Having an explicit dependency on lsp-treemacs for post-init-lsp-treemacs is no
longer necessary in the Scala layer, as lsp-metals superseeds it.
Removed lsp-metals-treeview-enable as it no longer exists.
2020-06-11 00:43:12 +02:00
Jay Z 34a446724f
Add Go command variables
This is a squash commit, it includes:
* Add go run and go test command variables
* Update go README for go-run-command and go-test-command
* Update CHANGELOG
2020-06-11 00:12:56 +02:00
Philippe Rambert-Gilli ff5389160b Updated instructions for arch linux installation of gtags and from source 2020-06-11 00:02:51 +02:00
Benjamin Yang 7f5a53c2ef Racket: actually switch to insert state in REPL
As per the README, `SPC m s B' should put the REPL buffer in insert state, but
the keybinding as defined puts the racket file itself into insert state, not the
REPL.  This means that on returning to the racket file buffer, the cursor is
left in insert state, which means it is easy to accidentally add unwanted text
into the file.

To fix this, a `with-current-buffer' wraps the `evil-insert-state', so that
insert state is enabled in the REPL buffer, not the file being edited.

The first time this is run, `racket-run-and-switch-to-repl' is asynchronous of
`evil-insert-state', so trying to get the Racket REPL buffer will error.  To fix
this problem, we wrap the `with-current-buffer' with a check to determine that
the Racket REPL buffer is live.  The first time the Racket REPL buffer is
created, the contents will not run, since the Racket REPL buffer will not yet be
live.  This is fine, since we enter the REPL in insert state automagically.

This change does not need to be done to `spacemacs/racket-send-last-sexp-focus',
`spacemacs/racket-send-definition-focus', or
`spacemacs/racket-send-region-focus' since these functions follow all of their
racket-send functions with `(racket-repl)' before calling `evil-insert-state'.
2020-06-10 22:55:58 +02:00
Maximilian Wolff 1660527cd7
[Elixir] Remove traces of flycheck-mix from docs and layer variables
flycheck-mix has been removed by the package author as being
obsolete with proper lsp and alchemist support. Therefore
the layer also has been cleared of it as it cannot longer
be found on Melpa.
2020-06-08 22:59:48 +02:00
Tomasz Kowal 653fbab6bc
Remove flycheck-mix-compile in favour of default lsp and alchemist checkers 2020-06-08 22:50:31 +02:00
CharlesHD 2bc80b4b42 keyboard-layout: add evil-cleverparens remapping 2020-06-07 23:19:43 +02:00
Damien Picard 9e40ea8926 [keyboard-layout] Add evil-lisp-state mapping 2020-06-07 23:10:00 +02:00
emacspace 064727f2f2 documentation formatting: Sun Jun 7 20:46:17 UTC 2020 2020-06-07 23:07:07 +02:00
Maximilian Wolff 74735b41a8
[syntax-checking] Document activation of traditional error navigation 2020-06-07 23:05:07 +02:00
Michael Hauser-Raspe bc879daeee Allow config syntatx-checking-use-standard-error-navigation. 2020-06-07 22:44:08 +02:00
Pierre Balayé 3b4f9ecd37 Tune org-babel transient state.
When navigating source code blocks, it is now possible to execute several of
them without exiting the transient state.
2020-06-07 19:41:28 +02:00
Maximilian Wolff eab3081388
[CFEngine] Make mustache-mode auto-mode-alist binding during init
If this is not done opening a .mustache file would not
load mustache-mode if it has not been activated manually
before.
2020-06-07 19:32:15 +02:00
Nick Anderson f384fed4b4 Added mustache-mode to CFEngine layer
Mustache is the preferred templating in modern versions of CFEngine and it's
nice to have syntax highlighting when working with templates.

Now, when the CFEngine layer is in use, files ending in .mustache will be opened
in mustache-mode.
2020-06-07 19:28:23 +02:00
Maximilian Wolff 1de729e7bd
[doc] Add missing treemacs bindings 2020-06-07 19:24:40 +02:00
张海东 8d6843dd59 [doc] Remove duplicate keyboard shortcuts 2020-06-07 19:20:11 +02:00
Jannis Dohm 190b3e9f97 Added additional tabular environments
Added additional tabular environments to latex-nofill-env variable.
This deactivates the automatic fill in a few more tabular environments.
2020-06-07 18:27:10 +02:00
Thanh Vuong 1451268757 [org] replace org-bullets with org-superstar
org-bullets has been deprecated
2020-06-07 18:18:21 +02:00
Tomasz Kowal 8e4bd9a8a1 Move folding bindings to evil motion state map 2020-06-07 18:16:46 +02:00
Thanh Vuong b071baf256 [layout] fix persp-mode integration with helm v3.3
Helm v3.3 no longer uses ido to get buffer list. So the change perp-mode makes
to ido won't affect helm anymore. Hence helm buffer list commands such as
helm-mini and helm-buffer-list will shows all buffers regardless of current
layout. Also `SPC l l` crashes with new helm.

This PR fixes them. We use the new helm variable helm-buffer-list-reorder-fn
to filter buffers. Because we compose this value users are still able to
customize this variable.
2020-06-07 18:14:24 +02:00
duianto 0d29f15f6c [source-control] Add Git Blame Transient State
Minified hint:
Chunks: n N p P RET Commits: b r f e q

Full hint:
Chunks                   Commits                     Other
[p/P] prev /same commit  [b] adding lines            [c] cycle style
[n/N] next /same commit  [r] removing lines          [Y] copy hash
[RET] show commit        [f] last commit with lines  [B] magit-blame
                         [e] echo                    [Q] quit TS
                         [q] quit blaming
2020-06-07 18:09:18 +02:00
Keith Pinson f5fddc4256 [scala] drop support for Unicode arrows, now deprecated in Scala
As of Scala 2.13, Unicode arrows are deprecated:

* https://github.com/scala/scala/pull/7540
* https://github.com/scala/scala-dev/issues/585
* https://github.com/scala/bug/issues/11210

Using one will give a deprecation warnings like so:

> The unicode arrow `⇒` is deprecated, use `=>` instead. If you still wish to
> display it as one character, consider using a font with programming ligatures
> such as Fira Code.

As such the Scala layer's version slick capability to replace ASCII arrows with
Unicode ones is no longer useful, and I have removed it.

Based on my tests it doesn't seem that there is a need for a more graceful way
to deprecate this: i.e. nothing fails if there is extra junk in `:variables`.
2020-06-07 12:51:10 +02:00
Maximilian Wolff ecba7ad0dc
[c++] Fix not loading of "c-c++/post-init-company" function 2020-06-05 22:37:08 +02:00
Maximilian Wolff 23976ab799
[go] Remove duplicated code and run golangci-lint only if no errors are found
Before the decision which linter to run before golangci-lint has been
taken by the layer. However this can also directly be done by the
checkers.

Also golangci-lint did run even when the previous checker still reported
errors. With this it is only called if the previous checker is satisfied.

All thanks goes to Tommi Komulainen.
2020-05-27 18:16:47 +02:00
Maximilian Wolff 1ec43e7262
[go] Next try to make golangci-lint support more stable 2020-05-26 00:19:38 +02:00
Richard Kim 0d9cea8e2f
fixed typo by changing dired-load to dired-mode 2020-05-24 23:46:53 +02:00
Maximilian Wolff c6c931bc1e
[go] Make golangci run all available checkers and backup with go-build
Flycheck-golangci was not properly conigured which resulted in
not replacing disabled standard linters like go-test.

In addition there seems to be an issue in the current golangci
build causing the linter to fail. In this case spacemacs now
shows at least basic errors from go-build. When they are fixed
the linter should be able to work normally again.
2020-05-24 23:46:10 +02:00
Christian Hopps 55a8d1fc8e Update mu4e to 1.4.x changes.
From the author of mu4e, org-mu4e.el is not supported anymore. Load the
supported org functionality from mu4e-org.el instead.

mu4e author -- "org-mu4e.el has been obsoleted in mu4e 1.4.x... the supported
parts are in mu4e-org.el now. And there's currently no real expectation you can
load those separately (it might work)."

I believe by separately means loading mu4e-org w/o having loaded mu4e.
2020-05-24 23:41:19 +02:00
duianto c6f47bd870 [neotree][treemacs] Fix/unify first header line
The Neotree layers.el header said: Treemacs
Capitalized Treemacs
Appended: for Spacemacs
  (most of the layer files first line seems to end with that)
2020-05-21 11:59:06 +02:00
emacspace 275b519f0a documentation formatting: Mon May 18 22:06:40 UTC 2020 2020-05-20 22:24:46 +02:00
Maximilian Wolff 015303a701
[extempore] Fix BEGIN_SRC block in doc and provide better eldoc setup
A BEGIN_SRC block in the documents had no language specified
which would break CI.

I have also changed the eldoc setup to run each time the mode is
entered instead of only in the initially loaded buffer.
2020-05-19 00:00:44 +02:00
Ben Swift 86fe1ba2d1
add layer for the Extempore programming language
https://github.com/digego/extempore
2020-05-18 23:43:06 +02:00
Francisco Rodera 5396a36e18 [doc] Update list of suggested packages to install with python-language-server
Removed suggestion to manually install Python packages that are already
dependencies of python-language-server [1].

[1] 6a7eae7600/setup.py (L50-L58)
2020-05-18 23:26:58 +02:00
Maximilian Wolff 1fd90fc1dc
Update instructions for dap integration and update existing layers
The previous way of adding dap to a layer did add the mode
unconditionally to `spacemacs--dap-supported-modes` causing
dap bindings to be added also when no lsp backend was used.
2020-05-16 23:40:38 +02:00
Maximilian Wolff 04f2a5e58b
[dap] Fix mode specific prefixes 2020-05-16 23:40:38 +02:00
duianto a0b099b54e [spacemacs-base] Fix void layout local variable and function
The variable: layouts-enable-local-variables
and function: spacemacs/make-variable-layout-local
are defined in the layer: spacemacs-layouts

But the spacemacs-layouts layer isn't loaded
in the distribution: spacemacs-base
2020-05-16 13:44:23 +02:00
Maximilian Wolff 743d413abc
[plantuml] Fix config to have the package use local jar execution
If not done plantuml-mode will try to work with the online
server and fail during parsing of its response.

Reported in #13574
2020-05-16 12:45:12 +02:00
emacspace 20881cafee
documentation formatting: Fri May 15 21:10:12 UTC 2020 2020-05-15 23:57:28 +02:00
Shrutarshi Basu 62fdd198bb
Add racket-xp-mode to Racket layer
racket-xp-mode is an optional minor mode that enhances the racket-mode to
explain and explore Racket code. The racket-xp-mode is started with a mode-hook
on racket-mode. Deprecated racket-mode functions are replaced with their
racket-xp-mode versions. The remaining racket-xp-mode functions are added to
keybindings as per Spacemacs conventions.

Also add the racket-mode directory to .gitignore.
2020-05-15 22:58:29 +02:00
WH b81475a45c
[doc] Update latest libvterm install guide
Install ubuntu(18.04) libvterm-dev will cause compilation error,
update latest doc from emacs-libvterm, it shall download
latest libvterm automatically.
2020-05-15 22:50:46 +02:00
Maximilian Wolff d314cc7eef
Make auto-complete more configurable and efficient for lsp
To optimise performance of lsp mode in emacs 27 and above
I have introduced a new dotfile variable to define the size
of data read from external processes. The default I have
set to the recommended setting from lsp-mode.

In addition I have introduced a new layer variable for
auto-complete-layer to define the minimum prefix length.

I have also added instructions to auto-complete's readme
how to set these variables to the recommended settings
for lsp-mode.

Changes inspired from #13507
2020-05-15 22:22:28 +02:00
CeleritasCelery fef3187337 fixed window-live issue 2020-05-11 14:49:18 +02:00
CeleritasCelery 1c47f3e8f4 Make pop-shell layout local 2020-05-11 14:49:18 +02:00
CeleritasCelery 6fa6b66b75 Add functions to make variables layout local 2020-05-11 14:49:02 +02:00
Maximilian Wolff c7ed2fc597
[helm] Provide fuzzy matching for Helm-M-x
Following the advice from duianto #13100 we are
setting completion-styles for helm-M-x to include
the emacs version specific fuzzy strategy as last
resort.

Before no fuzzy matching occured within command
searches.
2020-05-11 12:36:56 +02:00
lawr f9ffb8dc94 Avoid unnecessary packages installation of tern layer
Fixes #13530
2020-05-11 09:42:13 +02:00
Shunya Ishii c54de3caa4 [clojure] Change leader key to fix warning
Fix this warning when reloading spacemacs configuration:

```
Error (use-package): cider/:init: Key sequence e p ; starts with non-prefix key e p
```
2020-05-11 09:39:15 +02:00
duianto 4e2ce45aa4 [version-control] Bind SPC g v I (vc-ignore) on startup 2020-05-10 21:18:35 +02:00
emacspace 7dd2091738 documentation formatting: Fri May 8 22:03:52 UTC 2020 2020-05-09 00:11:48 +02:00
Cormac Cannon 097a1fc42d Added keybinding to focus the imenu-list sidebar, creating if necessary.
Bound under ~spc b i~.
Moved existing toggle binding under UI toggle prefix: ~spc T i~
Bindings now using spacebind macro.
2020-05-09 00:08:33 +02:00
Maximilian Wolff da49d58882
[wakatime] Make doc clearly state not to store your api key in the layer config 2020-05-08 23:58:28 +02:00
John Cooper 440691301e
[wakatime] readme, note api key in bug reports
In the Wakatime layer add a line to the readme to highlight the fact that having the api key in the main layer config will submit it as part of a bug report. There is probably a better way to achieve this but at least this highlights it for now.
2020-05-08 23:41:22 +02:00
Thanh Vuong c866f61fdb [javascript] proper hook setting for js-doc
move stray execution in fn into package init
2020-05-08 23:27:20 +02:00
刘冲 aaaf1c89a2 Update README.org of clojure layer to remove redundant linting via... 2020-05-08 23:18:03 +02:00
Mariusz Klochowicz 2349e23fb5 [org] Enable org-habit module.
This org-module is not mentioned in org.el. Enabling it fixes habit consistency
graph view in org-agenda.
2020-05-08 23:06:03 +02:00
Ivan Yonchovski 25e9635402 [fasd] Use helm-fasd in fasd layer when helm is present
- Underestimated but very handy package.
2020-05-08 22:59:36 +02:00
Xiang Ji ae2efb50e0 [ruby] Add instruction on disabling the automatic insertion of encoding comment 2020-05-08 22:55:29 +02:00
Hideaki Kawai d96ff261f1 [idris] Add to spacemacs-indent-sensitive-modes 2020-05-08 22:34:53 +02:00
duianto 57b1ae7880 [version-control] Load SPC g v keys on startup 2020-05-08 22:27:11 +02:00
Thanh Vuong ce6f35505a [org-mode] [verb] fix binding crashing C-h k
for verb-response-headers-mode It's a major mode not a minor one.

lazy loading  verb-response-body-mode

Without this change `C-h k` will crash throwing verb-response-headers-mode
variable is void.
2020-05-08 22:22:29 +02:00
pancho horrillo 9acafc345a [major modes]: Add keybinding for pkgbuild-update-srcinfo
The function pkgbuild-update-srcinfo was just added¹ to pkgbuild-mode,
and allows to easily produce a .SRCINFO file for a given PKGBUILD,
which is a required¹ element of an AUR package.

¹: https://github.com/juergenhoetzel/pkgbuild-mode/pull/18
²: https://wiki.archlinux.org/index.php/.SRCINFO
2020-05-08 22:16:37 +02:00
emacspace d0f5477c32 documentation formatting: Wed May 6 22:11:32 UTC 2020 2020-05-07 01:52:26 +03:00
duianto 106823bd93 [php][doc] Update readme
Wrap code snippets in source blocks.
Fix spelling.
Wrap lines at 80 chars.
2020-05-07 00:02:44 +02:00
emacspace 42c24bd73c documentation formatting: Wed May 6 21:12:48 UTC 2020 2020-05-06 23:21:46 +02:00
Xing GUO d4221c3aa6 [Debug][Doc] Fix broken link in documentation. 2020-05-06 23:10:34 +02:00
Ivan Yonchovski a3ea02d6bd [lsp][dart] Fix dart layer
- lsp-dart was moved into separate package so it has to be requred separatelly.
2020-05-06 23:01:18 +02:00
duianto 230ea2279f [treemacs] load treemacs-icons-dired-mode earlier
Opening a dired buffer from the Treemacs buffer,
right after starting Spacemacs, shows the error message:
>treemacs-icons-dired--display: Wrong type argument: char-or-string-p, nil

Loading `treemacs-icons-dired-mode` from the `dired-load-hook`,
instead of from the `dired-mode-hook`, seems to fix it.

The `dired-load-hook` docstring says:
>Run after loading Dired.

The `dired-mode-hook` docstring says:
>Run at the very end of ‘dired-mode’.
2020-05-06 20:13:59 +02:00
Daniel Nicolai 1f6e39ea8a
[pdf] Add pdf-mode keybindings to scroll through history 2020-04-21 20:50:21 +02:00
Ivan Yonchovski b227a68c7b [emacs-lisp] Added emr integration
- I have used the shortcuts from the clojure layer
- see https://github.com/Wilfred/emacs-refactor
2020-04-20 19:30:22 +02:00
Alexander Konotop 2c2cfe6f92 Added dap inialization for php layer. Updated a manual respectively. 2020-04-20 19:27:13 +02:00
Ivan Yonchovski e5f4db6ebe [dap] Add dap-ui-controls-mode integration for dap layer 2020-04-20 19:16:19 +02:00
emacspace ee025391f7 documentation formatting: Sat Apr 18 19:32:59 UTC 2020 2020-04-20 19:14:41 +02:00
Maximilian Wolff 5f12569954
Move conda and ipython-notebook layer from +lang to +tools category
Also adjusted the tags to match the folders the layers
are in. I have also updated the binding for imenu mentioned
in protobuf layer and adapted the kubernetes tags to register
as tool instead of as os.
2020-04-18 21:28:14 +02:00
Maximilian Wolff d36db7920f
[ranger] Make layer not use two different application level bindings
Ranger did register two application layer level bindings to call ranger
or deer. This has now been moved to its own application level binding
spc a r.
2020-04-18 20:57:17 +02:00
Maximilian Wolff 5e037c8890
[core] Move easy pg bindings from SPC a e to SPC a Y
The global bindings for easy pg clash with the evernote layer.
Therefore I have moved it to SPC a Y instead.
2020-04-18 00:51:41 +02:00
Maximilian Wolff 7a7c892dde
[geolocation] Make layer not longer use two global bindings
This layer was using two global bindings SPC a w and SPC a W.

As the available keybindings in that sub-menu are dwindling
I have moved the bindings to SPC a w w and SPC a w W instead.
2020-04-18 00:43:13 +02:00
Maximilian Wolff acdd37def1
[pass] Move global bindings to SPC a a instead of SPC A p
Also make layer work properly in non evil mode by using
spacemacs macros instead of evil primitives.
2020-04-18 00:29:58 +02:00
Maximilian Wolff 81c99a6ea3
Revert "[rcirc] Move binding from SPC a i to SPC a I to avoid key conflicts"
This reverts commit 0ed30eb4bf.

The change was not really necessary both are using different
sublevel bindings.
2020-04-18 00:09:07 +02:00
Maximilian Wolff 0ed30eb4bf
[rcirc] Move binding from SPC a i to SPC a I to avoid key conflicts
Rcirc layer was using the same global bindings as erc layer.
To avoid key conflicts this moves rcirc to SPC a I instead.
2020-04-18 00:03:28 +02:00
Maximilian Wolff 87ba29760a
[dash] Fix wrong keybindings in README 2020-04-17 23:43:42 +02:00
Mike Holm 23133adbe2 add js log key bindings to react layer 2020-04-16 23:47:18 +02:00
emacspace d6ad9ec120 documentation formatting: Thu Apr 16 21:34:10 UTC 2020 2020-04-16 23:41:56 +02:00
Hans Jang 39f774f70b
[Python] Reflect upstream pytest update to python-test-last
This is a squash commit, it contains:
* Reflect upstream pytest update to python-test-last
* Update CHANGELOG.develop
2020-04-16 23:37:25 +02:00
Simon Sellar cf9cd69cf8
Update installation command for Vue language server in Vue Layer 2020-04-16 23:31:50 +02:00
Xiang Ji 9a7eb76101 [vue] Update package name for vue-language-server 2020-04-16 23:28:22 +02:00
Hans Jang 397b21e4f1
Replace close-compilation-window with show-hide-compilation-window 2020-04-16 23:22:24 +02:00
Didier A b5eea24926 Modified Clojure layer's major leader binding sl to be smarter and find the associated repl when in a non cider repl buffer and clear it, instead of throwing an exception, which is what it currently did. 2020-04-16 23:06:37 +02:00
Maximilian Wolff c191f06235
[dash] Move bindings from SPC d to SPC a z to avoid key conflicts
Debug bindings are now added to the global binding of SPC d therefore
dash had to move to the standard application bindings.
2020-04-16 21:55:37 +02:00
Ivan Yonchovski fb870e84a5 [defaults] Added shortcut to switch to last compilation buffer 2020-04-16 21:54:53 +02:00
Ivan Yonchovski 6fbcef0648 [lsp] Use lsp-ivy when ivy layer is present 2020-04-16 21:53:31 +02:00
Ivan Yonchovski 8fe8f76cd6 [dap] Provide global keybindings for dap-mode
- added the same bindings you normally have under `SPC m d` under `SPC d`
similar to what Debug layer does. Most of the dap-bindings are not content
sensitive(e. g. rerun last debug session) and it doesn't make sense to restrict
them only to particular major modes.
- Moved `spacemacs/browse-docs-online-at-point` from `SPC d b` to `SPC h b d` to
avoid collisions.
2020-04-16 21:52:18 +02:00
Ivan Yonchovski d5f3420a55 [Treemacs] Use treemacs-icons-dired when treemacs layer is present
- use treemacs-use-icons-dired to enable/disable it
2020-04-16 21:35:59 +02:00
Ivan Yonchovski 0ae8b2712a [visual] Pin dap debug buffers to the bottom
- reuse the botom window for all windows that are in compilation mode and in
dap-server-log-mode. Without this change you will get two windows on top of each
other when you do `SPC c c` and then `SPC m d d d`
2020-04-16 21:34:41 +02:00
Ivan Yonchovski 9f75a65398 [defaults] Add function+shortcut for copy buffer name 2020-04-16 21:32:25 +02:00
Matt Kramer d95d41f55b [julia] Fix inconsistencies in backend configuration 2020-04-14 16:23:17 +02:00
duianto 6ef2543091 [treemacs doc] Fix layer variable 2020-04-14 11:35:57 +02:00
Robert O'Connor 50921702a9 [markdown] Add support for mdx files
Closes #11288
2020-04-12 08:47:29 +02:00
Alexander Miller 3a1bfc2a91 [treemacs] Complete treemacs + persp-mode integration.
- Introduce configuration option to determine scope.
 - Activate treemacs-persp synchronization if opted in.
 - Document changes.
2020-04-11 16:05:34 +02:00
Ivan Yonchovski c3f13d0391 Removed company-lsp in favour of company-capf
- Also removed some cquery artifacts which accidentally ended up in this PR
instead of in https://github.com/syl20bnr/spacemacs/pull/13446
2020-04-04 08:24:44 +02:00
emacspace 465231113e documentation formatting: Fri Apr 3 16:07:25 UTC 2020 2020-04-03 19:22:35 +02:00
emacspace 2ca55e28e3 documentation formatting: Fri Apr 3 15:55:27 UTC 2020 2020-04-03 18:02:51 +02:00
Rodolfo Hansen 7854e57efb
Add support for DAP and lsp-treeview in scala layer
This is squash commit including below commits:

* Add support for DAP and lsp-treeview in scala layer
* Address notes from code review.
2020-04-03 18:00:45 +02:00
emacspace 757dcbf29d documentation formatting: Fri Apr 3 15:45:32 UTC 2020 2020-04-03 17:52:57 +02:00
Daniel Nicolai e40ac8b3bc add and document org-journal scheduled(-view) date shortcuts
org-journal-new-scheduled-entry and org-journal-schedule-view are
both basic org-journal features. Besides providing these shortcuts,
their documentation exposes this functionality to the user.
2020-04-03 17:52:28 +02:00
John Practicalli Stevenson 415b5fb8ba [spacemacs-layouts] update readme with config and keybindings
Add layer variable documentation for persp-autokill-buffer-on-remove
Set to kill-weak, then buffers are deleted when the layout is deleted.
https://github.com/Bad-ptr/persp-mode.el#suggested-configuration

Add usage section
- describe the core usage of layouts

Add keybindings section
- include all keybindings for the layer

Fix formatting
- = instead of ~ and vice versa

Resolve #11698
2020-04-03 17:48:58 +02:00
John Practicalli Stevenson 1055baafa2 [easypg] keybindings using spacebind
Add keybindings for the built in Emacs application called Easy PG, that provides
tools to encrypt/decrypt/sign/verify files and regions using PGP encryption.

Keybindings are defined using spacebind.

Resolve #13319
2020-04-03 17:43:20 +02:00
Ivan Yonchovski c0fc37fe9d Remove cquery backend
- it is no longer supported and it is causing troubles.
2020-04-03 17:38:52 +02:00
Maximilian Wolff 463bbd5361
[layouts] Bind e to select a layout position dynamically 2020-03-31 21:31:50 +02:00
dickmao 2759bce3de
Revert "[ipython] Fix mode name, and remove unmaintainable code"
As discussed at length in #13392, the primary developer of EIN insists
on updating the spacemacs bindings to avoid several-iterations stale commands of
dubious functionality (in particular, multi-worksheet commands).

As the transient state docstring must be "mated" to the updated bindings, he prefers
not having to manually curate it, and exhorts the return of the
automated docstring.  He doesn't insist on it, though, like the above.

bind-map.el counterfeits ein:notebook-mode

bind-map replaces on the `minor-mode-map-alist` the keymap for
ein:notebook-mode with the evilified map, thus making the original
ein:notebook-mode-map inaccessible.

This is might be intentional as one wonders whether having active both the
original keymap and the evilified keymap makes sense.

In EIN's case, yes, we really want the original keymap, e.g., C-c C-c
to execute, to work.  Otherwise C-c C-c defaults to running a python
shell via the python-mode-map, which is really not what we want.
2020-03-31 20:30:25 +02:00
Lucien Cartier-Tilet 77fe8a6139
Fix bug with keyboard-layout layer an bépo layout
When the bépo layout is set from the `keyboard-layout` layer, the
message `(wrong-type-argument keymapp nil)` shows up. After some
digging, it turns out Spacemacs tries to set shortcuts for `nil`
`map` variables in this function.

This commit ensures it is impossible to try to set a shortcut for an
inexisting keymap.

This commit has been tested with Emacs 27.0.90.
It also removes an unused `if` statement
2020-03-31 20:15:34 +02:00
duianto 607d75e2ae [org] Remove obsolete fix, helm-ag unfold org line
It's been fixed upstream.
Use helm-goto-char to show match and reveal outlines
https://github.com/emacsorphanage/helm-ag/pull/304
2020-03-31 20:04:17 +02:00
Benjamin Hipple 2d7480f677
[chrome] Add link to more details about chrome jquery workaround in docs
We probably want to update the `markdown` layer to be able to do this directly
with `firefox`; having to kill and restart all of your `chrome` processes before
using `flymd` is a little clunky! It's nice that we have the upstream workaround
inlined in spacemacs, though.
2020-03-29 21:51:58 +02:00
Maximilian Wolff 72f280dc07
[org] Make org-capture abord bindings work without having to enter insert state
Org-capture abord bindings were only available after having entered
insert state at least once. Bindings are now applied immediately on
entering the minor mode.

Fixes #13084
2020-03-29 00:40:14 +01:00
Maximilian Wolff 332f1bb06f
[org-agenda] Add binding for setting priority 2020-03-28 21:11:59 +01:00
wangtianshu a47e783967
Replace org-ref-helm-insert-cite-link with org-ref-insert-link 2020-03-28 20:10:51 +01:00
emacspace 14881cac15
documentation formatting: Fri Mar 27 21:25:53 UTC 2020 2020-03-27 23:03:53 +01:00
Maximilian Wolff 9bd9151c7a
[go] Load dap when lsp is enabled
Go layer now supports dap, therefore when lsp is selected the layer
will load dap which in turn will load lsp to enable debugging capabilities
for all lsp users.
2020-03-27 21:06:48 +01:00
Ljupcho Kotev e4eafe8324
Add dap-go integration 2020-03-27 21:05:55 +01:00
John Practicalli Stevenson 587ae8ebac
[clojure] Pretty print evaluation keybindings
Show results of evaluating Clojure code in the same format they would be written
in the source code.  This is especially useful for results that are
collections and nested collections.

Pretty print results as a comment.
2020-03-27 21:02:06 +01:00
Maximilian Wolff 4b11590588
[git] Make M-X switch windows in magit buffers
Before M-1 M-2 M-3 M-4 were bound by magit to show fixed numbers
of details. Now these bindings are available with 1 2 3 4 instead.

The M-X bindings are now used for quick switching of windows as in the
rest of spacemacs.
2020-03-27 20:40:15 +01:00
Maximilian Wolff b5f0eb5f76
[org] Fix typo in docs 2020-03-25 07:06:35 +01:00
emacspace 889d889751
documentation formatting: Tue Mar 24 22:00:54 UTC 2020 2020-03-24 23:10:48 +01:00
Maximilian Wolff 48ac607e71
[org] Revise verb integration
Added missing subheadings
Load babel integration before org is loaded
2020-03-24 22:57:25 +01:00
Federico Tedin 82f5b1f242
[org] Add Verb package support 2020-03-24 22:08:50 +01:00
emacspace b59f073cb4
documentation formatting: Tue Mar 24 20:40:51 UTC 2020 2020-03-24 21:45:10 +01:00
Jonta 0fe53d09ef
[keyboard-layout] Grammatical errors 2020-03-24 21:41:49 +01:00
madand 53dbbffec1
[helpful] Bindings and documentation improvements
New bindings:
`gr` - `helpful-update`, reload helpful buffer.
`SPC m q` - `helpful-kill-buffers`, kill all helpful buffers.

Move `o` binding definition into separate post-init function, so the binding
is defined only if the `link-hint` package is actually installed.

Add documentation of the added bindings.
2020-03-24 21:33:11 +01:00
lcos77 d7868dae22
[ipython] Fix mode name, and remove unmaintainable code
1. Previously, the code had references to ein:notebook-mode which doesn't seem
to work (anymore), so I changed these references to ein:notebook.
2. The previous code had a big convoluted function that produced the
doc-string and that was difficult to read that depended on some other
smaller functions, though not enough of them to make the code
sufficiently modular, and therefore, it wasn't very maintainable.
Besides, when I tried the previous version with the name of the mode fixed,
spacemacs hung for a long time -- it's a mystery whether spacemacs would
have continued normally if I had waited long enough. Therefore I replaced
the doc-string with a hard coded one.
3. I added some keybindings from tkamat's fork to the code for I didn't see
a good reason not to
4. I removed the cl- prefix from "second" and "mapcan", because cl is a
deprecated package. However, I'm afraid the names without the prefix might
end up being unrecognized by previous versions of emacs.
2020-03-21 21:56:38 +01:00
emacspace ff4a528bb4
documentation formatting: Sat Mar 21 19:36:41 UTC 2020 2020-03-21 20:57:20 +01:00
Matt Kramer f1e2d974ed
Make spacemacs/open-junk-file create junk directory and fix counsel issues
This is a squash commit including below commits

Add dotspacemacs--pretty-ignore-subdirs

Within the specified subdirs of `dotspacemacs-start-dir`,
spacemacs/prettify-org-buffer (and hence space-doc-mode) will not be called.
Without this variable, using spacemacs/open-junk-file to create an Org file will
result in prettification, which is not necessarily the desired behavior.

Call make-directory in spacemacs/open-junk-file

This imitates the behavior of open-junk-file.

Prevent spacemacs/open-junk-file from getting confused by Dired

If we're in a dired buffer, counsel-find-file will ignore
current-directory (i.e. junk-dir) and use (dired-current-directory) instead. We
fool Counsel by shadowing major-mode to nil.

Update CHANGELOG.develop re spacemacs/open-junk-file
2020-03-21 20:52:21 +01:00
Daniel Nicolai c6fbf09855 fix issue #13395
Ivy-hydra is autoloaded so the require statement here is unnecessary. Because this require (commented out) statement was here before I uncommented it in the last PR (#13377), I leave it here (commented out) as it was before that PR.
2020-03-21 20:34:18 +01:00
Muneeb Shaikh bb8ec23ec1 [themes][keybindings] Use apt completion framework for loading theme
Theme transient state key-binding `t` is broken if `ivy` completion framework is
used. The binding unconditionally invokes `helm-themes`.

This change adds a new function which takes care of invoking correct
theme-loader function based on completion framework currently in use.

The old binding used `helm-themes` but the new function uses already defined
`spacemacs/helm-themes` which removes the number of candidates limit.
2020-03-19 10:48:59 +01:00
Maximilian Wolff 0438c1ca5d
[kubernetes] Add tramp support 2020-03-17 20:41:11 +01:00
Daniel Nicolai 2049817b12
[ivy] Replace custom hydra-menu by original hydra-menu 2020-03-17 09:51:12 +01:00
Maximilian Wolff 2e0f4acad5
Make view-mode closable with q in evil
View-mode was not properly evilified which prevented evil users
from closing it with q. This is now globally fixed not only for
`notmuch-mode`.
2020-03-17 09:21:02 +01:00
Maximilian Wolff 053f6da6c6
[notmuch] Make help closable with q
notmuch help uses emacs view mode which has never been evilified.
With this I am trying to make it closable with q again.

Known issue: q seems only to work the second time it is used, Q can be used
instead.
2020-03-16 20:48:28 +01:00
Maximilian Wolff 83fbc7a13e
[notmuch] Improve evilification and documentation
notmuch-hello was using an evilified buffer which broke the embedded search
widget in the buffer. I have changed the evilification to using normal mode
with manual bindings instead.

In addition I have made the notmuch message buffer closable using "q"
and added the missing notmuch-hello keybindings to the docs.
2020-03-16 00:21:47 +01:00
Maximilian Wolff dc0a1246cc
[scala] Fix implicit loading of lsp layer 2020-03-15 21:03:19 +01:00
Muneeb Shaikh 1d797ffa4a [helpful] follow help buffer convention for displaying helpful popup
Reference: b7fd2fab6e/layers/+spacemacs/spacemacs-visual/packages.el (L93)
2020-03-14 17:02:49 +01:00
Maximilian Wolff c7af787257
Add setting to dotfile to deactivate clean-aindent-mode
There have been complains about issues with `clean-aindent-mode` from
multiple users. For some of these deactivating the mode in their user-init
did not work as intended. Therefore I have added a setting for it in the
dotfile.
2020-03-13 19:00:48 +01:00
emacspace 0cee84f2bb documentation formatting: Fri Mar 13 07:13:20 UTC 2020 2020-03-13 08:19:39 +01:00
Maximilian Wolff 1f2dfb2a67
[scala] Make ensime still working for old configs 2020-03-13 08:10:59 +01:00
Maximilian Wolff 437aa08ef9
[javascript] Fix broken link to tide layer 2020-03-13 00:30:03 +01:00
Maximilian Wolff 1e5cdfeedc
[scala] Avoid depending on abandoned ensime backend
Ensime seems to be finally dead, as ensime-mode is not longer
available on melpa. The same applies to ob-scala the package
which delivered scala support for org babel.

I have changed the layers default to metals and took care that
ensime is not tried to be installed until it is really selected
as a package.

In addition I have also fixed some smaller issues in the layer
which caused ensime specific settings to be forced even when
metals was selected as a backend.

I have also removed the not longer existing org-babel support
for scala as it requires ob-scala which in turn is based on ensime.

See https://github.com/hvesalai/emacs-scala-mode/issues/155 for details.
2020-03-12 23:59:31 +01:00
Maximilian Wolff 5e4b9b8c9b
[python] Add additional dependencies for pyls 2020-03-12 22:09:42 +01:00
Muneeb Shaikh 3f526479e3
[themes] add highly accessible themes - modus-{operandi, vivendi}
Modus themes are highly accessible themes for GNU Emacs, conforming with the
highest accessibility standard for colour contrast between background and
foreground values (WCAG AAA standard).

Screenshots: https://gitlab.com/protesilaos/modus-themes/-/wikis/Screenshots
2020-03-12 21:25:44 +01:00
lin.sun fbe8fba836
[spacemacs-language] Improve google-translate user experience 2020-03-12 21:23:09 +01:00
jr0cket af2d7e320e
[clojure] keybindings for browsing clojure specs
Browse a specific clojure spec or browse all specs in a project.
2020-03-12 20:54:09 +01:00
madand 72b8b4f96b
[helpful] Keybinding: o (link-hint-open-link) 2020-03-12 20:49:01 +01:00
Maximilian Wolff f971ee7120
[typescript] Require tide layer as it is used as formatter by default
I have also updated the installation instructions as tsserver is not
longer available as single executable on npm. Also I've made sure that
modes register for tide backend only if it is really intended to.
2020-03-08 13:05:31 +01:00
Thanh Vuong 97724081bc
Tide layer
Allows use of standalone typescript server for js/ts development
Co-Authored-By: Maximilian Wolff <smile13241324@gmail.com>
2020-03-08 12:29:04 +01:00
dickmao 72ea04946a
[ipython-notebook] further reduce maintenance
update CHANGELOG.develop
+lang/ipython-notebook further reduce maintenance
Remove unmaintained ob-ipython in favor of maintained ob-ein.
reinstate gj gk
reinstate ipython-notebook transient with autogen doc
2020-03-08 12:17:41 +01:00
bb2020 e5e3617bdd
add spacemacs/kill-back-to-indentation 2020-03-08 11:51:18 +01:00
Juan Edi 82fc458df3
Do not reverse search direction after highlighting
Before this, `evil-ex-search-direction` would be left set to 'backward after:

  - entering symbol highlight transient state mode (SPC s h)
  - exiting the transient state

That means that pressing 'n' would go to the previous result instead of the next one.
2020-03-08 11:34:21 +01:00
syl20bnr d17c6e1e9e Add ellipsis for commands that require additional inputs 2020-03-05 22:39:13 -05:00
syl20bnr 82871d4c06 Move rectangles key binding to SPC C-v
To reflect with VIM key bindings on C-v
2020-03-05 21:47:30 -05:00
syl20bnr e5e27d7b8d Rename spacebind to spacemacs|spacebind 2020-03-05 21:04:51 -05:00
syl20bnr 727d45e694 Use spacebind for Buffers key bindings 2020-03-05 21:04:51 -05:00
syl20bnr b2a12479d1 Use spacebind for Files key bindings 2020-03-05 21:04:51 -05:00
syl20bnr 1fc809bdf0 Use spacebind for Differences key bindings 2020-03-05 21:04:51 -05:00
syl20bnr ab3511cfb5 [which-key] Improve readibility
* add column padding
* group prefixes together
* display a minimum of 6 lines
2020-03-05 21:04:51 -05:00
syl20bnr 9685095454 Use spacebind for keybaord macro key bindings 2020-03-05 21:04:51 -05:00
emacspace 550b30c569 documentation formatting: Wed Mar 4 23:06:28 UTC 2020 2020-03-05 12:23:36 +02:00
JAremko 0753287864 rename spacebind -> spacemacs|spacebind
Also fix stuff.
2020-03-05 12:21:01 +02:00
Riccardo Binetti 37c85cdb53
Add TidalCycles layer
This layer adds tidal-mode, to use TidalCycles (https://tidalcycles.org)
from Spacemacs. It also remaps some keybindings in places that are more
idiomatic to Spacemacs.
2020-03-04 23:58:40 +01:00
Koray Al b7910ae40b [#1598] Fix missing mu4e-modes error
The previous PR failed to handle everywhere `mu4e-modes` list is being used so
this will bring it back, but still use the added lists for `purpose` setup.
2020-03-04 23:30:05 +01:00
duianto 12558b0ac2 [gnus] Fix gnus/init-gnus :init section indentation 2020-03-04 23:28:07 +01:00
duianto 728ee6c2b8 [gnus] Make the gnus variables user configurable
The gnus variables were set in the `gnus/init-gnus`
functions `:config` section, that made them override
any user configurations.

Moving the variable declarations to the `:init`
section made them user configurable.
2020-03-04 23:28:07 +01:00
dickmao e0aee15544
Bring ipython-notebook up to date. 2020-03-01 20:36:39 +01:00
Daniel Molina 09a9273e22
[julia] Remove warning about LanguageServer.jl not working in 1.0
Remove warning indicating that LanguageServer.jl is not working in
Julia version 1.0, because it was updated and that problem was fixed.
2020-03-01 00:22:14 +01:00