Commit graph

19000 commits

Author SHA1 Message Date
Henrik Lissner
c48a5e5f9c
fix(god): cursor color change
If the cursor's color changed from A to B, it didn't change back.

Close: #7841
Amend: #7049
Co-authored-by: darth10 <darth10@users.noreply.github.com>
2024-06-23 15:56:17 -04:00
Samuel Tschiedel
4af60fe066 feat(dired): add subtree bindings to dirvish
The structure follows `dired`'s evil-collection's.

Ref: 5886bab852/modes/dired/evil-collection-dired.el (L205-L212)
2024-06-23 15:55:58 -04:00
Samuel Tschiedel
0f09d6f748 fix(dired): update dirvish keybindings
This is another temporary fix to buy us more time until doomemacs#6760
lands.
2024-06-23 15:55:58 -04:00
Zero King
415792d37b bump: :lang org
emacs-straight/org-mode@7fa1694ec6 -> emacs-straight/org-mode@39272e2165
2024-06-23 15:55:28 -04:00
Henrik Lissner
d84111927c
fix(lib): doom/bumpify-diff: ignore malformed package! statements
To avoid 'uneven number of packages be bumped' errors in some edge cases
where this isn't true.
2024-06-22 18:14:05 -04:00
Henrik Lissner
7e7d8ebdfd
fix(lib): print!: don't resolve printed symlinks 2024-06-22 18:14:05 -04:00
Henrik Lissner
703173a6d2
feat(lib): doom-print: allow lexical redirection 2024-06-22 18:14:05 -04:00
Henrik Lissner
17119c5df7
refactor(lib): tweak user-error messages
To make these errors more consistent with similar commands/operations,
as well as rely less on cl-check-type (cl-lib's understanding of the
`font` type is a bit odd; they'd emit warnings/errors about this, but
still perform the checks -- I opted to check more explicitly instead).
2024-06-22 18:14:05 -04:00
Henrik Lissner
a3a0629e03
bump: :editor
doomemacs/snippets@c1384cc797 -> doomemacs/snippets@3a0b029c5d
emacs-evil/evil-collection@ca977acb83 -> emacs-evil/evil-collection@acb056b1d0
emacs-evil/evil@0251080640 -> emacs-evil/evil@0ad84c5216
emacs-straight/adaptive-wrap@70005d2012 -> emacs-straight/adaptive-wrap@a3b179ea21
emacs-tree-sitter/ts-fold@0627723e5f -> emacs-tree-sitter/ts-fold@6ce584d1ac
emacsmirror/visual-fill-column@5e74afe39d -> emacsmirror/visual-fill-column@e04d3521b6
joaotavora/yasnippet@297546f085 -> joaotavora/yasnippet@eb5ba2664c
juliapath/evil-numbers@7a1b62afc1 -> juliapath/evil-numbers@c789989451
justinbarclay/parinfer-rust-mode@e9a23e136b -> justinbarclay/parinfer-rust-mode@a96c768e9d
magnars/multiple-cursors.el@234806c832 -> magnars/multiple-cursors.el@c870c18462
radian-software/apheleia@96a9805ecb -> radian-software/apheleia@61766b50b2
2024-06-22 18:14:05 -04:00
Henrik Lissner
b405225b90
refactor!(vc-gutter): drop git-gutter for diff-hl
BREAKING CHANGE: This removes git-gutter as an implementation for the
`:ui vc-gutter` module, leaving only the diff-hl implementation. There
are no longer any +git-gutter or +diff-hl flags for this module. Users
don't have to do anything to keep the vc gutter, unless they prefer
git-gutter for any reason (in which case they'll need to install and set
it up themselves).

This has been planned for some time, because of a roadmap goal for Doom
to lean into native/built-in functionality where it's equal or better
than the third party alternatives. diff-hl relies on the built-in vc.el
library instead of talking to git directly (thus expanding support to
whatever VCS's vc.el supports, and not git alone), which also means it
can take advantage of its caching and other user configuration for
vc.el. Overall, it is faster and lighter.

What I've also been waiting for was a stage-hunk command, similar to
git-gutter:stage-hunk, which arrived in dgutov/diff-hl@a0560551cd and
dgutov/diff-hl@133538973b, and have evolved since.

Ref: dgutov/diff-hl@a0560551cd
Ref: dgutov/diff-hl@133538973b
Ref: https://github.com/orgs/doomemacs/projects/5/views/1?pane=issue&itemId=58747789
2024-06-22 18:14:04 -04:00
Henrik Lissner
0aede16322
bump: :lang org
emacs-jupyter/jupyter@2059d79b2f -> emacs-jupyter/jupyter@b279c90295
emacs-straight/org-mode@5bdfc02c6f -> emacs-straight/org-mode@7fa1694ec6
emacsmirror/org-contrib@d4056ce5d5 -> emacsmirror/org-contrib@ccd4212866
hakimel/reveal.js@6410c756ea -> hakimel/reveal.js@472535065c
hniksic/emacs-htmlize@09d43dfa44 -> hniksic/emacs-htmlize@ed5e5b05fd
https://repo.or.cz/org-contacts.git@6660db078f76 -> https://repo.or.cz/org-contacts.git@d0cb221502c9
magit/orgit-forge@f2ff9e5ad6 -> magit/orgit-forge@7b010465ab
magit/orgit@a57beefa24 -> magit/orgit@ca3bf7aa20
oer/org-re-reveal@1944ac53d4 -> oer/org-re-reveal@77c805a89e
org-noter/org-noter@9e4f57957b -> org-noter/org-noter@68646b685a

- Includes a critical security bgufix in org (see
  https://list.orgmode.org/87sex5gdqc.fsf@localhost/T/#u).
- One thing to be aware of is 5b7d676, where I reverted a bump for org
  due to crippling performance issues with natively src and latex
  blocks.  I'm not seeing this anymore, but further testing is needed.

Ref: https://list.orgmode.org/87sex5gdqc.fsf@localhost/T/#u
Ref: 5b7d6763f8
2024-06-22 18:13:14 -04:00
Henrik Lissner
391babd7bb
bump: :tools tree-sitter
emacs-tree-sitter/elisp-tree-sitter@3cfab8a0e9 -> emacs-tree-sitter/elisp-tree-sitter@02fe7b86d9

tree-sitter was bumped in ee10764, but the bump was reverted by mistake
in 7719991 because the default branch in tree-sitter's MELPA recipe is
release, not master, which confused the doom/bump-package* commands.
This partially reverts 7719991 to undo the de-bump.

Amend: 7719991bad
Ref: ee10764c22
2024-06-22 13:22:22 -04:00
Henrik Lissner
62248f8366
bump: :ui
Alexander-Miller/treemacs@8c6df39f01 -> Alexander-Miller/treemacs@54ef590b76
dgutov/diff-hl@9662083943 -> dgutov/diff-hl@11f3113e79
doomemacs/themes@3b2422b208 -> doomemacs/themes@816fb54d60
emacs-lsp/lsp-treemacs@e54e74deb8 -> emacs-lsp/lsp-treemacs@1d43e9e030
emacs-straight/minimap@90aeeb5798 -> emacs-straight/minimap@4898d27768
jrblevin/deft@bb1a16b87c -> jrblevin/deft@b369d7225d
seagle0128/doom-modeline@e09b8e989f -> seagle0128/doom-modeline@11ae6c193c
tarsius/hl-todo@f1fef158f9 -> tarsius/hl-todo@dd46d426c0
2024-06-21 19:11:30 -04:00
Henrik Lissner
7719991bad
bump: :tools
andras-simonyi/citeproc-el@44f90cb296 -> andras-simonyi/citeproc-el@cfa30b6c95
editorconfig/editorconfig-emacs@d73b6392de -> editorconfig/editorconfig-emacs@1651294334
emacs-citar/citar@885b86f673 -> emacs-citar/citar@07d2a63c99
emacs-lsp/dap-mode@11431a26bc -> emacs-lsp/dap-mode@b407773ebc
emacs-lsp/lsp-mode@acad044ebc -> emacs-lsp/lsp-mode@cec9e56390
emacs-straight/crdt@4a18cd8539 -> emacs-straight/crdt@9bf99e2ce3
emacs-straight/eglot@e7e49c789c -> emacs-straight/eglot@850cbd0430
emacs-straight/rainbow-mode@70ed10d410 -> emacs-straight/rainbow-mode@0740f31f30
emacs-tree-sitter/elisp-tree-sitter@02fe7b86d9 -> emacs-tree-sitter/elisp-tree-sitter@3cfab8a0e9
emacsorphanage/quickrun@373634cf51 -> emacsorphanage/quickrun@c58e2e4be5
jacktasia/dumb-jump@ede6a04187 -> jacktasia/dumb-jump@3c2ab8dfff
k1LoW/emacs-ansible@1d7de8d3dd -> k1LoW/emacs-ansible@b4dca00f89
magit/forge@c3675fd068 -> magit/forge@4adb94d23c
magit/magit@f9268a9598 -> magit/magit@ea0f07e549
purcell/envrc@8eb7401700 -> purcell/envrc@2316e004c1
vedang/pdf-tools@a1048bceb2 -> vedang/pdf-tools@30b50544e5
2024-06-21 19:10:30 -04:00
Henrik Lissner
4f4718e6d1
bump: :ui tabs
ema2159/centaur-tabs@0bb1aa18d4 -> ema2159/centaur-tabs@4a121a175e

- Reverts some hacks that are no longer needed:
  - ema2159/centaur-tabs#231 makes 56f33bc7ed obsolete.
  - ema2159/centaur-tabs@2f6a5fbb8d makes 813c961511 obsolete.

Ref: ema2159/centaur-tabs@2f6a5fbb8d
Revert: 813c961511
Ref: ema2159/centaur-tabs#231
Revert: 56f33bc7ed
2024-06-21 17:59:42 -04:00
Puneeth Chaganti
046cfd816a feat(ocaml): switch to using opam-switch-mode
`tuareg-opam-update-env` has been deprecated, and the `opam-switch-mode`
package is recommended for managing opam switches. This commit adds this
package to the OCaml module
2024-06-21 17:55:11 -04:00
Puneeth Chaganti
1f404bae96 fix(ocaml): fix incorrect package name in README 2024-06-21 17:55:11 -04:00
duli
7fe642938d fix: 'doom sync' generates autoload files for symbolic link files
* lisp/lib/autoloads.el(doom-autoloads--scan) Remove invoke
`file-truename` of file, keeping symbolic from being converted to a real
path.
* lisp/doom-modules.el(doom-module-from-path) Replace
`file-in-directory-p` with `string-match` to determine the module to
which the file belongs.

Fix: #7821
2024-06-21 17:52:45 -04:00
Henrik Lissner
9116ec2ec7
release(modules): 24.07.0-dev
Ref: 2b39e41368
2024-06-20 18:29:15 -04:00
Henrik Lissner
ee10764c22
bump: :tools tree-sitter
emacs-tree-sitter/elisp-tree-sitter@3cfab8a0e9 -> emacs-tree-sitter/elisp-tree-sitter@02fe7b86d9
emacs-tree-sitter/tree-sitter-langs@b7895ca759 -> emacs-tree-sitter/tree-sitter-langs@a06804e13f

Close: #7842
Ref: emacs-tree-sitter/elisp-tree-sitter#250
Co-authored-by: meedstrom <meedstrom@users.noreply.github.com>
2024-06-20 18:29:15 -04:00
Henrik Lissner
1c18a0cc7e
bump: :emacs undo
emacs-straight/undo-tree@f9e7eac16f -> emacs-straight/undo-tree@5e9f4c9234
emacs-straight/vundo@10d011fb05 -> emacs-straight/vundo@a18d63a9a1
ideasman42/emacs-undo-fu-session@2b355c9d39 -> ideasman42/emacs-undo-fu-session@75d78310c8
ideasman42/emacs-undo-fu@04961ba775 -> ideasman42/emacs-undo-fu@ea902716f3
2024-06-20 18:28:13 -04:00
Henrik Lissner
39588a15f6
bump: :core
Fuco1/smartparens@a5c68cac1b -> Fuco1/smartparens@f7cf316715
Wilfred/helpful@a32a5b3d95 -> Wilfred/helpful@4ba24cac9f
emacs-straight/project@93aa1872e9 -> emacs-straight/project@bf4c3cfcfb
jscheid/dtrt-indent@5d1b44f9a1 -> jscheid/dtrt-indent@939c5e374a
justbur/emacs-which-key@1e89fa000e -> justbur/emacs-which-key@ed38931217
2024-06-20 18:28:13 -04:00
Henrik Lissner
6ba70df105
docs(dired): update flags & package listing
Close: #7851
Co-authored-by: isentropic <isentropic@users.noreply.github.com>
2024-06-20 18:28:12 -04:00
Henrik Lissner
ea1f72e875
fix(tabs): reload centaur-tabs when changing themes
Fix: #6503
2024-06-20 18:28:12 -04:00
Henrik Lissner
fddc912f81
fix(tabs): defer centaur-tabs-mode in daemon sessions
Fix: #6647
Fix: #7477
Close: #7276
2024-06-20 18:28:12 -04:00
Henrik Lissner
56f33bc7ed
fix(tabs): workaround for ema2159/centaur-tabs#231
`centaur-tabs-line-tab' reads `centaur-tabs-ace-jump-keys' without
length guards. If there are fewer entries than you have tabs, you'll see
an error (ema2159/centaur-tabs#231), and because the function is inlined
and monolithic, advising its behavior is non-trivial. This workaround
will mitigate it until it's dealt with upstream.

Ref: ema2159/centaur-tabs#231
2024-06-20 18:28:12 -04:00
Henrik Lissner
a61e2912cf
refactor(cli): bin/doomscript: simplify redirs, update commment 2024-06-20 18:28:12 -04:00
Henrik Lissner
04057003c2
docs: update supported Emacs version in version check 2024-06-20 18:28:12 -04:00
Henrik Lissner
3037d364b2
bump: :lang javascript
abicky/nodejs-repl.el@3b841055ca -> abicky/nodejs-repl.el@03d0b64768
emacs-typescript/typescript.el@4fcb459481 -> emacs-typescript/typescript.el@fc3a4f3b27
js-emacs/xref-js2@fd6b723e7f -> js-emacs/xref-js2@e215af9eed

- (#7865) Adds support for satsifies keyword in typescript-mode.

Close: #7865
Co-authored-by: kisaragi-hiu <kisaragi-hiu@users.noreply.github.com>
2024-06-20 18:28:12 -04:00
Henrik Lissner
0a2bcf928c
feat(lookup): +lookup/file: search file tree for relative paths
Given a relative file path that:

- Doesn't exist, relative to the open file/buffer (default-directory),
- Doesn't exist, relative to the project root,
- Doesn't satisfy any of the other rules in ffap-alist,
- Contains more than one segment (forward slashes),

The +lookup/file command will walk the file tree from default-directory
to the project root to search for the path, so given:

  project
  └── src
      ├── a
      │   └── a.h
      └── b
          └── b.h

This command, run on 'b/b.h' in a/a.h, will open b/b.h (but 'b.h' alone
won't work, which is intended, to reduce false positives).

Close: #7890
Co-authored-by: liuzhishan <liuzhishan@users.noreply.github.com>
2024-06-20 18:28:12 -04:00
Henrik Lissner
cffb3838ec
bump: :completion
abo-abo/swiper@1f88e54990 -> abo-abo/swiper@2a25a6fb5b
company-mode/company-mode@b0a522ac5b -> company-mode/company-mode@1a0fc12a9c
elken/yasnippet-capf@9043f82751 -> elken/yasnippet-capf@744dedb783
emacs-helm/helm@28f62344fe -> emacs-helm/helm@f8949afd9b
karthink/consult-dir@3f5f4b71eb -> karthink/consult-dir@15891383f3
minad/cape@e01e443023 -> minad/cape@f61da109a9
minad/consult@c87b0bf06d -> minad/consult@fe48522800
minad/corfu@35cd5a0f3c -> minad/corfu@cdc3e13ad3
minad/marginalia@3275d1f85c -> minad/marginalia@da72da4622
minad/vertico@68e51fda55 -> minad/vertico@ba650a7ab9
oantolin/embark@d3c9d1b4c8 -> oantolin/embark@9c166c4b96
oantolin/orderless@ac4aeb66f3 -> oantolin/orderless@53f5204ad3
radian-software/prescient.el@c39bf07c56 -> radian-software/prescient.el@0765418e43
seagle0128/nerd-icons-ivy-rich@7197614b27 -> seagle0128/nerd-icons-ivy-rich@86a896bb48

Close: #7862
Fix: #7863
2024-06-20 18:28:12 -04:00
Kirill A. Korinsky
c76b336f0d bump: :email wanderlust
wanderlust/apel@82eb2325bd -> wanderlust/apel@1a6fd3bab2
wanderlust/flim@abdd231500 -> wanderlust/flim@23bb29d70a
wanderlust/semi@9063a4485b -> wanderlust/semi@85a52b899a
wanderlust/wanderlust@c15e8ece4f -> wanderlust/wanderlust@8a0ea2146e
2024-06-20 18:27:35 -04:00
Kirill A. Korinsky
954748308b tweak(wanderlust): switch to use UTF-8 as default charset 2024-06-20 18:27:35 -04:00
Kirill A. Korinsky
bdcf433b04 tweak(wanderlust): hide more technical headers 2024-06-20 18:27:35 -04:00
André Silva
874b536892 fix(ligatures): set-font-ligatures! reset on nil 2024-06-20 18:20:31 -04:00
Hyunggyu Jang
6479fc7132 fix(word-wrap): choose first element if indent-var is list 2024-06-19 22:25:34 -04:00
Henrik Lissner
517daa4ed9
bump: :core
Fuco1/smartparens@ddc6233ea6 -> Fuco1/smartparens@a5c68cac1b
emacs-compat/compat@8d4e8a3666 -> emacs-compat/compat@80dbd9bc5e
emacs-straight/project@b6989856ab -> emacs-straight/project@93aa1872e9
justbur/emacs-which-key@96911a1d3f -> justbur/emacs-which-key@1e89fa000e
noctuid/general.el@ced143c30d -> noctuid/general.el@826bf2b97a
radian-software/straight.el@b1062df10b -> radian-software/straight.el@88e574ae75
rainstormstudio/nerd-icons.el@8095215a50 -> rainstormstudio/nerd-icons.el@4322290303
2024-06-03 16:22:10 -04:00
Henrik Lissner
afa7a24eee
bump: :tools debugger lsp
emacs-lsp/dap-mode@c95537c58e -> emacs-lsp/dap-mode@11431a26bc
emacs-lsp/lsp-mode@8861252880 -> emacs-lsp/lsp-mode@acad044ebc
emacs-lsp/lsp-ui@942eeecc3d -> emacs-lsp/lsp-ui@00f1fecdfb
emacs-straight/eglot@678610fdc5 -> emacs-straight/eglot@e7e49c789c
gagbo/consult-lsp@f8db3252c0 -> gagbo/consult-lsp@6858391316
tumashu/posframe@017deece88 -> tumashu/posframe@f4e9e509ba

Close: #7820
2024-06-03 16:22:10 -04:00
Henrik Lissner
5a8d65bc51
bump: :tools magit :emacs vc
alphapapa/magit-todos@332ce763f7 -> alphapapa/magit-todos@501c8db90a
magit/forge@ad94b5665d -> magit/forge@c3675fd068
magit/git-modes@3cc94974c0 -> magit/git-modes@52ea2a1281
magit/magit@b5637d665c -> magit/magit@f9268a9598
2024-06-03 16:22:10 -04:00
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
Henrik Lissner
1d3028688f
perf(cli): bin/doom startup
The call to find temporary-file-directory be a little faster with a
truly barren Emacs session.
2024-06-03 16:22:09 -04:00
Henrik Lissner
e18a509f71
fix: suppress lexical-binding warnings on 30+
These checks and warnings were added on some recent commit of Emacs.
They're annoying to deal with and the end-user typically can't do much
about them (e.g. old packages), so I suppress them across the board.

That said, there are a few we cannot catch in non-interactive
sessions (where they aren't delayed), and those early warnings don't
respect delayed-warnings-list. This ought to be considered a bug
upstream.
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
Byungwan Jun
c70b966850 fix(cli): auto-generated script error
The auto-generated script has bom characters on my mac. if bin/doom
exits with code 254, it gives me the below error:
`.../doom.123.0.sh: line 1: #!/usr/bin/env: No such file or directory`
2024-06-03 16:20:13 -04:00
Marien Zwart
e203309e5c refactor(lib): use ripgrep instead of git grep
Although this is a refactor for normal users of Doom, it is a bugfix for
one (I assume) unsupported configuration: when Doom is not running from
a git checkout. In that case, `doom--help-package-configs` currently
returns Git's error messages. This breaks `doom/help-packages` because
it expects each returned line to contain at least one `:` character, so
it errors out with `Wrong number of arguments: (file line _match &rest),
2`.

Using ripgrep here should be equivalent for normal users as long as they
have not added untracked files not covered by Doom's .gitignore.
2024-06-03 16:19:42 -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