Commit Graph

11650 Commits

Author SHA1 Message Date
Sylvain Benner 9c7e4bd5f1
[init] Disable GUI elements in early-init as well (#14559)
* [init] Disable GUI elements in early-init as well

Can provide a smoother startup by reducing graphical artifacts.

* [core] Add file for early-init functions

Needed to make the tests to work as early-init.el is not sourced
during tests.

Fixes error:

   Symbol’s function definition is void: spacemacs/removes-gui-elements
2021-04-08 22:25:14 +02:00
Maximilian Wolff 910f68b59e [defaults] Document new keybindings 2021-04-08 20:15:17 +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
Friends A 07970be51d docs: fix ‘gzip-for-windows’ link error 2021-04-08 20:25:24 +02:00
JAremko 3371a8220c [CI]use comment based PR rebase 2021-04-06 20:19:10 +03:00
JAremko ee63894aeb [CI]try fixing rebase workflow X2 2021-04-06 19:49:16 +03:00
JAremko eb38394fd8 [CI]try fixing rebase workflow 2021-04-06 19:35:44 +03:00
JAremko ee6d410f11 [CI]rebase PRs on develop push 2021-04-06 19:30:51 +03: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
inwit e7234782ec Fixed a bug in notmuch-tree which was preventing d/D bindings to work 2021-04-05 23:17:52 +02:00
Maximilian Wolff 564f41be91 [pocket] Change tag from reader to web service
As it is just an interface to an online service
rather than an application able to read from
local files.
2021-04-05 20:46:42 +00:00
Aaron L. Zeng ac5fc0ac19 [pocket] Add pocket layer 2021-04-05 20:38:09 +00:00
Lucius Hu b0dc044885 fixup! purescript: refactor 2021-04-05 22:33:26 +02:00
Lucius Hu 29da12e1b8 Update file header in CONTRIBUTING.org 2021-04-05 22:27:11 +02:00
Lucius Hu 80674b837d fixup! terraform: refactor 2021-04-05 19:13:14 +02:00
Lucius Hu 2e4e2eacbc fixup! cmake: refactor 2021-04-05 19:06:16 +02:00
Lucius Hu 5d39ffe98b fixup! fixup! perl5: refactor 2021-04-05 12:11:42 +02:00
Lucius Hu 145f469ec1 fixup! nim: refactor 2021-04-05 11:56:28 +02:00
Lucius Hu 79952251b4 fixup! lua: refactor 2021-04-05 11:47:53 +02:00
Lucius Hu a03585c4b5 fixup! latex: refactor 2021-04-05 11:36:54 +02:00
Lucius Hu 65f24d40d0 fixup! elm: refactor 2021-04-05 11:32:15 +02:00
JAremko df8249a052 [CI]add deps install retry 2021-04-05 06:27:36 +03:00
JAremko 2fdce1ea9c [CI]remove rave wf 2021-04-05 06:27:36 +03:00
Lucius Hu fc30320ec6 fixup! spacemacs-editing: refactor 2021-04-04 22:24:05 +02:00
German Lashevich 97a238f429 Fix packages missed in Melpa 2021-04-04 22:14:05 +02:00
Lucius Hu f7c2ce8fb6 fixup! python: refactor 2021-04-04 21:23:01 +02:00
Lucius Hu 9115fd9824 react: minor change
This amended commit 58243c67f8

There is an unnecessary `when-let*` form, and it's replaced by `when`.
2021-04-04 19:40:53 +02:00
Lucius Hu 5e641394f4 fixup! c-c++: refactor
This reverts commit e62d55b4fd.

This fixs https://github.com/syl20bnr/spacemacs/pull/14509#issuecomment-813023508
2021-04-04 19:21:46 +02:00
Lucius Hu 6e3ee5ae16 fixup! haskell: refactor 2021-04-04 19:00:40 +02:00
duianto e62d55b4fd Revert "c-c++: refactor"
This reverts commit dae0231fed.

c-c++-backend is void on startup:
https://github.com/syl20bnr/spacemacs/pull/14509#issuecomment-813023508
2021-04-04 14:43:51 +02:00
Lucius Hu 3b7650e8c3 fixup! perl5: refactor 2021-04-04 12:48:21 +02:00
Lucius Hu b41ecea0ba vinegar: refactor
- Replaced `(set (make-local-variable 'foo) bar)` with `(setq-local foo bar)`
2021-04-04 12:48:21 +02:00
Lucius Hu ee56edf5ae terraform: refactor
- Moved backend determination to `config.el`
- Refactored function
- Replaced `pcase` form with only one-arm with `when` or `unless` form
2021-04-04 12:48:21 +02:00
Lucius Hu 2943305254 eaf: refactor
- Refactored function
- Replaced `(when (not foo) bar)` with `(unless foo bar)`
2021-04-04 12:48:21 +02:00
Lucius Hu 5a6f54c227 docker: refactor
- Replaced `pcase` form with only one-arm with `when` or `unless` form
2021-04-04 12:48:21 +02:00
Lucius Hu b41bef142c dap: refactor
- Replaced `pcase` form with only one-arm with `when` or `unless` form
2021-04-04 12:48:21 +02:00
Lucius Hu f128441286 cmake: refactor
- Moved backend determination to `config.el`
- Refactored function
- Replaced `pcase` form with only one-arm with `when` or `unless` form
2021-04-04 12:48:21 +02:00
Lucius Hu 70ba4dff62 colors: refactor
- Replaced `(when (not foo) bar)` with `(unless foo bar)`
2021-04-04 12:48:21 +02:00
Lucius Hu 46a02ed29b spacemacs-editing: refactor
- Refactored function
- Replaced unnecessary backquote construct with simple quotation
2021-04-04 12:48:21 +02:00
Lucius Hu 55eda227c3 spacemacs-defaults: refactor
- Replaced `(when (not foo) bar)` with `(unless foo bar)`
2021-04-04 12:48:21 +02:00
Lucius Hu 5c9d88313f dash: refactor
- Replaced `(when (not foo) bar)` with `(unless foo bar)`
2021-04-04 12:48:21 +02:00
Lucius Hu bec971d061 vimscript: refactor
- Moved backend determination to `config.el`
- Replaced `pcase` form with only one-arm with `when` or `unless` form
2021-04-04 12:48:21 +02:00
Lucius Hu b1f54b3371 typescript: refactor
- Moved backend determination to `config.el`
- Replaced unnecessary backquote construct with simple quotation
- Replaced `pcase` form with only one-arm with `when` or `unless` form
- Replaced `(when (not foo) bar)` with `(unless foo bar)`
- Replaccd `(cond ((eq foo) bar))` form with `(pcase (foo bar))`
- Replaced `(set (make-local-variable 'foo) bar)` with `(setq-local foo bar)`
- Replaced `(if foo bar nil)` with `(when foo bar)`
2021-04-04 12:48:21 +02:00