Commit graph

5849 commits

Author SHA1 Message Date
Maximilian Wolff 346b7a8a12
[json] Fix functions optionally working on regions
so that they work if no region has even been
selected in the current emacs section.
2021-05-11 21:24:52 +02:00
Maximilian Wolff 060f558530 [json] Avoid changing default evil state for tabulated-list-modes
See #14645
2021-05-09 21:14:26 +00:00
Maximilian Wolff e9b4131d18 [auto-complete] Removed the last traces of transformer integration
They are mostly obsolete now and harmful for performance.
See #14547 for details.
2021-05-09 20:56:54 +00:00
Maximilian Wolff ad8acf6d51 [latex] Add missing binding for 'org-ref-insert-cite-key with lsp 2021-05-09 20:37:02 +00:00
emacspace 61f6480ef8 documentation formatting: Sun May 9 19:09:25 UTC 2021 2021-05-09 21:16:30 +02:00
Daniel Nicolai 72127a49cb Replace counsel-M-x command in eaf-layer
Counsel is specific to Ivy, the universal M-x command is
`execute-extended-command`.
2021-05-09 21:06:04 +02:00
HanshenWang 947763eeaa
[evil-better-jumper] Update layer documentation (#14744)
* [evil-better-jumper] Update layer documentation

* Correct location of =dotspacemacs-distinguish-gui-tab=
2021-05-08 22:31:24 +02:00
Colin Woodbury 5ba6520389 Revert "[keyboard-layout] Fix colemak-hneio next/prev line in magit"
This reverts commit 3acf188bad.
2021-05-08 22:28:52 +02:00
Daniel Nicolai 8ede09f875 Small fix to eaf-layer refactor
This PR reimplements the refactor changes by @lebensterben but with his fix as
he suggested [here](https://github.com/syl20bnr/spacemacs/pull/14681#discussion_r616060958)
2021-05-08 22:25:06 +02:00
emacspace a26121db4f documentation formatting: Thu May 6 20:14:11 UTC 2021 2021-05-07 07:32:24 +02:00
Maximilian Wolff c1c18b7eed Revert "add a feature to save file as a new file and open it in a new buffer"
This reverts commit 4fc78bdc02.
2021-05-07 05:29:22 +00:00
Maximilian Wolff f213b8cf20 Revert "[spacemacs-defaults] Move new function to correct file"
This reverts commit 1169eb3709.
2021-05-07 05:29:03 +00:00
Maximilian Wolff 0ffe16066f [vim] Disable unused functions in evil-better-jumper layer 2021-05-06 19:57:07 +00:00
Thanh Vuong 72807f3ef2 [vim] add evil-better-jumper layer
https://github.com/gilbertw1/better-jumper
2021-05-06 19:41:22 +00:00
Zach Pearson d2e9730acb
Update pyls install command to use quotes (#14741) 2021-05-05 13:28:52 -04:00
Lucius Hu 5c48a35bc8
fixup! #982e25 2021-05-05 03:54:55 +00:00
Maximilian Wolff 1169eb3709
[spacemacs-defaults] Move new function to correct file 2021-05-04 22:06:34 +02:00
tddsg 4fc78bdc02
add a feature to save file as a new file and open it in a new buffer 2021-05-04 21:52:34 +02:00
Richard Kim efbf4c5fb5 set initial evil state of ccls-tree-mode to be emacs
Emacs mode is clearly better than vim mode, because j and k keys are already
bound to down/up motion. In addition as the tree mode is traversed, the
matching code pops up on the left in emacs mode but not in vim mode.
2021-05-04 20:50:23 +02:00
Aaron Zeng e15dbdc036
[ocaml] Fix name of layer variable in defvar (#14736) 2021-05-04 00:34:51 -04:00
emacspace c69458150f documentation formatting: Mon May 3 22:15:02 UTC 2021 2021-05-04 00:24:54 +02:00
Maximilian Wolff fdda1bd281
[lsp] Fix missing [ in documentation 2021-05-04 00:10:13 +02:00
emacspace bf8cb19cca documentation formatting: Mon May 3 20:22:58 UTC 2021 2021-05-03 23:17:19 +02:00
Maximilian Wolff 99231d3a70
[lsp] Fix some smaller issues in documentation 2021-05-03 23:05:44 +02:00
Thanh Vuong 27f1519a5a
[lsp] add option to bind commands to lsp-command-map
`lsp-use-upstream-bindings` set to `t` then Spacemacs will bind all
`lsp-command-map` behind `SPC m`, `,` and `M-m`. This way the bidings will be
managed by upstream `lsp-mode` which is documented at
https://emacs-lsp.github.io/lsp-mode/page/keybindings/.

Spacemacs only replaces the prefix `s-l` with `SPC m`. For example:

| lsp binding | Spacemacs binding                   |
|-------------+-------------------------------------|
| `s-l w s`   | `SPC m w s` or `, w s` or `M-m w s` |
2021-05-03 22:53:11 +02:00
emacspace a2dc0c18e0 Built-in files auto-update: Mon May 3 19:32:32 UTC 2021 2021-05-03 22:17:33 +02:00
Kazark 220536fd39 [org] sane default strategies for enforcing TODO dependencies 2021-05-03 22:17:07 +02:00
n-raymond 1136a61645 [ocaml] Fix variable name to make ocamlformat properly working on save 2021-05-03 22:11:32 +02:00
Lucius Hu e5be31bb85
Bumped minimum emacs version to 26.1 2021-05-03 22:09:11 +02:00
duianto 29fa26af98
Add workspace action messages and open home buffer (#14709)
### Added workspace action messages
`SPC l w` followed by a number key `0-9`
or `SPC l w s` single window workspace
>Workspace 2 created

`SPC l w 1` from another workspace
>Workspace switched to 1

`SPC l w 1` from the same workspace
>Already on Workspace 1

`SPC l w c` clones the current workspace to the next free slot
>Workspace 1 cloned to 3

`SPC l w d` close the current workspace
Workspace 3 closed

### And
Open the Spacemacs home buffer when creating a new workspace
with the number keys. Previously it opened the scratch buffer.
2021-04-30 18:31:33 +00:00
Benjamin Yang 4e5a7233b0
SpacemacsOS: provide new layer variables for systray and autostart (#14714)
I'm not sure how best to start doing this, but the branch over at
timor:spacemacsOS has moved ahead a bit.  I've grown used to a lot of these
changes, and would like to see them moved to the main develop branch.  But, the
pull request (formed by merging in CestDiego:spacemacs/SpacemacsOS in #3321)
started diverging.

Again, I'm not sure how to approach moving together these two changes.  Maybe
@timor can help somehow??

This at the least moves in some little things from Timor's branch:

- Can enable exwm-systemtray with `exwm-enable-systray`
- Can enable running XDG autostart applications (only in XDG_USER_HOME/autostart
  for now) with `exwm-autostart-xdg-applications`
- Support for reading `.desktop` files and XDG autostart.
- Can specify additional code appended to exwm-init hook with `exwm-custom-init`

---

This PR also fixed some other existing issues, and improved documentation.

Co-authored-by: timor <timor.dd@googlemail.com>
Co-authored-by: Benjamin Yang <be11ng@users.noreply.github.com>
2021-04-30 18:29:17 +00:00
Carlos Ferney Clavijo Rendón d24249b759
[erlang] fix run-prog-mode-hooks function call (#14725) 2021-04-28 10:31:59 -04:00
Lucius Hu 117f4b73ab
squash! Removed legacy codes for emacs-version < 25.1 (#14497) 2021-04-28 01:17:17 -04:00
Lucius Hu bc27203615
Removed legacy codes for emacs-version < 25.1 (#14497) 2021-04-28 05:04:53 +00:00
Lucius Hu 982e2515a3
[keyboard-layout] replace evil-magit by evil-collection-magit
`evil-magit` is part of `evil-collection-magit` now
2021-04-28 02:14:00 +00:00
wildwestrom 635c326c0a fixed asciidoc export
Fixed ox-asciidoc as per issue #14695
I just deleted one line, tested it, and it works again.
2021-04-26 22:19:42 -04:00
duianto 374fc28c76 Fix clone workspace
problem
Trying to clone a workspace `SPC l w c`
Does create a new workspace,
but it just shows the scratch buffer.

notes
In addition to fixing the cloning.

Show a minibuffer message:
Workspace: 1, cloned to Workspace: 2

To make it clear that the cloning worked.
Because the only visible difference, is that
one of the left side mode line numbers changed.
2021-04-26 22:11:22 -04:00
Benj 6b135c5a69 [scheme] Fix geiser company backends 2021-04-26 22:06:13 -04:00
emacspace 3dbe66dda7
documentation formatting: Mon Apr 26 13:46:02 UTC 2021 (#14718) 2021-04-26 09:53:56 -04:00
Daniel Nicolai 557fc0efab
Scheme layer, add REPL keybindings (#14708) 2021-04-26 09:42:48 -04:00
Zach Pearson d72e512993
Use timeclock-mode-line-display in default bindings (#14713) 2021-04-25 18:51:39 -04:00
emacspace eddf1dc460 documentation formatting: Fri Apr 23 14:03:32 UTC 2021 2021-04-23 23:00:39 +03:00
JAremko 982a3db01f [doc]fix the rest of exwm readme hls 2021-04-23 17:00:24 +03:00
JAremko 7f0f93d765 fix exwm readme 2021-04-23 16:54:12 +03:00
Lucius Hu c8b914c8de erlang: Fix local vars
- Labelled `erlang-backend` as safe local variable.
- Added local variable hooks of erlang modes:
  - `spacemacs//erlang-setup-backend`
  - `spacemacs//erlang-setup-company`

See: https://github.com/syl20bnr/spacemacs/issues/14653
2021-04-22 13:03:38 -04:00
Lucius Hu 983ace0097 elixir: Fix file local vars
- Labelled `elixir-backend` as safe local variable.
- Added local variable hooks of elixir mode:
  - `spacemacs//elixir-setup-backend`

All other setup functions are already added to local variable hook.

See: https://github.com/syl20bnr/spacemacs/issues/14653
2021-04-22 12:54:03 -04:00
Lucius Hu 870b2c9e5d dart: Fix local vars
- Labelled `dart-backend` as safe local variable.

All setup functions are already added to local variable hook.

See: https://github.com/syl20bnr/spacemacs/issues/14653
2021-04-22 12:53:11 -04:00
Kjartan Óli Ágústsson 7ef15a561a
Fix issues with EXWM layer (#14693)
Added header.
Removed cl-generic dependency which is not needed for current minimum version (or later) of Emacs.
2021-04-21 17:12:52 -04:00
Kjartan Óli Ágústsson e290b10060
Replace function aliases with their real names (#14688)
`first` and `list-length` are aliases for `car` and `cl-list-length`
respectively. Using these aliases causes emacs to error with a `symbol's function
definition is void` error, but using their real names causes no error.

Replaced them with `car` and `length`.
2021-04-21 19:42:26 +00:00
Kjartan Óli Ágústsson ec2c511c6f
Add support for org-roam-protocol (#14687)
Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>
2021-04-21 19:40:33 +00:00