Commit graph

12747 commits

Author SHA1 Message Date
3770a8d88f dev: merge branch 'master' of github.com:doomemacs 2024-08-26 11:03:42 -04:00
1f75958e90 dev: merge from master 2024-08-25 17:59:12 -04:00
Samuel Tschiedel
c862968f48 fix(clojure): leverage evil-collection-cider
We're currently discarding all evil-collection bindings on
`cider--debug-mode`. Given that `j` is bound to a particularly
disruptive and non-cancellable command, this brings some friction to
evil users.

This commit adds those bindings back under `evil +everywhere`.

The in-buffer and minibuffer displayed keybindings were adjusted to
match, but not easy-menu's.

Ref: doomemacs/doomemacs#4627
2024-08-25 17:45:55 -04:00
Stefan Lendl
9fe9f89333 tweak(vterm): vterm-send-next-key mapped to C-q 2024-08-25 17:45:28 -04:00
Henrik Lissner
02ab7f3a79
feat(rss): add elfeed-tube behind +youtube
Close: #7612
Co-authored-by: edmundmiller <edmundmiller@users.noreply.github.com>
2024-08-25 17:44:29 -04:00
Henrik Lissner
b9e460bc64
refactor(vertico): remove redundant quoting
Ref: #7943
2024-08-25 17:44:29 -04:00
Henrik Lissner
ebf91a1363
refactor: use true eos regex in auto-mode-alist entries
"\\'" will match the true end-of-string, whereas "$" will also match
just before a newline character. Not that there's much risk that
there'll be newlines in a filepath, but I'd rather be consistent. It
also makes these entries easier for users to remove from
auto-mode-alist.
2024-08-25 17:44:29 -04:00
Henrik Lissner
1fad466c12
fix(dired): "Attempt to delete minibuffer or sole ordinary window"
Makes `+dired--cleanup-dirvish-h` more robust, and only kick in for
dirvish-side or full-frame dirvish sessions.

Amend: e82dab3257
2024-08-25 17:44:29 -04:00
Henrik Lissner
4bc4b54eb9
bump: :lang php
emacs-php/composer.el@42cf9848d4 -> emacs-php/composer.el@791a7104be
emacs-php/php-mode@4792988a12 -> emacs-php/php-mode@59814bd80c
jwiegley/emacs-async@cff2bd0be3 -> jwiegley/emacs-async@f317b0c9c3
2024-08-25 17:44:28 -04:00
Henrik Lissner
62f9b2ec94
feat(parinfer): enable for dune-mode
Close: #8019
Co-authored-by: i-am-linja <i-am-linja@users.noreply.github.com>
2024-08-25 17:44:28 -04:00
Henrik Lissner
9dfd7ebc78
feat(ocaml): set formatter for dune-mode
Close: #8019
Co-authored-by: i-am-linja <i-am-linja@users.noreply.github.com>
2024-08-25 17:44:28 -04:00
Quentin Barbe
0c1c37ad87
bump: evil-textobj-tree-sitter
meain/evil-textobj-tree-sitter@a19ab9d89a -> meain/evil-textobj-tree-sitter@041fcb9fbb

Fix: #8006
2024-08-23 17:59:35 -04:00
Wang Kai
3ad8ecc063 fix(vertico): orderless filtering
The original implementation of `+vertico-orderless-dispatch` match
pattern by prefix and suffix in pairs. In that case, '=&&' will go for
branch `(string-suffix-p "&" pattern)`, not `(string-prefix-p "="
pattern)`, which fail to filter literal '&&'.

We probably should match all prefixes first, then all suffixes. Just
like orderless does.

Ref: 178b0c55f2/orderless.el (L159)
2024-08-23 17:49:47 -04:00
Henrik Lissner
db48f767b0
fix(bidi): fail gracefully if font is missing
The module will now emit a warning instead of throwing an uncaught
error (and thus stopping Emacs' startup process).

Fix: #7202
2024-08-23 17:48:33 -04:00
Henrik Lissner
a2814629a0
feat(bidi): add +bidi-*-font-scale vars
Close: #7687
2024-08-23 17:48:33 -04:00
Henrik Lissner
f90f1c212e
refactor(tty): noop evil-terminal-cursor-changer if disabled 2024-08-23 17:48:33 -04:00
Henrik Lissner
07dff99184
feat(tty): add kitty keyboard protocol support 2024-08-23 17:48:33 -04:00
Henrik Lissner
8e76097d49
fix(org): respect evil-disable-insert-state-bindings
Close: #8023
Co-authored-by: ambirdsall <ambirdsall@users.noreply.github.com>
2024-08-23 17:48:33 -04:00
Henrik Lissner
9df815a450
fix(plantuml): ref to incorrect jar path variable 2024-08-23 17:48:33 -04:00
Henrik Lissner
e750d84a47
bump: code-review
doomelpa/code-review@e4c34fa284 -> doomelpa/code-review@eeffdd9e20

Ref: doomelpa/code-review#2
2024-08-23 17:48:33 -04:00
Henrik Lissner
7eb61896f4
fix(org): jupyter-org-mime-types: restore :text/html
Ref: emacs-jupyter/jupyter#477
Ref: #2477
2024-08-23 17:48:32 -04:00
1747a74198 dev: merge branch 'master' of github.com:doomemacs 2024-08-23 11:55:16 -04:00
Henrik Lissner
ad26fcdbdd
perf(emacs-lisp): elisp-demos: inhibit local-vars hooks 2024-08-22 22:37:13 -04:00
Henrik Lissner
fbfed24167
refactor!(php): remove phpactor.el
BREAKING CHANGE: This removes the phpactor.el package in favor of LSP
support via lsp-mode/eglot. Use `+lsp` with the `:lang php` module
instead (with one of the supported LSP servers).

This was done because phpactor.el is on the way out of maintainership,
is redundant with pre-existing phpactor support in lsp-mode/eglot (or
the other, possibly superior LSP servers), and to simplify modules for
whom LSP/Eglot is *the* way to get these features.
2024-08-22 22:35:40 -04:00
Henrik Lissner
b69e7d1780
tweak(dired): bind gl, h, l, & arrows to directory nav 2024-08-22 21:48:08 -04:00
Henrik Lissner
ad1507ae8d
docs(org): mention Jupyter packages for Arch Linux
Amend: #7502
Amend: ab1d396c2d
2024-08-22 20:25:37 -04:00
Henrik Lissner
1e358caea1
bump: ob-clojure-literate
https://repo.or.cz/ob-clojure-literate.el.git@18c3ea15b872 -> emacsattic/ob-clojure-literate@18c3ea15b8

Use emacsattic/ob-clojure-literate on Github (a more stable host).

Fix: #7586
2024-08-22 20:16:23 -04:00
Henrik Lissner
d4357c173a
fix(lsp): void-variable lsp-client-packages error
Regression introduced in 32d9369, due to evaluating this snippet too
early (before lsp-mode was loaded).

Amend: 32d9369091
Fix: #7713
2024-08-22 16:08:45 -04:00
Henrik Lissner
93c5f98ee2
fix(vc-gutter): resist errors in kill-buffer advice
A regression introduced in aa8c31c.

Fix: #8018
Ref: #8009
Amend: aa8c31cf08
2024-08-22 16:06:42 -04:00
Henrik Lissner
b521492bf4
fix(default): feature-gate deft keybinds
Close: #7935
Co-authored-by: edmundmiller <edmundmiller@users.noreply.github.com>
2024-08-22 15:50:34 -04:00
Henrik Lissner
32d9369091
fix(lsp): disable lsp-terraform
This issue seems to come up a lot, and I've been unable to reproduce it,
but at the very least I can disable the lsp-terraform client for folks
that don't need it.

Fix: #7713
Ref: emacs-lsp/lsp-mode#3577
2024-08-22 15:50:34 -04:00
Henrik Lissner
e59023b843
fix(vc-gutter): toggle diff-hl-margin-mode in tty frames
Fix: #8001
2024-08-22 15:50:34 -04:00
Henrik Lissner
d309dcad27
fix(plantuml): {org-,}plantuml-jar-path resolution
- Ensures `org-plantuml-jar-path` is less likely to be overwritten if the
  user changes it.
- Sets `org-plantuml-jar-path` and `plantuml-default-exec-mode` after
  calling `plantuml-download-jar`, so things Just Work™️ without
  needing the user to know to update these variables.

Close: #7992
2024-08-22 15:50:34 -04:00
pancho horrillo
9ebd9cb734 fix(go): remove bind to deprecated function
‘go-remove-unused-imports’ is an obsolete command (as of 1.7.0); set
‘gofmt-command’ to goimports instead, or use LSP and gopls’s "Organize
Imports" code action.

Ref: dominikh/go-mode.el@166dfb1e09
2024-08-22 15:02:16 -04:00
Henrik Lissner
0d363045c5
tweak(dart): open flutter output in popup
Close: #8015
Co-authored-by: AlessandroW <AlessandroW@users.noreply.github.com>
2024-08-22 12:32:14 -04:00
Henrik Lissner
804da58540
fix(format): disable on-save for LaTeX-mode
Since latex-mode != LaTeX-mode.
2024-08-22 12:32:14 -04:00
Henrik Lissner
1e73754dad
refactor(dired): dirvish-hide-cursor
Give the same treatment I give dirvish-hide-details to
dirvish-hide-cursor (see ddfb0cc).

Ref: ddfb0cc3cc
Ref: #6760
2024-08-22 12:32:14 -04:00
Henrik Lissner
1b336d0549
bump: forge
magit/forge@1e7ee99c7f -> magit/forge@30f181f785

- Same issue with forge as with magit (see 5e70fe1).

Fix: #8007
Amend: 5e70fe1697
2024-08-22 12:32:14 -04:00
Henrik Lissner
d941078e66
tweak(ligatures): +ligatures-extra-alist: affect derived modes
Close: #7808
Co-authored-by: Dev380 <Dev380@users.noreply.github.com>
2024-08-22 12:32:14 -04:00
Henrik Lissner
a0c901cca7
fix(format): lsp-mode/eglot formatters
There seems to be context that eglot needs that isn't available in
Apheleia's scratch buffer.

Fix: #7962
2024-08-22 12:32:14 -04:00
pancho horrillo
879c0b06a4 refactor!(go): remove go-guru
BREAKING CHANGE: Removes go-guru from the Go module. It has been
deprecated upstream in favor of gopls, the official Go LSP server.

Close: #7995
Ref: golang/go/issues/65880
Co-authored-by: Henrik Lissner <git@henrik.io>
2024-08-22 12:29:54 -04:00
Vu Quoc Huy
c27387ce76
fix(latex): enable LSP on LaTeX-mode-local-vars-hook too 2024-08-22 12:29:15 -04:00
Chenty
b835e7b6ec
fix(workspaces): don't overwrite previously workspaces on save
Otherwise, each time `+workspace-save` is called, all prior saved
workspaces would be deleted from `+workspaces-data-file` before
inserting the new one.
2024-08-22 12:20:17 -04:00
6aea3c184d dev: merge branch 'master' of github.com:doomemacs 2024-08-22 10:01:32 -04:00
Henrik Lissner
dbcd30820b
fix(eshell): eshell-did-you-mean: sequencep 771 error
Also removes obsolete hack for eshell-did-you-mean (see
xuchunyang/eshell-did-you-mean#2).

Ref: xuchunyang/eshell-did-you-mean#2
2024-08-21 14:53:23 -04:00
Henrik Lissner
122e3732f7
fix(markdown): disable meta keybinds if evil-disable-insert-state-bindings
While I don't intend to respect `evil-disable-insert-state-bindings`
everywhere, exhaustively (such as org's rebinding of return or tab), I
will do it for non-essential keybinds that have a high likeliness of
overwriting navigation commands (like meta keys).
2024-08-21 13:40:11 -04:00
Henrik Lissner
aa8c31cf08
fix(vc-gutter): wrong-number-of-args error
A regression introduced in ded3f5e.

Fix: #8009
Amend: ded3f5ec83
2024-08-21 12:57:28 -04:00
ba6a99df4d dev: merge branch 'master' of 2024-08-21 09:37:15 -04:00
Henrik Lissner
ff9c59df46
tweak(vc-gutter): disable diff-hl-mode in pdf-view-mode 2024-08-21 05:04:25 -04:00
Henrik Lissner
ded3f5ec83
fix(vc-gutter): runaway diff-hl threads & immortal buffers
This was an elusive bug caused by two upstream behaviors:

1. `kill-buffer` will silently refuse to kill a buffer if there is a
   thread associated with it.
2. `global-diff-hl-mode` activates `diff-hl-mode` in *most* buffers,
   even invisible ones. This calls `diff-hl-update` each time
   it does. This isn't a problem *unless* you have `diff-hl-update-async`
   enabled, because it creates a thread every time `diff-hl-update` is
   called. That means for every buffer -- real or transient -- you have
   a new thread queued.

And this caused two main issues:

1. Temporary buffers are often opened and closed very rapidly (often
   faster than the thread can complete), so they weren't getting cleaned
   up. I hope you weren't too attached to your memory, because you'll
   have a lot of buried buffers to feed before long!
2. In cases where `diff-hl-update` simply takes a long time, multiple
   calls to it would queue more threads. When Emacs eventually yields
   the CPU to them, you'll get random,
   impossible-to-predict-or-track-down freezes. Joy!

This may very well be enough reason to disable `diff-hl-update-async` by
default, but I didn't want to give up on it *just* yet, despite how
inelegant this solution is...

Fix: #7954
Fix: #7991
2024-08-21 05:03:30 -04:00