Commit graph

12169 commits

Author SHA1 Message Date
Henrik Lissner
7c20ef2619
bump: :editor parinfer
justinbarclay/parinfer-rust-mode@8df117a3b5 -> justinbarclay/parinfer-rust-mode@e9a23e136b

Close: #7876
Co-authored-by: welcome-linja <welcome-linja@users.noreply.github.com>
2024-06-03 16:22:10 -04:00
Henrik Lissner
49eaa532e1
bump: :lang emacs-lisp scheme web zig
emacs-geiser/chibi@5a6a5a580e -> emacs-geiser/chibi@2502fed134
emacs-geiser/geiser@bb77719c25 -> emacs-geiser/geiser@b6b4ac070d
emacs-geiser/guile@6e0811c75d -> emacs-geiser/guile@71a6be0043
emacs-straight/rainbow-mode@70ed10d410 -> emacs-straight/rainbow-mode@0740f31f30
emacsorphanage/macrostep@0b04a89f69 -> emacsorphanage/macrostep@4939d88779
fxbois/web-mode@82847071ce -> fxbois/web-mode@005aa62d6f
jorgenschaefer/emacs-buttercup@24d43b2ce2 -> jorgenschaefer/emacs-buttercup@a1a86b027f
slim-template/emacs-slim@3636d18ab1 -> slim-template/emacs-slim@8c92169817
ziglang/zig-mode@079149a19f -> ziglang/zig-mode@f55e42536a

Close: #7884
Close: #7878
Co-authored-by: welcome-linja <welcome-linja@users.noreply.github.com>
2024-06-03 16:22:09 -04:00
Henrik Lissner
b4531dd359
tweak(web): remove M-/ keybind
As brought up in #7866, M-/ is bound to dabbrev-expand by default. Also,
a `M-;` keybind already exists on web-mode-map for commenting (and is
the vanilla default for commenting in other modes), so I'm removing this
redundant keybind.

Close: #7866
Co-authored-by: kuba-orlik <kuba-orlik@users.noreply.github.com>
2024-06-03 16:22:09 -04:00
Henrik Lissner
6edd4a3348
perf(chinese): lazy load liberime
Close: #7856
Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
2024-06-03 16:22:09 -04:00
Simen Endsjø
587f237e93 fix(org): avoid (file-exists-p "file://") on Windows
Emacs bug#70914 handles `file://whatever` incorrectly, potentially
crashing emacs.

Fixed in emacs commit 350ae75f5c1c47a03560e43e8699781c04c9078a:
    Avoid crashes on MS-Windows due to invalid UNC file names

    * src/w32.c (parse_root): Avoid crashes due to invalid (too short)
    UNC names, such as "\\".  (Bug#70914)
2024-06-03 16:21:00 -04:00
Simen Endsjø
63605189f3 nit(org): reformat or block
I want to add a commented line as the first entry without showing all
lines as changed.
2024-06-03 16:21:00 -04:00
Merrick Luo
c9df1c5d42 fix(evil): bind git time machine without vc-gutter
git-timemachine keybind should not be guarded by the vc-gutter module
2024-06-03 16:18:09 -04:00
Blue Willow
e740802035 feat(debugger): add gdscript dap-mode support
This commit adds gdscript support to :tool debugger +lsp, which has been
available in dap-mode since a year ago.
2024-06-03 16:17:16 -04:00
Blue
c625b78eb4
fix(gdscript): replace removed functions with new binding
This commit removes the keybinds to add and remove a breakpoint in a
gdscript buffer, which were removed from gdscript-mode long ago, and
replaces them with one binding to toggle a breakpoint.

Fix: #7254
2024-06-03 16:15:47 -04:00
Samuel Tschiedel
47fce87d86 fix(magit): forge-browse-dwim -> forge-browse
Renamed upstream

Ref: magit/forge@ba752a4e9b
2024-06-03 16:14:57 -04:00
Henrik Lissner
9620bb45ac
fix(evil): ]f/[f opening broken symlinks 2024-04-18 14:20:48 -04:00
Henrik Lissner
0349dab09a
tweak(default): ensure '<leader> g S' is silent
magit-stage-file prompts the user to select a file to stage, but the
intention for these two keys has always been to (un)stage the current
file (and without prompting). This ensures that is the case.

I've also tweaked their description to make that intention clearer.
2024-04-18 14:17:02 -04:00
Henrik Lissner
2f7b309252
tweak(default): remove +vc/gutter-hydra keybind
Not only is this keybind always overshadowed by the magit-file-dispatch
keybind on the same key, the hydra module is deprecated, so I will
simply remove it.

Fix: #5388
2024-04-18 14:17:02 -04:00
Henrik Lissner
46bcd7e922
bump: :lang go
dominikh/go-mode.el@8dce1e3ba1 -> dominikh/go-mode.el@6f4ff9ef87
weijiangan/flycheck-golangci-lint@9def093e41 -> weijiangan/flycheck-golangci-lint@91c59b128a

- Fixes weijiangan/flycheck-golangci-lint#15: golangci-lint's renamed
  the --deadline option to --timeout. (#7833, #7834)

Close: #7833
Close: #7834
Ref: weijiangan/flycheck-golangci-lint#15
Co-authored-by: blez <blez@users.noreply.github.com>
Co-authored-by: samcrang <samcrang@users.noreply.github.com>
2024-04-18 14:17:02 -04:00
StrawberryTea
0a635e9df9 fix(direnv): fix void function error in emacs30 2024-04-17 04:23:26 -04:00
Henrik Lissner
5b7d6763f8
revert: org
emacs-straight/org-mode@e9c288dfac -> emacs-straight/org-mode@5bdfc02c6f

org-mode was bumped in 5f5a163, but this introduced substantial
slowdowns in buffers where src and latex blocks were natively
highlighted. This reverts to the latest known commit that doesn't
present this slowness (which is still newer than the commit used in
5f5a163).

Amend: 5f5a163c49
2024-04-11 21:51:14 -04:00
Henrik Lissner
fdeb856210
fix(spell): spell-fu: remove unneeded advice
These issues were addressed upstream.

Ref: emacsmirror/spell-fu@50be652a6e
Ref: emacsmirror/spell-fu@00af362af3
2024-04-11 21:27:09 -04:00
Henrik Lissner
96e3255c33
nit: reformat+revise comments
Includes minor refactors to appease the byte-compiler or use more
succinct (but equivalent) syntax.
2024-04-09 12:39:51 -04:00
Henrik Lissner
42de6282f4
tweak(helm): helm-always-two-windows = t
Don't comandeer the entire frame for helm commands.
2024-04-08 21:20:08 -04:00
Henrik Lissner
a4b7aa1c56
fix(helm): helm-descbinds-disable-which-key = nil
Otherwise, helm-descbind throws errors if which-key is enabled. Setting
prefix-help-command seems to resolve the incompatibility (more testing
is needed).

Ref: emacs-helm/helm-descbinds@ca03f02da4
Ref: emacs-helm/helm-descbinds@14d1929d54
Amend: 52599ab536
2024-04-08 19:53:46 -04:00
Henrik Lissner
21f6fb7576
fix(eval): warnings after eval error
This addresses the warning emitted when evaluating elisp in org-mode:

  Warning (org-element): ‘org-element-at-point’ cannot be used in
  non-Org buffer #<buffer debug.org> (emacs-lisp-mode)

Close: #7753
Fix: #7752
Co-authored-by: pysnow530 <pysnow530@users.noreply.github.com>
2024-04-08 19:53:46 -04:00
StrawberryTea
a8d612385f
tweak(corfu): update dabbrev-ignore-buffer-modes
The Corfu documentation has been updated to suggest more modes to ignore
with `dabbrev-ignore-buffer-modes`. This commit updates the list of
modes to ignore in `cape-dabbrev` to match the documentation.
2024-04-08 18:59:49 -04:00
Henrik Lissner
6756911721
fix(syntax): flycheck popups clearing active region
Moving the cursor over a flycheck-highlighted error will display the
error message in a popup. Displaying that popup could clear the active
selection (#7242), which is disruptive. This only affected non-Evil
users and users not using the module's +childframe flag, but should no
longer affect anyone after this commit.

Fix: #7242
Ref: flycheck/flycheck-popup-tip#14
2024-04-07 16:47:36 -04:00
Henrik Lissner
f99863b9f5
bump: :ui doom
doomemacs/themes@37d2182f50 -> doomemacs/themes@3b2422b208
hlissner/emacs-solaire-mode@8af65fbdc5 -> hlissner/emacs-solaire-mode@8ccdceeb92
2024-04-07 16:10:39 -04:00
Henrik Lissner
968974663d
bump: :editor snippets
doomemacs/snippets@07b3bdaf60 -> doomemacs/snippets@c1384cc797
joaotavora/yasnippet@33587a8551 -> joaotavora/yasnippet@eb5ba2664c

- Recently, yasnippet start complaining about snippets with the same
  name (particularly y-or-n-p and x-file). I've removed/renamed the
  offending snippets in doomemacs/snippets.

Ref: doomemacs/snippets@41417b4398
Ref: doomemacs/snippets@d0a96a37d4
2024-04-07 16:08:40 -04:00
Henrik Lissner
95ba26ba68
bump: :app everywhere
tecosaur/emacs-everywhere@fbeff19825 -> tecosaur/emacs-everywhere@bc91164151

Ref: tecosaur/emacs-everywhere#75
Revert: b439300e6a
2024-04-07 01:58:29 -04:00
Prashant Vithani
ead2ad19dc bump: :lang scala
hvesalai/emacs-sbt-mode@bcf8d60400 -> hvesalai/emacs-sbt-mode@cc68728a6e
2024-04-06 12:59:13 -04:00
Henrik Lissner
69bc471722
fix(workspaces): dual *Warnings* windows at startup
At some point, either Emacs, persp-mode, or I fixed what caused #319,
which swallows the *Warnings* popup when the new main workspace is
created. Until I can determine what fixed it (so I can determine whether
the whole hack should go), I'll simply add this guard.

Ref: #319
2024-04-06 12:55:01 -04:00
Henrik Lissner
a3de6ad04f
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-04-06 12:35:00 -04:00
gpanago
813c961511
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-04-06 00:21:59 -04:00
StrawberryTea
4f07e83b6e 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-04-06 00:14:47 -04:00
StrawberryTea
f79bb46c9b 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-04-06 00:14:09 -04:00
Henrik Lissner
57f43e0953
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-04-05 19:05:54 -04:00
Henrik Lissner
ac33107228
bump: :lang factor
factor/factor@23fcfc7075 -> factor/factor@12fc9d5071
2024-04-05 19:05:29 -04:00
Henrik Lissner
681dd7bb55
fix(factor): handle fuel popups
Fix: #7788
Co-authored-by: steve-ayerhart <steve-ayerhart@users.noreply.github.com>
2024-04-05 19:04:45 -04:00
Henrik Lissner
1f921ca7a7
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-04-05 19:03:18 -04:00
Henrik Lissner
854f4103ff
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-04-05 19:01:59 -04:00
Henrik Lissner
0cf7824256
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-04-05 18:54:35 -04:00
Henrik Lissner
cf6d44d82d
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-04-05 16:03:47 -04:00
Henrik Lissner
a6a011fc9c
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-04-05 14:30:59 -04:00
Henrik Lissner
fb96c8df5a
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-04-05 12:06:02 -04:00
Henrik Lissner
59f3568217
docs(julia): reformat & fix package/flag links 2024-04-05 12:05:56 -04:00
Henrik Lissner
881defae2d
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-04-05 11:51:21 -04:00
Henrik Lissner
d205643cab
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-04-05 11:34:34 -04:00
Henrik Lissner
4ca87463de
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: 198fe82b6d
2024-04-04 18:00:06 -04:00
Henrik Lissner
19e27764ea
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: 198fe82b6d
2024-04-04 17:59:33 -04:00
Henrik Lissner
fdb9e6b499
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-04-03 17:55:37 -04:00
Henrik Lissner
2a2565f059
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-04-03 17:48:38 -04:00
Henrik Lissner
747a57fe54
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-04-03 17:24:17 -04:00
Henrik Lissner
52599ab536
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-04-03 17:21:16 -04:00