Commit graph

19292 commits

Author SHA1 Message Date
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
Henrik Lissner
e21e01d4c2
fix(cli): doom env: blacklist $WAYLAND_DISPLAY 2024-08-23 02:50:19 -04:00
Henrik Lissner
c901f5806e
fix(cli): straight ignoring native-comp-jit-compilation-deny-list
Turns out native-comp doesn't respect
`native-comp-jit-compilation-deny-list` if called explicitly (instead of
from deferred compilation).

Fix: #5592
Fix: #6283
Fix: #3655
2024-08-23 02:50:19 -04:00
Henrik Lissner
ba01418652
revert: fix: straight-built-in-pseudo-packages: add seq
Magit requires a newer version of seq than what's available on 28.x or
older or it spews out warnings.

Revert: bc634eaca0
2024-08-23 01:27:54 -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
bc634eaca0
fix: straight-built-in-pseudo-packages: add seq
Avoid installing a newer (or older) and possibly incompatible copy of
seq.

Also, seq would get installed along with its unit tests, and Emacs will
hang trying to natively compile them, so...
2024-08-22 20:09:03 -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
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
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
Henrik Lissner
fe15b1daf3
fix(dired): remove keybind to nonexistent command
Amend: e82dab3257
Co-authored-by: kalwk <kalwk@users.noreply.github.com>
2024-08-21 05:02:43 -04:00
Henrik Lissner
4ed3e75f5f
fix(dired): fail gracefully if pdf-tools isn't installed
Will throw a "void-variable pdf-info-epdfinfo-program" error if
pdf-tools isn't installed (or `:tools pdf` is disabled).
2024-08-21 02:15:40 -04:00
Henrik Lissner
a6c3c6842a
refactor(dired): use dirvish-preview-environment
- Remove +dired--suppress-hooks-in-previews-a, because Dirvish already
  does this.
- Exploit dirvish-preview-environment instead of hardcoding the
  enable-local-variables let-binding for the child process. Its defaults
  are more reasonable.
2024-08-21 02:11:55 -04:00
Henrik Lissner
f3e9920e80
bump: magit
magit/magit@3b37048688 -> magit/magit@2da34f1317

- Whoops. The HEAD of magit's melpa branch is auto-generated and rebased
  to the front, so pinning to its HEAD will always eventually break.

Fix: #8007
Amend: 5e70fe1697
2024-08-21 00:18:06 -04:00
Henrik Lissner
c78e49e862
tweak(corfu): corfu-auto-delay = 0.24
Increase the delay slightly, to stave off slowness with slower backends.
2024-08-20 21:49:41 -04:00
Henrik Lissner
5e70fe1697
bump: :tools magit
magit/forge@a56eb3cbb2 -> magit/forge@1e7ee99c7f
magit/magit@cf94190410 -> magit/magit@3b37048688

Due to a force push upstream, the magit ref we were pinned to no longer
worked, prompting this bump.

Fix: #8007
2024-08-20 21:43:03 -04:00
Henrik Lissner
41dab49c17
fix(biblio): s/+roam/+roam2
This change accidentally snuck into 109aa2c.

Fix: #8008
Amend: 109aa2c159
2024-08-20 21:42:17 -04:00
Henrik Lissner
c1c3b521d6
bump: :editor evil
emacs-evil/evil-collection@e49d8e96cc -> emacs-evil/evil-collection@772571fc67
emacs-evil/evil@30ebe6df27 -> emacs-evil/evil@5db0bdc7dc
2024-08-20 18:07:42 -04:00
Henrik Lissner
d1e5a285fe
fix(vc): git-timemachine: enable font-lock-mode 2024-08-20 16:44:23 -04:00
Henrik Lissner
abf19aa63e
tweak(format): +format/region: emit message on success 2024-08-20 16:36:22 -04:00
Henrik Lissner
67e5dda526
fix(format): void-function +javascript-npm-conf error
Amend: c0a1b9efc9
Close: #8005
2024-08-20 16:27:34 -04:00
Henrik Lissner
bf330b405d
refactor(ligatures): use (featurep 'harfbuzz)
Doom adds this feature in lisp/doom.el.
2024-08-20 00:09:55 -04:00
Henrik Lissner
0ce403d069
refactor(ligatures): set-font-ligatures!: unsetting multiple modes
This changes set-font-ligature such that unsetting multiple modes will
properly manipulate multi-mode entries in ligature-composition-table.
2024-08-20 00:03:50 -04:00