Commit graph

12133 commits

Author SHA1 Message Date
Henrik Lissner
025bd6e17a
bump: :editor evil
emacs-evil/evil-collection@e0982fcbb6 -> emacs-evil/evil-collection@ca977acb83
emacs-evil/evil@88d073c9d0 -> emacs-evil/evil@0251080640

- Fixes #7798: corfu completion in minibuffer for Evil users (thanks to
  emacs-evil/evil-collection#801).

Fix: #7798
Ref: emacs-evil/evil-collection#801
2024-05-21 17:17:13 +02:00
gpanago
8d4e355af6
perf(tabs): rate limit centaur-tabs-buffer-update-groups
`centaur-tabs-buffer-update-groups` walks every buffer to determine the
group it belongs to. This function can be called execessively (upwards
of 1,000 times per second in certain conditions), as it is called on
every redisplay (it is indirectly attached to `tab-line-format`). This
rate limits its calls to about 10 per second.

Close: #7792
Ref: ema2159/centaur-tabs#222
2024-05-21 17:17:13 +02:00
StrawberryTea
1fbb78e92b
fix(vertico): missing command error in consult
Although it is rare for a user to not enable the :config default module,
enabling/disabling modules one-by-one is common practice for debugging
Doom Emacs. This PR fixes an error that occurs when you have :completion
vertico enabled without enabling :config default.
2024-05-21 17:17:13 +02:00
StrawberryTea
49cc3530d9
fix(corfu): prevent void-variable error
Although this error will not be triggered by most people, since
auth-source is loaded by a lot of packages, it can still happen if you
are debugging your configuration (e.g. enabling/disabling modules
one-by-one).
2024-05-21 17:17:13 +02:00
Henrik Lissner
26c70fd428
fix(vc): *vc-{diff,change-log}* popup rules
The former rules weren't proccing on these buffers. Also
changes *vc-diff* popups to resize based on contents.
2024-05-21 17:17:13 +02:00
Henrik Lissner
127f18101c
bump: :lang factor
factor/factor@23fcfc7075 -> factor/factor@12fc9d5071
2024-05-21 17:17:13 +02:00
Henrik Lissner
63615ffe4c
fix(factor): handle fuel popups
Fix: #7788
Co-authored-by: steve-ayerhart <steve-ayerhart@users.noreply.github.com>
2024-05-21 17:17:12 +02:00
Henrik Lissner
6de4e99d41
fix(factor): package association for lookup handlers & keybinds
This ensures all these fuel keybinds on factor-mode-map (and the
fuel-based lookup handlers) are associated with the fuel-mode
package (in case the user disables the fuel package).

Fix: #7788
Co-authored-by: steve-ayerhart <steve-ayerhart@users.noreply.github.com>
2024-05-21 17:17:12 +02:00
Henrik Lissner
f4ebe1a4c4
fix(factor): repl handler
Otherwise `+eval/open-repl-*` commands will emit "REPL handler X failed
to return a buffer" errors.

Fix: #7788
Co-authored-by: steve-ayerhart <steve-ayerhart@users.noreply.github.com>
2024-05-21 17:17:12 +02:00
Henrik Lissner
7d4b0d22dd
refactor(eval): avoid seq-uniq & cl-{first,second}
- While seq.el is likely present, Doom does not guarantee it in
  interactive sesions like it guarantees cl-lib's presence.
- There is no reason to ever use cl-first/cl-second.
2024-05-21 17:17:12 +02:00
Henrik Lissner
c5d00f8217
fix(rust): lsp-mode: produce better hover info
The caching of rust-analyzer (RA) is too aggressive and leads to bad
results.

RA does not give a protocol-compliant way to extract 1 line information
from the hover response, so `lsp-mode` displays the first line of the
result, which currently is the byte alignment of the data

Fix: #6951
Close: #7754
Co-authored-by: gagbo <gagbo@users.noreply.github.com>
Co-authored-by: scturtle <scturtle@users.noreply.github.com>
2024-05-21 17:17:12 +02:00
Henrik Lissner
650e48837d
fix(mu4e): void-function mu4e-clear-caches error
mu4e-clear-caches was removed in djcb/mu@f73aad2b41, so users on
1.12.2 or so will see void-function errors until djcb/mu@770a2396de is
propagated to distro package managers, which likely won't happen
soon (esp for LTS distros).

Fix: #7703
Ref: djcb/mu@f73aad2b41
Ref: djcb/mu@770a2396de
Co-authored-by: dltacube <dltacube@users.noreply.github.com>
2024-05-21 17:17:12 +02:00
Henrik Lissner
a4fc16d36f
refactor(corfu): use hook symbols in add-hook! calls
A common challenge for beginners is distinguishing packages, modes, and
hooks, and since Doom's source code is meant to second as another layer
of documentation, I prefer to be explicit with hook symbols in
`add-hook!` calls (at least, for internal/module use).
2024-05-21 17:17:11 +02:00
Henrik Lissner
f91d6beaa1
docs(julia): reformat & fix package/flag links 2024-05-21 17:17:11 +02:00
Henrik Lissner
e60b07e4e3
fix(julia): duplicate popup rules
Having the same rule in two separate package configs means users must be
aware of both to modify either, which is avoidable complexity. i.e.

  (after! (:or julia-repl julia-snail)
    (set-popup-rule! "^\\*julia" ...))
2024-05-21 17:17:11 +02:00
Henrik Lissner
d602a51091
bump: :tools pdf
vedang/pdf-tools@93e7492451 -> vedang/pdf-tools@a1048bceb2

- Fixes `pdf-tools-install` for users on MacOS
  Sonoma (vedang/pdf-tools#269).

Ref: vedang/pdf-tools#269
2024-05-21 17:17:11 +02:00
Henrik Lissner
4a9c71f96e
fix(web): make *.((s[ac]|le)ss|styl) siblings of *.css
I backported `find-sibling-file` in 198fe82 and included with it some
rudimentary `find-sibling-rules` rules for CSS and its various
preprocessor languages. The CSS rule made *.((s[ac]|le)ss|styl) files
the siblings of *.css files, but not vice versa, so users couldn't jump
back to the source file with `find-sibling-file`; a second rule is
necessary.

These may be combinable, considering `find-sibling-file` deletes the
current buffer's filename from the list of candidates...

Ref: 198fe82b6d49
2024-05-21 17:17:10 +02:00
Henrik Lissner
5c672b1d0e
fix(cc): make *.c(c|pp) siblings of *.h(h|pp) files
I backported `find-sibling-file` in 198fe82 and included with it some
rudimentary `find-sibling-rules` rules for C++ and others. The C++ rule
made *.h(h|pp) files the siblings of *.c(c|pp) files, but not vice
versa, so users couldn't jump back to the source file with
`find-sibling-file`; a second rule is necessary.

These may be combinable, considering `find-sibling-file` deletes the
current buffer's filename from the list of candidates...

Fix: #7795
Ref: 198fe82b6d49
2024-05-21 17:17:10 +02:00
Henrik Lissner
472e00bc77
fix(org): org-download: remove unneeded advice
They've since been upstreamed in one form or another over time.

Fix: #7790
Ref: abo-abo/org-download@69c57bd519
Ref: abo-abo/org-download@8bc54b6c1a
2024-05-21 17:17:09 +02:00
Henrik Lissner
1a46aa05ea
bump: :term eshell
LemonBreezes/emacs-fish-completion@d34d0b96fd -> LemonBreezes/emacs-fish-completion@006c613ff7
akreisher/eshell-syntax-highlighting@4ac27eec65 -> akreisher/eshell-syntax-highlighting@1d25386bf7
peterwvj/eshell-up@ff84e6069b -> peterwvj/eshell-up@1999afaa50

Fix: #7789
2024-05-21 17:17:09 +02:00
Henrik Lissner
15d7353946
bump: :tools
andras-simonyi/citeproc-el@c61c98b9d2 -> andras-simonyi/citeproc-el@44f90cb296
editorconfig/editorconfig-emacs@c3666c093f -> editorconfig/editorconfig-emacs@d73b6392de
emacs-citar/citar-org-roam@7d67dccf80 -> emacs-citar/citar-org-roam@82d47b5df1
emacs-tree-sitter/tree-sitter-langs@c56cb51104 -> emacs-tree-sitter/tree-sitter-langs@b7895ca759
emacsorphanage/quickrun@248149b026 -> emacsorphanage/quickrun@373634cf51
hcl-emacs/terraform-mode@e8b57df8c2 -> hcl-emacs/terraform-mode@a645c32a8f
k1LoW/emacs-ansible@d89ac0ee57 -> k1LoW/emacs-ansible@1d7de8d3dd
krzysztof-magosa/company-ansible@79dd421b16 -> krzysztof-magosa/company-ansible@338922601c
nicolaisingh/saveplace-pdf-view@abfb5e1f46 -> nicolaisingh/saveplace-pdf-view@ee95460cd9
purcell/envrc@1385e72a73 -> purcell/envrc@8eb7401700
spotify/dockerfile-mode@52c6c00da1 -> spotify/dockerfile-mode@39a012a27f
tmalsburg/helm-bibtex@bf184cc311 -> tmalsburg/helm-bibtex@8b71b4f5ce
vedang/pdf-tools@c69e7656a4 -> vedang/pdf-tools@93e7492451
xuchunyang/osx-dictionary.el@1f5a74f3e5 -> xuchunyang/osx-dictionary.el@6abfd6908b
yoshiki/yaml-mode@5b58248ab2 -> yoshiki/yaml-mode@7b5ce294fb
2024-05-21 17:17:09 +02:00
Henrik Lissner
f33bd5bd63
bump: :completion
abo-abo/swiper@8c30f4cab5 -> abo-abo/swiper@1f88e54990
company-mode/company-mode@02903bd708 -> company-mode/company-mode@b0a522ac5b
emacs-helm/helm-descbinds@b725159823 -> emacs-helm/helm-descbinds@ca03f02da4
emacs-helm/helm@f34ea6b702 -> emacs-helm/helm@28f62344fe
minad/cape@a397a0c92d -> minad/cape@e01e443023
minad/consult@b48ff6bf05 -> minad/consult@c87b0bf06d
minad/corfu@c1e7b6190b -> minad/corfu@35cd5a0f3c
minad/marginalia@f6fe86b989 -> minad/marginalia@3275d1f85c
minad/vertico@68cbd47589 -> minad/vertico@68e51fda55
oantolin/embark@c93abadc82 -> oantolin/embark@d3c9d1b4c8
oantolin/orderless@dc7a781acf -> oantolin/orderless@ac4aeb66f3
radian-software/prescient.el@4b875be52e -> radian-software/prescient.el@c39bf07c56
sebastiencs/company-box@b6f53e26ad -> sebastiencs/company-box@c4f2e243fb
2024-05-21 17:17:09 +02:00
Henrik Lissner
efa76cda5b
bump: :tools magit :emacs vc
emacsmirror/git-timemachine@ac933e5cd2 -> emacsmirror/git-timemachine@5ed73c3831
magit/forge@2a3b41eb62 -> magit/forge@ad94b5665d
magit/magit@0e8f25a8d8 -> magit/magit@b5637d665c
2024-05-21 17:17:09 +02:00
Henrik Lissner
b172876652
bump: :lang scala
emacs-lsp/lsp-metals@da7e54ed65 -> emacs-lsp/lsp-metals@e55d544996
hvesalai/emacs-sbt-mode@9fe1e8807c -> hvesalai/emacs-sbt-mode@bcf8d60400
2024-05-21 17:17:09 +02:00
Henrik Lissner
fba06e908e
bump: :tools debugger lsp
emacs-lsp/dap-mode@2f0c5b2857 -> emacs-lsp/dap-mode@c95537c58e
emacs-lsp/lsp-mode@a5f5ca9a8a -> emacs-lsp/lsp-mode@8861252880
emacs-lsp/lsp-ui@bc58c66645 -> emacs-lsp/lsp-ui@942eeecc3d
emacs-straight/eglot@24f2bf7b28 -> emacs-straight/eglot@678610fdc5
mohkale/consult-eglot@049c6319b8 -> mohkale/consult-eglot@64262e7245

Ref: emacs-lsp/lsp-mode#4169
Ref: emacs-lsp/lsp-mode#4414
2024-05-21 17:17:09 +02:00
Henrik Lissner
4e060d75b6
bump: :editor snippets
doomemacs/snippets@f022984ee1 -> doomemacs/snippets@07b3bdaf60
joaotavora/yasnippet@297546f085 -> joaotavora/yasnippet@33587a8551
2024-05-21 17:17:08 +02:00
Henrik Lissner
0e885cd081
bump: :editor evil
emacs-evil/evil-collection@8c84f9bc89 -> emacs-evil/evil-collection@e0982fcbb6
emacs-evil/evil-surround@c7116cdc77 -> emacs-evil/evil-surround@da05c60b06
emacs-evil/evil@5995f6f21f -> emacs-evil/evil@88d073c9d0
redguardtoo/evil-nerd-commenter@3b197a2b55 -> redguardtoo/evil-nerd-commenter@ae52c5070a
wcsmith/evil-args@2671071a4a -> wcsmith/evil-args@a8151556f6
2024-05-21 17:17:08 +02:00
Henrik Lissner
4282374ea2
tweak(vertico): consult-dir: use projectile 2024-05-21 17:17:08 +02:00
Henrik Lissner
fc99b38a7e
docs(corfu): disabling auto-completion
Close: #7749
Co-authored-by: 45mg <45mg@users.noreply.github.com>
2024-05-21 17:17:08 +02:00
Sean Farley
548e3a4d0e
feat(mu4e): use built-in notifications instead of mu4e-alert
Now that mu4e has its own notification feature since 1.10 (and as of
this commit version 1.12 is already out), we can just use that. Much
less code to maintain.

Closes: https://github.com/doomemacs/doomemacs/issues/6896
2024-05-21 17:17:07 +02:00
Sean Farley
1b2432c556
feat(common-lisp): add more sly packages
Might as well?
2024-05-21 17:17:07 +02:00
45mm
6acba0c511
fix(fold): properly support outline-minor-mode
- Make `+fold/close-all` work for outline-minor-mode.

- Distinguish between `zo` and `zO` for outline-minor-mode alone, by
  binding `zO` to a new function `+fold/open-rec`. `zO` will now trigger
  `outline-show-subtree` in outline-minor-mode, while `zo` will only
  trigger `outline-show-branches`, keeping the subheadings folded. This
  matches the behavior in org-mode.

- Fix a bug in `+fold/open-all`, introduced in
  7b9d00d661, that makes it only operate
  on vimish-fold folds.

Note that outline-minor-mode is still not enabled by default anywhere.
These changes are only to prevent incorrect behavior for users who
decide to turn it on themselves.
2024-05-21 17:17:07 +02:00
carehabit
af331643a7
docs: remove unintended repetition
Signed-off-by: carehabit <shenyuting@outlook.com>
2024-05-21 17:17:07 +02:00
yuhan0
cf27397bda
fix(popup): fix typo in local variable name 2024-05-21 17:17:07 +02:00
Henrik Lissner
1167b7aabe
fix(neotree): don't use all-the-icons
Fixes 'Package `all-the-icons' isn't installed' error when opening
neotree.

Ref: #7664
2024-05-21 17:17:07 +02:00
Henrik Lissner
cfccd567f0
bump: :lang org
bastibe/org-journal@605a7eb984 -> bastibe/org-journal@17b34ce8df
emacs-jupyter/jupyter@da306a6dbd -> emacs-jupyter/jupyter@2059d79b2f
emacs-straight/org-mode@7a6bb0904d -> emacs-straight/org-mode@e9c288dfac
emacsmirror/org-contrib@8fbaceb247 -> emacsmirror/org-contrib@d4056ce5d5
hakimel/reveal.js@16f6633014 -> hakimel/reveal.js@6410c756ea
hniksic/emacs-htmlize@dd27bc3f26 -> hniksic/emacs-htmlize@09d43dfa44
https://repo.or.cz/org-contacts.git@7f03eafaad2e -> https://repo.or.cz/org-contacts.git@6660db078f76
jkitchin/ox-clip@ff117cf3c6 -> jkitchin/ox-clip@a549cc8e17
kaushalmodi/ox-hugo@cb1b6cfd7b -> kaushalmodi/ox-hugo@c4156d9d38
magit/orgit@84bcb5c318 -> magit/orgit@a57beefa24
oer/org-re-reveal@7c39d15b84 -> oer/org-re-reveal@1944ac53d4
org-noter/org-noter@8be3763847 -> org-noter/org-noter@9e4f57957b

Fix: #7776
2024-05-21 17:17:06 +02:00
Henrik Lissner
75e82d83bf
tweak(corfu): corfu-auto-delay: 0.1 -> 0.18
At 0.1, Corfu pops up too aggressively and too often, even for fast
typists. This is especially disruptive with slow backends that might
block Emacs. I think 0.18-0.24 is the goldilocks zone, so I'll start
with 0.18, and maybe increase it later.
2024-05-21 17:17:06 +02:00
Henrik Lissner
ae4ad2a25c
bump: :tools magit
alphapapa/magit-todos@1e9acc0ba6 -> alphapapa/magit-todos@332ce763f7
magit/forge@68771ca4d5 -> magit/forge@2a3b41eb62
magit/magit@0963697f24 -> magit/magit@0e8f25a8d8
2024-05-21 17:17:04 +02:00
Henrik Lissner
c6abb08ae8
refactor(ligatures): test for harfbuzz feature
A `harfbuzz` feature was introduced in 3e81655.

Ref: 3e81655b0e
2024-05-21 17:17:04 +02:00
Henrik Lissner
28ee896420
nit: minor comment reformatting & revision 2024-05-21 17:17:04 +02:00
Henrik Lissner
75dd1a1f45
tweak(emacs-lisp): remove pin truncation
This removes the truncation of `package!` `:pin`s. This was originally
intended to make packages.el files easier to skim, but in hindsight it
didn't really. It served little other purpose but to make it harder for
folks to interact with the :pin string.
2024-05-21 17:17:03 +02:00
Henrik Lissner
ae7c8c4135
fix(workspaces): remove ivy integration
Due to upstream changes in ivy-rich, +workspace/switch-to throws a
`wrong-type-argument listp leaf` error. As I plan to phase out Ivy
support (and the Ivy module) in the long term, I'll simply remove
ivy (and ivy-rich) integration in the workspaces module, rather than
update it.

Fix: #7499
Fix: #7173
2024-05-21 17:17:03 +02:00
Henrik Lissner
187c654c5d
bump: :tools tree-sitter
emacs-tree-sitter/tree-sitter-langs@20fbbb8573 -> emacs-tree-sitter/tree-sitter-langs@c56cb51104
meain/evil-textobj-tree-sitter@220ceae065 -> meain/evil-textobj-tree-sitter@a19ab9d89a
2024-05-21 17:17:03 +02:00
Henrik Lissner
7308e74203
refactor(vertico): don't use bind-key
This is the only internal usage of :bind, which I want to avoid, because
it pulls in bind-key, which offers no real benefit over just about any
other key binding function or macro, so I'd rather use what is already
available (like map!).
2024-05-21 17:17:01 +02:00
Henrik Lissner
4f914f3e56
docs(docker): use after! & don't recommend use-package! 2024-05-21 17:17:01 +02:00
Henrik Lissner
94ff9c09e1
fix(default): restore accidentally gated keybinds (part 2)
I haven't published support for negated flags (e.g. -eglot) yet; this
snuck into 76b4522.

Amend: 76b452278fcb
Ref: #7745
2024-05-21 17:17:01 +02:00
Henrik Lissner
c2947d7bac
fix(default): restore accidentally gated keybinds
These were accidentally gated as part of 6949451 (#7002).

Amend: 6949451b00ec
Close: #7745
Co-authored-by: raszi <raszi@users.noreply.github.com>
2024-05-21 17:17:01 +02:00
tecosaur
122b405afe
fix(modeline,everywhere): adjust checker -> check
As part of the recent UI bump (665d808d09ec), the doom-modeline changed
the name of the "checker" segment to "check".

Amend: 665d808d09ec
2024-05-21 17:17:01 +02:00
Henrik Lissner
0716335c4d
bump: :ui
Alexander-Miller/treemacs@df26b6ab9a -> Alexander-Miller/treemacs@8c6df39f01
dgutov/diff-hl@b8b2727a72 -> dgutov/diff-hl@9662083943
doomemacs/themes@ff26f26ea3 -> doomemacs/themes@37d2182f50
jrblevin/deft@28be94d89b -> jrblevin/deft@bb1a16b87c
seagle0128/doom-modeline@bf880ae56f -> seagle0128/doom-modeline@e09b8e989f
2024-05-21 17:17:00 +02:00
StrawberryTea
c62aa84709
docs(corfu): debugging cape-dabbrev 2024-05-21 17:17:00 +02:00