Commit Graph

6376 Commits

Author SHA1 Message Date
SpacemacsBot a86cdd3506
[bot] "documentation_updates" Sat Dec 4 16:11:00 UTC 2021 (#15196) 2021-12-04 16:28:49 +00:00
Daniel Nicolai ab19ea1de5
Coq layer README add optional requirement (auto-completion layer) (#15195) 2021-12-04 16:09:43 +00:00
SpacemacsBot 17b5646e77
[bot] "documentation_updates" Tue Nov 30 19:20:17 UTC 2021 (#15191) 2021-11-30 14:24:27 -05:00
Daniel Nicolai c34cb72343
Add documentation for most important org shortcuts (#15190) 2021-11-30 14:18:53 -05:00
Kijima Daigo 33e7f62693
Fix small typos (#15188) 2021-11-29 17:29:36 -05:00
Maxi Wolff bdd77bfed6
[version-control] Do not activate git-gutter-mode in pdf-view-mode 2021-11-29 22:48:21 +01:00
Daniel Nicolai 23367d08f8 Add temporary fix for `evil-redirect-digit-argument` error
iedit does not work already for quite some time. A fix (see
https://github.com/syl20bnr/evil-iedit-state/pull/37) has been proposed, but it
does not get merged (even after multiple reminders). Therefore, I propose to add
this temporary quick fix, that can/should be removed after that PR gets merged.
2021-11-28 09:22:19 +01:00
Maxi Wolff 050221ee35
[gnus] Fix wrong evilified macro
Seems that we have a lot of places where
evilified-state-evilify has been used
instead of evilified-state-evilify-map.

This causes issues with shadowing of
evilified maps as this is only done by
the later of those two.

Fixes #15150
2021-11-20 22:54:55 +01:00
Daniel Nicolai f2755533de Fix #15169, snippets not loading correctly
The auto-completion layer seems not to have been designed/configured correctly.
So that, e.g., when using the julia layer, the `auto-completion/init-yasnippet`
function is called after the `yasnippet-snippets` package has been loaded.
Despite the ``yasnippet-snippets` package containing an `eval-after-load
'yasnippet`, the form within that block is, for some reason, evaluated already
before `auto-completion/init-yasnippet` has been called.

Anyway, what currently happens is that first `(yasnippet-snippets-initialize)`
is evaluated, adding `yasnippet-snippets-dir` to the `yas-snippet-dirs` list.
Then ``auto-completion/init-yasnippet` is called which contains the line `(setq
yas-snippet-dirs nil)`, setting the list to nil again.

As there is quite some logic involved (e.g. the order of evaluation is correct
when the julia layer is not being used), this commit fixes the reported issue by
simply calling `(yasnippet-snippets-initialize)` from
`auto-completion/init-yasnippet` after the yas-snippet-dirs list has been
resetted to nil.

Any cleaner solution is welcome, but I would say this is a 'harmless' very
pragmatic quick fix/solution.
2021-11-20 20:38:36 +01:00
deb0ch b108f8b319 Add binding for markdown-table-align 2021-11-20 20:35:42 +01:00
Hans dee70b8486
Fix forge evil keybinds (#15167)
* [git] Fix: Evil-collection @-dispatch keybindings for magit forge.

Load new location for forge '@' dispatch keybindings.

'Evil-collection' has moved keymaps for magit forge from an
'with-eval-after-load' block to newfile 'evil-collection-forge.el' in commit
33461aa545.

As mentioned in the commit, these changes were due to a upstream change in the
'forge' package. Source: https://github.com/emacs-evil/evil-collection/issues/543

* [git] Docs: update README to reflect changes in Forge keybinds.

See https://magit.vc/manual/forge.html#Introduction for more information.
2021-11-19 17:52:11 +01:00
SpacemacsBot f06fb38a8f [bot] "documentation_updates" Thu Nov 18 05:35:20 UTC 2021 2021-11-18 22:00:53 +01:00
Wieland Hoffmann f61a7cd453
Add a keybinding for lsp-treemacs-type-hierarchy (#15163)
* lsp: Bind =~SPC m g T~ to lsp-treemacs-type-hierarchy
This allows to show the type hierarchy for the type at point.

* lsp: Goto call and type hierarchy are provided by lsp-treemacs
2021-11-18 06:33:38 +01:00
tvuong 1c48cc5a5a [ivy] add mark unmark bindings 2021-11-18 06:32:15 +01:00
thanhvg dafae5f136
[compleseus] improve (#15165)
* [compleseus] layout select current project first

* [compleseus] bind embark-export to C-c C-o

same as ivy-occur

* [compleseus] add vertico-{quick, directory}

* [compleseus] set up vertico-repeat
2021-11-18 06:30:26 +01:00
Keith Pinson 415f367589 [scala] Shortcut keys for common/standard SBT commands
It's nice to have a way to use common SBT commands without having to enter a
Hydra, and without having to type them out or select from a history list. The
following should be standard and quite common:

+ `scalafmtAll`
+ `compile`
+ `test`

Added mnemonic keybindings that I think match Spacemacs conventions. They
behaviors also give better parity with the build capabilities of other major
modes, which frequently support compile, format and test functionality.
2021-11-17 06:46:10 +01:00
SpacemacsBot 47fdbced8b [bot] "documentation_updates" Sun Nov 14 17:38:06 UTC 2021 2021-11-14 19:40:22 +02:00
David Perez-Suarez 0f7c2e3cab Adds example on how to set an alert style for org notifications
It also changes a "here" hyperlink to a more descriptive one in the same
paragraph.
2021-11-14 17:42:15 +01:00
Daniel Nicolai 51611b6e30
Fix autocompletion in elisp and text mode
Currently most or all auto-completion, using completion-at-point (i.e. the TAB
key), is 'hijacked' by company-capf in emacs-lisp-mode, while in text mode there
is no auto-completion by default at all.

This commit adds auto-completion for text-mode and slightly improves the
situation for emacs-lisp mode.
2021-11-13 10:26:45 +01:00
SpacemacsBot 759e761099 [bot] "documentation_updates" Sat Nov 13 09:20:02 UTC 2021 2021-11-13 10:24:57 +01:00
Maxi Wolff f5541e876a
[svelte] Revise layer
Fix minor issues in comments and refactor code
a bit. Also make lsp layer autoload if
required.
2021-11-13 10:16:29 +01:00
Marco Süß 3185902f78
Add Svelte layer 2021-11-13 09:30:46 +01:00
Maxi Wolff 707124fd3a
[compleseus] Fix orderless integration 2021-11-13 09:04:54 +01:00
Thanh Vuong 76841d87fc [compleseus] tuned completion-style and added support for M-: 2021-11-12 07:47:39 +01:00
Daniel Nicolai 548edefcce Install org from ELPA instead of Org ELPA
From org version 9.5 org will not be distributed from Org ELPA but from
ELPA (see https://list.orgmode.org/87lfa7tc9v.fsf@gnu.org/t/). This commit makes
Spacemacs use/install org from ELPA.

Besides that, this commit removes some 'hack' that seemed to have no effect. As
org comes with Emacs `package-installed-p 'org` will always return t. Also
activating org via `configuration-layer//activate-package` seems to have no
effect.

Finally, the package is declared including a :min-version because appending only
`:location melpa` seems to have no effect (this can probably be considered a
bug).
I am almost certain that the information that was added when making org install
from Org ELPA is still relevant also for installing org from ELPA so I have just
adapted the version number from 0.104 to 0.300.

As the "org" archive has been removed, the `ert-deftest` for it can be removed
also.
2021-11-06 14:34:18 +01:00
JAremko 500335a2c2 fix links 2021-11-04 20:36:23 +02:00
SpacemacsBot e6bd5cc4ac [bot] "documentation_updates" Tue Nov 2 22:01:23 UTC 2021 2021-11-02 23:04:42 +01:00
Maxi Wolff 1c0d7be28b
[python] Fix broken link 2021-11-02 23:00:02 +01:00
Maxi Wolff 0dd38667df
[compleseus] Fetch consult-yasnippet from melpa 2021-11-02 22:57:53 +01:00
Daniel Nicolai d5b6df3584
Add commands to compleseus layer (locate, yasnippet, search from) (#15078)
* Add commands to compleseus+fasd layer (locate,yasnippet,search-from)

* Add metadata classifier (for embark) to fasd-layer

Embark uses metadata of the target under point to determine actions. If the
target lacks a metadata classifier then the [embark
documentation](https://github.com/oantolin/embark#acting-on-targets) recommends
to [add them using the marginalia package](https://github.com/minad/marginalia#adding-custom-annotators-or-classifiers).

This PR adds the file classifier to results for fasd searches.
2021-11-02 22:50:32 +01:00
Maxi Wolff 7ac303922e
[compleseus] Fix some small typos 2021-11-02 22:40:48 +01:00
Robert O'Connor 89d3482503 Add to the docs for compleseus about selecting a completion engine 2021-11-02 22:27:17 +01:00
Daniel Nicolai 22bfc8197d Add zonokai themes to themes-megapack layer
The documentation of the `themes-megapack` layer states that the layer provides
all themes included in the [theme gallery](https://themegallery.robdor.com/) by
Rob Merrell. However, this theme currently is missing from the layer.
2021-11-02 22:25:35 +01:00
Lucius Hu 7d39d7363b python: Update README.org
It turns out that we've already migrated to pylsp from pyls a while ago, except that README.org is not updated.
closes https://github.com/syl20bnr/spacemacs/issues/15036
2021-11-02 22:23:24 +01:00
Robert O'Connor 16ae20bcfe Update go layer docs since go get is deprecated
See https://golang.org/doc/go-get-install-deprecation
2021-11-02 22:22:09 +01:00
Maxi Wolff b926293c33
[doc] Improve wording
following suggestions from #15119
2021-11-02 22:19:59 +01:00
Benjamin Hipple 2dc6208174 [doc] Fix spelling mistake 2021-11-02 22:17:51 +01:00
Daniel Nicolai b1fe17d370 Open special-mode buffer in motion-state (not evilified)
Special mode and its derived mode(s) buffers were made evilified in PRs #14995
and #15050. However, special-mode is too aggressive (as 'warned' for already in
 #14995); it makes it hard to overwrite its keybindings (e.g. `evil-local-set-key`,
or using `evil-evilified-state-map` on a derived map have no effect).

Therefore it makes more sense to open the buffers in motion-state instead. This
state also does not hijack the `q` keybindings as defined by special-mode (see
https://www.gnu.org/software/emacs/manual/html_node/elisp/Basic-Major-Modes.html),
although it does still hijack its `g` keybinding, but evil navigation is
considered to have higher priority than revert-buffer anyway.
2021-11-02 22:15:13 +01:00
Rodrigo Virote Kassick 889f33216e helm-find-files-history requires prefix argument
Calling spacemacs/helm-find-files with prefix would cause an error
instead of popping helm-find-files-history before helm-find-files
2021-11-02 22:05:12 +01:00
Ag Ibragimov 92979e7934
fasd layer: fasd & open in a layout (#15126)
* fasd layer: fasd & open in a layout

* rewrite without using dash.el

* adds buffer-live-p check
2021-11-02 21:55:04 +01:00
Evan Klitzke 66e509f345 Remove helm-gitignore from git layer.
Related to #15117, this removes the helm-gitignore from the git layer because it
hasn't been updated to use the new git-modes package. The helm-gitignore
functionality isn't particularly useful anyway, it's just a utility to help
generate .gitignore files.

This change can be reverted if the upstream helm-gitignore package is fixed and
people find the functionality it provides to be useful.
2021-11-02 21:45:23 +01:00
Lucius Hu f4f8ad8fd7 git: migrate git{attributes,config,ignore}-mode to git-modes 2021-11-02 21:40:54 +01:00
SpacemacsBot 6cc5f4ec07 [bot] "documentation_updates" Tue Nov 2 20:29:57 UTC 2021 2021-11-02 21:33:48 +01:00
Julien Debon c93b6726bc LaTeX: Fix broken key binding 2021-11-02 21:28:55 +01:00
Robert O'Connor ae056660b2 Remove gist.el since it's unmaintained.
Comments out the elisp code but removes the README docs.

Closes #15093
2021-11-02 21:25:39 +01:00
Eugene Yaremenko 4f7246da07
use fetcher url for vertico-repeat package
vertico extensions aren't available yet
See https://github.com/minad/vertico/issues/83
2021-10-24 17:08:14 +03:00
Eugene Yaremenko 337c1108b9
require org-indent for space-doc
Under some conditions `org-indent-mode` was undefined.
2021-10-24 16:43:28 +03:00
Benjamin Hipple 6e512b80e1 [compleseus] Cleanup fetcher now that vertico-repeat is on elpa
elpa has the latest release tag, which includes vertico-repeat, so we can clean
this override up.
https://elpa.gnu.org/packages/vertico.html
https://github.com/minad/vertico/tree/0.14
2021-10-24 15:16:16 +03:00
Hans 256a4c0384
Update Bibtex Layer README (#15115) 2021-10-22 19:07:21 +00:00
JAremko f320524a55 Fetch info+ from GitHub
It seems that wiki doesn't work well with CI.
2021-10-21 17:00:07 +03:00
SpacemacsBot 5c88c3b089
[bot] documentation_updates (#15071)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2021-10-15 02:24:54 +00:00
Julien Debon 5b3bb908a1
LaTeX: Remove duplicate latex-refresh-preview (#15091) 2021-10-15 02:18:37 +00:00
Eugene Yaremenko 63056ecb50
[doc] use org-mode example block for example 2021-09-29 23:43:14 +03:00
Maxi Wolff 44078aaebc
[ivy] Fix new src block in docs 2021-09-29 22:26:12 +02:00
Thanh Vuong 03ab15ed36
[ivy] counsel search commands use spacemacs--ivy-file-actions
spacemacs/counsel-search counsel-rg counsel-ag and counsel-find-file now share a
comon set of actions defined in `spacemacs--ivy-file-actions`
2021-09-29 22:20:34 +02:00
Lin Sun 151ca61df5
[version-control] Switch default version control diff tool to git-gutter
Switch default version control diff tool to git-gutter for original default
git-gutter+ has bugs and no maintain for years.
2021-09-29 21:30:13 +02:00
Maxi Wolff d7a0492ac7
[python] Remove comments and fix new commands 2021-09-29 21:28:50 +02:00
Daniel Nicolai 071b48ba32 Add pydoc to python layer for better python doc functionality
Currently the python layer (without anaconda backend) provides only helm-pydoc
or pylookup-lookup-at-point functionality. Both these functions are cumbersome.
`pydoc-at-point-no-jedi` adds simpler doc functionality, therefore this commit
adds this command as a third option. It places it under `SPC m h p` because `SPC
m h h` is already taken by the anaconda doc functionality (it could be placed on
`h h` if anaconda is not available, but I did not bother to implement it)
2021-09-29 21:18:00 +02:00
Maxi Wolff d5cee22116
[python] Make ipython version detection more robust
The version string may return an empty string in that
case we treat this like a legacy version.
2021-09-29 21:08:51 +02:00
Maxi Wolff f5bd49cc8e
Revise some smaller layers 2021-09-21 22:07:38 +02:00
SpacemacsBot 845cdcaba8 [bot] "documentation_updates" Fri Sep 17 19:24:14 UTC 2021 2021-09-17 22:40:15 +02:00
Daniel Nicolai 9803b60d64 Fix (activate) company-emoji completion
Currently company-emoji does not get activated by the emoji layer.
Also when it is activated, then the emoji short-name does not get completed to
unicode if `company-emoji-insert-unicode` is `t`.

This commit fixes both issues, by activating company-emoji for text-modes and
advising the emoji inert function to optionally do company-emoji completion.
2021-09-17 21:22:56 +02:00
SpacemacsBot b4db141531 [bot] "documentation_updates" Fri Sep 17 18:59:01 UTC 2021 2021-09-17 21:17:02 +02:00
Daniel Nicolai 2de0a10ae0
Add documentation about evilifying 'special-mode buffers' (+fix eww) 2021-09-17 21:15:10 +02:00
Daniel Nicolai c8c20becf6
Fix and update PR #14992: update eaf layer 2021-09-17 20:55:14 +02:00
Lucius Hu 08fa117afa
Update keybinding
fixes https://github.com/syl20bnr/spacemacs/pull/14754#issuecomment-920914465
2021-09-16 22:08:26 +00:00
Daniel Nicolai cabe650f00
Extend spacemacs/copy-file command with extra actions (#14754) 2021-09-15 18:58:14 +00:00
Daniel Nicolai 6a5b229256
Add simple workaround to ebib kill buffer issue (#15048)
See joostkremers/ebib#213By remapping spacemacs/kill-buffer to ebib-quit ebib is generally exited 'correctly' (if users really want to kill the buffer and mess up things, they can still do that in plenty of other ways).
2021-09-15 18:56:38 +00:00
SpacemacsBot 663cfc5ba7 [bot] "documentation_updates" Sat Sep 11 22:58:39 UTC 2021 2021-09-12 02:11:16 +03:00
Eugene Yaremenko 7f00715b14
[docs] fix link 2021-09-12 01:57:22 +03:00
Maxi Wolff 471b6939c8
[twitch] Revise layer
This includes fixing the documentation as well as
making the connection to erc and streamlink layer
non-optional.
2021-09-11 23:16:14 +02:00
Benedikt Broich 06cfd27276
Add twitch layer
Update CHANGELOG.develop

Update requires helm

Update layers/+web-services/twitch/packages.el
2021-09-11 22:54:47 +02:00
Maxi Wolff d9fde24ae1
[streamlink] Revise layer 2021-09-11 22:51:48 +02:00
Benedikt Broich 069fa87583
Add streamlink layer
Update CHANGELOG.develop

Update package location

Update package location. Package is now in melpa.

Update layers/+web-services/streamlink/packages.el
2021-09-11 22:42:47 +02:00
Maxi Wolff 39da3fc4a0
[hackernews] Revise layer 2021-09-11 22:34:13 +02:00
Benedikt Broich 17b59348f7
Add hackernews layer
Update layers/+web-services/hackernews/packages.el
2021-09-11 22:26:03 +02:00
Maxi Wolff 16f976c713
[lobsters] Revise package.el
Remove code comment and remove unnecessary
progn for single line :init function.
2021-09-11 22:19:34 +02:00
Benedikt Broich 0cc5a554af
Add lobsters layer
Update layers/+web-services/lobsters/packages.el

Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>
2021-09-11 22:13:37 +02:00
Maxi Wolff 7f43d9cf6d
[djvu] Fix docs and prefixes
also removed layer dependency on evil
2021-09-11 22:02:54 +02:00
Daniel Nicolai 5ce60dfdf7
Add djvu layer
Update layers/+readers/djvu/packages.el

Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>

Update layers/+readers/djvu/config.el
2021-09-11 21:28:34 +02:00
Maxi Wolff 3c7956ced7
[html] Make leex support optional 2021-09-10 23:20:27 +02:00
Maxi Wolff 42868141da
[lsp] Fix void variable error during startup 2021-09-10 22:23:09 +02:00
Alex Wilson b5d3cf9678
Add .leex support for the html layer 2021-09-10 22:15:46 +02:00
Maxi Wolff e67caf8486
[lsp] Revise lsp layer's create temp files in cache folder feature
to avoid having to add a lot of additional ignore
statements to our .gitignore file.

For now this shall reside in LSP layer if it becomes too big
we can do a more refined design based on the auto-complete
layer.
2021-09-10 22:13:14 +02:00
Ray acea332435
Move known temporary files of LSP into `spacemacs-cache-directory`.
By enabling all layers referring to lsp and searching packages they depend
on, currently I found these variables:
`lsp-server-install-dir`
`lsp-session-file`
`lsp-eslint-library-choices-file`
`lsp-yaml-schema-store-local-db`
`lsp-vetur-global-snippets-dir`
2021-09-10 22:13:13 +02:00
SpacemacsBot b5aea5610e
[bot] documentation_updates (#15042)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2021-09-10 20:10:16 +00:00
Maxi Wolff e5a180e78d
[vc] Make smerge ts use emacs version specific functions
this affects smerge-next vs smerge-vc-next-conflict, which
is only available from emacs 27 on, which will check for
conflicts in all open buffers.
2021-09-10 21:38:29 +02:00
Michael Peyton Jones f928c32eec
vc: use smerge-vc-next-conflict instead of smerge-next 2021-09-10 21:17:17 +02:00
Maxi Wolff 2fc428d527
[elisp] Fix small typo in README 2021-09-10 20:57:03 +02:00
Daniel Nicolai 6b9ec10c74
Implement inspector package to emacs-lisp layer see #15039 2021-09-10 20:50:41 +02:00
SpacemacsBot a3b40d2318
[bot] "documentation_updates" Sun Sep 5 06:17:34 UTC 2021 (#15035) 2021-09-05 02:49:47 -04:00
Evan Klitzke 4ebd512d14
c-c++: Package cpp-auto-include can be fetched from Melpa (#15037) 2021-09-05 06:16:30 +00:00
Maxi Wolff aebb522922
[reddit] Fix small typos in docs and add dependency to org layer 2021-09-04 21:51:59 +02:00
Benedikt Broich f73d6ea9c7
Add reddit layer
This layer adds Reddit support to Spacemacs via the package
reddigg. This package allows you to browse reddit in org-mode. You can find more
information in the README.org.

Fix use-package reddigg

Change name to for reddit

Change name according to https://www.reddit.com/wiki/api
2021-09-04 21:51:58 +02:00
Eugene Yaremenko 848ae48373
Fix another link 2021-09-04 22:49:40 +03:00
Eugene Yaremenko ec19d6ac98
Fix link 2021-09-04 22:44:32 +03:00
Maxi Wolff b66e60cabb
[latex] Provide more robust version of latex-setup-pdf-tools 2021-09-04 21:35:49 +02:00
Daniel Nicolai 073fe39b38
latex layer add auto configure pdf-tools and open in split window
This commit makes the latex layer automatically configure pdf-tools as
latex pdf-viewer if the pdf layer is installed.

Additionally it adds a layer variable to configure pdf-tools to open in a
split-window. (Strangely, finding out how to achieve that is far from trivial,
and also not easy to google, because many hits do not provide the "correct"
answer (see the typical example
[here](https://emacs.stackexchange.com/questions/28056/spacemacs-latex-how-to-make-view-command-tile-vertically-with-emacs-window)).

Update layers/+lang/latex/funcs.el

Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>
2021-09-04 21:14:45 +02:00
Ryan Prior 4e306e1064
Make golden-ratio global mode and ediff mode coexist harmoniously (#15031)
* [layout] New function spacemacs//ediff-in-comparison-buffer-p

This function is useful to determine whether a given buffer is part of an ediff comparison.

* [layout] New function spacemacs/ediff-balance-windows

Interactive function to balance ediff windows in case they're unbalanced
initially (such as when golden-ratio-mode was active.)

* [navigation] Disables golden-ratio resizing in ediff view

Updates `spacemacs-navigation/init-golden-ratio`:
- inhibits golden-ratio in ediff comparison buffers
- balances the width of ediff comparison buffers on startup

* Updates CHANGELOG.develop with ediff/golden-ratio comment

* [layout] Adds MIT license acknowledgement for new functions

Co-authored-by: Ryan Prior <ryan.prior@coldquanta.com>
2021-09-04 21:02:42 +02:00
Cormac Cannon 0ad0e7d328 c-c++ layer : Added doxygen support and keybindings via gendoxy
<<Amendment 1>> Corrected two  whitespace issues as per lebensterben's
comments.
2021-09-04 20:51:44 +02:00
Lucius Hu 696cfd47c1 Revert "Fix evil search prompt on mouse leave (#15002)"
This reverts commit d9c3dc678c.
2021-09-04 15:09:55 +02:00
Zheng Qu 3bf2b481a8
[c-c++]: Fix keybinding for organizing includes (#15029) 2021-09-02 05:36:32 -04:00
akkuankka ed12b1118f
ocaml: Allow new OPAM command-line syntax (#15011)
As of new OPAM (OCaml package manager) v2.1, `opam config var share` is
no longer supported. Instead, the syntax is `opam var share`. To allow
both, this checks first with the new syntax, then if that doesn't work,
the old is tried. If neither produce any output, it fails as normal.

edit: Fix formatting.
2021-09-01 19:02:37 +00:00
Michael Peyton Jones 797360a419
lsp: add call hierarchy binding (#15021) 2021-08-31 21:02:05 +00:00
SpacemacsBot 59852a6ab5 [bot] "documentation_updates" Wed Aug 25 22:37:51 UTC 2021 2021-08-26 02:00:32 +03:00
Lucius Hu abb088474a clojure: small change 2021-08-25 22:48:58 +02:00
Rainer Gemulla b1d287081f Fix typo that prevents ivy-rich from being enabled 2021-08-25 22:48:05 +02:00
Lucius Hu a9ba3b8fe0 git: restore layout when exiting magit buffer
closes https://github.com/syl20bnr/spacemacs/issues/14951

Co-authored-by: Richard Kim <emacs18@gmail.com>
2021-08-25 22:45:06 +02:00
Maxi Wolff f78c9bed18
[docs] Fix broken link in ivy README 2021-08-25 22:34:54 +02:00
Daniel Nicolai 80386e8414
Add (optional) ebib support to bibtex layer (#14876) 2021-08-25 19:31:18 +00:00
Aaron Zeng 671431f65c
[shell-scripts] Add key binding for shfmt-buffer (#15017) 2021-08-24 22:17:24 -04:00
Lucius Hu 198cc3a86f
Delete China.png
Chinese.png is sufficient
Deleting China.png to make in independent of a country and more inclusive to all users.
2021-08-24 01:28:53 +00:00
Lucius Hu fe147e391d
chinese: add notes on elpa mirrors
Co-authored-by: wztdream <39213018+wztdream@users.noreply.github.com>
2021-08-24 01:27:54 +00:00
Daniel Nicolai d02fae3c7a
Evilify and add cider-repl-history-mode keybindings (#14842)
Cider provides the possibility to search the REPL history, for which it opens
the history in a read-only buffer (which as usual, is best initialized in
evilified state).

This commit evilifies the cider-repl-history-mode buffer and defines some common
sense cider-repl-history-mode keybindings.
2021-08-24 01:20:26 +00:00
Lucius Hu b1c9ddc452
nim: fix broken indentation
Closes https://github.com/syl20bnr/spacemacs/issues/13470

Co-authored-by: duianto <notnaiud@gmail.com>
2021-08-23 23:55:00 +00:00
Benjamin Hipple 1441dcc0f1
[org-roam] Fix evil org-roam-node-insert spacing (#15008)
When we're adding links, without this they get smooshed together under the
curser. Tested to work; resolves https://github.com/syl20bnr/spacemacs/issues/14137

Co-authored-by: Richard Kim <emacs18@gmail.com>
2021-08-23 22:10:32 +00:00
Daniel Nicolai f92af9989a Add option to enable all-the-icons-ivy-rich to ivy layer 2021-08-22 22:31:05 +02:00
duianto 05f5113b70 Use built-in get-buffer 2021-08-22 22:26:37 +02:00
Thanh Vuong bb8dd09d3f [java] improve binding for lsp-java 2021-08-22 22:22:15 +02:00
Daniel Nicolai 5a9b813c9e Add jump to specific manual keybinding (SPC h j)
This keybinding could also go under `SPC h M`, but that is currently taken by
`helm-switch-major-mode` (which seems a quite redundant command to me, as you
can switch major-modes directly using `M-x`/`SPC SPC`).
2021-08-22 21:59:34 +02:00
Cédric M. Campos 31222468e6 [latex] Doc. TeX engine. Corrects typos, adds on TeX-command-master. 2021-08-22 21:12:15 +02:00
Benjamin Hipple 195a228927 [org-roam] Add "r" key to refresh org-roam links list buffer
This matches the org-agenda key, and is doubly important since we need to
refresh regularly to workaround the page-break-lines bug, as described here
https://github.com/syl20bnr/spacemacs/issues/14969#issuecomment-894624932
2021-08-22 20:32:43 +02:00
Daniel Nicolai 8c931b9c86 Evilify special-mode by default
As special-mode is a read-only mode, it could be evilified by default.
I am not aware of any case where this is not desired.
2021-08-22 20:26:32 +02:00
Aaron L. Zeng 1a9ebf42df Fix file rename target path when buffer name is uniquified
When the buffer's name is uniquified (because multiple buffers have
the same short name), it is no longer equal to the basename of the
buffer's file name, so it is incorrect to use the buffer name in the
rename operation.
2021-08-22 19:56:17 +02:00
Daniel Nicolai 2f0f7a3fe7 Fetch info+ via quelpa wiki recipe
Fixes #14525 and 8bcc420.
2021-08-22 19:19:41 +02:00
duianto d9c3dc678c
Fix evil search prompt on mouse leave (#15002) 2021-08-21 01:49:40 -04:00
duianto 6205d29e11
[compleseus] Fix keys (#14968) 2021-08-20 04:50:45 +00:00
duianto 090a4c89da
[compleseus] Fix junk file function (#14973)
problem
`SPC f J` (`spacemacs/open-junk-file`) shows:
cond: Cannot open load file: No such file or directory, helm

cause
`spacemacs/open-junk-file`
expects the completion layer to be either: `helm` or `ivy`

notes
The junk file function searches through the junk files,
when the ARG parameter is non-nil
(when it's called with a prefix argument: `SPC u SPC f J`)

The helm and ivy search functions might be choosing the search tool,
based on the first search tool it finds in the variable:
`dotspacemacs-search-tools`
`("rg" "ag" "pt" "ack" "grep")`

The consult package has these two search functions:
`consult-grep`
`consult-ripgrep`

This fix only uses those two for searching.
It checks for the executable: `rg` before `grep`
2021-08-20 04:49:30 +00:00
Anupam | अनुपम 9745c4e88a
Add purescript formatting support (#14984) 2021-08-20 03:48:29 +00:00
Carlos Ferney Clavijo Rendón a99b527056
[erlang] add DAP support through erlang_ls-dap (#14996)
* [erlang] add DAP support through erlang_ls-dap
2021-08-20 03:15:41 +00:00
Aaron Zeng fdeb770103
[nixos] Add nixos-format-on-save (#14982)
* [nixos] Add nixos-format-on-save
2021-08-20 03:09:00 +00:00
Dan Kessler 3a52081c23
[major-modes] add evil-matchit support for matlab (#15000)
* [major-modes] add evil-matchit support for matlab

If `evil-matchit` is available, configure it for us in `matlab-mode`.

Note: This commit by itself doesn't actually do anything, because currently,
`evil-matchit` supports `octave-mode`, but not `matlab-mode`, although it's a
very simple matter of just turning on its `octave-mode` configuration for
`matlab-mode`. I'm submitting a PR against `evil-matchit` in order to support
`matlab-mode` out of the box.
2021-08-20 03:03:48 +00:00
Daniel Nicolai 3875f7a2fd Change show-all keybinding to outline-cycle-buffer in pdf layer
Emacs 28 adds the outline-cycle-buffer feature. Currently there is no keybinding
to fold the outline of a pdf. So let's replace show-all by it for >= Emacs 28,
because it is easier to remember a single keybinding for folding and unfolding
then having separate bindings for those.
2021-08-16 17:23:25 +02:00
Daniel Nicolai 8b05eb47c0 Evilify and add follow link (hint) keybinding to org-roam buffer 2021-08-16 15:21:08 +02:00
Dmitry Polienko 9bb3115bce
Remove obsolete paragraph from the LSP layer documentation (#14989) 2021-08-14 19:21:30 +00:00
duianto f3b902a304 Fix ahs ts, open prompt
problem
opening a prompt, ex: `M-x`
while the Symbol Highlight Transient State (`SPC s h`) is open,
leaves `auto-highlight-symbol-mode` enabled

cause
when the idle timer runs,
it tries to disable ahs mode in the prompt window
2021-08-14 16:12:25 +02:00
inwit 40ae5e2293 Add bindings for scrolling the message pane in tree-view
In standard notmuch-emacs, one can scroll back and forth the message
pane using `SPC`/`BKSPC`. Obviously, this is not the case in Spacemacs,
where `SPC` is reserved. There was no way to scroll the message pane in
this layer, so I added `M-d` and `M-u` wired to
`notmuch-tree-scroll-message-window` and
`notmuch-tree-scroll-message-window-back`.
2021-08-02 22:55:49 +02:00
Aaron L. Zeng 0f71054dcc [shell-scripts] Add format-on-save docs to README.org 2021-08-02 22:44:59 +02:00
Aaron L. Zeng 9e361eedc2 [shell-scripts] Add shell-scripts-format-on-save 2021-08-02 22:44:59 +02:00
Daniel Nicolai cc8f3a3a32 Add python-send-shell-with-output command
Currently when using any python-send-shell command, the output of the evaluation
is not shown in the comint shell (see Emacs bug#49822).
This commit adds a simple function to send input and get the output printed in
the comint process buffer.
2021-08-02 22:16:37 +02:00
duianto 7b5b69fda5 [compleseus] Fix indentation 2021-08-02 13:24:37 +02:00
Thanh Vuong 50f4fe183f [compleseus] add consult-line-multi 2021-08-02 13:20:42 +02:00
Борис Верховский e2aff2c915 use new breakpoint() for more Python versions
follow up to #11490
2021-08-02 12:32:02 +02:00
SpacemacsBot 168e68e2d5 [bot] "documentation_updates" Sat Jul 31 14:26:32 UTC 2021 2021-07-31 16:32:46 +02:00
dalanicolai 236eb94320 Fix google-translate functionality
This bug exists already since I started using Spacemacs about 1.5 year ago.
Because it was already reported upstreaim in
[this issue](https://github.com/atykhonov/google-translate/issues/52), I
implemented this fix only locally.

However it becomes time now to implement this fix globally, to fix the
google-translate functionality by default.
2021-07-31 16:25:20 +02:00
Daniel Nicolai 65121ddd30 Improve spacemacs/default-pop-shell docstring
Add instruction for controlling automatic change to working directory ('fixes'
2021-07-30 17:10:38 +02:00
Keith Pinson b2a18301fa [defaults] Disable line numbers with `SPC t n n`
Toggles are great and all, but the trouble with the various toggles for line
numbers is that they force you to remember and think about the fact that there
are variant forms of line numbers. To beginners or forgetful people the various
combinations of behavior can be unintuitive here (e.g. toggling off relative
line numbers does nothing if you are actual in visual line numbers mode). Though
it doesn't fit exactly into the normal stuff we have for toggles, due to the
complexity of this situation I think it is good to just have a way to say "line
numbers be gone!"

Wasn't sure what keybinding to use, so used a double-tap mnemonic.

If this PR gets rejected, there are a couple minor fixes that should probably be
pulled out and submitted separately.
2021-07-30 16:57:27 +02:00
Daniel Nicolai 295e4271ef Fix wrong buffer name after file rename
When providing only the new directory path (i.e. without new filename) while
moving a file to a new directory with `spacemacs/rename-current-buffer-file`,
currently Spacemacs opens the file in a new buffer with the directory name.

Additionally, the `file-renamed-p` gets set the wrong value. To fix both
issues (with minimal work), it is easiest to just fix the `new-name`
value (alternatively fixing the `rename-buffer` and `set-visited-file-name`
forms later would not fix the wrong `file-renamed-p` value issue).

Finally when called with a universal-argument, then that argument
unintentionally gets 'passed' in the interactive call to
projectile-invalidate-cache. So this PR fixes that by changing the interactive
call to a funcall.
2021-07-29 20:54:30 +02:00
Daniel Nicolai 15ec5c57e9 Evilify image-dired-thumbnail/display-image-mode-(map)s 2021-07-28 20:40:23 +02:00
Thanh Vuong dce3f1d722 [ivy] add open in other window for ivy-xref 2021-07-28 19:38:30 +02:00
Matthew Boston ee2fc1efc0 plantuml layer supports .puml extension 2021-07-28 18:34:26 +02:00
Andreas Sahlbach 579edd5deb fixed a small typo in the ivy docu
regarding the modifier for transient mode
2021-07-28 18:32:54 +02:00
SpacemacsBot 81eb82603c [bot] "documentation_updates" Wed Jul 28 13:13:07 UTC 2021 2021-07-28 15:35:39 +02:00
duianto 3b8bb7f5b7 [docs] Update org-roam key bindings 2021-07-28 14:09:04 +02:00
Alex Kapranoff 44affc4d2b Rename commands for org-roam v2 compatibility
Fixes #14929
2021-07-28 13:58:13 +02:00
duianto 431dfd5ad9 [docs] Update completion layer install notes
The other completion layers, need to be:
- removed
- commented out
- or listed before the active completion layer
2021-07-26 15:49:42 +02:00
Thanh Vuong 6121a5807b [compleseus] new completion layer consult embark orderless selectrum/vertico
Built on consult embark orderless selectrum/vertico.

It's been working ok. Basic features are in, let's merge it and let our community
improve it togegher :)
2021-07-26 10:48:20 +02:00
duianto 48d1f53630
Fix evil-matchit % jump in web mode (#14940)
problem
With the cursor on a parenthesis in js code in a .html document,
pressing:
```
%                      ;; evilmi-jump-items
```
jumps to the buffers last line.

solution from upstream issue
Jump to end when current line has a "if" keyword in web-mode and html-mode
https://github.com/redguardtoo/evil-matchit/issues/119
2021-07-22 07:45:26 +00:00
Deepu Mohan Puthrote eeb363f6e4 Add flag to enable org-brain support making it optional 2021-07-22 09:24:46 +02:00
duianto ba8074b604 Fix symbol highlight ts counter
problem
The Symbol Highlight Transient State (`SPC s h`) counter
ex: [2/7]

Shows: [0/0]
when opening the TS, either with `SPC s h`, `SPC s H`
or when navigating between symbols with: `#` or `*`

cause
The symbols haven't been counted yet, when the TS is opened.

And the counter is reset when `auto-highlight-symbol-mode` is disabled,
this happens when the TS is restarted, which happens when navigating to the
next/previous symbol with `#` and `*`.

solution
Highlight the symbol before opening the TS.
And only disable `auto-highlight-symbol-mode` when the TS is closed.
(when the TS buffer " *LV*" doesn't exist)

notes
This also shows the "No previously searched for symbol found" message,
when the variable `spacemacs-last-ahs-highlight-p` is void on startup.
2021-07-16 16:23:30 +02:00
JAremko af345fd4c1 [doc] fix links 2021-07-12 07:32:24 -07:00
duianto 483cdd1c0d Fix symbol highlight ts, infinite loop
problem
navigating to the next/prev symbol,
in the symbol highlight transient state: `SPC s h`
with: `n`, `N` or `p`

soft freezes Emacs (the freeze can be canceled with `C-g` twice)

cause
the upstream variable: `ahs-current-overlay` has been removed

solution
it was replaced with a function called: `ahs-current-overlay-window`
2021-07-10 15:10:43 +02:00
madand 5c75eb4ea3 Continue fixing and refactoring integration with auto-highlight-symbol
* fix `Symbol’s function definition is void: ahs-highlight-p`
* get rid of 2 instances of `eval`
* improve advicing code with the use of `advice-add`
* eliminate 2 redundant calls to `ahs-highlight-now` in adviced functions
* eliminate redundant `spacemacs/ahs-highlight-now-wrapper`
2021-07-08 07:00:31 +02:00
Tristan Hume 820d9fb955 Finish up fixing symbol highlighting
Fixed an issue where ahs-mode was being enabled before the check for it
already being enabled.

Switched the toggle to be based on the mode instead of the timer hack.
2021-07-08 07:00:31 +02:00
duianto 1069e37a98 Fix symbol highlighting
problems:
- Symbol highlighting is enabled on startup.
- The highlight isn't cleared when closing the
Symbol Highlight Transient State
- The `SPC t h a` symbol highlight toggle,
only shows a disabled message,
but the highlighting remains enabled.

cause:
Changes in the upstream package: auto-highlight-symbol
2021-07-08 07:00:31 +02:00
SpacemacsBot a082ade23b [bot] "documentation_updates" Wed Jul 7 12:41:59 UTC 2021 2021-07-07 05:43:08 -07:00
SpacemacsBot 284f56a397 [bot] "spacemacs_fix_org" Mon Jul 5 23:23:52 UTC 2021 2021-07-05 16:24:48 -07:00
JAremko 18f6486246 [doc] Fix exwm README.org 2021-07-05 14:30:55 -07:00
Ryan Prior be74dd786f
Adds function to run default shell in project root, with leader keys `SPC p $` (#14856)
By using `projectile-acquire-root`, we will prompt the user for a project when
they call `spacemacs/projectile-pop-shell` outside a project directory.
2021-07-04 07:02:19 +00:00
duianto 9159393f9c
Fix exit keyword in symbol-highlight TS (#14890) 2021-07-03 16:59:23 +00:00
duianto cf21402c5c Revert "Fix which-key entries: gr and gs in dired and magit"
This reverts commit ec57b21a92.

A which-key change caused issues with this fix.
And the fix doesn't seem to be needed anymore.

The correct which-key entries appear without the fix.
2021-06-23 17:33:36 +02:00
Daniel Nicolai 443311c8f1
Small fix: unquote keymap symbols in scheme layer (#14866) 2021-06-22 15:29:02 +00:00
Arif Er b0ef47a885
[org] Fix org-habit (#14838) 2021-06-19 17:47:42 +00:00
Maximilian Wolff ab6b165e96
[dotnet] Change bindings to be based on p for project
as d is reserved for debuger integrations. Also make
sure that dotnet bindings are set for fsharp and csharp.
Fixes #14606
2021-06-16 22:47:11 +02:00
Maximilian Wolff 4039ad5852
[dune] Remove obsolete auto-mode-alist declaration
as the package is taking care of this already.
Fixes #14650
2021-06-16 22:13:09 +02:00
Arif Er 9bde46ee57
[python] Fix keybinding in README (#14851) 2021-06-16 16:14:01 +00:00
Arif Er 2fd3eb3edb
[transmission] Add new keybindings (#14819)
This commit adds 3 sets of keybindings and organises the keybindings so that it
can be read easier. The README file is also organised and cleaned up to be read
easier.

1. Marking and labelling

   Add a new keybinding to mark torrents and another to set the labels at point
   or for marked torrents.

2. Queueing

   Keybindings to manage how the queueing of torrents are added using the
   uppercase vim movement keys. A keybinding to logically sort by columns is
   also added.

3. Turtle mode

   A new keybinding while in `transmission-mode` toggles the
   `transmission-turtle-mode` minor mode. When it is active, a new set of 3
   keybindings will be active to change the settings of the minor mode.

Although there is a keybinding for `transmission-remove` in `transmission-mode`,
a new keybinding for `transmission-delete` is also added. This is done since
`transmission-remove` merely removes the torrent from Transmission but does not
delete the file(s).

The rest of the changes are reflected in `CHANGELOG.develop`.
2021-06-10 18:30:31 +00:00
Alex Kapranoff 58168158d2
Replace flycheck-perl6 with flycheck-raku (#14818) 2021-06-10 06:38:51 +00:00
Maximilian Wolff af193f769f
[git] Update instructions for global-git-commit-mode 2021-06-09 11:38:15 +02:00
Maximilian Wolff 500e58341c
Defer loading of lsp servers up to when the buffer is visible 2021-06-06 22:26:31 +02:00
Alexander Konotop 12c4d510ff Update php dap debugging doc to cover xdebug v3 and docker debug host issues. 2021-06-06 21:46:30 +02:00
Aaron L. Zeng 70ec22703a [nix] Add key binding for nix-format-buffer 2021-06-06 21:44:34 +02:00
Lucius Hu f0cadad38f
fixup fixup fixup #14715 (#14827)
funcs.el is loaded after packages.el so `spacemacs//support-evilified-buffer-p` is undefined at this point.

moved it inside the `defun` block and it should work.
2021-06-05 15:16:43 +00:00
Moritz 95b683c0a5
Fixed bugs and refactor in new EXWM layer
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>

Closes #14802
2021-06-05 15:02:57 +00:00
Lucius Hu d262103b5e
fixup! fixup! #14715 2021-06-05 09:53:23 -04:00
Lucius Hu 1d07f56aed
fixup #14715 (#14826) 2021-06-05 10:08:14 +00:00
Lucius Hu 53027df26a
exwm: fix missing kwarg 2021-06-05 06:04:02 +00:00
Lyall Cooper 5cd56a4668
Only load evil-collection in vim or hybrid mode (#14825)
As described in #9169, when using the emacs editing style the comment inserted at the bottom of a git rebase shows the incorrect key bindings. This is apparently due to `evil-collection` (changing the `git-rebase-mode-hook`)[3ed92cadda/modes/magit/evil-collection-magit.el (L523-L524)].

We can fix the issue by only loading `evil-collection` if we're using an evil-style editing mode.

Closes #9169
2021-06-05 03:44:32 +00:00
Markus Bertheau 8c8fc6463c
Use local copy of old devdocs for emacs < 27.1 (#14823) 2021-06-03 08:01:05 +00:00
Armin Friedl 9630472187
racket: Function-quote company-mode-hook function (#14824) 2021-06-03 08:00:27 +00:00
arifer612 27fa8f8f7d
Fix key binding in README in layers/tools/transmission (#14814) 2021-05-31 13:44:05 +00:00
Markus Bertheau 4acdf7733e
Fix one diminish pattern in a list in :spacediminish (#14810)
The code changed here wants to distinguish the cases of whether `arg` is a list
with one set of args to `spacemacs|diminish` or a list of a list of such args.
It used to look at the second element of `args` to make that distinction.
Consequently, if you want to specify a list of a list of args for
`:spacediminish`, you'd have to have at least two such lists of args in the list.

However in
38f582d785
a usage with a list of just one list of args was introduced.

This fixes changes the detection so that it looks at the first element of `arg`.
If that's a list, `arg` is assumed to be a list of lists of args to
`spacemacs|diminish`. If it's not, it's assumed to be just a list of args to
`spacemacs|diminish`. That works well because the first argument to
`spacemacs|diminish` is a symbol.

Fixes #14726
2021-05-31 04:39:16 +00:00
Maximilian Wolff c74b0f8bc0
[org] Remove unit tests for non existing function
for we do not longer require to replace org with
org-plus-contrib on the fly.
2021-05-30 12:36:26 +02:00
Maximilian Wolff b96ace1313
[markdown] Remove obsolete orgtbl-mode cleanup
for it has a lot of side effects by globally replacing
-+- in the entire markdown buffer. Up to now markdown
has its own table insert function available via
`SPC i T` which is to be prefered.

In addition there seems to be no active
binding for `orgtbl-mode` in markdown making it very
unlikely that someone is still using it within markdown-mode.
2021-05-29 23:33:13 +02:00
Maximilian Wolff 358d60b676
[markdown] Add binding for inserting common tables 2021-05-29 23:10:51 +02:00
Maximilian Wolff e708f8dcaa
[go] Remove obsolete format statement and fix go-run-args passing 2021-05-29 22:33:59 +02:00
Dennis Mayr 627940d6d7
`(format (concat go-run-command)` modification
Changed `(format (concat go-run-command " %s %s .")` to `(format (concat go-run-command " .")`, to allow `main.go` running when functions are invoked from another file, as suggested here: https://github.com/microsoft/vscode-go/issues/3096

Correction: `concat go-run-command " ."` ->  `concat go-run-command " ." go-run-args`

Fixed as suggested
2021-05-29 22:30:56 +02:00
Maximilian Wolff 5e26865ef9
[org] Fix installation from nongnu elpa and double ownership of org 2021-05-29 22:12:28 +02:00
Richard Kim 63197014cc
use org and org-contrib packages rather than org-plus-contrib
setup org-contrib in org layer rather than spacemacs-org layer

follow-on fix for spacemacs-org layer
2021-05-29 21:10:21 +02:00
Lucius Hu d9132f8bc0
spacedminish: fixed bug
fixes https://github.com/syl20bnr/spacemacs/issues/14726
2021-05-28 02:10:15 +00:00
Rahul Rameshbabu 8365979326 [perforce] Add p4-shelve and p4-unshelve commands with keybindings
Shelving and unshelving changelists are operations commonly used when
choosing Perforce as a VCS solution. Package consumed by the "perforce"
layer already provides "p4-shelve" and "p4-unshelve" commands that can
be exposed by the layer. Provide keybindings for these two commands as
well.
2021-05-27 22:39:43 +02:00
Maximilian Wolff b29ed9b598
[docker] Register "q" to close the current window for docker modes 2021-05-27 22:34:27 +02:00
tvuong 3e93f56e58
[docker] simplify keybings for docker.el
use default transient bindings from docker.el which is very good
2021-05-27 22:23:31 +02:00
Thanh Vuong bc6163216c
[lsp] add keybindings for lsp-ivy/helm-lsp when use upstream bindings 2021-05-27 22:14:14 +02:00
Maximilian Wolff af86a142eb
[spacemacs-default] Replace "unless null" with "when" 2021-05-27 22:11:08 +02:00
Evan Klitzke 89844fe411
Add custom-file to recentf-exclude list 2021-05-27 22:08:21 +02:00
Maximilian Wolff 3b45182e45
[eaf] Add docs for new keybindings 2021-05-27 22:04:59 +02:00
Kjartan Óli Ágústsson 15b9e0fd8a Add bindings for opening eaf applications
EAF recently added a system monitor. Add `SPC a a s` to open it.
Also add `SPC a a M` to open the eaf music player.
2021-05-27 22:02:52 +02:00
Daniel Nicolai 41f8430c1f
Evilify geiser-doc-mode-map and add keybindings in scheme layer (#14758)
In the scheme REPL, RET is bound to `geiser-repl--maybe-send` which most times
sends the input instead of inserting a newline. Therefore this separate
keybinding for that will always insert the newline is required.

Also the geiser-doc-mode is a read-only mode which should get evilified to
unshadow the convenient evil-like default Emacs keybindings.
2021-05-26 19:49:06 +00:00
emacspace 5ef4960d46
[bot] Auto-update (#14793) 2021-05-22 18:42:01 +00:00
HanshenWang a47b4a4672
[pdf] Update pdf-layer documentation (#14791) (#14792) 2021-05-22 17:40:53 +00:00
lin.sun 2515f141b6
[+intl/chinese] fix warning for quote lambda function (#14786) 2021-05-19 08:51:27 +00:00
Maximilian Wolff 37c8669d36 [parinfer] Allow to disable auto-installation
instead a path to the library can be set manually.
See #14568
2021-05-17 21:24:54 +00:00
Maximilian Wolff f51731bf98 [default] Fix the condition for dotspacemacs-use-SPC-as-y
as in my first version it was activating `SPC as y` when
it should actually disable it.
2021-05-17 20:48:37 +00:00
Maximilian Wolff a5d05c8fac [default] Do not take y as yes for prompts by default
this is now configurable in your dotfile.
See #14382
2021-05-17 20:43:09 +00:00
duianto 917ebbc4cb [version-control] Show bound but unlisted VCS TS key: d
In the VCS Transient State (`SPC g .`)
The key: `d` is bound to: `magit-ediff`
But `d` isn't shown in the VCS TS.
2021-05-17 22:10:11 +02:00
Dominik Schrempf 54cb40b9ca [helm] Add `S-RET` keybinding for helm modes to open in other window
Remove `C-o` keybinding from helm-bookmarks.

Add `S-RET` keybinding to open file/buffer/bookmark in other window for
helm-files helm-buffers and helm-bookmarks.

Advantage: Consistent behavior. It is pretty cumbersome to use the persistent
action provided by helm to open files/buffers/bookmarks in the other window.
2021-05-17 22:07:28 +02:00
w9 6d20f923bc Not using "call-interactively" result in error
`xref-find-definitions` is an interactive function that requires one argument `identifier`. You either need to `call-interactively`, or better yet, call it by forwarding the `sym-name` as the `identifier`.
2021-05-16 21:30:45 +02:00
Daniel Nicolai 639160ed95 Evilify xref--xref-buffer-mode 2021-05-16 21:20:36 +02:00
Lucius Hu 8e3ab24c36
fixup! #14770 2021-05-16 18:26:24 +00:00
Benjamin Yang fef9ba9e18
[exwm] Remove manual XF86 keybindings (#14770) 2021-05-15 16:24:01 -04:00
Maximilian Wolff 80e2fd4279 [python] Add instruction to install pyls-memestra
for detecting of deprecated apis
2021-05-14 17:37:17 +00:00
Dan Kessler 2c661ab49d
Ensure hjkl bindings are respected during company search/filter (#14768) 2021-05-13 19:01:48 -04:00
emacspace 5c214e5160
documentation formatting: Thu May 13 22:33:42 UTC 2021 (#14773) 2021-05-13 18:51:36 -04:00
Daniel Nicolai f8301056c9
Update python layer to use pylsp (new maintained fork of pyls) (#14772) 2021-05-13 18:30:32 -04:00
Maximilian Wolff 104ce94389 [json] Fix "void variable" in init-json-navigator
which was caused by lazy loading.
2021-05-12 05:13:29 +00:00
Aaron Zeng 76133f86f7
[csv] Make tsv-mode inherit csv-mode's leader key bindings (#14763) 2021-05-11 20:45:45 -04:00
Maximilian Wolff 346b7a8a12
[json] Fix functions optionally working on regions
so that they work if no region has even been
selected in the current emacs section.
2021-05-11 21:24:52 +02:00
Maximilian Wolff 060f558530 [json] Avoid changing default evil state for tabulated-list-modes
See #14645
2021-05-09 21:14:26 +00:00
Maximilian Wolff e9b4131d18 [auto-complete] Removed the last traces of transformer integration
They are mostly obsolete now and harmful for performance.
See #14547 for details.
2021-05-09 20:56:54 +00:00
Maximilian Wolff ad8acf6d51 [latex] Add missing binding for 'org-ref-insert-cite-key with lsp 2021-05-09 20:37:02 +00:00
emacspace 61f6480ef8 documentation formatting: Sun May 9 19:09:25 UTC 2021 2021-05-09 21:16:30 +02:00
Daniel Nicolai 72127a49cb Replace counsel-M-x command in eaf-layer
Counsel is specific to Ivy, the universal M-x command is
`execute-extended-command`.
2021-05-09 21:06:04 +02:00
HanshenWang 947763eeaa
[evil-better-jumper] Update layer documentation (#14744)
* [evil-better-jumper] Update layer documentation

* Correct location of =dotspacemacs-distinguish-gui-tab=
2021-05-08 22:31:24 +02:00
Colin Woodbury 5ba6520389 Revert "[keyboard-layout] Fix colemak-hneio next/prev line in magit"
This reverts commit 3acf188bad.
2021-05-08 22:28:52 +02:00
Daniel Nicolai 8ede09f875 Small fix to eaf-layer refactor
This PR reimplements the refactor changes by @lebensterben but with his fix as
he suggested [here](https://github.com/syl20bnr/spacemacs/pull/14681#discussion_r616060958)
2021-05-08 22:25:06 +02:00
emacspace a26121db4f documentation formatting: Thu May 6 20:14:11 UTC 2021 2021-05-07 07:32:24 +02:00
Maximilian Wolff c1c18b7eed Revert "add a feature to save file as a new file and open it in a new buffer"
This reverts commit 4fc78bdc02.
2021-05-07 05:29:22 +00:00
Maximilian Wolff f213b8cf20 Revert "[spacemacs-defaults] Move new function to correct file"
This reverts commit 1169eb3709.
2021-05-07 05:29:03 +00:00
Maximilian Wolff 0ffe16066f [vim] Disable unused functions in evil-better-jumper layer 2021-05-06 19:57:07 +00:00
Thanh Vuong 72807f3ef2 [vim] add evil-better-jumper layer
https://github.com/gilbertw1/better-jumper
2021-05-06 19:41:22 +00:00
Zach Pearson d2e9730acb
Update pyls install command to use quotes (#14741) 2021-05-05 13:28:52 -04:00
Lucius Hu 5c48a35bc8
fixup! #982e25 2021-05-05 03:54:55 +00:00
Maximilian Wolff 1169eb3709
[spacemacs-defaults] Move new function to correct file 2021-05-04 22:06:34 +02:00
tddsg 4fc78bdc02
add a feature to save file as a new file and open it in a new buffer 2021-05-04 21:52:34 +02:00
Richard Kim efbf4c5fb5 set initial evil state of ccls-tree-mode to be emacs
Emacs mode is clearly better than vim mode, because j and k keys are already
bound to down/up motion. In addition as the tree mode is traversed, the
matching code pops up on the left in emacs mode but not in vim mode.
2021-05-04 20:50:23 +02:00
Aaron Zeng e15dbdc036
[ocaml] Fix name of layer variable in defvar (#14736) 2021-05-04 00:34:51 -04:00
emacspace c69458150f documentation formatting: Mon May 3 22:15:02 UTC 2021 2021-05-04 00:24:54 +02:00
Maximilian Wolff fdda1bd281
[lsp] Fix missing [ in documentation 2021-05-04 00:10:13 +02:00
emacspace bf8cb19cca documentation formatting: Mon May 3 20:22:58 UTC 2021 2021-05-03 23:17:19 +02:00
Maximilian Wolff 99231d3a70
[lsp] Fix some smaller issues in documentation 2021-05-03 23:05:44 +02:00
Thanh Vuong 27f1519a5a
[lsp] add option to bind commands to lsp-command-map
`lsp-use-upstream-bindings` set to `t` then Spacemacs will bind all
`lsp-command-map` behind `SPC m`, `,` and `M-m`. This way the bidings will be
managed by upstream `lsp-mode` which is documented at
https://emacs-lsp.github.io/lsp-mode/page/keybindings/.

Spacemacs only replaces the prefix `s-l` with `SPC m`. For example:

| lsp binding | Spacemacs binding                   |
|-------------+-------------------------------------|
| `s-l w s`   | `SPC m w s` or `, w s` or `M-m w s` |
2021-05-03 22:53:11 +02:00
emacspace a2dc0c18e0 Built-in files auto-update: Mon May 3 19:32:32 UTC 2021 2021-05-03 22:17:33 +02:00
Kazark 220536fd39 [org] sane default strategies for enforcing `TODO` dependencies 2021-05-03 22:17:07 +02:00
n-raymond 1136a61645 [ocaml] Fix variable name to make ocamlformat properly working on save 2021-05-03 22:11:32 +02:00
Lucius Hu e5be31bb85
Bumped minimum emacs version to 26.1 2021-05-03 22:09:11 +02:00
duianto 29fa26af98
Add workspace action messages and open home buffer (#14709)
### Added workspace action messages
`SPC l w` followed by a number key `0-9`
or `SPC l w s` single window workspace
>Workspace 2 created

`SPC l w 1` from another workspace
>Workspace switched to 1

`SPC l w 1` from the same workspace
>Already on Workspace 1

`SPC l w c` clones the current workspace to the next free slot
>Workspace 1 cloned to 3

`SPC l w d` close the current workspace
Workspace 3 closed

### And
Open the Spacemacs home buffer when creating a new workspace
with the number keys. Previously it opened the scratch buffer.
2021-04-30 18:31:33 +00:00
Benjamin Yang 4e5a7233b0
SpacemacsOS: provide new layer variables for systray and autostart (#14714)
I'm not sure how best to start doing this, but the branch over at
timor:spacemacsOS has moved ahead a bit.  I've grown used to a lot of these
changes, and would like to see them moved to the main develop branch.  But, the
pull request (formed by merging in CestDiego:spacemacs/SpacemacsOS in #3321)
started diverging.

Again, I'm not sure how to approach moving together these two changes.  Maybe
@timor can help somehow??

This at the least moves in some little things from Timor's branch:

- Can enable exwm-systemtray with `exwm-enable-systray`
- Can enable running XDG autostart applications (only in XDG_USER_HOME/autostart
  for now) with `exwm-autostart-xdg-applications`
- Support for reading `.desktop` files and XDG autostart.
- Can specify additional code appended to exwm-init hook with `exwm-custom-init`

---

This PR also fixed some other existing issues, and improved documentation.

Co-authored-by: timor <timor.dd@googlemail.com>
Co-authored-by: Benjamin Yang <be11ng@users.noreply.github.com>
2021-04-30 18:29:17 +00:00
Carlos Ferney Clavijo Rendón d24249b759
[erlang] fix run-prog-mode-hooks function call (#14725) 2021-04-28 10:31:59 -04:00
Lucius Hu 117f4b73ab
squash! Removed legacy codes for emacs-version < 25.1 (#14497) 2021-04-28 01:17:17 -04:00
Lucius Hu bc27203615
Removed legacy codes for emacs-version < 25.1 (#14497) 2021-04-28 05:04:53 +00:00
Lucius Hu 982e2515a3
[keyboard-layout] replace `evil-magit` by `evil-collection-magit`
`evil-magit` is part of `evil-collection-magit` now
2021-04-28 02:14:00 +00:00
wildwestrom 635c326c0a fixed asciidoc export
Fixed ox-asciidoc as per issue #14695
I just deleted one line, tested it, and it works again.
2021-04-26 22:19:42 -04:00
duianto 374fc28c76 Fix clone workspace
problem
Trying to clone a workspace `SPC l w c`
Does create a new workspace,
but it just shows the scratch buffer.

notes
In addition to fixing the cloning.

Show a minibuffer message:
Workspace: 1, cloned to Workspace: 2

To make it clear that the cloning worked.
Because the only visible difference, is that
one of the left side mode line numbers changed.
2021-04-26 22:11:22 -04:00
Benj 6b135c5a69 [scheme] Fix geiser company backends 2021-04-26 22:06:13 -04:00
emacspace 3dbe66dda7
documentation formatting: Mon Apr 26 13:46:02 UTC 2021 (#14718) 2021-04-26 09:53:56 -04:00
Daniel Nicolai 557fc0efab
Scheme layer, add REPL keybindings (#14708) 2021-04-26 09:42:48 -04:00
Zach Pearson d72e512993
Use timeclock-mode-line-display in default bindings (#14713) 2021-04-25 18:51:39 -04:00
emacspace eddf1dc460 documentation formatting: Fri Apr 23 14:03:32 UTC 2021 2021-04-23 23:00:39 +03:00
JAremko 982a3db01f [doc]fix the rest of exwm readme hls 2021-04-23 17:00:24 +03:00
JAremko 7f0f93d765 fix exwm readme 2021-04-23 16:54:12 +03:00
Lucius Hu c8b914c8de erlang: Fix local vars
- Labelled `erlang-backend` as safe local variable.
- Added local variable hooks of erlang modes:
  - `spacemacs//erlang-setup-backend`
  - `spacemacs//erlang-setup-company`

See: https://github.com/syl20bnr/spacemacs/issues/14653
2021-04-22 13:03:38 -04:00
Lucius Hu 983ace0097 elixir: Fix file local vars
- Labelled `elixir-backend` as safe local variable.
- Added local variable hooks of elixir mode:
  - `spacemacs//elixir-setup-backend`

All other setup functions are already added to local variable hook.

See: https://github.com/syl20bnr/spacemacs/issues/14653
2021-04-22 12:54:03 -04:00
Lucius Hu 870b2c9e5d dart: Fix local vars
- Labelled `dart-backend` as safe local variable.

All setup functions are already added to local variable hook.

See: https://github.com/syl20bnr/spacemacs/issues/14653
2021-04-22 12:53:11 -04:00
Kjartan Óli Ágústsson 7ef15a561a
Fix issues with EXWM layer (#14693)
Added header.
Removed cl-generic dependency which is not needed for current minimum version (or later) of Emacs.
2021-04-21 17:12:52 -04:00
Kjartan Óli Ágústsson e290b10060
Replace function aliases with their real names (#14688)
`first` and `list-length` are aliases for `car` and `cl-list-length`
respectively. Using these aliases causes emacs to error with a `symbol's function
definition is void` error, but using their real names causes no error.

Replaced them with `car` and `length`.
2021-04-21 19:42:26 +00:00
Kjartan Óli Ágústsson ec2c511c6f
Add support for org-roam-protocol (#14687)
Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>
2021-04-21 19:40:33 +00:00
Aaron Zeng 433f6729e7
[ocaml] Fix typo (#14692) 2021-04-21 14:37:55 -04:00
Aaron Zeng 7e03196280
[ocaml] Fix for merlin package split (#14691) 2021-04-21 13:38:18 -04:00
wildwestrom 70be2c03d8
Added asciidoc support. (#14689)
You can now export org files as asciidoc documents.
2021-04-21 12:46:33 -04:00
ralph-cheng a6fc48dba4
bug fix - eslint not available for typescript-tsx-mode (#14685) 2021-04-21 11:04:51 -04:00
emacspace df15f8cc15 documentation formatting: Mon Apr 19 20:28:58 UTC 2021 2021-04-19 23:15:58 +02:00
Maximilian Wolff 2e02ac0a31
[exwm] Adjust layer README to match current standards 2021-04-19 23:04:38 +02:00
Diego Berrocal a664569a48
Add Emacs Window Manager (EXWM) Layer AKA SpacemacsOS (#3321)
* Add Emacs Window Manager (EXWM) Layer

The time has come of SpacemacsOS

* set window manager name to EXWM

* update copyright notice

* start server when EXWM is active

When using EXWM, Emacs should be ready to receive clients but the final choice
should be the user's in their shell configuration.

* respect Spacemacs naming conventions and layer organization

* leave keyboard remapping to users

* add EXWM states for Evil

* add support for helm-exwm when helm is in use

* use both exwm-randr and exwm-systemtray

* set up workspaces to match displays by default

* use ido-config instead of the deprecated workaround

When using helm-exwm, its sources distinguish title and class automatically. It
is only necessary to keep the buffer name updated when the window title changes.
When using ido, rename differently for different applications.

* add bindings for common X keys

* use standard prefix commands where available

Spacemacs already has prefix commands for controlling windows.
These are directly available in exwm-state as well as in exwm-insert-state
through leader

* remove most keybindings as they are available directly in exwm-state

* enable exwm directly in the layer configuration

It is safe to enable it here as an existing window manager will simply fail with
a warning.

* add user-configurable variables for RandR and workspaces

By default, create as many workspaces as there are displays and assign them in
RandR order.

* fix naming convention for variables

* use helm for launching applications when possible

* fix conditional helm-exwm leader keys

* remove redundant function

EXWM provides the equivalent

* conform to naming convention for Spacemacs

* separate prefix commands into those for major mode and global

* remove all default bindings

* improve readability

* clean up bindings

* remove obsolete comments

Co-authored-by: M. Domenzain <luis.domenzain@parrot.com>
2021-04-19 22:53:59 +02:00
Thanh Vuong 235aa8d44e [new layer] nav-flash
Ported from Doom
2021-04-19 22:25:40 +02:00
Maximilian Wolff 6a8dcd014e
[visual][popwin] Adjust variable naming to match conventions
Private variables must use "--" after the prefix.
2021-04-19 22:18:02 +02:00
Thanh Vuong b4cf004319
[visual][popwin] add keybiding to resume last popwin buffer
bind it to `spc r w`
2021-04-19 22:15:41 +02:00
Thanh Vuong 056eb6b91b
[defaults] add qickrun
bind it to `SPC x x`, not sure it's the right place but it's easy to invoke
2021-04-19 22:08:47 +02:00
Daniel Nicolai 866c362d06 configure racket-describe-mode keybindings
Racket describe mode comes with its own keybinding (i.e. `q` for quit).
Additionally it contains links, so this PR binds `o` to `link-hint-open-link`
(`ace-link` does not support this mode)
2021-04-19 21:43:17 +02:00
Daniel Nicolai 623c75d7d9 Fix: update eaf layer
The layer got broken due to some minor changes in the eaf package by the eaf
developers. This commit fixes the layer to a working state.
2021-04-19 21:40:59 +02:00
Lucius Hu 3bbc7a7d40
core-customization: improved SAFE variable handling (#14679)
* core-customization: improved SAFE variable handling

- SAFE can either be a function or t.
  - When it's t, use a default validation function
    `(lambda (val) (validate-value val TYPE t))`
  - When it's a function, use the supplied function.

* Fixed bugs in go and groovy layer

In almost any cases, it's better to supply `t` instead of a function, to
`SAFE` argument of `spacemacs|defc`.

For example,
```elisp
 (spacemacs|defc go-use-gocheck-for-testing nil
   "If using gocheck for testing when running the tests -check.f will be used instead of -run to specify the test that will be ran. Gocheck is mandatory for testing suites."
  'boolean nil #'booleanp)
```

If its value is nil, it evaluate to `nil`, which means that `nil` is not
a safe value for `go-use-gocheck-for-testing` local variable.

But clearly it is.

* core-customization: improved SAFE variable handling

- Added a function `spacemacs-customization//get-variable-validator`.
  This function is designed to be used with `safe-local-variable`
  property of spacemacs custom variables.
  See details in the docstring.

```elisp
(put 'FOO 'safe-local-variable
     (apply-partially 'spacemacs-customization//get-variable-validator
                      'FOO))
```

- This is better than a lambda since `apply-partially` returns a compiled
  function. (Though the performace gain may be tiny.)
- This is better than simply calling `validate-value`, because it returns
  nil when value is nil. But sometimes nil is a valid value.

Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2021-04-19 21:34:09 +02:00
Luis Ch 175840bc6e
react: fix file auto detection (#14680) 2021-04-19 17:26:19 +00:00
Sylvain Benner 4a1f0ae49f [python] Fix directory specific python-backend
With this fix it is now possible to select different backends in
different project using the directory variables mechanism of Emacs
(the file .dir-local.el)
2021-04-18 08:56:04 +02:00
Maximilian Wolff 247d059289
[go] Switch layer variables to defcustoms
and fix wrong declaration of go-mode hooks
2021-04-17 23:56:05 +02:00
Maximilian Wolff b3bf5c1fb4
[groovy] Fix wrong customization type 2021-04-17 23:13:48 +02:00
Lucius Hu bd3a7fb0b5
go: Fix local variables
- Labelled `go-backend` and `go-format-on-save` as safe local variable.
- Added local variable hooks of go mode:
  - `spacemacs//go-setup-backend`
  - `spacemacs//go-setup-eldoc`
  - `spacemacs//go-setup-format`

See: https://github.com/syl20bnr/spacemacs/issues/14653
2021-04-17 22:49:33 +02:00
Maximilian Wolff 8814329a11
[groovy] Replace defvar with spacemacs|defc
And extend spacemacs|defc to allow setting
a :safe directive.
2021-04-17 22:07:44 +02:00
Lucius Hu c83a9e76b3
groovy: Fix local vars
- Labelled `groovy-backend` as safe local variable.
- Added local variable hooks of groovy mode:
  - `spacemacs//groovy-setup-backend`
  - `spacemacs//groovy-setup-company`

See: https://github.com/syl20bnr/spacemacs/issues/14653
2021-04-17 21:02:22 +02:00
Maximilian Wolff c0525bed81 [eww] Change bindings to match its given category
Eww was wrongly classified as web-service.
It can now be found under tools hence the global
binding was changed from `SPC a w e` to
`SPC a t e`.

Also I have removed parts of the documentation
still refering to this layer not being part of
Spacemacs.
2021-04-17 14:42:25 +00:00
emacspace 9257aab154 documentation formatting: Sat Apr 17 07:08:57 UTC 2021 2021-04-17 11:32:54 +03:00
JAremko 2b92149386 Fix ewww docs 2021-04-17 10:05:33 +03:00
Maximilian Wolff bc713b1943 [eww] Fix some smaller issues in the new layer 2021-04-15 21:30:15 +00:00
Maximilian Wolff f5ae720645 [eww] Specific changes from `dalanicolai/eww-layer`
This commit combines all changes from the above
mentioned fork from the original author.

All praise goes to dalanicolai.
2021-04-15 21:25:18 +00:00
coljamkop 313f975a2f Add eww layer
A spacemacs layer that adds:
 - Improved spacemacs functionality to eww-mode
 - Evil keybindings to eww-mode (including eww-buffers/bookmarks/history-mode)
 - Improved eww buffer management with key bindings
2021-04-15 21:20:05 +00:00
Maximilian Wolff 347ac504d8 [helpful] Make layer alias standard describe-functions 2021-04-15 21:14:23 +00:00
Lucius Hu 59ecf6a119 fixup! windows-scripts: replaced dos.el with bat-mode, added bmx-mode 2021-04-15 22:59:10 +02:00
Maximilian Wolff 3f795aebdb [parinfer] Remove path hack and obsolete layer specific hooks 2021-04-15 20:51:31 +00:00
emacspace 4471024721
[bot] Auto-update (#14648)
* documentation formatting: Thu Apr 15 19:58:45 UTC 2021

* Built-in files auto-update: Thu Apr 15 19:57:01 UTC 2021
2021-04-15 22:16:34 +02:00
pataquets 26390c155c Search Engine layer: Allow customization of Amazon site TLD. 2021-04-15 22:10:08 +02:00
duianto 95280d15a8 [dired] Add ivy command and replace evil collection key
Fixes: vim layer key binding of "J" in dired mode #14614
https://github.com/syl20bnr/spacemacs/issues/14614

problem
The evil collection binds "J" to `dired-go-to-file`

It overrides the Spacemacs `helm` and `ivy` equivalent commands.
`spacemacs/helm-find-files' has fuzzy matching and other features
`spacemacs/counsel-find-file' has more `M-o' actions

And the `ivy` layer uses the `spacemacs/helm-find-files` command.

solution
Move the Spacemacs definitions of "J",
after the evil collection dired keys have been setup
from: `spacemacs-bootstrap/packages.el`
to: `spacemacs-evil/init-evil-collection`

And use `spacemacs/counsel-find-file` in the `ivy` layer.
2021-04-15 22:07:30 +02:00
duianto b5fb7d5376 [base] Fix void spacemacs-evil-collection-allowed-list
problem
In the `spacemacs-base` distribution.

When the `git-enable-magit-todos-plugin`
layer variable is enabled.

Then the following message appears on startup:
>An error occurred while pre-configuring magit-todos in layer git (error: (void-variable spacemacs-evil-collection-allowed-list))

cause
The `spacemacs-evil-collection-allowed-list` variable
is assigned in the `git` layer.

But it's defined in the `spacemacs-evil` layer.

The `spacemacs-evil` layer isn't used by default
in the `spacemacs-base` distribution.

solution
Check that the `spacemacs-evil` layer is used
before adding to the variable.
2021-04-15 22:05:35 +02:00
Daniel Nicolai b3c78297fb Add describe evil ex-command functionality
For introspection purposes it can be nice to have this functionality. Also this
function can be used to discover which ex-commands are available.
2021-04-15 22:03:59 +02:00
Daniel Nicolai 8345568971 Fix scheme layer support for scheme implementations
The configuration for various scheme implementations has been split out of the
geiser package, breaking the current layer support for the implementations.

This commit adds a simple fix for the scheme implementations support.
Anybody is free to improve the code, but at least the layer will be fixed.
2021-04-15 21:54:36 +02:00
Simon Virenfeldt 693a0110ff Fix call to deleted method in latex layer
In commit f136f46 spacemacs//init-jump-handlers-MODE was removed,
which is used by the latex layer. Change to call to add-to-list instead.
2021-04-15 21:49:32 +02:00
Thanh Vuong d445857178 [gtags] improve
make bindings stick to minor modes of helm/counsel-gtags-mode not major mode. so
the bindings will only be in force when ggtags-mode is enabled.

deprecate functions spacemacs/counsel-gtags-define-keys-for-mode and
spacemacs/helm-gtags-define-keys-for-mode that add ggtags bindings to major
mode. Next step is to remove these function calls from client layers.
2021-04-15 21:44:46 +02:00
Lucius Hu 2713ec8789 Fix #14641 2021-04-15 21:42:17 +02:00
Elliott Shugerman 32da42863e [c-c++] Fix "Wrong number of arguments" on Emacs 28
In Emacs 28+, `define-obsolete-variable-alias` requires the WHEN arg.
2021-04-15 07:57:00 +02:00
JAremko aae6c11957 fix rest of doc links 2021-04-14 14:30:19 +03:00
JAremko 278a27d5b0 Make TravisCI happy. 2021-04-14 13:59:44 +03:00
duianto 4262e01f11 [doc] Fix links 2021-04-13 11:38:33 +02:00
Maximilian Wolff 85d0aa2b18 [c-c++] Provide an alias for `c++-enable-organize-includes-on-save` 2021-04-12 21:00:09 +00:00
Evan Klitzke a4eadc97fe rename {,c-}c++-enable-organize-includes-on-save 2021-04-12 20:47:11 +00:00
Maximilian Wolff 66d774cd67
[java] Fix not existing function
I have overlooked this while I was merging
a related PR.
2021-04-10 09:47:25 +02:00
Maximilian Wolff e54affd5a7 [java] Add back support for emacs 25.1 2021-04-09 21:04:56 +00:00
Thanh Vuong d301a88df0 [java] only download meghanada package if needed
currently toggle `:if` for meghanada with `use-package` only tells `use-package`
not to load `meghanada` but spacemacs still downloads `meghanada`.

also we shouldn't care about emacs 25 anymore.
2021-04-09 21:03:41 +00:00
Maximilian Wolff 4139300488 [zig] Adjust backend variables to match new style 2021-04-09 20:59:05 +00:00
Maximilian Wolff be6f820256 Add missing GPLv3 headers to various files 2021-04-09 20:52:24 +00:00
Maximilian Wolff 8c937e9a71 [zig] Fix some smaller issues in the docs 2021-04-09 20:32:24 +00:00
Riccardo Binetti 6bafc72697 Enhance +lang/zig layer
Add support to LSP via zls (see also
https://github.com/emacs-lsp/lsp-mode/pull/2723)
2021-04-09 22:28:08 +02:00
Maximilian Wolff dc07cdbdc3 [windows-scripts] Add missing keybinding to docs
Automatic keybinding extraction is not yet
live.
2021-04-09 20:18:42 +00:00
Lucius Hu 96008496d6 windows-scripts: replaced dos.el with bat-mode, added bmx-mode
- Replaced `dos.el` with `bat-mode`
  - `dos.el` is superseded by `bat-mode`
  - `dos.el` is localised package
  - `bat-mode` is a built-in mode
- Added `bmx-mode`
  - `bmx-mode` provided syntax highlighting, code-navigation and refactoring
    capabilities on top of `bat-mode`
2021-04-09 20:08:55 +00:00
Lucius Hu 49d1eaed50 rust and lsp: better integration of lsp-rust-analyzer-reload-workspace
- Introduced a new command cargo-process-outdated
- Certain commands are known to change Cargo.toml and needs to reload workspace,
  wrapper functions that automatically reload workspace are added.
  - spacemacs/cargo-process-add
  - spacemacs/cargo-process-rm
  - spacemacs/cargo-process-outdated
- Added a layer variable for rust layer, cargo-process-reload-on-modify,
  which toggle the aforementioned behaviour.
- Added a new utility function in LSP layer, which returns server ID associated
  with current project.
  - spacemacs//lsp-client-server-id
- Rearranged keybindings for rust layers (see table below for details)

Commands wrapped with auto-reload functionality:

|Command                  |Binding      |
|-------------------------|-------------|
|`cargo-process-repeat`   |`SPC m c .`  |
|`cargo-process-add`      |`SPC m c a`  |
|`cargo-process-rm`       |`SPC m c r`  |
|`cargo-process-upgrade`  |`SPC m c U`  |

Commands with new bindings:

|Command                            |Old Binding |New Binding |
|-----------------------------------|------------|------------|
|`cargo-process-search`             |`SPC m c s` |`SPC m c /` |
|`cargo-process-fmt`                |`SPC m c f` |`SPC m c =` |
|`cargo-process-current-file-tests` |`SPC m c o` |`SPC m t b` |
|`cargo-process-current-test`       |`SPC m c t` |`SPC m t t` |
|`cargo-process-test`               |`SPC m t`   |`SPC m t a` |
2021-04-09 21:56:22 +02:00
Daniel Nicolai 0570e14144
Add docs agenda usage recommendations (#14587)
* Point org-journal to dalanicolai's fork (temporarily)

The Spacemacs for using org-journal are written, assuming that some PR's by
dalanicolai get merged. As the merge takes more time than expected, we
temporarily point Spacemacs to use his fork.

Additionally, a subsequent commit that adds agenda usage recommendations also
assumes these org-journal PR's got merged.

* Add to docs agenda usage recommendations

The Emacs documentation is not very clear about the best way to use org-agenda,
especially regarding integration of the diary into org. This commit adds most
sensible configuration recommendations.

- fix/improve docs for org-wild-notifier
- document how to use agenda (recommendations)
2021-04-09 21:44:19 +02:00
emacspace 95a703b684 documentation formatting: Fri Apr 9 11:56:19 UTC 2021 2021-04-09 21:41:03 +02:00
Benjamin Sorenson d2b7399958 Fix bug in `spacemacs//python-setup-backend ()` 2021-04-09 21:39:07 +02:00
duianto 4dc1d7640a [defaults] Add dotspacemacs-scroll-bar-while-scrolling 2021-04-08 21:09:54 +00:00
syl20bnr 811001a48c [defaults] Show scroll bar when using the mouse wheel
Thanks to duianto
2021-04-08 21:08:35 +00:00
syl20bnr 01a84d9fe8 [defaults] Improve scrolling with mouse wheel
Thanks to Profpatsch.

Fixes https://github.com/syl20bnr/spacemacs/issues/1781
2021-04-08 21:06:46 +00:00
pataquets 948d15a272 Search Engine layer: Add Debian & Ubuntu package search. 2021-04-08 22:55:03 +02:00
Maximilian Wolff 9eac85fb6c [git] Add `magit-todo` to `evil-collection` configured packages
thanks goes to duianto for suggesting this move.
2021-04-08 20:46:39 +00:00
Lucius Hu dfb4c1c4cb git: Added `magit-todos`, improved docs, etc.
- Added `magit-todos` package, toggled by `git-enable-magit-todos-plugin`.
- Improved installation and loading of all magit-plugins:
  - All magit plugins are toggled by their corresponding layer variables
    PRE-INSTALLATION, instead of PRE-LOADING. That is, they are installed
    only when the toggle is non nil.
  - The `use-package` call is more specific now.
    - Hooks goes to `:hook`.
    - Removed `:defer` since it's implied by `:hook`, and it's actually not
      doing anything.
- Improved the documentation.
2021-04-08 20:41:24 +00:00
syl20bnr e6e58c54d6 [defaults] Add SPC f e I to open Emacs early-init.el file 2021-04-08 20:12:51 +00:00
Julien Debon e817e0faae
[Python layer] Add links to the LSP implementations (#14562)
* [Python layer] Document Nix + Microsoft LSP

* Document how to make Nix + Microsoft LSP work
* Add links to Microsoft LSP and Pyright repos

* Remove nix part
2021-04-08 22:10:33 +02:00
Maximilian Wolff 38f582d785 [bootstrap] Fix depreciation warning for pcase `t case
and add first usage for reference
2021-04-08 19:43:30 +00:00
Lucius Hu 4836a2569b bootstrap: new :spacediminish keyword to use-package
Added a new keyword to `use-package`, `:spacediminish` which calls
`spacemacs|diminish`.

Supported patterns:
- nil
- SYMBOL
- STRING
- (SYMBOL STRING)
- (STRING STRING)
- (SYMBOL STRING STRING)
- List of patterns above

When `SYMBOL` is missing, it's inferred from the package name, e.g
`(use-package foo :spacediminish nil)` becomes
`(use-package foo :spacediminish foo-mode)`.

This PR aims to replace explict calls to `spacemacs|diminish` and brings more
declarative flavour to layer configuration.

For example, the following form

```elisp
(use-package highlight-indentation
  :config
  (progn
    (spacemacs|diminish highlight-indentation-mode " ⓗi" " hi")
    (spacemacs|diminish
     highlight-indentation-current-column-mode " ⓗc" " hc")))

```
can be replaced by

```elisp
(use-package highlight-indentation
  :spacediminish ((" ⓗi" " hi")
                  (highlight-indentation-current-column-mode " ⓗc" " hc")))
```
2021-04-08 19:08:13 +00:00
Aaron L. Zeng 57f6a2d94d [finance] Enable flycheck when syntax-checking-enable-by-default 2021-04-08 20:57:33 +02:00
emacspace 383237ef29 Built-in files auto-update: Thu Apr 8 18:27:04 UTC 2021 2021-04-08 20:48:26 +02:00
Maximilian Wolff 5fd1976e05 [org] Fix startup and document key bindings
When org-roam support was not on startup
of emacs was broken due to referencing
an unbound variable.

Also added the new bindings to the
docs.
2021-04-08 18:43:15 +00:00
Kjartan Óli Ágústsson d77e76e9f7 Add support for the org-roam-server package
Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>
2021-04-08 18:29:22 +00:00
emacspace eec5ba6577
[bot] Auto-update (#14573)
* documentation formatting: Mon Apr 5 20:50:44 UTC 2021

* Built-in files auto-update: Mon Apr 5 20:49:17 UTC 2021
2021-04-05 23:19:49 +02:00