Commit Graph

20061 Commits

Author SHA1 Message Date
Henrik Lissner
751ac6134b fix(treemacs): persp-mode compatibility
The signature of `persp-activated-functions` changed upstream in
persp-mode (bumped in a1121ac), but treemacs hasn't updated its usage of
it yet.

Ref: #8454
Amend: a1121acc94
2025-08-11 02:27:38 +02:00
Henrik Lissner
10bfda2351 fix(eshell): +eshell-switch-workspace-fn: update signature
The signature of `persp-activated-functions` changed upstream in
persp-mode (bumped in a1121ac), causing arity errors when :term eshell
users switch workspaces.

Ref: #8454
Amend: a1121acc94
2025-08-11 01:36:52 +02:00
Henrik Lissner
c64ca09ed2 fix(workspaces): arity error creating workspaces
The signature of persp-window-state-get-function changed upstream in
persp-mode (bumped in a1121ac).

Fix: #8454
Amend: a1121acc94
2025-08-11 01:22:41 +02:00
Henrik Lissner
9a38ee2428 fix(format): prefix arg inhibiting format-on-save (part 2)
Experimenting with a new approach to this issue, in an effort to avoid
advice on such low level commands ({basic-,}save-buffer). I don't like
that we're still stacking new behavior on top of their pre-existing
prefix arg behavior (manipulating backup-on-save functionality), but
maybe it's not useful enough to worry about?

Fix: #8420
Amend: f0c8290ae2
2025-08-11 01:22:40 +02:00
Henrik Lissner
0ed0072ff2 refactor(lib): doom/set-frame-opacity
Remove redundancies.

Ref: #8395
Amend: 2c18b61c99
2025-08-11 01:22:40 +02:00
Alex Birdsall
4afe5ca09a fix(org,cli): tangle: load ob-* libs for noweb-usable blocks
For performance reasons, Doom CLI runs in a minimal environment wherein
no `ob-<language>` libraries are initially loaded; but tangling a
document with noweb-enabled blocks can trigger an org-babel evaluation
of any noweb-addressable block; and any such evaluation will fail
tangling with an error unless the correct `ob-<language>` library has
been loaded.

So. This changes the tangle CLI function to note any noweb-addressable
labels (i.e. any `#+NAME:` or `:noweb-ref` associated with a block) when
iterating through the source document's blocks; for each block where one
is found, it conditionally attempts to `require` the corresponding
`ob-<src-lang>` library.
2025-08-10 15:49:18 +02:00
Henrik Lissner
dd33275dc2 bump: :lang rest
emacsorphanage/restclient@e2a2b13482 -> emacsorphanage/restclient@bba663590f
ljos/jq-mode@eeb86b4d5a -> ljos/jq-mode@3275c3f53f

Fix: doomemacs/discussions#14
2025-08-10 15:34:44 +02:00
Henrik Lissner
a1121acc94 bump: :ui
Alexander-Miller/treemacs@abd27c86df -> Alexander-Miller/treemacs@5fa8419950
Bad-ptr/persp-mode.el@40e9993a97 -> Bad-ptr/persp-mode.el@f146ddccaf
dgutov/diff-hl@9b032018fd -> dgutov/diff-hl@39f076efa8
doomemacs/themes@729ad03463 -> doomemacs/themes@3152c60bb5
jaypei/emacs-neotree@4a4cd85761 -> jaypei/emacs-neotree@3178805a09
jdtsmith/indent-bars@87729d685d -> jdtsmith/indent-bars@aa07a3d812
jdtsmith/ultra-scroll@b447044b9d -> jdtsmith/ultra-scroll@8c92a17743
minad/goggles@5176114e99 -> minad/goggles@791140df23
seagle0128/doom-modeline@a85cb28da8 -> seagle0128/doom-modeline@cb703c217e
tarsius/hl-todo@7ed8bbcadb -> tarsius/hl-todo@b8be53068b

Includes some refactors to the workspaces and vc-gutter modules to adapt
to upstream changes in persp-mode and diff-hl.
2025-08-10 15:34:44 +02:00
Henrik Lissner
708cf08a74 bump: :app
emacs-circe/circe@e5e64d549f -> emacs-circe/circe@a0aada8cbb
https://git.savannah.gnu.org/git/emms.git@e5f46561c3c1 -> https://git.savannah.gnu.org/git/emms.git@e3824b81b11a
karthink/elfeed-tube@79d5a08d76 -> karthink/elfeed-tube@307bcfb30b
kidd/org-gcal.el@9f9d93e4f0 -> kidd/org-gcal.el@23561f63b9
2025-08-10 15:34:44 +02:00
Henrik Lissner
a9b61258f5 bump: :editor
emacs-evil/evil-collection@4748cfb784 -> emacs-evil/evil-collection@3feaee8e29
emacs-tree-sitter/ts-fold@327757e436 -> emacs-tree-sitter/ts-fold@af50e738ea
emacsorphanage/god-mode@fbcf7381c4 -> emacsorphanage/god-mode@b09ad56dc8
radian-software/apheleia@f3308f53d3 -> radian-software/apheleia@f1d36031fc
2025-08-10 15:34:44 +02:00
Henrik Lissner
09e5bc9ecc bump: :tools
NicolasPetton/pass@896696999d -> NicolasPetton/pass@7651389c52
Silex/docker.el@464105ed8b -> Silex/docker.el@91233a7c55
andras-simonyi/citeproc-el@d232616851 -> andras-simonyi/citeproc-el@f36650536b
editorconfig/editorconfig-emacs@d2beb3ec2e -> editorconfig/editorconfig-emacs@f85ec9724b
emacs-ansible/emacs-ansible@8474bd186b -> emacs-ansible/emacs-ansible@7385222a4f
emacs-lsp/lsp-mode@3a96df0dd7 -> emacs-lsp/lsp-mode@65a414ddeb
emacs-lsp/lsp-ui@a0dde8b52b -> emacs-lsp/lsp-ui@bbb1aa0192
emacs-straight/dape@1df7834306 -> emacs-straight/dape@411e4b6126
emacs-straight/eglot@6a9e0c76b9 -> emacs-straight/eglot@a8cb16b833
emacs-tree-sitter/elisp-tree-sitter@1c455b0953 -> emacs-tree-sitter/elisp-tree-sitter@caeb32e8a7
emacs-tree-sitter/tree-sitter-langs@59979a1f5c -> emacs-tree-sitter/tree-sitter-langs@9b7e508435
flycheck/flycheck-eglot@18d0c98695 -> flycheck/flycheck-eglot@0d7f0afc9b
karthink/gptel@0a77446108 -> karthink/gptel@af821efe63
magit/magit@2f1ff91f12 (4.3.6) -> magit/magit@5b820a1d1e (4.3.8)
magit/transient@f3f498aa15 (0.9.2) -> magit/transient@aa32e0d66c (0.9.4)
meain/evil-textobj-tree-sitter@bce236e5d2 -> meain/evil-textobj-tree-sitter@4ca5dffbd3
nicolaisingh/saveplace-pdf-view@79e76562bc -> nicolaisingh/saveplace-pdf-view@dc1e0b28a5
purcell/envrc@cb5f6d2a42 -> purcell/envrc@510807ae96
zx2c4/password-store@b5e965a838 -> zx2c4/password-store@3ca13cd888

Close: #8453
2025-08-10 15:34:44 +02:00
Henrik Lissner
e3299d9359 release(modules): 25.09.0-dev
Ref: 2b39e41368
2025-08-10 15:34:44 +02:00
Henrik Lissner
2c18b61c99 feat(lib): set-frame-opacity: add FRAMES argument
Doesn't change the default behavior of the command, but adds an optional
FRAMES argument (a list of frames or `t` for all open and future
frames). If passed the prefix arg, FRAMES default to `t`, which applies
the opacity change to all open and future frames.

Close: #8395
Co-authored-by: lattarov <lattarov@users.noreply.github.com>
2025-08-10 15:34:43 +02:00
Henrik Lissner
9b1245708b fix(:term): type error if comint-last-output-start is nil
Ref: #8434
Close: #8443
Co-authored-by: DavidAlphaFox <DavidAlphaFox@users.noreply.github.com>
2025-08-10 15:34:43 +02:00
Henrik Lissner
d63a15eba7 fix(lsp): shutdown deferral for multiple LSP clients
If a buffer had multiple LSP servers active,
`+lsp-defer-server-shutdown-a` would only shut down the first. This
adjusts it to not only defer shutdown of all servers, but also ensures
`+lsp-optimization-mode` is only disabled when there are no lsp-mode
sessions left.

Fix: #5409
2025-08-09 23:00:03 +02:00
Tim Ruffing
9219fa7c08 fix(latex): disable smartparens pairs conflicting with AucTeX
This disables smartparens pairs for quotation marks, which are broken.
Before this commit, typing a LaTeX comment
    % "Foo"
inserted
    % ''Foo`|`''
where | indicates the position of the cursor (wtf!).

Let's better AucTeX's support for quotation marks for now and accept
that the user won't get automatic insertions of closing quotation marks.

This also removes a wrong comment mentioning the non-existing variable
`+latex-enable-plain-double-quotes'.
2025-08-09 22:58:37 +02:00
Tim Ruffing
ac530efe87 refactor(latex): reformat code for readability 2025-08-09 22:58:37 +02:00
James Liu
8d60c982f3 tweak(file-templates): update dockerfile template
- Preserves file indentation
- Replace deprecated `MAINTAINER` instruction with `LABEL`

Ref: https://docs.docker.com/reference/dockerfile/#maintainer-deprecated
2025-08-09 22:38:27 +02:00
pancho horrillo
7f71924d3a fix(cli): update reference to deprecated alias 2025-08-09 22:35:34 +02:00
pancho horrillo
8b3894a94b fix(lib): update reference to deprecated alias 2025-08-09 22:35:34 +02:00
pancho horrillo
c2c4f74d3e fix(cli): update call using deprecated alias 2025-08-09 22:35:34 +02:00
DennieTeMolder
cf278cab55 fix(:term): ensure process-buffer is current 2025-08-09 22:33:20 +02:00
Henrik Lissner
ed9190ef00 fix(cli): infinite loop linting long lines in commits
Fix: #8425
2025-07-13 22:28:34 +02:00
Henrik Lissner
dd89efdb42 tweak(lib): doom-debug-variables: add epg-debug 2025-07-13 22:28:34 +02:00
Henrik Lissner
4ae8259946 release(modules): 25.08.0-dev
Ref: 2b39e41368
2025-07-13 22:28:34 +02:00
Henrik Lissner
b6cbfea53d refactor(org): remove +org--follow-search-string-a
This was upstreamed.

Ref: https://cgit.git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=95554543b
2025-07-13 22:28:34 +02:00
Henrik Lissner
1c01ab455f docs: update links in project readme
To reflect our recent migration to Github Discussions et co.
2025-07-13 22:28:34 +02:00
Henrik Lissner
29ec1f40f3 feat(org): jupyter-repl: move cursor to prompt on self-insert-command
Ala 3384414, but for jupyter-repl, which isn't a comint-derived.

Ref: 3384414e957f
2025-07-13 22:28:34 +02:00
Henrik Lissner
47e52ab86f feat(:term): move cursor to prompt on self-insert-command
It's better UX than spewing unhelpful read-only errors.
2025-07-13 21:13:00 +02:00
Henrik Lissner
5a690fc54f feat(:term): confine undo to comint/eshell prompts
Otherwise, undo could delete entire chunks of a shell buffer. This
addresses the issue in eshell, comint shells, and derivatives (like
ielm, shell, or inferior-* shells).

Ref: #8410
2025-07-13 21:13:00 +02:00
Henrik Lissner
1b125ddf7b feat(:term): make previous command output read-only
This makes the output of previous commands and prompts immutable (by
default), so users can't accidentally alter them, which can leave the
buffer in a half-broken state (requiring the user flush out the garbled
input with a couple RETs).

This targets comint shells (shell, ielm, etc), eshell, (ansi-)term, and
any derivatives thereof.

Fix: #8411
2025-07-13 21:12:57 +02:00
Jens Neuhalfen
5b5b170f79 fix(macos): avoid calling nushell's open
Using `shell-command` risks calling any `open` commands defined by the user's
$SHELL.
2025-07-05 22:21:36 +02:00
Prashant Vithani
6010b40247 fix(fold): Use function variables over direct func
Replace direct calls to `hs-looking-at-block-start-p` and
`hs-find-block-beginning` with their corresponding function variables to
ensure compatibility with hideshow mode's configurable function
handling.

These function variables are set in [`treesit` in Emacs 31][1]. It broke
fold because `hs-block-start-regexp` is set to `nil` explicitly by
treesit overrides.

The default for `hs-looking-at-block-start-p-func` and
`hs-find-block-beginning-func` are same as what was being called before.

Ref:
[1]: 2e3b085d44
2025-07-01 14:28:46 +02:00
Henrik Lissner
adf5594c3c docs(cli): update exit codes table
I haven't enforced all of these yet, but will soon as part of the v3
release.
2025-07-01 14:22:10 +02:00
Henrik Lissner
6bd38e2c4d tweak(python): don't use basedpyright by default
Because of the python dev's propensity to use env managers, setting the
pyright executable globally doesn't make much sense, and could in fact
end up intrusively overriding a user's local settings.

A better approach may be to introduce an envvar here that can be set
from external .envrc or venv config files, or making
`lsp-pyright-langserver-command` a safe file-local variable (so it can
be set from .dir-locals.el or in the file-local variables of a python
file), but if I decide to do one or the other, I'd like to be consistent
about it across all python executables/external dependencies (and
possibly even to all :lang modules that depend on env managers), so I'll
defer implementing that until I have the time to give it more thought
and plan it better.

Amend: 1fa1eba5ac
2025-07-01 14:22:10 +02:00
Henrik Lissner
7d69c5f7df fix(lib): void-function editorconfig--default-indent-size-function
There are two editorconfig libraries. One built into 30+ and one on
MELPA. Same name, different APIs. If the MELPA one is installed through,
say, your OS package manager, then the detection heuristic in
`doom/set-indent-width` could get confused which library is which.

Fix: #8423
2025-07-01 14:22:10 +02:00
Henrik Lissner
0fe36e12a9 nit(bin): doomscript: revise comments 2025-07-01 14:22:10 +02:00
Henrik Lissner
6a69add73f refactor(file-templates): update doomrc templates
For .doom, .doommodule, and .doom.el files.
2025-06-30 15:23:27 +02:00
Henrik Lissner
000bf3beea docs(magit): add 29.1+ check for +forge
Was supposed to be in aa7dd61. Oops.

Amend: aa7dd61a2c
2025-06-30 15:23:27 +02:00
Henrik Lissner
1adc318cac dev: replace .doomrc w/ .doom.el
Also replaces the project's .doomrc file with a .doom (which isn't used
or recognized just yet, but will be later).
2025-06-30 15:23:27 +02:00
pancho horrillo
fdc0fa3bec docs(markdown): doctor: allow for alternate grips
Note that we are pinned to the latest release of `seagle0128/grip-mode`,
which supports¹ alternate grip-like programs, namely `mdopen` and
`go-grip`. Although a specific one can be configured, `grip-mode` will
try and load any of the three (the two mentioned plus `grip`).

I’ve added them in the same order that `grip-mode` searches for them².

¹: https://github.com/seagle0128/grip-mode?tab=readme-ov-file#alternative-markdown-preview-without-accessing-github-api
²: 96a927dce6/grip-mode.el (L177-L179)
2025-06-29 23:59:50 +02:00
Henrik Lissner
87b616e5d8 refactor!: remove rainbow-delimiters
BREAKING CHANGE: parentheses will no longer be colored by depth. No
substitute is provided because it's trivial for users to install
themselves.

Ref: https://github.com/orgs/doomemacs/projects/5/views/1?pane=issue&itemId=117610828
2025-06-29 18:53:40 +02:00
Henrik Lissner
5cb34fa151 refactor!: remove highlight-numbers
BREAKING CHANGE: Numerics will no longer be syntax highlighted in major
modes that don't already have their own (or provided by tree-sitter). No
substitute will be provided because it's trivial for the user to install
themselves.

Ref: https://github.com/orgs/doomemacs/projects/5/views/1?pane=issue&itemId=117610783
2025-06-29 18:53:40 +02:00
Henrik Lissner
59c6b8e614 refactor!(ruby): remove rubocop
BREAKING CHANGE: This removes rubocop from the ruby module in lieu of
LSP clients.

Ref: https://github.com/orgs/doomemacs/projects/5/views/1?pane=issue&itemId=69411575
2025-06-29 17:36:18 +02:00
Henrik Lissner
957b1266bf refactor(minimap): replace minimap.el w/ demap.el
The former is unmaintained.

Fix: #8430
Ref: https://github.com/orgs/doomemacs/projects/5/views/1?pane=issue&itemId=2922285
2025-06-29 17:35:56 +02:00
Henrik Lissner
3d75d8e205 fix(cli): doom emacs: command not found
Being the flawless professional that I am, I forgot to include the
source code for `doom emacs` in 7f6a2d2.

Fix: #8429
Amend: 7f6a2d284e
2025-06-26 22:54:37 +02:00
Henrik Lissner
c55abb1bf7 fix(cli): doom.ps1: ParserError on $PATH
Fix: #8427
2025-06-26 03:54:59 +02:00
Henrik Lissner
be73e9685b docs(cli): update SEE ALSO links 2025-06-26 03:54:56 +02:00
Tim Ruffing
57fcd95e7d tweak(latex): don't insert braces after sub/superscript
This avoids inserting braces when you type "a_", so you end up typing
"a_i" instead of "a_{i}".

The official LaTeX manual says that braces are correct, but it doesn't
matter for many cases, e.g., when the sub/superscript is just a single
token like "i". It's simply a matter of taste in these cases.
 - Frank Mittelbach, a LaTeX maintainer, says that he types "a_i":
   https://tex.stackexchange.com/questions/82329/how-bad-for-tex-is-omitting-braces-even-if-the-result-is-the-same#comment176261_82331
 - David Carlisle, another LaTeX maintainer, says that a_i "arguably
   improves the look of the source code":
   https://tex.stackexchange.com/a/82337
 - Joseph Wright, yet another LaTeX maintainer, says that he "would
   always use braces here, so favour a_{i}":
   https://tex.stackexchange.com/a/1929

And I think if it is a matter of taste, then the sane default is to
avoid any magic that gets in the way of users. Anyone who prefers braces
can still enable this argument, but people who do not like them won't
get upset every time they type "_" or "^".
2025-06-26 02:37:18 +02:00
Kirill A. Korinsky
7ac03e3f0f bump: :email wanderlust
wanderlust/flim@c4c72d2833 -> wanderlust/flim@56e3e0fd02
wanderlust/semi@f6e299706a -> wanderlust/semi@813892fe2c
wanderlust/wanderlust@657eded150 -> wanderlust/wanderlust@70427e9c84
2025-06-26 02:36:55 +02:00