Commit Graph

20285 Commits

Author SHA1 Message Date
Henrik Lissner
9debe1b3fc bump: centered-window
anler/centered-window-mode@80965f6c6a -> emacsmirror/centered-window@80965f6c6a

anler/centered-window-mode has vanished, causing errors when installed
with ':lang (org +present)'.

Fix: #8512
2025-09-18 10:46:23 -04:00
Henrik Lissner
f3b4314dda docs(editorconfig): revise usage section 2025-09-18 00:24:21 -04:00
Henrik Lissner
64b085b381 fix(editorconfig): default to native binary, if available
The default editorconfig implementation was changed upstream to the
elisp one, but — for the principle of least surprise — I believe it
should be the other way around: if the user has the native binary
installed, they're likely expecting it to be used; it will fall back to
the elisp implementation otherwise.

Also updates documentation to reflect these changes and removes the
doctor warning about a missing binary.

Ref: editorconfig/editorconfig-emacs#209
2025-09-18 00:24:04 -04:00
Henrik Lissner
09a80927f3 docs(editorconfig): remove obsolete hack
The hack was removed in 41e81f6.

Amend: 41e81f67a7
2025-09-18 00:17:31 -04:00
Henrik Lissner
a72c865c35 tweak(org): don't configure ob-python
More recent versions of ob-python (Org 9.7+) calculates the python
command from `python-shell-interpreter` and
`python-shell-interpreter-args`, effectively rendering this block
(mostly) redundant. It still leaves
`org-babel-python-command-nonsession` to be changed, but I think I'll
leave that to users to set, for simplicity's sake.

What's more, users who repin Org to an older version (predating
bzg/org-mode@9239b0e8d1) will see void-variable errors for this new
variable.

Fix: #8509
2025-09-17 23:28:46 -04:00
Henrik Lissner
4c9dee2c78 fix(tree-sitter): treesit-extra-load-path: use file-name-concat
In case doom-profile-data-dir doesn't end with a slash (which is a
stipulation I won't be enforcing for Doom's dir variables in v3 and
beyond).

Fix: #8511
2025-09-17 17:49:22 -04:00
Henrik Lissner
4159a4f7da refactor(default): remove defunct taskrunner keybinds
The taskrunner module was removed in 27539e2.

Amend: 27539e225e
2025-09-17 16:18:50 -04:00
Henrik Lissner
6365309164 tweak: use :tools (lsp +eglot) by default 2025-09-17 15:55:55 -04:00
Henrik Lissner
1b4a629897 perf(tramp): memoize common TRAMP I/O
This is experimental.

Ref: https://coredumped.dev/2025/06/18/making-tramp-go-brrrr.
2025-09-17 15:55:55 -04:00
Henrik Lissner
0fb377c057 fix(tramp): direct-async + lsp-mode/eglot interop
Neither lsp-mode nor eglot work over tramp with direct-async on, but I
don't want to disable direct-async globally just for lsp-mode/eglot
users, so I try to disable it solely for their stdio processes.

More testing is needed to weed out edge cases that may result from this.

Ref: emacs-lsp/lsp-mode#4573
Fix: #8510
2025-09-17 15:55:55 -04:00
Henrik Lissner
b2c9faf345 tweak(tramp): remote-file-name-inhibit-auto-save-visited = t
Less I/O = faster connections.
2025-09-17 15:55:55 -04:00
Henrik Lissner
5217f37703 fix(tramp): magit-tramp-pipe-stty-settings typo
Amend: 71eae252ac
2025-09-17 15:55:55 -04:00
Henrik Lissner
b277d96d3a nit(tramp): simplify comments
And give credit where it's due.

Also defers connection-local-set-* calls.
2025-09-17 15:55:41 -04:00
Henrik Lissner
6eb467668e fix(org): update org-babel-python-command-nonsession
Ref: bzg/org-mode@9239b0e8d1
2025-09-17 10:45:14 -04:00
Henrik Lissner
a4526fd10d refactor(org): remove ob-ditaa fix
The scripts directory was removed from org-contrib back in Org 9.5. Now,
there is no way to resolve the "correct" location of these jar paths
without cloning the entirety of Worg, which is too heavy a dependency to
manage for an unmaintained package.
2025-09-17 10:40:55 -04:00
Henrik Lissner
6a630660ac fix(org): +jupyter: wrong-number-of-args error
Forgot to remove the extra argument when I converted this from an
:around advice to :before.

Fix: #8509
Amend: 979b3aa8c1
2025-09-17 10:16:53 -04:00
Henrik Lissner
7b35a31322 fix(org): +jupyter: syntax highlighting for remapped modes
Particularly treesit ts-modes.
2025-09-17 10:16:40 -04:00
Henrik Lissner
395a807aae refactor(lib): move fringe/fontset autodefs to doom-compat 2025-09-17 01:23:45 -04:00
Henrik Lissner
4a6f9f741d feat(tree-sitter): add +tree-sitter/doctor command
For a quick diagnosis of the state of tree-sitter support in the current
buffer.
2025-09-17 01:23:45 -04:00
Henrik Lissner
5614faca7a docs(tree-sitter): revise installation docs
To clarify how to enable tree-sitter, fully.
2025-09-17 01:23:45 -04:00
Henrik Lissner
e0729fa7d7 refactor!(debugger): remove dap-mode
BREAKING CHANGE: This removes dap-mode from the debugger module. Use
dape instead.

dap-mode was deprecated in b4bd368 when realgud was replaced with dape,
which has been excellent, so I want to focus this module's support on it
going forward.

Ref: b4bd368485
2025-09-17 01:23:28 -04:00
Henrik Lissner
979b3aa8c1 refactor(org): +jupyter: loader & ob-async blacklist 2025-09-17 01:23:05 -04:00
Henrik Lissner
fd03386f6d fix(org): jupyter-org-interaction-mode: remove redundant hook 2025-09-17 01:23:02 -04:00
Henrik Lissner
6a270b64d5 fix(direnv): void-variable Info-directory-list error
Ref: purcell/envrc#117
Amend: b72fe2bd37
2025-09-16 11:03:42 -04:00
Henrik Lissner
e87a92be75 tweak(magit): only preserve point if region-active-p
Only preserve cursor/window position on stage/unstaging/discarding/etc
hunks when region is active. Otherwise, it's fine not to.
2025-09-15 21:43:54 -04:00
Henrik Lissner
95a375182b fix(python): remove 'basedpyright --stdio'
Seems 'basedpyright' doesn't support --stdio and
'basedpyright-langserver' is expected for this use case.

Fix: #8436
Amend: 5776adc6be
2025-09-15 19:29:22 -04:00
Henrik Lissner
e10477d6d1 docs: revise & expand project prerequisites 2025-09-15 18:53:31 -04:00
Henrik Lissner
35d2934727 refactor(tree-sitter): dynamic-modules doctor check 2025-09-15 18:53:31 -04:00
Henrik Lissner
71ec9a9733 fix: backport treesit-available-p sooner
This fixes Doom for Emacs 27-28 users (or builds without treesit).
2025-09-15 18:53:31 -04:00
Henrik Lissner
64802ae654 nit(ligatures): packages.el: add missing comment header 2025-09-15 18:53:31 -04:00
Henrik Lissner
5cfaf59402 refactor(cli): doom make: accept functions in make targets
A little less magical (and more performant) than interpolation.
2025-09-15 18:53:31 -04:00
Henrik Lissner
15a0e90808 fix(lib): doom-rcfile-read: ensure $PWD is the rcfile's dir 2025-09-15 18:53:31 -04:00
Henrik Lissner
a8297a2565 dev: add LICENSE make target 2025-09-15 18:53:30 -04:00
Henrik Lissner
b82b95e98d fix(cli): doom make: omit file path about output 2025-09-15 18:53:30 -04:00
Henrik Lissner
f6e6ed82c5 dev: fix CODEOWNERS
Extra output at top.

Amend: bbf6398ff9
2025-09-15 18:53:30 -04:00
Henrik Lissner
39534b3d87 bump: :doom
emacs-straight/project@a0ebb2e9cf -> emacs-straight/project@e8615777cb
radian-software/straight.el@25e0206541 -> radian-software/straight.el@e6d691d7c5
rainstormstudio/nerd-icons.el@6868c05c6e -> rainstormstudio/nerd-icons.el@3774e0578b
2025-09-15 18:53:30 -04:00
Henrik Lissner
b72fe2bd37 feat(lib): profiles: more portable load-path/Info-directory-list
The Emacs appimage generates a new mountpoint on each invokation, but
Doom's profiles assume that the Emacs directories don't move. To make
Doom's profiles a little more profile, it will no longer set `load-path`
and simply add the new paths to the existing one. Same for
Info-directory-list.

Consequently, this also seems to speed up startup times for ~8% in my
tests. Neat.
2025-09-15 18:53:30 -04:00
Tomek Wałkuski
4e22e681cd fix(ada): s/defaul/default/ 2025-09-15 09:10:51 -04:00
Henrik Lissner
9429892d20 docs: revise packages.example.el 2025-09-14 23:26:40 -04:00
Henrik Lissner
c4ec232206 refactor: vc-ignore-dir-regexp: move to :emacs vc 2025-09-14 23:24:30 -04:00
Henrik Lissner
03e286feb4 docs(lsp): add demos.org
Picked up by the :lang emacs-lisp module's elisp-demos package when
displaying help.el/helpful documentation.
2025-09-14 23:17:31 -04:00
Henrik Lissner
71eae252ac module: add :emacs tramp 2025-09-14 21:25:04 -04:00
Henrik Lissner
0d41af1ef7 fix(cli): doom make: remove extra stdout output
Amend: 18403ab521
2025-09-14 21:04:39 -04:00
Henrik Lissner
2775cc75f9 fix(lsp): lsp-use-plists: ensure profile generator
Profile generators with the *.auto.el suffix are auto-deleted on every
'doom sync'. Also ensures it's deleted if lsp-mode is rebuilt with
lsp-use-plists disabled.

Amend: 5a9a2f4e18
2025-09-14 17:02:44 -04:00
Henrik Lissner
8df5d66ef7 bump: :tools
andras-simonyi/citeproc-el@f5217b9fdb -> andras-simonyi/citeproc-el@9f16f2eee4
editorconfig/editorconfig-emacs@f85ec9724b -> editorconfig/editorconfig-emacs@4af10445fc
emacs-straight/dape@81ee231de1 -> emacs-straight/dape@a2d7dc9a8d
karthink/gptel@40f6950e80 -> karthink/gptel@f66e44368f
purcell/envrc@48a2ee6a4d -> purcell/envrc@4fc7b657ea
2025-09-14 16:25:12 -04:00
Henrik Lissner
bbf6398ff9 dev: update CODEOWNERS 2025-09-14 16:25:12 -04:00
Henrik Lissner
18403ab521 refactor(cli): doom make
Redesigns the 'doom make' command and the CODEOWNERS rule in
.doom (which is now obeyed on 'doom make .github/CODEOWNERS').
2025-09-14 16:25:12 -04:00
Henrik Lissner
282e781a51 feat(lib): add doom-rcfile functions
For reading .doom, .doommodule, .doomsource, .doomprofile, and
.doomprofiles files.
2025-09-14 16:25:12 -04:00
Henrik Lissner
5a9a2f4e18 perf(lsp): lsp-use-plists = t
This will supposedly make lsp-mode more memory efficient. It will only
take effect the next time lsp-mode is rebuilt/reinstalled.

It can be undone with this added to $DOOMDIR/packages.el:

  (setq lsp-use-plists nil)
2025-09-14 16:16:40 -04:00
Henrik Lissner
84d5fa2b65 fix(lib): profiles: allow generators w/o an init function 2025-09-14 16:16:40 -04:00