Commit graph

20439 commits

Author SHA1 Message Date
Jaeseok Lee
ae05c26eec
fix(cli): omit -D when restarting CLI
The -D short flag was not being omitted during restart, causing an
infinite loop when using `doom sync -D`. Only --debug was added to the
omit list, but -D also triggers debug? and needs to be removed.
2025-12-30 22:50:17 -05:00
Boris Verkhovskiy
1ee1f8f265
tweak(macos): ns-use-native-fullscreen = t
Reverts `ns-use-native-fullscreen` to default value.
2025-12-30 22:49:18 -05:00
Ajai Khatri Nelson
45e951c1b2 fix(dired): +dired/dirvish-side-and-follow errors
+dired/dirvish-side-and-follow was referring to several private dirvish
functions that no longer exist. Because dirvish-side--auto-jump no
longer sets a timer before running, we can now just call
dirvish-side--auto-jump directly instead of copying from its body.
2025-12-30 22:48:13 -05:00
richard134
21682009b1
feat(lib): add toggle scratch buffer commands
Add `doom/toggle-scratch-buffer` and `doom/toggle-project-scratch-buffer`
commands that toggle scratch buffer visibility, consistent with how
`SPC o t` toggles the terminal popup.

Also extract mode determination logic into `doom--scratch-buffer-initial-mode`
helper to ensure toggle commands respect `doom-scratch-initial-major-mode`
configuration (including mode inheritance when set to `t`).

Keybindings updated to use toggle variants:
- `SPC x` (evil) / `C-c f x` (emacs) for scratch buffer
- `SPC p x` (evil) / `C-c p x` (emacs) for project scratch buffer

Fix: #8604
2025-12-24 18:24:01 -05:00
Paweł Świątkowski
639c320250
tweak(elixir): remove ligatures
The choice of ligatures seems quite arbitrary, sometimes wrong
(there's no return in Elixir), and perhaps too much opinionated for a
default config. They also change the text in comments and docstrings,
making them much less readable.
2025-12-24 18:22:19 -05:00
Henrik Lissner
7234b5eb0a
docs(lsp): mention emacs-lsp/lsp-mode#4445
The original ZLS issue was resolved, but it hasn't been resolved on
lsp-mode's end, so reference it for future me.
2025-12-24 18:17:47 -05:00
Henrik Lissner
e667e67fc3
fix(vertico): out-of-range error w/ zero-length pattern
Fix: #8610
Co-authored-by: jashmac <jashmac@users.noreply.github.com>
2025-12-24 14:54:05 -05:00
Henrik Lissner
8936805741
docs(python): remove anaconda-mode
The package was removed in 52c385c.

Amend: 52c385c033
2025-12-24 02:51:16 -05:00
Henrik Lissner
17ea26bd1a
fix(eshell): s/use-package/use-package!
Prevented users from disabling the package.
2025-12-24 02:02:16 -05:00
Henrik Lissner
85183e606d
fix: auto-save prefix
Would otherwise append the full prefix onto the default-directory of the
current buffer.

Amend: 12e6027bda
2025-12-23 19:04:25 -05:00
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