Commit graph

11586 commits

Author SHA1 Message Date
duianto 3fe675d588 [auto-completion] Fix obsolete: helm-c-yas-space-match-any-greedy
Fixes:
Got a warning when trying to insert YASnippet. #12648
https://github.com/syl20bnr/spacemacs/issues/12648
2021-03-22 11:15:45 +01:00
duianto 7a2eb1be70 [home] Add multi-digit numbers to the startup lists
Added support for jumping to two digit numbers.

How quickly two numbers have to be typed,
can be modified with the variable:
spacemacs-buffer-multi-digit-delay
2021-03-21 23:38:57 +01:00
Maximilian Wolff 13a5d5c95f
[shell] Make vterm support C-o in evil insert state again
vterm in evil mode did not longer support to switch
to normal mode for one command in insert mode.

This commit restores this key binding again.
2021-03-21 22:58:31 +01:00
Maximilian Wolff d16a8c3a7c
[auto-completion] Remove standard transformers
These try to modify the completions on a global basis.
This is causing a lot of issues with more intelligent
backends, which tend to do this in a more efficient
way already.

I have removed the global bindings for these now.
Layers should make `company-transformers` buffer local
and add specific versions of these when required.
2021-03-21 22:20:55 +01:00
Maximilian Wolff 6d40ee8e10 Revert "python: replaced local package pylookup with the one on github"
This reverts commit 6e0f650101.
The reason for this is not that the dynamically build pylookup.py
is not found by emacs, this I have already solved locally by checking
the quelpa build directory.

However the issue is that the library is not compatible with python 3
the local version however is.

So this is effectively a fork and must be kept till python 3
compatibility for pylookup has been achieved.

Should fix #14544
2021-03-21 09:53:13 +00:00
syl20bnr 3243172af1 [core] Fix another typo
Well not sure I will do all the typos mentioned by email...
2021-03-20 21:41:32 -04:00
syl20bnr 0ed84490d5 [scala] Fix typos
Fix typos mentioned by a user via email.
2021-03-20 21:37:10 -04:00
syl20bnr 3d1b8865d9 [core] Fix value validation for dotspacemacs-editing-style 2021-03-20 20:56:34 -04:00
Lucius Hu 5830e72b60 fixup! Validate .spacemacs variables.
fixes #14535 #14537 #14529 https://github.com/syl20bnr/spacemacs/issues/10638#issuecomment-803247326
2021-03-21 01:29:09 +02:00
Lucius Hu 3e156ec763 fixup! Validate .spacemacs variables. 2021-03-21 00:54:46 +02:00
emacspace bfb3cdad8a documentation formatting: Sat Mar 20 21:07:12 UTC 2021 2021-03-21 00:46:47 +02:00
Ray 5fac9a26c6 Provide a switch to auto run mu4e at emacs startup 2021-03-20 22:04:05 +01:00
Maximilian Wolff 86ea9871cb [scala] Make changed default behaviour more clear in docs 2021-03-20 21:02:09 +00:00
EstebanMarin 0ccea3c436 Update to default behaviour
When working long hours with Metals and saving and moving between buffers. This feature of automatically showing and writing in buffers breaks HELM, and buffer management stops, rendering Emacs useless. Furthermore, this feature is not that useful. In VIM LSP is off by default. The purpose of this is to make the experience of Scala Developers with Metals a nice one, rather than having Emacs breaking all the time, as has been happening to me. This has saved me hours.

PR-comments
2021-03-20 20:59:25 +00:00
timor 93f16c6a02 [factor] Only reload fuel mode if factor root path has changed.
Without this, fuel mode is reloaded needlessly on every Factor REPL restart.
Now we only do that if the Factor about to be invoked is a different one than
before.
2021-03-20 21:20:28 +01:00
Teo Klestrup Röijezon 170e4a9852 Add keybind to reload Rust-Analyzer workspace
Allows you to pick up new Cargo dependencies without a (slooow)
full server restart.

See https://github.com/emacs-lsp/lsp-mode/pull/2728

Add diagnostic messages when trying to reload RA workspace

No point restarting when trying to reload RLS
2021-03-20 20:14:40 +00:00
ClarityStorm a8d3d99894 Add Edebug Eval List key bindings 2021-03-20 20:56:09 +01:00
Ray 1fcef83467 Minibuffer bind C-n C-p to <next>/<previous>-line-or-history-element 2021-03-20 20:42:51 +01:00
claude 3f45527813 Update doc-string for dotspacemacs-frame-title-format 2021-03-20 11:45:32 +02:00
claude 70f475d782 Fix .spacemacs validation choices 2021-03-20 11:45:32 +02:00
Maximilian Wolff f0b60976d2
Revert "spacemacs-defaults: replace local pkg help-fns+ with github one"
This reverts commit eda04edbe7.

This is leading to an endless installation loop also it
may not be save to directly pull from a wiki.
2021-03-20 01:11:21 +01:00
Maximilian Wolff 8bcc42059b
Revert "spacemacs-navigation: replace local package info+ with github one"
This reverts commit ee3845315a.

This is leading to an endless installation loop also it may
not be save to directly pull from a wiki.
2021-03-20 01:09:46 +01:00
ClarityStorm f5d121599b Fix void variable mu4e-view-mode-map 2021-03-20 00:30:58 +01:00
Maximilian Wolff a9d5c5ed25
[python] Fix invalid recipe declaration for nose.el 2021-03-20 00:24:59 +01:00
Lucius Hu fb16fa95cb
python: replaced local package nose with syl20bnr/nose.el 2021-03-20 00:24:28 +01:00
Maximilian Wolff 6074172207
[spacemacs-navigation] Fix wrong url in recipe declaration 2021-03-20 00:20:21 +01:00
Lucius Hu ee3845315a
spacemacs-navigation: replace local package info+ with github one 2021-03-20 00:19:38 +01:00
Maximilian Wolff a14154422f
[spacemacs-defaults] Fix broken URL in help-fns+ fetcher recipe 2021-03-20 00:17:46 +01:00
Lucius Hu eda04edbe7 spacemacs-defaults: replace local pkg help-fns+ with github one 2021-03-20 00:13:46 +01:00
Maximilian Wolff e0a94825fe
[python] Fix broken fetcher declaration for pylookup 2021-03-20 00:11:38 +01:00
Lucius Hu 6e0f650101 python: replaced local package pylookup with the one on github 2021-03-19 23:54:13 +01:00
Lucius Hu b89391e4c8 vim-empty-lines: replaced local vim-empty-lines-mode with melpa one 2021-03-19 23:53:07 +01:00
Lucius Hu 6136f0b118 rcirc: replace local pkg rcirc-late-fix with github one 2021-03-19 23:50:53 +01:00
Daniel Nicolai e702cbac4e Add to docs, replacing a layer package with a local version
When contributing to packages it is often handy to replace a package, already
installed and configured by some layer with a local version of the package (i.e.
a git repo). This commit adds instructions for how to achieve that.
2021-03-19 13:12:45 +01:00
Kazark 4e2413856d [org] add keybinding for org-copy-tree as with org-cut-tree
Used =y= as a mnemonic for yank (in the Vim, not the Emacs, sense).
2021-03-19 13:09:21 +01:00
Lucius Hu d6eb0f9fe6 rust: Improved LSP Rust server switch functionality
Currently, when `lsp` backend is used for `rust` layer, `SPC m s s` is bound to
`lsp-rust-switch-server`, which temporarily changes the preferred LSP server
for `rust-mode`, but it DOES NOT switch the running LSP server. Users need to
call `lsp-workspace-restart` to finish the switching.

This PR introduced a new function `spacemacs//lsp-rust-switch-server`, which is
a wrapper for the two aforementioned functions
2021-03-19 12:54:41 +01:00
duianto 9e4845b913 Hide drag stuff modeline indicator
"drag" appeared in the mode line after
reloading the configuration: SPC f e R

And wrapped the use-package :init in a: progn
2021-03-19 12:51:58 +01:00
Aaron L. Zeng 454e729ef0 In SPC h d P, print :toggle expression using Elisp syntax
This prints out an expression in valid Lisp syntax, so that, e.g.,
strings in the expression are quoted.
2021-03-19 09:48:44 +01:00
winsphinx 8f1b6b1e04 Prefer downloading org-appear from melpa 2021-03-19 09:08:42 +01:00
Boris Sergeev b71e5fdb17 Enhance shell-default-position validation spec
to match values listed in it's documentation.
2021-03-19 02:34:30 +02:00
duianto da00174c11 Fix SPC h SPC, void smartparens-mode
Problem:
With the helm layer, `SPC h SPC` shows:
and: Symbol’s value as variable is void: smartparens-mode

Cause:
The `SPC h SPC` helm buffer generates a section called: Toggles
It checks the status of every toggle mode.

But smartparens-mode has the define-minor-mode :init-value nil

Solution:
Check that the two non-global smartparens modes are bound and true:
smartparens-mode
smartparens-strict-mode

Note:
The smartparens global (strict) mode toggles don't need to be checked,
because they enable smartparens-(strict-)mode.
2021-03-18 23:22:21 +01:00
JAremko 369cf7519f Improve spacemacs|defc doc-string 2021-03-18 20:55:08 +02:00
JAremko bbf050734a Don't show customize link in doc-strings of uncustomizable variables. 2021-03-18 20:55:08 +02:00
Ray 8c43115a63 Ensure required arguments of macro spacemacs|define-custom-layout 2021-03-18 19:29:07 +01:00
emacspace b86c619cb6 Built-in files auto-update: Thu Mar 18 14:37:56 UTC 2021 2021-03-18 18:07:05 +01:00
duianto 4a4557c3c8 [ci] Update built_in_manifest, add frame and zoom packages
Added: frame-cmds, frame-fns and zoom-frm
2021-03-18 15:31:46 +01:00
JAremko 0f2df2727d Validate .spacemacs variables. 2021-03-18 15:47:02 +02:00
Maximilian Wolff 780a96cfac
[org] Fix unsupported fuzzy link in docs 2021-03-16 23:22:43 +01:00
Maximilian Wolff 8f854da649
Make auto-completion activate/deactivate smartparens properly
auto-completion did not respect the smartparens-mode
defined in the dotfile when disabling/restoring it.

In addition when starting a yasnippet expansion
smartparens-mode was not properly restored resulting
in having smartparens always disabled.

This PR tries to fix both issues. Though judging from
the comments this could kill `hippie-expand` expansion.
However as yasnippet is more common I think this is
to be preferred.
2021-03-16 22:21:40 +01:00
Maximilian Wolff 9ff2004706 Avoid special handling of smartparens in lisp layers
emacs-lisp and common-lisp-layer had both their own
logic to work with smartparens including manually
requiring it.

This PR makes them use the standard functions. In
addition it replaces the manual require with proper
autoloading of smartparens.
2021-03-16 18:54:18 +00:00