Commit Graph

12516 Commits

Author SHA1 Message Date
thanhvg 5dc773e90f
[compleseus] fix hack for company-capf (#15652) 2022-07-20 23:58:12 -04:00
Lucius Hu d428d71a1f
core-configuration-layer: fix quelpa on opensuse
`quelpa-build-explicit-tar-format-p` needs to be non-nil so `tar` uses `--format=gnu`.
This is necessary on OpenSuse
2022-07-20 02:20:48 +00:00
cremacs1 ed8ddd955a
Update core-themes-support.el (#15649) 2022-07-17 19:03:46 +00:00
SpacemacsBot ba33309327
[bot] "documentation_updates" Fri Jul 15 20:49:15 UTC 2022 (#15647) 2022-07-15 20:51:09 +00:00
Skylar Hill 4055e49b25 [major-modes] Add Gemtext support 2022-07-15 22:48:28 +02:00
Richard Kim e13e8d7b54 Enable tws mode also in text-mode in addition to prog-mode. 2022-07-15 22:47:16 +02:00
Thanh 4357030100 [compleseus] improve M-n 2022-07-15 22:41:05 +02:00
thanhvg 58f021b3f3
[compleseus] work with tramp (#15639)
make tramp completion work and layout recognize remote project.
2022-07-15 20:26:09 +00:00
Ben 91af298090
[spacemacs-bootstrap] Remove whitespace from kill ring. (#15634)
When `dotspacemacs-enable-paste-transient-state` is on, there exists a minor
annoyance that deleted whitespaces appear in the kill ring. This requires an
extra C-j/C-k to bypass the noise.

This commit uses a advice function to `kill-new` to prevent text with only
whitespaces from entering kill ring.

Credit: https://stackoverflow.com/questions/12102554/emacs-skip-whitespace-kills

Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-07-15 20:22:19 +00:00
SpacemacsBot 8041d8a349
[bot] documentation_updates (#15646)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-07-15 19:51:39 +00:00
Ben aee4fa85d5
Undo-region: more ergonomic keybindings (#15631) 2022-07-15 19:26:28 +00:00
Ben 872c714d54
Remove obsolete documentation in FAQ.org. (#15632) 2022-07-15 08:09:50 +00:00
SpacemacsBot 598065e6bd
[bot] documentation_updates (#15645)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-07-15 08:08:46 +00:00
Lucius Hu a6ae2f6a7c
nav-flash: Added new layer variable and other changes
- Added a new layer variable `nav-flash-exclude-modes` which tells
`nav-flash/blink-cursor-maybe` not to trigger when the major mode matches one of
its elements.
- Expanded the documentation.
- Tidying up.
2022-07-15 04:01:34 -04:00
Lucius Hu 7b7b7e7b6b
fixup! syntax-checking: Improved documentation and clean-ups 2022-07-15 01:26:36 -04:00
Lucius Hu e13c5c7147
syntax-checking: Improved documentation and clean-ups 2022-07-14 23:26:24 -04:00
Lucius Hu 67bb7e69ec
syntax-checking: improved layer documentation
This commit contains adjustment to layer documentatin.

Specifically it added more information on key bindings in
`flycheck-error-list-mode` and adjusted the order of a few sections.
2022-07-14 04:17:45 -04:00
Lucius Hu 5ce944a1da
syntax-highlighting: improved docs on pop window configuratin
This commit improved both the layer documentation of pop window configuration
and docstring of relavant layer variables.
2022-07-14 03:53:10 -04:00
Lucius Hu 016e2638f0
syntax-highlighting: changed flycheck-error-list-mode keymap
- Removed redundant keybinding for `RET`, which is already defined in
`flycheck`.
- Added two keybindings to move the focus to next/previous line without also
viewing the corresponding error in the other window.
2022-07-14 03:31:59 -04:00
Lucius Hu 5d3820a1e5
syntax-checking: fixed flycheck error list popwin config
Due to an error of argument order, `syntax-checking--buffer-config` was not
declared correctly and the setting is not respected by `popwin`.

This commit fixed that.
2022-07-14 03:29:35 -04:00
Lucius Hu 57d7cfee5c
syntax-checking: added support for margin indicator
Before this commit, users are not informed of the option to use margins, in
addition to fringes, to display flycheck indicators. This commit provides
clearer information on customizing this. Specifically:

- Added instruction on how to change the location of flycheck indicator.
- Added a new layer variable `syntax-checking-indication-symbol` which allows
  customization for symbol used for flycheck indication.
- Deprecated the layer variable `syntax-checking-use-original-bitmaps` in favour
  of `syntax-checking-indication-symbol`, because the latter allows a finer
  control of both fringe bitmap and margin string.
2022-07-14 02:08:01 -04:00
Lucius Hu 09698dc8fa
syntax-checking: add binding for `flycheck-disable-checker` 2022-07-13 18:12:01 -04:00
Lucius Hu 35cf3df3dc
import-js: replace `if` w/ `when` 2022-07-13 18:04:04 -04:00
Lucius Hu 4636672203
syntax-checking: prevent changing window when quitting error list
When toggling off flycheck's error list window, it calls `quit-window` which
might also change the focus to another window.

Wrapping this form `save-selected-window` ensures the focus always returns to
where toggling command is first invoked.
2022-07-13 17:39:40 -04:00
Lucius Hu 99933b1fb3
spacemacs-editing-visual: enable term-cursor
`term-cursor` was added to provide configurable cursor shape and colour when
Emacs is running in a terminal. Originally, it would not be enabled when the
user is using `evil` editing style, as `evil-terminal-cursor-changer` seems to
be a better alternative.

As explained in commit #d48bc8d9 `evil-terminal-cursor-changer` has buggy
behaviours and was removed. This commit therefore enables `term-cursor` for all
editing styles in terminal Emacs.
2022-07-12 23:27:29 -04:00
Lucius Hu d48bc8d90b
remove evil-terminal-cursor-changer
This package was added years ago but promptly removed due too buggy behaviours
with certain terminal and OS combination.

This commit entirely removed this package since there has been no update from
the upstream for years.
2022-07-12 23:24:22 -04:00
Lucius Hu 1aa28d9148
core-spacemacs-buffer: fixed a bug
There is an unreported bug that when startup list is set to shown `recents-by-project`,
Emacs reports that `projectile-mode` is an unknown symbol.

This commit fixed this bug by checking the existence of `projectile-mode`, which is
automatically loaded during startup.
2022-07-13 03:18:18 +00:00
Loïc Estève 42b6ff3f09 Add /recentf~ to .gitignore 2022-07-03 19:05:45 +02:00
Nathanael Schweers 1435c95a79 Fix a previous attempted fix loading mu4e.
mu version 1.8.2 renamed mu-meta to mu-config.  As the variable mu4e-mu-version
is defined in said file the easiest fix seems to be to simply attempt to load
the new one, and only if that fails to load the old version.

Maybe this can be reworked or better yet removed in the future.
2022-07-02 18:41:54 +02:00
SpacemacsBot 7af1a21724 [bot] "built_in_updates" Fri Jul 1 14:06:03 UTC 2022 2022-07-01 16:06:13 +02:00
Thanh Vuong d059c4c0b2 [evil] bring back vi-tilde-fringe
https://github.com/syl20bnr/spacemacs/issues/15622
Revert "Delete vim-empty-lines layer and merge its code into spacemacs-evil"

This reverts commit ebd920e23a.
2022-07-01 16:05:23 +02:00
Thanh Vuong f3c73178ba [lsp] update consult-lsp init 2022-07-01 16:02:23 +02:00
Thanh Vuong b4d84a4e1a [editing] lazy binding for string-edit-mode 2022-07-01 16:01:54 +02:00
Nathanael Schweers 0ce1201a3e Use a different require on newer mu versions. 2022-07-01 15:58:11 +02:00
Tim Ruffing c9db028421 [defaults] Exclude `custom-file` correctly in recentf
Entries of recentf-exclude must be expanded, e.g., `~` for the home
directory won't work.
2022-06-25 08:57:50 +02:00
Aaron L. Zeng af53045448 [git] Remove magit-git-executable hack, which is no longer needed
magit v3.2.0 now defines `magit-git-executable` as a
function (actually a defsubst), and two separate variables,
`magit-git-executable` and `magit-remote-git-executable`.  On darwin,
magit already sets `magit-git-executable` to the result of
`(executable-find "git")`, so having this is now redundant in
Spacemacs.
2022-06-25 08:56:33 +02:00
Aaron L. Zeng 4eaff25268 [git] Disable evil-surround-mode in all magit modes
This is an extension of #15462.  I noticed that the fix did not apply
to magit-diff buffers, which still had the issue of `s' not being
available to stage diff hunks.  `magit-diff-mode' is the parent mode
of all magit modes, in which evil-surround is not useful, so disabling
there makes the most sense.
2022-06-23 13:36:20 +02:00
Aaron L. Zeng 48a8599cbe [finance] Fix void-variable ledger-report-mode-map 2022-06-23 13:34:36 +02:00
Lin Sun fbe05e3e08 [core] fix error msg from byte-compiling core-configuration-layer.el 2022-06-21 00:12:05 +02:00
Lin Sun e74610ddb5 [python] fix config issue for native-comp 2022-06-20 13:14:01 +02:00
Maxi Wolff 31ccdca097
[core] Fix wrong type for "dotspacemacs-startup-banner-scale"
Fixes #15597
2022-06-19 22:28:19 +02:00
Maxi Wolff cb09f57cf7
Revise vim-empty-lines integration into spacemacs-evil
Removing any non clarified changes on defaults
and key bindings.
2022-06-19 20:30:59 +02:00
Ray Wang ebd920e23a
Delete vim-empty-lines layer and merge its code into spacemacs-evil
1. Delete vim-empty-lines layer and merge its code into spacemacs-evil
2. Remove unused function from spacemacs-evil/funcs.el
3. Add variable dotspacemacs-evil-show-empty-line-indicators to toggle vim-empty-lines-mode
4. Update related documents
5. Compatibilities
2022-06-19 20:25:37 +02:00
Maxi Wolff ee95121e6b
[helm] Fix dangerous implementation for helm-use-fuzzy
This variable caused Spacemacs to set all helm sources
to use fuzzy matching independently of whether this
was supported by the source.

This handling was very dangerous as using fuzzy for an
incompatible source can have all kind of side effects
causing unique bugs which will never be fixed by the
source package authors.

Therefore I have changed the implementation to
activate fuzzy matching via helm variables instead,
which should make sure we only activate this for
compatible sources.

If sources are found which do not longer do
fuzzy matching, the individual source should be
improved to support this feature and declare it's
compatibility towards helm.

We cannot fix helm in Spacemacs, instead the respective
package must be patched. Everything else is a maintenance
nightmare!

Fixes #15124
2022-06-19 19:43:04 +02:00
SpacemacsBot 9c44ecf13c [bot] "documentation_updates" Fri Jun 17 15:35:54 UTC 2022 2022-06-17 18:39:57 +02:00
Maxi Wolff 8eb1ebfa6b
[go] Fix issues in README 2022-06-17 17:34:00 +02:00
Maxi Wolff 07a0881324
[go] Revise support for multiple dap integrations 2022-06-17 17:26:35 +02:00
Alfonso Fernando Álvarez 03f0ce75f7
go: add variable to allow selection of new dap-dlv-mode
go: fixed added documentation on new variable
2022-06-17 16:38:17 +02:00
Maxi Wolff 44894c7132
[git] Fix forge warning
by setting forge-add-default-bindings to nil
by default.
2022-06-17 16:30:26 +02:00
Lin Sun 22eaeb8ef2 [core] fix functions missed for byte-compiled core-spacemacs-buffer.el 2022-06-15 18:42:02 +02:00