Commit graph

16901 commits

Author SHA1 Message Date
Itai Y. Efrat
09add70efd feat(vertico): add embark-collect-snapshot binding
The C-c C-s binding mirrors the export and writable export bindings.

embark-export is used for type specific exports (such as buffers to an
ibuffer buffer), not for verbatim exports. This is most noticeable if
you want to export a variable list, which gets you to an apropos buffer.
if you just want a list of things to keep around,
embark-collect-snapshot is the tool for the job, but having it be only
on C-; S makes it harder to reach and less visible. C-c C-s is a nice
visible thing to have around.
2022-01-13 23:16:03 +02:00
Itai Y. Efrat
1e2d5485a9 bump: :completion vertico
iyefrat/all-the-icons-completion@a0f34d68cc -> iyefrat/all-the-icons-completion@9e7d456b09
minad/consult@cc8eff9578 -> minad/consult@0940ca0165
minad/marginalia@2fb2787bc3 -> minad/marginalia@9229d88ae4
minad/vertico@eedcb84786 -> minad/vertico@a8fe9a0b2e
oantolin/embark@e08899ef2e -> oantolin/embark@c9b26c2e18
2022-01-13 23:16:03 +02:00
Itai Y. Efrat
4f34635e04 refactor!(vertico): crm keybindings behaviour
BREAKING CHANGE: This commit changes the behaviour of the TAB and RET
keys in a consult-completing read multiple session, in order to make
them more intuitive. The behaviour is now:

- TAB: (unchanged) always select or deselect the current candidate, and
  if the candidate is selected, move the index to the next one (this
  allows for pressing TAB repeatedly to select multiple subsequent
  candidates).

- RET: If no candidates have been selected, select the current candidate
  and exit the completion session. If some have been selected, disregard
  the current candidate and exit.

- S-TAB: (new) like TAB, but the keeps the input.
2022-01-13 23:16:03 +02:00
Henrik Lissner
5274f1ad4d dev: target master branch 2022-01-13 22:04:20 +01:00
Henrik Lissner
8374438ed9 docs: target master branch in CI badges 2022-01-13 22:04:09 +01:00
Henrik Lissner
f73ae8eee1 dev: remove develop branch stipulation in PR template
Now that we've reclaimed the master branch, the develop branch will soon
be phased out.
2022-01-13 21:54:46 +01:00
James Ravn
8746da61c3
fix(javascript): incorrect lsp formatting for tsx
lsp-mode doesn't detect the correct indentation, since it treats the
derived tsx-mode as a web-mode. This change modifies the lsp-mode
internal alist to recognize tsx-mode correctly. Ideally lsp-mode would
have a better way to modify its known mode lists but I couldn't see it.

Ref: emacs-lsp/lsp-mode#3308
2022-01-13 21:51:07 +01:00
Payas Relekar
ec67a6fb2b bump: :lang common-lisp
joaotavora/sly@540a8c5b9a -> joaotavora/sly@2e00c3bd4b
2022-01-13 21:49:16 +01:00
Henrik Lissner
29536a22f0 bump: :tools lsp
emacs-lsp/lsp-mode@c228bce435 -> emacs-lsp/lsp-mode@f49ea4e365
joaotavora/eglot@2c0f262c24 -> joaotavora/eglot@dade5a1487

- lsp-mode now properly installs kotlin-language-server from the correct
URL (#5984).

Fix: #5984
Ref: emacs-lsp/lsp-mode#3315
2022-01-12 16:48:22 +01:00
Henrik Lissner
86034131c4 bump: :editor evil
Dewdrops/evil-exchange@ac50f21b29 -> Dewdrops/evil-exchange@5f0a2d4143
emacs-evil/evil-collection@1b9d5c5d93 -> emacs-evil/evil-collection@0ce1ea96b4
emacs-evil/evil@b00018bf55 -> emacs-evil/evil@a5fd96dadc
redguardtoo/evil-nerd-commenter@63baf2d1c7 -> redguardtoo/evil-nerd-commenter@42ba1a473b

Close: #5983
2022-01-12 01:55:34 +01:00
Henrik Lissner
3df8903071 bump: :tools
andras-simonyi/citeproc-el@538fed794c -> andras-simonyi/citeproc-el@9f783967c1
bdarcus/citar@51b30f2e40 -> bdarcus/citar@b24b5b94b7
emacs-lsp/lsp-mode@3d6a01dde9 -> emacs-lsp/lsp-mode@c228bce435
gagbo/consult-lsp@aaa9a31bc8 -> gagbo/consult-lsp@f4f195046b
joaotavora/eglot@28092ba3af -> joaotavora/eglot@2c0f262c24
magit/forge@a44afa81f1 -> magit/forge@0ff9b8a0de
magit/magit@2e73b66c29 -> magit/magit@0ac05f3962
millejoh/emacs-ipython-notebook@c6696c12eb -> millejoh/emacs-ipython-notebook@6063cee7fb
purcell/envrc@8a9a142cf9 -> purcell/envrc@456c4100de
realgud/realgud@978b455d7d -> realgud/realgud@3c88611c4e
tumashu/posframe@3b1dc400d2 -> tumashu/posframe@6c0e63d6b3
vedang/pdf-tools@a8847b75d3 -> vedang/pdf-tools@4e6c778194
wandersoncferreira/code-review@136c0933ba -> wandersoncferreira/code-review@ccc3795a72
yoshiki/yaml-mode@63b637f846 -> yoshiki/yaml-mode@a79d2a7b92

Close: #5977
Ref: emacs-lsp/lsp-mode#3295
2022-01-12 01:55:34 +01:00
Henrik Lissner
2c02cea461 feat: add EMACS29+ constant 2022-01-12 01:55:34 +01:00
Henrik Lissner
e7eaa3b256 docs: fix roadmap links 2022-01-12 01:55:34 +01:00
Henrik Lissner
3a3a8dc240 refactor(fortran): conform to conventions 2022-01-12 01:55:34 +01:00
Saxon Jensen
9cba28621f
feat(php): replace php-boris with psysh (#5967)
php-boris is no longer maintained.

Fix: #5965
2022-01-10 02:24:21 +01:00
Zane Shelby
9db71bb7a5 fix(clojure): add clojurec-mode repl+eval handlers 2022-01-10 02:22:21 +01:00
Lele Gaifax
60cfb383ea fix: actually forward the `select' param to doom/bump-package-at-point
Also, rectify the docstring for `doom/bump-packages-in-buffer', that was
an exact replica of the actual workhorse, `doom/bump-package-at-point'.
2022-01-10 02:21:49 +01:00
Lele Gaifax
e5213f20e5 nit: fix several documentation typos 2022-01-10 02:21:49 +01:00
Henrik Lissner
85fcac4562 bump: :lang julia
JuliaEditorSupport/julia-emacs@06f6fdb94c -> JuliaEditorSupport/julia-emacs@47f43f7d83
gdkrmr/lsp-julia@809da95c05 -> gdkrmr/lsp-julia@d6688bb131
non-Jedi/eglot-jl@49f170e01c -> non-Jedi/eglot-jl@2e35cf9768
tpapp/julia-repl@3f888ecd30 -> tpapp/julia-repl@e90b1ed2cc
2022-01-08 21:35:36 +01:00
Henrik Lissner
e5e301b3e4 refactor: remove redundant load-file advice
A mistake that snuck into 55c1cac while backporting some code from the
CLI rewrite. It was harmless and likely had no side effects, however.

Amend: 55c1cac43f
2022-01-08 18:55:02 +01:00
Henrik Lissner
c16f38ab1d fix(lib): sort bumpified modules list 2022-01-08 18:55:02 +01:00
marty
bc47e72984 tweak(web): detect and set angular in web-mode
- Add @angular/core in detecting angular to set the web-angularjs minor
mode

- At the same time set the web-mode-engine to "angular" so that
`format-all` uses prettier to format ionic `*.page.html` files in
addition to `*.component.html` files.

When `format-all` sees the web-mode-engine is set to "angular", it
applies `prettier` as opposed to `html-tidy`, as `tidy` doesn't
recognise angular component tags and hence errors out. The current
web-mode only sets the engine to "angular" for "*.components.html".
However, ionic angular uses file names such as "*.page.html", setting
engine will apply prettier to these html fils.
2022-01-06 15:27:54 +01:00
Henrik Lissner
b51d7d6d7f
merge: pull request #5893 from gilbertwong96/fix/erlang
fix(erlang): fix broken erlang-mode
2022-01-05 04:06:28 +01:00
Celso Bonutti
1b895a0564 fix(default): smartparens rules for haskell
The default haskell-mode rules would result in an extra } appended to
the closing pair (#5448).

Fix: #5448
Close: #5450
2022-01-05 04:05:08 +01:00
Henrik Lissner
d8285d9d4c fix(elixir): eval & repl handlers
set-{eval,repl}-handler! operate on major modes, not minor modes (this
should be corrected upstream, but I'll do so later). This doesn't apply
to set-lookup-handlers!, but I'm changing it too for consistency.
2022-01-05 04:02:30 +01:00
Henrik Lissner
2a515c683a bump: :tools lookup
abo-abo/define-word@6e4a427503 -> abo-abo/define-word@31a8c67405

Ref: abo-abo/define-word#31
2022-01-04 20:59:28 +01:00
GilbertWong
801a1c5b79
fix(erlang): correct featurep! usage 2022-01-04 10:44:20 +08:00
GilbertWong
e692d8e9fd
feat(erlang): add doctor tool for erlang module 2022-01-04 10:44:20 +08:00
GilbertWong
0e99b6b952
refactor!(erlang): remove company-erlang
BREAKING CHANGE: Remove `company-erlang` which depends on
`ivy-erlang-complete`. `company-erlang` and `ivy-erlang-complte` have
not been maintained now. The lsp mode provides much better experience
than `company-erlang` and `ivy-erlang-complete`. The
`ivy-erlang-complete` package also has the defect that slow down the
erlang-mode buffer when the buffer is huge enough. It is not a good
choice to integrate ivy-erlang-complete nowadays even as a non-LSP
option.
2022-01-04 10:44:18 +08:00
GilbertWong
beda11068b
bump: :lang erlang
erlang/otp@118cb37bd5 -> erlang/otp@c1ab4b5424

Ref: erlang/otp#5314
2022-01-04 10:42:49 +08:00
Henrik Lissner
7832424843 bump: :ui modeline
seagle0128/doom-modeline@69ede7d719 -> seagle0128/doom-modeline@84573ae5e7

- Fixes an issue where doom-modeline was generating too many iex child
  processes while trying to read the installed version of elixir (see
  #5895).

Fix: #5895
2022-01-03 19:22:28 +01:00
Henrik Lissner
f491dd9e7b fix(magit): gate code-review behind +forge
code-review requires forge, therefore it shouldn't be available if
+forge isn't enabled on the :tools magit module.

Ref: 2d3a68df49
Fix: #5935
2022-01-03 19:13:09 +01:00
Henrik Lissner
dde20aa8fd feat(lib): add doom-font-exists-p
For easier font detection in your config.

Ref: #5948
2022-01-03 18:34:01 +01:00
Henrik Lissner
b88eb77605
merge: pull request #5908 from ethan-leba/repl-handler
Add :send-region and :send-buffer options to `set-repl-handler!`
2022-01-03 18:12:31 +01:00
Björn Larsson
1a0fd1b7ec fix(magit): unbind M-1 etc. for code-review
code-review is built on magit-sections so it will have the same default
bindings for M-1, M-2 etc. To be consistent with the rest of doom, those
should be used for switching workspace and z1, z2 etc should be used for
toggling outlines in a magit-sections buffer.

This only affects users with :editor (evil +everywhere) enabled.

Amend: 2d3a68df49
2022-01-03 18:10:17 +01:00
Colin Woodbury
024df7ad8b bump: :term vterm
akermu/emacs-libvterm@ed6e867cfa -> akermu/emacs-libvterm@a940dd2ee8
2022-01-03 18:06:43 +01:00
Gavin Downard
96390ef3b9 tweak(dired): don't auto-revert when remote
On slow connections `dired-auto-revert-buffer` causes excessive
slowdowns; this limits its behavior to local files.
2022-01-03 18:06:23 +01:00
Henrik Lissner
659b0ebc1b fix(lsp): lsp--matching-clients? -> lsp--supports-buffer?
Ref: #5933
Amend: 0cb8d1416f
Co-authored-by: Samuel Tschiedel <mukaobr@gmail.com>
2022-01-03 18:02:29 +01:00
Henrik Lissner
67a9573f0d fix(org): tab not invoking cdlatex-tab in headings
In org-mode, if one writes a math expression in a section (i.e. heading)
while using cdlatex, pressing tab indents the section instead of
performing a cdlatex-tab.

This fix takes care of this issue to have the wanted behavior: if in
math environment and hit tab while in section, execute cdlatex-tab.

Close: #5926
Co-authored-by: roiholtzman <roiholtzman@users.noreply.github.com>
2022-01-03 16:51:51 +01:00
Henrik Lissner
b37d8481ce tweak(spell): remove RET keybind for +spell/correct
z= and M-$ are available. RET on arbitrary misspellings make DWIM
commands in text modes unpredictable, like org and markdown.
2022-01-03 16:51:51 +01:00
Henrik Lissner
d9dc7339c4 bump: :lang java
emacs-lsp/lsp-java@3246272b43 -> emacs-lsp/lsp-java@ce03cb6574
mopemope/meghanada-emacs@6c57e8a0ae -> mopemope/meghanada-emacs@59c46cabb7

Close: #5944
Co-authored-by: Zero King <l2dy@users.noreply.github.com>
2022-01-03 16:51:51 +01:00
Henrik Lissner
cbf911289f bump: :lang clojure
borkdude/flycheck-clj-kondo@a558bda44c -> borkdude/flycheck-clj-kondo@d8a6ee9a16
clojure-emacs/cider@7228402c09 -> clojure-emacs/cider@af2e164998
clojure-emacs/clj-refactor.el@4cb75bd6a2 -> clojure-emacs/clj-refactor.el@12af23ad8b
clojure-emacs/clojure-mode@e1dc7caee7 -> clojure-emacs/clojure-mode@e31186843d
2022-01-03 16:51:51 +01:00
Henrik Lissner
ae130607a6 bump: :editor snippets
hlissner/doom-snippets@3083b2342f -> doomemacs/snippets@3083b2342f
2022-01-03 16:51:51 +01:00
Henrik Lissner
da5c46595c bump: :tools dired
clemera/dired-git-info@91d57e3a4c -> emacs-straight/dired-git-info@9461476a28

Straight created a mirror for dired-git-info at
emacs-straight/dired-git-info and now prioritizes this over the ELPA
recipe, so old commit won't be found.

Ref: emacs-straight/dired-git-info@9461476a28
Fix: #5913
Close: #5917
Co-authored-by: Aryslan Yakshibaev <yak.aryslan.1999@gmail.com>
2022-01-03 16:51:51 +01:00
Henrik Lissner
e8551ded5f bump: :tools magit
magit/forge@402773ef7e -> magit/forge@a44afa81f1
magit/magit@65c4485e19 -> magit/magit@2e73b66c29
wandersoncferreira/code-review@b0bedbdb30 -> wandersoncferreira/code-review@136c0933ba

Close: #5947
2022-01-03 16:51:51 +01:00
Henrik Lissner
0cb8d1416f bump: :tools lsp
emacs-lsp/lsp-mode@41173dca4d -> emacs-lsp/lsp-mode@3d6a01dde9
joaotavora/eglot@55c13a9137 -> joaotavora/eglot@28092ba3af

Ref: #5904
Fix: #5927
Close: #5928
Close: #5933
Close: #5945
2022-01-03 16:51:51 +01:00
Ethan Leba
1d0f4ca424 tweak(python): use python-shell repl handlers
Fix: #4375
2021-12-18 10:45:17 -05:00
Ethan Leba
aebd4b0c99 docs(eval): explain DWIM behavior 2021-12-18 10:45:17 -05:00
Ethan Leba
fea561f678 feat(eval): :send-region and :send-buffer handlers
Ref: #2496
2021-12-18 10:45:17 -05:00
Dominik Schrempf
af7c1d79bd fix(grammar): writegood-mode in LaTeX-mode
Did I already mention that this `latex-mode` slash `LaTeX-mode`
ambiguity was a reeeeeeally bad decision upstream? Anyways, this very
small PR also loads `writegood-mode` with AucTeX, which uses
`LaTeX-mode`, and not `latex-mode`.
2021-12-18 01:13:37 +01:00