Commit Graph

11931 Commits

Author SHA1 Message Date
JAremko ac1087ea4e [ci] refactoring 2021-08-01 23:42:47 +03: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
Daniel Nicolai c5248ac465 fix issue #14919 (force-init-spacemacs-env fails)
Currently when running the env shell-command, emacs does so using its current
process-environment. Instead we should run the command with the
`initial-environment`, which fixes issue #14919.
2021-07-28 15:37:14 +02:00
SpacemacsBot 81eb82603c [bot] "documentation_updates" Wed Jul 28 13:13:07 UTC 2021 2021-07-28 15:35:39 +02:00
SpacemacsBot 5cadadc3ea [bot] "built_in_updates" Wed Jul 28 13:12:20 UTC 2021 2021-07-28 15:35:11 +02:00
feltcat 99e74fbd0e Fix typos in .spacemacs.template
Fix some typos and also change the few instances of "non nil" to
"non-nil", so as to be consistent with the rest of the file.
2021-07-28 15:11:35 +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
duianto fa514c6ace Update changelog 2021-07-26 10:50:19 +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
Eugene Yaremenko d4b5074180
[docs] fix link issue 2021-07-22 07:50:52 -07:00
Eugene Yaremenko d5dffa988d
[docs] cleanup 2021-07-22 07:46:11 -07: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
SpacemacsBot 47f3507260 [bot] "documentation_updates" Thu Jul 22 06:21:02 UTC 2021 2021-07-21 23:22:53 -07:00
Eugene Yaremenko 77f0124a45
[doc] Remove TODOs 2021-07-21 23:19:33 -07:00
Eugene Yaremenko 7d156b1002
[doc] finish documenting CI 2021-07-21 23:12:31 -07:00
SpacemacsBot 4bcd16d6a0 [bot] "documentation_updates" Mon Jul 19 10:05:03 UTC 2021 2021-07-19 13:38:46 -07:00
Eugene Yaremenko b7e08eebcf
[docs] CI documentation. 2021-07-19 03:03:52 -07:00
Eugene Yaremenko 67bb23bc25
[docs] More on CI 2021-07-18 19:20:41 -07:00
SpacemacsBot 24b2ba86f5 [bot] "documentation_updates" Mon Jul 19 00:33:01 UTC 2021 2021-07-18 17:41:30 -07:00
Eugene Yaremenko 28a79cd960
Keep working on CI docs 2021-07-18 17:31:54 -07: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
SpacemacsBot 5b3786f520 [bot] "documentation_updates" Wed Jul 14 17:35:44 UTC 2021 2021-07-14 10:36:27 -07:00
Eugene Yaremenko 964faf49b1
[doc] Start documenting CI
Pretty much no one but me touches CI and that's pretty bad.
We need to reduce the bus factor.
2021-07-14 10:34:06 -07:00
JAremko a2ab0a0233 [ci] actually unmask the logs 2021-07-12 08:23:04 -07:00
JAremko 97ad6bad3f [ci] unmask hub push logs 2021-07-12 08:10:58 -07: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
JAremko 40d66a725e [ci] cache deps for web export 2021-07-09 10:14:20 -07:00
SpacemacsBot 00599d3255 [bot] "built_in_updates" Thu Jul 8 12:30:53 UTC 2021 2021-07-08 10:13:57 -07:00
JAremko 8b832ecb4a [ci] move html export to CircleCI 2021-07-08 05:30:06 -07: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 d818e11529 [bot] "built_in_updates" Wed Jul 7 12:41:15 UTC 2021 2021-07-07 05:43:41 -07:00
SpacemacsBot a082ade23b [bot] "documentation_updates" Wed Jul 7 12:41:59 UTC 2021 2021-07-07 05:43:08 -07:00
JAremko 7c7843d121 [ci] fix patching 2021-07-07 05:40:23 -07:00
JAremko 04bddbb5b9 [ci] cleanup 2021-07-07 05:40:23 -07:00
JAremko daf108cb1b [ci] fix layers.org gen 2021-07-07 03:31:35 -07:00
SpacemacsBot b992ad29bb [bot] "spacemacs_built_in" Tue Jul 6 16:12:28 UTC 2021 2021-07-06 09:20:39 -07:00