Commit Graph

19274 Commits

Author SHA1 Message Date
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
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
b163c21fe5 fix(cli): --force: handle more straight prompts
Fix: #7906
2024-07-28 15:21:13 -04:00
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
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
54a084fed7 fix(cli): some package files not being byte-compiled
Fix: #7707
Ref: radian-software/straight.el#1132
2024-07-26 04:46:54 -04:00
5852b2ecf5 fix(cli): properly overwrite last line of output
Before this, text that extended past the new line's length would
persist, causing garbled output like this:

  > Ensuring packages are installed and built...
    > Updating recipe repos...
    > Cloning org-appear...r emacsmirror-mirror...
    - No packages need attention

Which might lead you to believe org-appear is being cloned from
emacsmirror-mirror, but the full output is actually:

  > Ensuring packages are installed and built...
    > Updating recipe repos...
      > Updating recipes for melpa...
      > Updating recipes for nongnu-elpa...
      > Updating recipes for gnu-elpa-mirror...
      > Updating recipes for el-get...
      > Updating recipes for emacsmirror-mirror...
    > Cloning org-appear...
    - No packages need attention
2024-07-26 04:46:54 -04:00
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
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
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
201d90a7e3 docs(irc): merge & revise auth-source section 2024-07-23 15:16:55 -04:00
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
d4577a054c fix(irc): lui-logging-directory = doom-profile-state-dir
Conforms Lui to Doom/XDG conventions.
2024-07-23 14:09:20 -04:00
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
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
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
a6d0f101bd fix(irc): enable flyspell appropriately 2024-07-23 14:05:54 -04:00
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
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
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
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
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
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
f9583ee30c bump: :lang scheme
emacs-geiser/guile@71a6be0043 -> emacs-geiser/guile@d5175439c0
2024-07-20 14:31:27 -04:00
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
db36c74bbb refactor: minor refactors 2024-07-18 22:38:59 -04:00
98a3cad54d docs: minor docstring revisions
For clarity only. These do not reflect any recent changes.
2024-07-18 22:38:59 -04:00
f5a9f5d7ad docs(popup): set-popup-rule!: update docstring 2024-07-18 22:38:59 -04:00
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
90bbd7101a fix(beancount): beancount-fava failing to open browser 2024-07-18 20:56:10 -04:00
3391cb76bb fix(julia): eglot-jl: use included server
Fix: #7953
2024-07-18 19:15:58 -04:00
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
13ed89f235 fix(format): disengage selection after +format-region
Fix: #7951
2024-07-16 11:34:14 -04:00
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
bd728fd2a8 fix(lib): doom-project-find-file: fall back to find-file if DIR is empty
Fix: #7949
2024-07-16 11:06:39 -04:00
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
ba3f30ef67 nit(org): punctuate docstrings
Plus minor grammar fix.
2024-07-15 00:23:43 -04:00
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
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
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
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
378d0b8db6 fix(cli): doom env: omit XDG_BACKEND & DOOMLOCALDIR 2024-07-14 00:45:42 -04:00
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
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
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
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
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
b3ef202451 refactor(corfu): conform to naming conventions 2024-07-13 19:38:20 -04:00
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
8ab42fa774 nit: revise site-lisp comments
The motivations for delaying the site-lisp files are different between
interactive and non-interactive sessions. I've revised these comments to
reflect that.
2024-07-13 19:38:16 -04:00