Commit graph

12344 commits

Author SHA1 Message Date
Henrik Lissner
4ca92f3dd0
module: deprecate :completion ivy
Ivy is practically Vertico's spiritual successor, and its module is one
of the more higher-maintenance modules in our library. Rather than
maintain two spiritually identicaly modules, I'd rather focus on the
better one.

I won't make any moves to actually remove the Ivy module until well
after the v3 release, when `doom sync` and `doom upgrade` have rollback
functionality, and those commands are better equipped to warn uses about
module deprecations (and we have our new Github Discussions board set
up, so we have a centralized place to announce them).
2024-07-29 02:01:27 -04:00
Henrik Lissner
bc5a8ec3fa
fix(zig): update zls download URL sooner
By putting it in zig-mode's :config block, the new URL won't be
available until the zig-mode package is loaded, which means users who
try to install zls with M-x lsp-install-server *before* zig-mode is
loaded will get the old, broken URL instead of the new.

Fix: #7970
Amend: 7bb5df4cd4
2024-07-28 15:21:13 -04:00
Henrik Lissner
bc948c38c2
refactor(vc): remove hydra
hydra was removed in b08c2c7, so I'm no longer supporting hydra
workflows.

Amend: b08c2c745f
2024-07-28 15:21:13 -04:00
Dan McArdle
ff3fd15b02 fix(vc-gutter): check 'diff-hl-disable-on-remote is bound
This fixes the following error message on startup:

    Symbol’s value as variable is void: diff-hl-disable-on-remote
2024-07-26 16:29:34 -04:00
Henrik Lissner
dec2a387ad
fix(modeline): remove advice causing org-element cache errors in org
This advice was suppressing ws-butler's modification hooks, which had a
nasty side-effect of modifying org buffers without letting its
org-element cache know that it's stale, which resulted in errors like
this, followed by a backtrace:

  Warning (org-element): org-element--cache: Unregistered buffer modifications detected (175 != 176). Resetting.
  If this warning appears regularly, please report the warning text to Org mode mailing list (M-x org-submit-bug-report).

The advice isn't needed anymore, anyhow.
2024-07-26 04:46:54 -04:00
Henrik Lissner
7c5d8641a1
fix(vc-gutter): respect diff-hl-disable-on-remote in dired
Neither `diff-hl-dired-mode` or `diff-hl-dired-mode-unless-remote`
respect diff-hl-disable-on-remote, so added my own enabler hook.
2024-07-25 19:43:28 -04:00
Henrik Lissner
a8b836dac3
fix(vc-gutter): use global-diff-hl-mode
Our former approach would enable diff-hl unconditionally. This way, the
`diff-hl-global-modes` variable is respected.

Ref: https://discourse.doomemacs.org/t/4710/2
2024-07-25 19:43:28 -04:00
Henrik Lissner
69f4b70069
fix(evil): remove gA keybind
I was working on a +lookup/assignments around the time I introduced
+lookup/implementations, but I dropped it and forgot to remove this
keybind, which snuck in on f1d89bf.

Amend: f1d89bf9c2
2024-07-25 19:43:28 -04:00
Henrik Lissner
201d90a7e3
docs(irc): merge & revise auth-source section 2024-07-23 15:16:55 -04:00
Henrik Lissner
95bf26c6cd
bump: :app
emacs-circe/circe@9d703f481a -> emacs-circe/circe@3ae3879050
https://git.savannah.gnu.org/git/emms.git@cead7b435a67 -> https://git.savannah.gnu.org/git/emms.git@b5567be2176d
2024-07-23 14:10:29 -04:00
Henrik Lissner
d4577a054c
fix(irc): lui-logging-directory = doom-profile-state-dir
Conforms Lui to Doom/XDG conventions.
2024-07-23 14:09:20 -04:00
Henrik Lissner
dab08759ef
feat(irc): enable-lui-irc-colors
Close: #7959
Co-authored-by: Thaodan <Thaodan@users.noreply.github.com>
2024-07-23 14:09:04 -04:00
Henrik Lissner
bb79a7603f
fix(irc): lui-autopaste & lui-track init
- enable-lui-track-bar was deprecated for enable-lui-track.
- Neither function has buffer-local side-effects, so they shouldn't be
  used with hooks.

Close: #7959
Co-authored-by: Thaodan <Thaodan@users.noreply.github.com>
2024-07-23 14:08:29 -04:00
Henrik Lissner
f99a58906b
refactor(irc): minor reformatting
- Remove redundant autoloads (already autoloaded by packages).
- Move lui configuration to lui use-package! block.
- Ensure consistent use of whitespace.
2024-07-23 14:06:29 -04:00
Henrik Lissner
a6d0f101bd
fix(irc): enable flyspell appropriately 2024-07-23 14:05:54 -04:00
Henrik Lissner
6d7e3ad365
fix(irc): circe-color-nicks & circe-new-day-notifier
Prior to this, the user would need to know the precise load order of
circe and circe-color-nicks/circe-new-day-notifier to overwrite Doom's
defaults in an `after!` or `with-eval-after-load` block.

Also, `enable-circe-color-nicks` does not have buffer-local
side-effects, so shouldn't be hooked to `circe-channel-mode-hook`.

Close: #7959
Co-authored-by: Thaodan <Thaodan@users.noreply.github.com>
2024-07-23 14:00:40 -04:00
Henrik Lissner
c95ecc6293
refactor(irc): remove unnecessary variables
These variables don't add any value to the original variables whose
defaults they change, so they've been deprecated. Users should modify
the original variables themselves.
2024-07-23 13:56:26 -04:00
Henrik Lissner
2f2c294529
refactor(irc): remove obsolete tls.el workaround
Circe dropped its dependency on tls.el for gnutls.

Ref: emacs-circe/circe#377
Ref: emacs-circe/circe#340
Ref: emacs-circe/circe@a71d55d6b8
Ref: #1862
Close: #7959
Co-authored-by: Thaodan <Thaodan@users.noreply.github.com>
2024-07-23 13:20:52 -04:00
Henrik Lissner
f5b3958331
fix(gdscript): make dtrt-indent aware
This allows dtrt-indent (and commands that rely on it, like
doom/set-indent-width) to work in gdscript-mode buffers.
2024-07-21 19:12:21 -04:00
Henrik Lissner
d66dd5593a
bump: :lang org
awth13/org-appear@81eba5d7a5 -> awth13/org-appear@32ee50f8fd
emacs-jupyter/jupyter@b279c90295 -> emacs-jupyter/jupyter@f97f4b5d8c
emacs-straight/org-mode@39272e2165 -> emacs-straight/org-mode@f398724bd5
magit/orgit-forge@7b010465ab -> magit/orgit-forge@a989b2b54d
magit/orgit@ca3bf7aa20 -> magit/orgit@29a0f37e5c
oer/org-re-reveal@77c805a89e -> oer/org-re-reveal@dbd8ffb3e5
2024-07-20 14:31:53 -04:00
Henrik Lissner
4fa24d1533
bump: :tools magit :emacs vc
emacsmirror/git-timemachine@5ed73c3831 -> emacsmirror/git-timemachine@3780835fcd
magit/forge@67314e2f83 -> magit/forge@9edfcb2c15
magit/git-modes@52ea2a1281 -> magit/git-modes@d96fa7a3c7
magit/magit@b9948f9571 -> magit/magit@9d4192b7b1
2024-07-20 14:31:53 -04:00
Krzysztof Baranowski
f9583ee30c bump: :lang scheme
emacs-geiser/guile@71a6be0043 -> emacs-geiser/guile@d5175439c0
2024-07-20 14:31:27 -04:00
Henrik Lissner
36e7aaa619
nit(default): remove refs to doom-point-in-*-functions
These variables were removed in e43d575.

Amend: e43d575caf
2024-07-18 22:38:59 -04:00
Henrik Lissner
db36c74bbb
refactor: minor refactors 2024-07-18 22:38:59 -04:00
Henrik Lissner
f5a9f5d7ad
docs(popup): set-popup-rule!: update docstring 2024-07-18 22:38:59 -04:00
Henrik Lissner
08fdcd2abf
docs(macos): doctor: mention auth-source-macos-keychain bug in <29.3
I'm not actually sure when this was fixed, but the bug report title
claims this was reported in 29.1, so I'll assume it was merged by 29.3.
Needs verifying.

The explanation could use some work, but this'll do for now. I'll
welcome PRs to expand it if I don't get to it first.

Ref: https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-08/msg00560.html
2024-07-18 22:38:20 -04:00
Henrik Lissner
90bbd7101a
fix(beancount): beancount-fava failing to open browser 2024-07-18 20:56:10 -04:00
Henrik Lissner
3391cb76bb
fix(julia): eglot-jl: use included server
Fix: #7953
2024-07-18 19:15:58 -04:00
Henrik Lissner
58375306ad
bump: :ui doom
doomemacs/themes@188ab05eef -> doomemacs/themes@2c794a09b0
hlissner/emacs-solaire-mode@8ccdceeb92 -> hlissner/emacs-solaire-mode@c9334666bd
2024-07-16 22:33:16 -04:00
Henrik Lissner
13ed89f235
fix(format): disengage selection after +format-region
Fix: #7951
2024-07-16 11:34:14 -04:00
Henrik Lissner
3f66400d62
fix(treemacs): open last treemacs session if in $HOME or non-project
`treemacs-add-and-display-current-project-exclusively' seems to confuse
some people and please others when it is used in $HOME. To reduce
confusion, SPC o p will now resume from the last session if
default-directory isn't a valid project OR if it's $HOME. It will also
emit a warning informing them of that.

Fix: #7948
Amend: f9dfb7e92a
2024-07-16 11:23:11 -04:00
Chris Rose
fb0402e89c bump: :tools magit
magit/forge@0102834bb7 -> magit/forge@67314e2f83
magit/magit@9d1f8db507 -> magit/magit@b9948f9571

- update magit's compat library, alongside forge's use of same.
2024-07-15 15:22:56 -04:00
Henrik Lissner
ba3f30ef67
nit(org): punctuate docstrings
Plus minor grammar fix.
2024-07-15 00:23:43 -04:00
Henrik Lissner
c616831a8f
fix(org): TAB in org-mode (for corfu users)
For evil users, TAB used to invoke `org-cycle` in insert mode, until
recent changes with the corfu module undid them, making them invoke only
completion.
2024-07-15 00:23:43 -04:00
Henrik Lissner
5485b912de
bump: :ui vc-gutter
dgutov/diff-hl@11f3113e79 -> dgutov/diff-hl@f66345ed1f

- Our diff-hl-update-async hack is no longer needed. The issue was
  addressed upstream.

Amend: 778fc9ad3f
Ref: dgutov/diff-hl#213
Ref: dgutov/diff-hl@e264d13a3d
2024-07-15 00:23:31 -04:00
Henrik Lissner
1eaa1aef2c
refactor(format): rename to +format/org-blocks-in-region
To better reflect that it operates on multiple blocks.

Ref: #7936
2024-07-14 02:00:24 -04:00
Henrik Lissner
7543b04e15
feat(format): add +format/org-block-in-region
Also updates `+org/reformat-at-point` to call
`+format/org-block-in-region` if selection is active.

Fix: #7936
2024-07-14 01:57:20 -04:00
Henrik Lissner
15ea9b6452
refactor(gdscript): remove format keybinds
Rely on :editor format's interface, instead, which is less janky.
2024-07-13 19:38:20 -04:00
Henrik Lissner
49d833fa64
fix(gdscript): accommodate version-suffixed godot binaries
On some distros (like nixpkgs), the binary is suffixed with a version
number.
2024-07-13 19:38:20 -04:00
Henrik Lissner
3d99fbf525
tweak(gdscript): open godot log buffers in popup
Includes an advice to prevent the log buffer from being focused. This
way, the user can return to their work faster when in their play-debug
loop, as well as kill the game/Godot by killing the log buffer
remotely (with its process) with C-g/ESC.
2024-07-13 19:38:20 -04:00
Henrik Lissner
3cc2d83ee8
tweak(gdscript): gdscript-docs-use-eww = nil
eww is clumsy and slow; taking 4-6 seconds to load and render the page
on a good day, so just use the browser instead.
2024-07-13 19:38:20 -04:00
Henrik Lissner
3b68924723
fix(gdscript): async :documentation lookup handler
Otherwise `+lookup/documentation` will fall through to the next handler
whether or not `gdscript-docs-browse-symbol-at-point` is successful.
Especially important if `gdscript-docs-use-eww` is nil.
2024-07-13 19:38:20 -04:00
Henrik Lissner
b3ef202451
refactor(corfu): conform to naming conventions 2024-07-13 19:38:20 -04:00
Henrik Lissner
ce84690dc5
feat(evil): vim completion keybinds on C-x
Vim has a set of completion commands bound to the C-x prefix. We had
this for company, but with this commit, we now have them for the corfu
module.
2024-07-13 19:38:20 -04:00
Prashant Vithani
b9f1d5d261 tweak(syntax): use close-circle-outline icon for errors
The same is used by doom-modeline to show flycheck errors.

Ref: 1505c13564/doom-modeline-segments.el (L818)
2024-07-12 15:44:50 -04:00
Prashant Vithani
af0dcdcd94 bump: :checkers syntax
flycheck/flycheck@02148c6ce7 -> flycheck/flycheck@e8d1472aea
2024-07-12 15:44:50 -04:00
Henrik Lissner
b0e1e68e78
fix(cc): disable modern-cpp-font-lock if +tree-sitter
Fix: #7941
2024-07-11 23:32:05 -04:00
Henrik Lissner
76845a2ea8
bump: :lang latex
emacs-straight/adaptive-wrap@dea4e32c18 -> emacs-straight/adaptive-wrap@f5bc153273
emacs-straight/auctex@764a53c8e9 -> emacs-straight/auctex@451b0f08b0

- Thankfully, emacs-straight/auctex@451b0f08b0 removed the make step
  for building tex-site.el, but it also meant that anyone who has
  unpinned auctex would get file-missing errors for tex-site.el.in.

Fix: #7925
Ref: emacs-straight/auctex@451b0f08b0
2024-07-11 23:14:14 -04:00
Henrik Lissner
3965df56e8
docs(org): +org--fix-inconsistent-uuidgen-case-a: link to bug report
For posterity.
2024-07-11 15:19:03 -04:00
Henrik Lissner
11cf61fef2
feat(org): display link at point in eldoc 2024-07-11 15:18:30 -04:00