Commit graph

10573 commits

Author SHA1 Message Date
emacspace b243785a33
documentation formatting: Sat Nov 23 22:32:46 UTC 2019 2019-11-24 02:16:41 +01:00
Maximilian Wolff dd7a5d98be
Revise helm recompile package action and bind recompile-elpa
The newly introduced function to compile an elpa package
was very much redundant with the existing recompile-elpa function.

I have adapted recompile-elpa so that it can be used for the helm action too.

In addition I have bound recompile-elpa to `SPC c C-c` to allow users to
easily recompile their entire elpa directory if the need arises.

I have also removed the error handling in the helm action in favor of
standard error reporting via the *Compile-Log* buffer.
2019-11-24 02:07:15 +01:00
Gia Thanh Vuong 94de754504
[core] [helm] add action to recompile an elpa package
How to use: `SCP h p` select package then `F3` or `C-z` and choose `Recompile`

Motivation: Some packages when compiling need other packages to be loaded first.
The pacakage maintainers should make sure of this requirement but sommetimes
they don't. It also doesn't help when Spacemacs is lazy loading and compiles
updated pacakges on startup. So the manual fix for this problem is recompile the
package once Spacemacs has fully loaded. This requires user go to the package
install location to delete elc files and then do a `spacemacs/recompile-elpa`.
This commit will do that chore for them.

This will make fixing the problem with `org-plus-contrib` or `dumb-jump` update
every now and then easier.
2019-11-23 23:40:50 +01:00
duianto eced685481
Rename window-manipulation transient state var/funcs
Renamed window transient state related variables and functions,
from: `*window-manipulation*`
to:   `*window*`.
2019-11-23 23:12:37 +01:00
duianto 9f16032f69
Update transient state wording, etc.
- Removed the word `Manipulation` from the transient state titles:
  - Buffer Manipulation Transient State and Window Manipulation TS
  - Expanded the TS abbreviation to Transient State
- Documented the Buffer Transient State key binding:
  `q` to quit the transient state
- Capitalized `Transient State` in the titles
- Window Transient State:
  - Added a line break after the title in the folded hint.
    This allows for more keys to be visible horizontally.
  - Moved up the [?] help key after the title, so that
    it's in the same place in both the folded and full
    transient state.
2019-11-23 23:12:37 +01:00
emacspace fd9b8c71d7
documentation formatting: Sat Nov 23 21:43:58 UTC 2019 2019-11-23 22:52:16 +01:00
duianto 331031b60e
[mercury] Rename layer: mercury-layer to mercury
Thanks Miciah for the suggestion.
2019-11-23 22:49:45 +01:00
duianto 3a51e00a40
Add dired evil search next/previous key bindings
The search next/previous commands are different
because of the `evil-search-module' values:
vim    = evil-search
hybrid = isearch

- With the =vim= editing style in =normal= state:
  - ~n~ =evil-ex-search-next=
  - ~N~ =evil-ex-search-previous=
- With the =hybrid= editing style in =normal= state:
  - ~n~ =evil-search-next=
  - ~N~ =evil-search-previous=
2019-11-23 22:37:41 +01:00
Benjamin Hipple 2880d44356
gitignore: ignore org-journal.cache file
The org-journal package from the org layer is writing this cache file to more
quickly compute the next journal date. While it's configurable via
`org-journal-cache-file`, by default it goes into the `user-emacs-directory` and
results in a dirty git status on spacemacs.
2019-11-23 22:22:03 +01:00
Maximilian Wolff 98905f098a
Update changelog 2019-11-23 22:10:58 +01:00
Magnus Therning 3240c24873
Use "mgb" for jumping back
[elisp] use "mgb" for jumping back
[lsp] use "mgb"/"mGb" to jump back
[haskell] use "mgb" for jumping back
2019-11-23 21:52:13 +01:00
chysi fe028e9887
Update hy layer to new hy/python modes
Replace old "hy-shall-start-or-switch-to-shell" with "run-hy"
Expand pipenv to hy-mode
2019-11-23 21:20:16 +01:00
Tommy Groshong 740e6a2a3c
Fixes function name bug in react layer fmt-on-save 2019-11-23 20:51:57 +01:00
Maximilian Wolff 42879fccc1
Update changelog 2019-11-23 20:43:47 +01:00
Tommi Komulainen 50c48bc301
rust: fix LSP/DAP integration so it doesn't depend on java layer
Fixes error with rust files when java layer isn't loaded:
```
File local-variables error: (void-function spacemacs//java-setup-lsp-dap)
```
2019-11-23 20:39:11 +01:00
Alexander Miller 3407ecde6b
[treemacs] Deprecate treemacs-use-collapsed-directories.
Also contains below squashed commit
[treemacs] Make sure width (un)locking message won't appear on every start.
2019-11-23 01:40:14 +01:00
Maximilian Wolff 1b2ee31df4 Update changelog 2019-11-23 00:11:59 +01:00
Magnus Therning 8401feabe5 [persp] Add action for opening project in dired
Signed-off-by: Magnus Therning <magnus@therning.org>
2019-11-22 23:58:50 +01:00
emacspace 9a82ee3ba7 documentation formatting: Fri Nov 22 19:37:23 UTC 2019 2019-11-22 22:47:35 +01:00
Seong Yong-ju 889a40cdc3 Add eslint_d support for JavaScript, React, TypeScript modes 2019-11-22 18:03:42 +01:00
duianto 471feb2e00 Update changelog.develop 2019-11-22 17:25:14 +01:00
Brooklyn Zelenka df34916300 Add solidity layer 2019-11-22 17:16:54 +01:00
duianto 8bb98bcffa [multiple-cursors] Add evil-mc keys, cursors from selection
Added evil-mc make cursors from selection key bindings:
grI calls evil-mc-make-cursor-in-visual-selection-beg
grA calls evil-mc-make-cursor-in-visual-selection-end
2019-11-22 07:34:00 +01:00
duianto b653de015d Update window manipulation transient state
Front end:
minified hint:
- Added `a`
- Sorted `w` alphabetically

full hint:
Sorted keys alphabetically:
- Select: a, o, w
- Other:  d, D, u, U

Back end:
Grouped the keys by the transient state columns
2019-11-22 06:46:59 +01:00
duianto 034ada3981 Update changelog.develop 2019-11-22 05:45:27 +01:00
Maximilian Wolff 28959d73ab Document missing keybindings for window manipulation transient state 2019-11-21 22:13:50 +00:00
fleimgruber 73a4a5c9db Window manipulation: Transient state includes ace-window movement 2019-11-21 21:46:11 +00:00
duianto ccdfca539d Update changelog.develop, java section
Added an improvements section.
Added missing thanks to <author> changelog entries.
Emphasized some names.
2019-11-20 18:26:52 +01:00
Ivan Yonchovski 38838cce9a Fix handling of java-backend
- Without this line the lsp-java package won't be enabled when java-backend is
nil and lsp layer is present
2019-11-20 18:12:48 +01:00
Jake Romer e96b899daf Set doom-modeline-display-default-persp-name 2019-11-20 12:14:39 +01:00
duianto a2fbb3d94a Update changelog.develop 2019-11-18 15:44:29 +01:00
Carlos Ibáñez 6ca42efe7c Fix wrong initial directory 2019-11-18 15:32:25 +01:00
Carlos Ibáñez b5727f7799 Fix sudo-edit on TRAMP
The indentation was changed in the second tramp-make-tramp-file-name for
consistency with the first tramp-make-tramp-file-name.
2019-11-18 15:32:25 +01:00
Seong Yong-ju 777d685c46 Fix spacemacs/kill-other-buffers to kill only buffers in the persp 2019-11-17 18:20:12 +01:00
Seong Yong-ju 2e7a5c5929 Do not use go-eldoc for LSP backend 2019-11-17 16:45:39 +01:00
lovrolu bc22a259e8 Don't assume the previous binding was evil-insert-digraph 2019-11-15 20:05:23 +01:00
Seong Yong-ju 6556cfc80d [multiple-cursors] Improvements
Fixed evil-mc-mode won't start automatically
Moved evil-mc key bindings to evil-mc-key-map, not global keymap
2019-11-15 13:49:02 +01:00
smile13241324 7a83b5a7ad Remove javascript-eslint from next checker for lsp-ui
To activate javascript-eslint all lsp layers where
running eslint during lsp-ui flycheck phase. This
caused a lot of side effects and has been deactivated
for now. Eslint shall be called by the lsp server instead.
2019-11-15 00:27:38 +01:00
Nam Nguyen 22d200fbab Update YAML layer docs to include the yaml-yamllint flycheck checker. 2019-11-14 13:13:58 +01:00
emacspace 300abd74bd documentation formatting: Tue Nov 12 14:58:39 UTC 2019 2019-11-12 17:19:28 +02:00
wgjak47 58ce74d80d [chinese] Add fcitx5 support 2019-11-12 15:44:17 +01:00
jaremko 247830ab40 fix links 2019-11-10 16:13:13 +02:00
emacspace 73c2141fab documentation formatting: Sat Nov 9 15:00:44 UTC 2019 2019-11-10 13:55:10 +02:00
syl20bnr 55ea4dfee6 Reword answer to Spacemacs pronounciation FAQ
Fixes https://github.com/syl20bnr/spacemacs.org/issues/26
2019-11-09 14:09:15 -05:00
duianto a0bc920d4d [doc] Update beginners_tutorial.org todo key, etc.
The org-mode todo key has been changed from just: t
to: SPC m T T (same as: , T T)
in this PR: Use evil-org from MELPA #9041

The PR authors reasons were:
>- single-shortcut keys are few in number and valuable
>- the vim/evil defaults for those keys are designed for editable modes, and org
>  is an editable mode
>- practically nowhere else in Spacemacs are such keys overridden
>- the benefit of making an exception in this case is dubious
>- it's not too difficult to configure on a user level
>
>For sure, many people will be toggling todo state more often than using the t
jump operator while in org-mode, but I'm not convinced that this is worth
violating POLA in org-mode. But of course if there is consensus that I'm wrong
then I'm happy to be convinced otherwise.

source: https://github.com/syl20bnr/spacemacs/pull/9041#issuecomment-309758098

- Mentioned that: `t` can be restored for toggling todo, and added a link to the
  instructions in the org layer documentation:
  https://github.com/syl20bnr/spacemacs/blob/develop/layers/%2Bemacs/org/README.org#org-with-evil-org-mode
- Rewrote some sentences.
- Wrapped some paragraphs at 80 chars.
2019-11-09 18:55:22 +01:00
syl20bnr bd46b02f7f [c-c++] Defer ccls and cquery packages 2019-11-09 09:53:55 -05:00
syl20bnr 1e278a3cb9 Fix bad value for :requires, list is mandatory when multiple symbols
Also remove unecessary required packages for lsp-java package.
2019-11-09 09:41:40 -05:00
syl20bnr 249adcc35e [core] Add tests showing that list is required with multiple symbols
It means that:

        (helm-company :requires helm)

is OK, but

        (helm-company :requires helm pkg2)

is not OK, list is mandatory

        (helm-company :requires (helm pkg2))
2019-11-09 09:41:34 -05:00
syl20bnr 0e36cb9994 [core] Rename test functions testing :requires functionality
These functions were still using "depends-on" which is now inacurrate.
2019-11-09 09:41:31 -05:00
syl20bnr 789c1c8022 [core] Add unit tests for cfgl-package-reqs-satisfied-p 2019-11-09 09:41:27 -05:00