Commit graph

20429 commits

Author SHA1 Message Date
Henrik Lissner
043000f2ca
fix: ensure auto-save file directory exists
Also don't create a tramp sub-directory, so we don't have to ensure two
directories.

Amend: 12e6027bda
2025-12-23 19:03:37 -05:00
Henrik Lissner
bb9762bd03
fix(tramp): remove redundant auto-save transform rule
Clashes with the changes in 12e6027.

Amend: 12e6027bda
2025-12-23 18:15:07 -05:00
Henrik Lissner
e9a6d2954f
docs(vterm,pdf): simplify guix install instructions
The extra config wasn't necessary.

Ref: #8608
Co-authored-by: hpfr <hpfr@users.noreply.github.com>
2025-12-23 02:51:37 -05:00
Henrik Lissner
12e6027bda
tweak: improve recognizability of auto-save files
Make the resulting auto-save files easier to recognize when perused by
hand (in case of a fatal data loss and recovery situation), by prefixing
the hashed autosave file with the target file name.

Also updates the explanatory comment above it to better explain the
purpose of these defaults.

Also uses file-name-concat in case auto-save-list-file-prefix doesn't
end in a slash.
2025-12-23 02:51:37 -05:00
Henrik Lissner
f5d06a81d4
fix(vc-gutter): debouncer on ESC/hot reload of buffer diff
Amend: 92f99d64dd
2025-12-23 02:51:37 -05:00
Henrik Lissner
ec0a558d18
fix: save files to profile cache/data dir
This doesn't actually change anything yet, unless you're using Doom's
profiles, but this data should be associated with and stored in the
current profile, rather than in the global store.
2025-12-23 02:51:26 -05:00
Henrik Lissner
762f47805a
docs(python): how to change LSP server priority 2025-12-18 17:39:37 -05:00
Henrik Lissner
739c22d566
docs(python): mention better tree-sitter support on 30+
Some newer python features (like except*) aren't supported in older
versions of the Python grammar, which you're stuck with on 29 or older.
2025-12-18 17:38:09 -05:00
Henrik Lissner
4b90927164
docs(pdf): add guix install instructions 2025-12-18 17:27:01 -05:00
Henrik Lissner
ade1e3497c
docs(vterm): add guix install instructions
Close: #8608
Co-authored-by: KaizerPublications <KaizerPublications@users.noreply.github.com>
2025-12-18 17:18:47 -05:00
Henrik Lissner
13c6696f97
docs(vterm): update & revise
Reduce redundancy, update old information, and minor reformatting.
2025-12-18 17:18:01 -05:00
Henrik Lissner
53c211c75b
fix(vc-gutter): "autosave file in local temp dir" tramp prompts
Tramp users get bombarded with these prompts because diff-hl exploits
`make-auto-save-file-name` to generate paths to its temp files *and*
writes them to `temporary-file-directory`, which
`tramp-handle-make-auto-save-file-name` doesn't like.
2025-12-18 16:55:50 -05:00
Henrik Lissner
70dfafdd57
bump: :ui vc-gutter
dgutov/diff-hl@0fe1bc0fd8 -> dgutov/diff-hl@e79aa49ad3
2025-12-18 16:52:48 -05:00
Henrik Lissner
05f2109345
docs: clarify Emacs version requirements 2025-12-18 02:45:42 -05:00
Henrik Lissner
8f31710bef
fix: remove doom-make-hashed-auto-save-file-name-a
This functionality was upstreamed to Emacs in 28, given the appropriate
`auto-save-file-name-transforms` rule whose UNIQUIFY argument names a
`secure-hash` algorithm (e.g. sha1), so we no longer need our cludge.

This also fixes an issue where TRAMP was saving its auto-save files to
the current working directory, rather than `tramp-auto-save-directory`.

Fix: doomemacs/community#53
2025-12-18 01:00:21 -05:00
Henrik Lissner
ffe76ec872
fix: void-function string-empty-p in Emacs 27.x
Doom core will always support 27.x (for CLI/noninteractive use), but
string-empty-p was in subr-x up until 28, which isn't worth loading this
early in the startup process.
2025-12-18 00:58:50 -05:00
Henrik Lissner
0dfb874b57
bump: cond-let
tarsius/cond-let@HEAD -> tarsius/cond-let@288b7d3656 (v0.2.0)

Fix: #8606
2025-12-17 03:39:03 -05:00
Henrik Lissner
a59d2537ff
fix(markdown): pre-31 tree-sitter support
Fix tree-sitter support for users on Emacs 30 or older and for ABI==14.
2025-12-17 02:17:33 -05:00
Henrik Lissner
1d51b7a1a0
docs(python): update and mention ty
- Remove mention of obsolete LSP servers.
- Recommend astral-sh/ty over others.
- Remove defunct anaconda keybinds.
2025-12-17 02:17:33 -05:00
Henrik Lissner
62ee557c32
feat(format): set-formatter!: assign existing formatter to mode(s)
Allows:

  (set-formatter! 'ruff :modes '(python-mode python-ts-mode))

Prior to this, you'd have to supply the whole definition to assign an
existing formatter to new modes.
2025-12-17 02:17:33 -05:00
Henrik Lissner
2657df70a3
nit: doom.el: revise comments 2025-12-17 02:17:33 -05:00
Henrik Lissner
a81d92451f
module: deprecate :tools ein
The upstream isn't consistently maintained and is a source of many bug
reports. A code-cells.el-based module will replace it soon.

Ref: #7257
2025-12-17 02:17:33 -05:00
Henrik Lissner
0d0561f9fe
perf(vc-gutter): no async and increase flydiff delay on macos
MacOS especially seems to struggle with either async process management
or low timer delays, and diff-hl tends to spin up many async `git`
processes frequently, potentially causing freezes or intense typing
delays for Mac users.

Ref: #8554
2025-12-17 02:17:33 -05:00
Henrik Lissner
a457047943
perf(company,corfu): increase idle delay on macos
MacOS especially seems to struggle with either async process management
or low timer delays, so I turn down idle completion there.
2025-12-17 02:17:33 -05:00
Henrik Lissner
92f99d64dd
fix(vc-gutter): update diff-hl on ESC or switching window/frame
The former debouncer wasn't actually doing anything, meaning
diff-hl-update was triggered way more often than it needed to be.
2025-12-17 02:17:32 -05:00
Henrik Lissner
2c682d60de
fix: don't save tramp auto-save files in CWD
Fix: doomemacs/community#53
Amend: 71eae252ac
2025-12-17 02:17:32 -05:00
Henrik Lissner
0181ba2513
docs(markdown): tree-sitter support in 31+
A superior markdown-ts-mode was introduced in Emacs 31. Pre-31 users get
LionyxML/markdown-ts-mode.
2025-12-17 02:17:32 -05:00
Henrik Lissner
81261c26eb
docs(pdf): update to use new pdf-tools repo link
Close: #8602
Co-authored-by: webframp <webframp@users.noreply.github.com>
2025-12-17 02:17:32 -05:00
Ajai Khatri Nelson
59956c3aab fix(cc): typo in +cc-lineup-arglist-close
Fix: #7165
2025-12-14 15:05:20 -05:00
Kevin Ji
64fe0771d8 bump: :tools lsp
emacs-lsp/lsp-mode@4c5360b451 -> emacs-lsp/lsp-mode@596e6dadef
2025-12-14 15:04:55 -05:00
Henrik Lissner
e69d417c5f
fix(cli): upgrade: don't 'doom sync' if aborted
There are some cases where the upgrade process will abort (due to
failure or user input), and it then runs `doom sync` anyway. Don't do
that.

Fix: #8595
2025-12-13 18:10:28 -05:00
Henrik Lissner
b6eef6941b
bump: closql
magit/closql@HEAD -> magit/closql@4a60723ae4 (v2.3.2)

Enforce version constraints between closql and forge.

Fix: #8580
2025-12-13 18:10:16 -05:00
Henrik Lissner
59e5253dbc
fix(elixir): elixir-ls integration
Fix: #8584
Amend: 22f86d25e9
2025-12-13 16:58:51 -05:00
Henrik Lissner
8069d23628
fix(nix): nixos-options dependency w/o company or helm
Fix: #8585
2025-12-13 16:51:13 -05:00
Henrik Lissner
008a539d62
dev: simplify bug_report
Less to read = more likely to be read.
2025-12-10 19:31:36 -05:00
Henrik Lissner
1847ed97d6
bump: :lang ada cc common-lisp ess javascript ocaml scheme
OCamlPro/ocp-indent@1213857683 -> OCamlPro/ocp-indent@e2ac9daae2
atomontage/xterm-color@2ad407c651 -> atomontage/xterm-color@ce82e87ea3
brownts/ada-ts-mode@d0c1c124b2 -> brownts/ada-ts-mode@52e0fd1160
emacs-ess/ESS@8369d574f1 -> emacs-ess/ESS@7b9123669c
emacs-geiser/geiser@c8b862f00e -> emacs-geiser/geiser@43b9a034aa
emacs-lsp/emacs-ccls@34251b799e -> emacs-lsp/emacs-ccls@12b43b357e
emacs-typescript/typescript.el@481df3ad2c -> emacs-typescript/typescript.el@2535780bdb
joaotavora/sly@63131ef965 -> joaotavora/sly@6a303bae74
ocaml/dune@28b7e8f3b2 -> ocaml/dune@a40c461736
ocaml/merlin@8b88b89ee7 -> ocaml/merlin@ecfbed3976
ocaml/tuareg@1600fdad28 -> ocaml/tuareg@f0cb55f217
2025-12-08 17:17:14 -05:00
Henrik Lissner
819af28701
fix(calendar): adapt to upstream refactor (part 3)
s/calfw-open-org-calendar/calfw-org-open-calendar

Amend: 43a93e8321
Amend: 4186b63b38
Amend: 5222baa373
Fix: doomemacs#8598
Ref: kiwanami/emacs-calfw@b7c26ecbe9
2025-12-08 16:36:28 -05:00
Henrik Lissner
3ad2d9cdbb
bump: :lang agda coq elixir erlang
ProofGeneral/PG@fbb2878e49 -> ProofGeneral/PG@d60382db08
agda/agda@5e31b2534d -> agda/agda@0d52fa2217
erlang/emacs-erlang-ts@eb579dd55f -> erlang/emacs-erlang-ts@959907d26d
erlang/otp@2a970bf725 -> erlang/otp@e281016db9
2025-12-07 18:01:05 -05:00
Henrik Lissner
43a93e8321
fix(calendar): adapt to upstream refactor (part 2)
Amend: 4186b63b38
Amend: 5222baa373
Fix: doomemacs#8598
Ref: kiwanami/emacs-calfw@b7c26ecbe9
2025-12-07 18:01:05 -05:00
Henrik Lissner
01b958ea35
fix(lib): print!: lost newlines in output
Some lines separated with a single newline were joined by
fill-paragraph.
2025-12-07 17:51:35 -05:00
Henrik Lissner
a3a98cee68
docs: doctor: generalize non-POSIX shell check
To detect *any* non-POSIX shell.
2025-12-07 17:51:35 -05:00
Henrik Lissner
6434987fb2
docs: doctor: add non-writable $TMPDIR check 2025-12-07 17:45:09 -05:00
KARASZI István
9ef731939a bump: :lang clojure
clojure-emacs/cider@389833f85a -> clojure-emacs/cider@fb7aa88812
clojure-emacs/clojure-ts-mode@32490c80fa -> clojure-emacs/clojure-ts-mode@96fdffcbe9
2025-12-04 16:28:56 -05:00
Henrik Lissner
4186b63b38
fix(calendar): adapt to upstream refactor
A large scale refactor upstream renamed the cfw: prefix with calfw-.

Amend: 5222baa373
Fix: #8598
Ref: kiwanami/emacs-calfw@b7c26ecbe9
2025-12-04 14:02:06 -05:00
Henrik Lissner
a4a61976dc
bump: :lang idris latex markdown
ardumont/markdown-toc@e3429d3014 -> ardumont/markdown-toc@d3324cb6bc
emacs-straight/auctex@a2809e4d70 -> emacs-straight/auctex@a6f4741c22
idris-hackers/idris-mode@da5c22f436 -> idris-hackers/idris-mode@85928dc4cc
jrblevin/markdown-mode@d51c469133 -> jrblevin/markdown-mode@92802fae9e
seagle0128/grip-mode@11fecd5b38 -> seagle0128/grip-mode@26bdadf604
2025-12-04 04:42:04 -05:00
Henrik Lissner
deaf794ccf
fix(tree-sitter): pre-30 compatibility
0d2f10d introduced a regression that broke the arity check in
`set-tree-sitter!` for pre-30 compatibility, because `func-arity`
returned the arity of the advice, not the advised function, so the
`commit` argument was always stored in `treesit-language-source-alist`,
even before it was supported, resulting in wrong-number-of-args errors
for users on Emacs <=29.

Amend: 0d2f10dcab
2025-12-04 04:42:04 -05:00
Henrik Lissner
5965c4b12a
fix(cli): EMACS_PLUS_NO_PATH_INJECTION=1
emacs-plus contaminates the shell environment and interferes with Doom's
envfile generator.
2025-12-04 04:41:55 -05:00
Henrik Lissner
0d2f10dcab
fix(tree-sitter): arity error installing grammars on <=29 2025-12-03 03:58:30 -05:00
Henrik Lissner
fd643d78a8
bump: :lang haskell java julia ledger nix racket
emacs-lsp/lsp-haskell@aa9b5bce35 -> emacs-lsp/lsp-haskell@871a0ef2e9
emacs-lsp/lsp-java@9230a0007c -> emacs-lsp/lsp-java@acbc074f30
gcv/julia-snail@cacf52e4c8 -> gcv/julia-snail@7b50882f5a
greghendershott/racket-mode@172b7d4c5a -> greghendershott/racket-mode@d98852ef6d
haskell/haskell-mode@e5d32021ea -> haskell/haskell-mode@383b4b7775
https://codeberg.org/pranshu/haskell-ts-mode@b47211699944 -> https://codeberg.org/pranshu/haskell-ts-mode@b7db74c7fe96
ledger/ledger-mode@e9bb645e8f -> ledger/ledger-mode@1cee636788
nix-community/nix-ts-mode@e68ef36312 -> nix-community/nix-ts-mode@706bbfaf7f
2025-12-03 00:04:42 -05:00
Henrik Lissner
ae48bc323e
revert: indent-bars
jdtsmith/indent-bars@01856e1962 -> jdtsmith/indent-bars@01856e1962

Partially reverts the indent-bars bump in 2e16934 due to breaking
incompatibilities (with other plugins that use face-remapping, like
solaire-mode or user-configured remappings) caused by the new
face-remapping facilities introduced in
jdtsmith/indent-bars@40bb86f47b. Until it's resolved upstream, we
revert to the last known working commit.

Amend: 2e16934f02
Ref: jdtsmith/indent-bars@40bb86f47b
2025-12-03 00:03:36 -05:00