Commit graph

18782 commits

Author SHA1 Message Date
cuithon
c068f59bd0
docs(default,mu4e,latex): fix repetition of the in docs 2024-05-21 17:16:54 +02:00
StrawberryTea
05dc179b96
fix(mu4e): advice for new mu4e release
mu4e-quit now takes an optional argument, BURY, which is a boolean that
determines whether to bury the buffer or kill it. This commit updates
the advice to reflect this change.
2024-05-21 17:16:54 +02:00
Henrik Lissner
22309ad240
release(modules): 24.03.0-dev
Ref: 2b39e41368
2024-05-21 17:16:54 +02:00
Henrik Lissner
f493992142
fix(ruby): ruby REPL w/ robe
set-repl-handler! handlers have to return a buffer.

Close: #7450
Co-authored-by: Zetagon <Zetagon@users.noreply.github.com>
2024-05-21 17:16:54 +02:00
Henrik Lissner
8fe39e333c
docs(web): correct type, mention JS comment hack, remove superfluous notice
close: #7388
2024-05-21 17:16:53 +02:00
Henrik Lissner
73bfaf7122
fix(cli): silence output from site-lisp
Some site files will forcibly undo `inhibit-message` or set
`force-load-messages`. This ensures site lisp files don't make
unnecessary noise at startup.
2024-05-21 17:16:53 +02:00
Henrik Lissner
9f2071808b
refactor(lib): doom-region-end: extract marker 2024-05-21 17:16:53 +02:00
Henrik Lissner
0197991038
refactor(lib): use doom-region-{beginning,end} 2024-05-21 17:16:53 +02:00
Henrik Lissner
316a6f0746
fix: doom-incremental-first-idle-timer: type error when nil (part 2)
Amend: 2bce9dbc1ad1
Ref: #7710
2024-05-21 17:16:53 +02:00
Tim Ruffing
00b5b62bca
fix(popup): fix finding of major side window
Fix: #7647
Amend: #7598
2024-05-21 17:16:53 +02:00
Henrik Lissner
d4c3b12390
nit: revise and reformat comments 2024-05-21 17:16:52 +02:00
Henrik Lissner
87c33db473
refactor: remove explain-pause-mode
Tools like these will be moved to a benchmark module later (or perhaps
to `:lang emacs-lisp`). For the time being, it only takes up extra space
that few users use.
2024-05-21 17:16:52 +02:00
Henrik Lissner
da0ae0d42f
bump: :tools editorconfig
editorconfig/editorconfig-emacs@4b81a59928 -> editorconfig/editorconfig-emacs@c3666c093f
2024-05-21 17:16:52 +02:00
Henrik Lissner
c5a20aaf1b
fix(treemacs): treemacs-nerd-icons load order w/ +lsp
lsp-treemacs changes the default Treemacs theme, so treemacs-nerd-icons
needs to be loaded after it, if it's installed/enabled.

Fix: #7519
Fix: doomemacs/themes#801
Ref: emacs-lsp/lsp-treemacs#89
2024-05-21 17:16:52 +02:00
Henrik Lissner
c2432ab139
refactor(editorconfig): remove unused advice
editorconfig-call-editorconfig-exec was renamed+redesigned upstream. The
advice can no longer be trivially repurposed, so I'm removing it.

Ref: editorconfig/editorconfig-emacs@f8f1a899df
2024-05-21 17:16:52 +02:00
Henrik Lissner
8d9e0e8e23
fix(editorconfig): prevent changes to tab-width in org-mode
- Add another measure for preventing changes to tab-width in org-mode.
  The hook introduced in 2757a97 runs too early and could be overwritten
  by editorconfig.
- Fix the hook in 2757a97 to run much later, ensuring (as a last resort)
  no other packages can overwrite tab-width either.

Amend: 2757a97a30e7
Ref: #7670
2024-05-21 17:16:52 +02:00
Henrik Lissner
51dcf7da6a
feat(lib): backport find-sibling-file
I will slowly phase out projectile in favor of project.el, starting with
projectile-find-other-file, which -- as of Emacs 29 -- has a native
alternative: `find-sibling-file`.

Ref: doomemacs/community#1
2024-05-21 17:16:52 +02:00
Henrik Lissner
29fc1dfd6d
fix(lib): only use alpha-background on pgtk builds
Fix: #7721
2024-05-21 17:16:51 +02:00
Henrik Lissner
9c75a69696
tweak(markdown): disable wiki links & math highlights by default
These two features are relatively expensive and shouldn't be enabled as
a global default.
2024-05-21 17:16:51 +02:00
Henrik Lissner
cbd18bd6d7
refactor(biblio): move 3rd party modes to use-package blocks
This makes load-order more predictable for users wanting to modify the
side-effects of citar-org-roam-mode or citar-embark-mode. I.e.

  (after! citar-org-roam ...)
  (after! citar-embark ...)

Instead of:

  (after! (citar org-roam) ...)
  (after! (citar embark) ...)

Ref: #7712
Co-authored-by: hpfr <hpfr@users.noreply.github.com>
2024-05-21 17:16:51 +02:00
Henrik Lissner
5fb7dd6dfa
fix: doom-incremental-first-idle-timer: type error when nil
If the user uses the doom-load-packages-incrementally function directly,
and has set doom-incremental-first-idle-timer set to nil, it will throw
a type error.

Close: #7710
2024-05-21 17:16:51 +02:00
Henrik Lissner
1cf2f2d52d
bump: :lang nim
nim-lang/nim-mode@1338e5b0d5 -> nim-lang/nim-mode@625cc023bd
2024-05-21 17:16:51 +02:00
Henrik Lissner
4559a61d2c
fix(nim): swap nimfmt with nimpretty
Nim 2.x+ comes with its own formatter (nimpretty).

Close: #7578
Co-authored-by: pietrangelo <pietrangelo@users.noreply.github.com>
2024-05-21 17:16:51 +02:00
minh
e986f4769b
feat(java): java.el takes java-ts-mode into account
allow +java-current-package and +java-current-class functions to operate
on java-ts-mode (the java tree-sitter mode) not just java-mode.
2024-05-21 17:16:51 +02:00
Dev380
651313a09b
fix(vertico): disable minor mode highlight duly
Minor mode highlights did not disable as long
as the mode was enabled.

Amend: #7706
2024-05-21 17:16:51 +02:00
Dev380
bd9bf18d73
feat(vertico): completion highlights a la ivy
* feat(vertico): completion highlights a la ivy

Adds completion highlighting that works similarly to ivy/counsel's
one (which is enabled by default). It'll highlight enabled major/minor
modes and directories in a different face. On by default.

Ref: https://github.com/minad/vertico/wiki#candidate-display-transformations-custom-candidate-highlighting

* fix(vertico): major mode not being highlighted

The major mode was not being highlighted correctly;
it should work now that the buffer is set correctly in
`+vertico-highlight-enabled-mode`.

* fix(vertico): make font lock prioritize match over type

The mode and directory highlights were [overriding the match
font-lock](https://github.com/doomemacs/doomemacs/pull/7706#issuecomment-1977722188).
This should resolve that by prioritizing the match font lock using
`'append` on `add-face-text-property` instead of `propertize`.
2024-05-21 17:16:50 +02:00
Henrik Lissner
2c8921cf7d
bump: :checkers syntax
flycheck/flycheck@e56e30d8c6 -> flycheck/flycheck@02148c6ce7

Close: #7680
Co-authored-by: vitallium <vitallium@users.noreply.github.com>
2024-05-21 17:16:50 +02:00
Yejun Su
29931c6dbd
fix(nix): make doctor check against nix-nixfmt-bin 2024-05-21 17:16:50 +02:00
StrawberryTea
e0c784ecaa
fix(popup): allow killing popup buffers
Currently, `SPC b k` does not allow us to kill popup buffers. If we are
say using a comint/eshell/eat buffer and we borked the state while
testing hooks or we sent EOF to the underlying process, our intention
with `SPC b k` is to kill the underlying buffer.
2024-05-21 17:16:50 +02:00
45mm
419f49e158
fix(vertico): mapping for embark open in workspace
We should always bind to both "TAB" and "<tab>" - if they have been
mapped to different commands anywhere, Emacs will no longer treat them
as equivalent.
2024-05-21 17:16:50 +02:00
Krzysztof Baranowski
496af22707
fix(clojure): obsolete ref to cider-repl-print-length
cider-repl-print-length has been obsolete for a long time.
2024-05-21 17:16:50 +02:00
StrawberryTea
3de716ed3c
fix(dired): hide flycheck temp files 2024-05-21 17:16:49 +02:00
Liam Hupfer
84086e532d
refactor(biblio): tidy use-package usage
:after can be misleading, so avoid it. :no-require is for working around
byte compilation issues; deferral is sufficient here.

Ref: https://github.com/jwiegley/use-package/issues/829
2024-05-21 17:16:49 +02:00
Liam Hupfer
d437f34e9f
perf(biblio): do not load oc-natbib by default
natbib isn’t part of the default `org-cite-export-processors', so leave
it to users to load if they enable it.
2024-05-21 17:16:49 +02:00
Liam Hupfer
0ad06e3274
fix(biblio): avoid 'oc-csl dependency cycle
Relevant portion of the dependency graph:

'oc-csl → 'citeproc → 'citeproc-itemgetters → 'org → 'org-keys → 'oc

The :after linked 'oc to 'oc-csl so 'org-keys could load 'org.
`+org-init-keybinds-h' could then execute before the body of 'org-keys,
so Org default bindings could clobber Doom bindings.

If the top-level 'org started the load sequence, `org-load-hook'
functions would execute last and key bindings would be correct, but
Doom’s deferred incremental loading of Org could lead to this scenario:

 1. deferred incremental loader: (require 'org-src)
 2. org-src.el: (require 'org-keys)
 3. org-keys.el: (require 'oc)
 4. oc.el: (provide 'oc): (require 'oc-csl) [via the :after this patch
    removes]
 5. oc-csl.el: (require 'citeproc)
 6. citeproc.el: (require 'citeproc-itemgetters)
 7. citeproc-itemgetters.el: (require 'org)
 8. org.el: (require 'org-keys)
 9. 'org-keys from step 8 finishes loading. Keys are bound.
10. 'org finishes loading. `org-load-hook' functions are run. Doom’s
    keys are bound.
11. 'oc-csl finishes loading
12. 'org-keys from step 3 finishes loading. Keys are bound again,
    overwriting any keys Doom bound in step 10.
13. 'org-src finishes loading

At some point, the deferred incremental loader will (require 'org), but
it is a feature as of step 10, so it does not load and its hooks do not
run again.
2024-05-21 17:16:49 +02:00
Henrik Lissner
4c017f9326
bump: :lang rust
rust-lang/rust-mode@f74dd1cd87 -> rust-lang/rust-mode@d8a09f218e

There was a mishap with the last bump (2e12383), and rust-mode was
bumped to the wrong commit.

Amend: 2e123839d123
2024-05-21 17:16:49 +02:00
Henrik Lissner
be661009bc
bump: code-review
doomelpa/code-review@2670a4beb6 -> doomelpa/code-review@e4c34fa284

Ref: doomelpa/code-review@e4c34fa284
2024-05-21 17:16:49 +02:00
Henrik Lissner
b4374278a3
fix: define doom-font-error
Was meant to be in 98d753e.

Amend: 98d753e1036f
2024-05-21 17:16:48 +02:00
Henrik Lissner
038f6ac00d
bump: :tools lsp
emacs-lsp/lsp-mode@fb88cc6b8b -> emacs-lsp/lsp-mode@a5f5ca9a8a
emacs-straight/eglot@cd4e45b700 -> emacs-straight/eglot@24f2bf7b28
flycheck/flycheck-eglot@9ff8d0068b -> flycheck/flycheck-eglot@114e1315aa
2024-05-21 17:16:48 +02:00
Henrik Lissner
63d888f55b
bump: :tools magit
alphapapa/magit-todos@debb77b358 -> alphapapa/magit-todos@1e9acc0ba6
magit/forge@3fc6c362b0 -> magit/forge@03b48be2a1
magit/magit@b68e0a3c33 -> magit/magit@65ecb9c5fc
2024-05-21 17:16:48 +02:00
Henrik Lissner
6d5c8fc5e5
bump: :lang rust
rust-lang/rust-mode@f74dd1cd87 -> rust-lang/rust-mode@d8a09f218e

- Resolves the lingering autoload issue caused by
  rust-lang/rust-mode@35dc136, and first introduced in
  rust-lang/rust-mode@08cea61.

Ref: rust-lang/rust-mode@35dc13632b
Ref: rust-lang/rust-mode@08cea61390
Ref: rust-lang/rust-mode#524
Fix: #7698
2024-05-21 17:16:48 +02:00
Henrik Lissner
46ad9b0d6f
fix(org): don't change tab-width in org-mode
Recently, org-mode made a non-standard tab-width an error state.
Unfortunately, it's way too easy for users to accidentally change
it (e.g. with editorconfig, indiscriminate setter hooks, or other
packages), and since there is zero reason to ever want a non-standard
tab-width in org-mode, I not only exclude it from dtrt-indent as a
global default (i.e. not only as part of :lang org), but I add a late
org-mode-hook hook to reset tab-width, just in case.
2024-05-21 17:16:48 +02:00
Henrik Lissner
64594c36be
bump: spell-fu
https://codeberg.org/ideasman42/emacs-spell-fu@e4031935803c -> emacsmirror/spell-fu@e403193580

codeberg has uptime issues. Where possible, we should prefer Github
sources.

Ref: #7013
2024-05-21 17:16:48 +02:00
Henrik Lissner
19b18b89f9
bump: visual-fill-column
https://codeberg.org/joostkremers/visual-fill-column@db7c7c236555 -> emacsmirror/visual-fill-column@5e74afe39d

codeberg has uptime issues. Where possible, we should prefer Github
sources.

Fix: #7013
2024-05-21 17:16:48 +02:00
Henrik Lissner
4fb00f920e
fix(everywhere): commandp error from C-c C-c
A temporary fix for an issue introduced upstream.

Ref: tecosaur/emacs-everywhere#75
2024-05-21 17:16:47 +02:00
Henrik Lissner
feeaa00a36
bump: :lang rust
rust-lang/rust-mode@HEAD -> rust-lang/rust-mode@f74dd1cd87

- rust-lang/rust-mode@08cea61 introduced some clumsy autoloads that will
  cause treesit and rust-ts-mode (and more in later commits) to be
  eagerly loaded at startup. This causes other problems, but the primary
  issue is that it causes errors at startup or when installing
  rust-mode (#7698), which this bump addresses. Eager-loading will have
  to be addressed upstream.

Ref: rust-lang/rust-mode@08cea61390
Fix: #7698
2024-05-21 17:16:47 +02:00
Henrik Lissner
344881cbf5
fix: blank frame on can't-find-font error during startup
Due to our inhibit-redisplay hack, a missing font could lead to a blank
Emacs after startup. This change fixes that so that not only is an error
emitted when Emacs can't find your font, but the error will be a little
more readable.

This is a stopgap solution until I finish a better one I'm preparing for
v3.

Fix: #7055
2024-05-21 17:16:47 +02:00
Henrik Lissner
a103cb3a2d
fix(doom): remove neotree icon config
Since we've remove all-the-icons, doom-themes-neotree-config will no
longer work properly, so I disable it for now (not a complete solution
though; we still need proper nerd-icons support for neotree).

Fix: #7634
Ref: #7664
2024-05-21 17:16:47 +02:00
Henrik Lissner
9fce355e8e
fix(org): list checkbox toggle on RET
A subtle change in the way org-toggle-checkbox handles its prefix
argument changed how RET (+org/dwim-at-point) handled list
checkboxes (incorrectlying swapping [ ] with [-], but not back, unless
the cursor was directly on top of the checkbox).
2024-05-21 17:16:47 +02:00
Henrik Lissner
a8496b258a
fix(default): +evil module flag typo 2024-05-21 17:16:47 +02:00