Commit Graph

11956 Commits

Author SHA1 Message Date
1d7dd915ab fix(unicode): show remapping progress at startup
unicode-fonts takes 5-15 seconds to remap unicode blocks on first
invokation, but it does so invisibly because inhibit-redisplay and
inhibit-message are active during startup (to prevent unintended redraws
slowing down the startup process). This change ensures users get
meaningful feedback during this time.
2023-03-22 17:57:39 -04:00
221e75e739 refactor!(elixir): remove alchemist
BREAKING CHANGE: alchemist appears to be unmaintained and has reportedly
been replaced by elixir-ls and LSP (#5488). To restore your Elixir dev
environemnt, enable :lang (elixir +lsp) and install elixir-ls via your
package manager or 'M-x lsp-install-server'.

Close: #5488
2023-03-22 17:57:38 -04:00
890f200b41 feat(vertico): bind C-h/C-l to enter-or-preview/move up
Close: #7001
Ref: #6853
2023-03-22 17:57:38 -04:00
1a01620705 fix(unicode): don't unset doom-unicode-font
Ref: #3298
Ref: #3334
2023-03-22 17:57:04 -04:00
e5dbd4e8b1 bump: :completion vertico compat
iyefrat/all-the-icons-completion@4da28584a1 -> iyefrat/all-the-icons-completion@b08f053cee
minad/consult@ffaaf6da90 -> minad/consult@052399ed05
minad/marginalia@ccf573e214 -> minad/marginalia@2633b2dee2
minad/vertico@6f22ff1298 -> minad/vertico@b6b8420d29
oantolin/embark@5497a19eef -> oantolin/embark@3ffb27a833
oantolin/orderless@d09aab3795 -> oantolin/orderless@e678402671
tumashu/vertico-posframe@f57b170b43 -> tumashu/vertico-posframe@7da6d648ff
emacs-compat/compat@38280a7b54 -> emacs-compat/compat@7775c31857

---

consult--grep added support for searching in multiple directories, so we
can drop the advice in `doom--help-search`. The other changes just adapt
to upstream API changes.
2023-03-22 16:35:07 -04:00
3ce89731b6 docs(undo): add vundo
Amend: 9350b44dc0
Ref: #6263
2023-03-22 01:23:58 -04:00
512828078f bump: :emacs undo
emacs-straight/vundo@d78b02ab89 -> emacs-straight/vundo@26c929229a

Ref: #6263
2023-03-22 01:21:04 -04:00
cb6b065b87 fix(evil): embrace: escaped pairs in first org buffer
Close: #5423
2023-03-22 01:16:02 -04:00
0eff40c552 feat(lookup): add sourcegraph provider
Close: #6564
2023-03-22 00:35:57 -04:00
9350b44dc0 feat(undo): add vundo
Close: #6263
2023-03-22 00:26:10 -04:00
ce6be8c1b1 fix(mu4e): Do not shadow mu4e arguments
`(mu4e)` accepts an optional argument, `background`, which is useful if
you want to jump straight to `mu4e-headers-mode`. `=mu4e` should pass it on.
2023-03-21 01:43:40 -04:00
c157c39f4a tweak(lookup): add internet archive & doom providers
- Renames "Doom Emacs issues" to "Doom issues" for brevity in the
  completion window.
- Adds discourse.doomemacs.org search provider.
- Adds Internet Archive search provider.
2023-03-20 20:43:32 -04:00
d883863b91 bump: :checkers spell
d12frosted/flyspell-correct@e9fde6f93a -> d12frosted/flyspell-correct@7d7b6b0118
ideasman42/emacs-spell-fu@8185467b24 -> ideasman42/emacs-spell-fu@aed6e87aa3

- Includes spell-fu 0.4, which improves Windows support, among other
  issues.

Ref: #4009
Close: #7115
Co-authored-by: mnick <mnick@users.noreply.github.com>
2023-03-20 20:42:36 -04:00
2764b6c282 bump: :lang ruby
nonsequitur/inf-ruby@0ce7f4049e -> nonsequitur/inf-ruby@6f1df882ab

Ref: nonsequitur/inf-ruby#170
Close: #7148
Co-authored-by: gdonald <gdonald@users.noreply.github.com>
2023-03-20 20:42:36 -04:00
22097b5a75 fix(company): hook company-abort when +childframe enabled 2023-03-20 18:55:17 -04:00
e1c962cdf9 fix(parinfer): activate for fennel-mode
A simple oversight.
2023-03-20 18:29:52 -04:00
9d6a7b7d4b fix(clojure): load against the correct package
The cider library is loaded too late for clojure-mode to rely on, so we
load after the cider-mode package instead.

Fix: #7130
2023-03-20 18:29:16 -04:00
b66ad77031 feat(elm): add bindings for project compilation
Present in basically every other language module, these were
mysteriously missing for Elm.
2023-03-17 00:33:32 -04:00
bb60f5f6bc feat(common-lisp): add project loading and testing commands
Doing so manually in a Sly REPL is otherwise time consuming and
repetitive.
2023-03-17 00:30:04 -04:00
d1141b14c1 fix(org): org-flag -> org-fold, add spec argument
This implements the fixes described on takaxp/org-tree-slide#54

`org-flag-region` was deprecated on org 9.6, superseded by
`org-fold-region`, which takes different `spec` argument.

Fix: takaxp/org-tree-slide#54
Ref: 5f817f21fc/lisp/org-compat.el (L463)
2023-03-17 00:26:21 -04:00
52129f04bb fix(direnv): envrc triggering in its own internal buffers
This would produce extra (and confusing) noise in envrc's error popup,
and also means multiple (potentially expensive) calls to direnv in
failure cases.
2023-03-11 19:50:28 -05:00
f1f010ff99 perf(rss): defer db compaction
Compacting elfeed's DB when killing the search buffer can incur a long
delay (which blocks Emacs). Doing so isn't really critical, so I've
moved it to kill-emacs-hook instead.

Close: #7127
Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
2023-03-11 13:03:20 -05:00
adb125f41f fix(evil): persist evil state after mode changes
For example: when doom-guess-mode-h is triggered (see #7141), or when
the user invokes a mode function through M-x.

Fix: #7141
2023-03-11 10:54:22 -05:00
81f5a8f052 fix(org): "No org-loaddefs.el file" errors
Org complains if org-loaddefs.el is missing, but Straight generates a
org-autoloads.el instead (and loads it separately), so we need only fool
Org it exists.
2023-03-09 18:33:02 -05:00
719716cf20 fix(clojure): eager localleader keybind
This breaks Doom in scenarios where the user has set a non-standard
doom-localleader-key, because the module is binding a localleader key
too early in the startup process.

Amend: ca90c5e83c
Fix: #7130
Ref: #7136
2023-03-09 18:26:53 -05:00
d9f18e6040 fix(sh): eagerly load sh-script mode when opening a REPL
This is to bring the `sh-shell` variable in scope, when it otherwise
would not be if a `Sh` buffer hadn't yet been opened in the current
Emacs session.
2023-03-08 20:31:25 -05:00
d9f3d5c2f1 fix(haskell): require haskell-interactive-mode when opening repl
Otherwise the symbol `haskell-session-interactive-buffer` will not be
present if a Haskell buffer has not already been opened.
2023-03-08 20:31:25 -05:00
8063b02a80 feat(common-lisp): set custom repl opener
After some experimentation, calling `sly` non-interactively when no
Slynk connection involves some strange async affects which displease the
REPL-opening code. Instead, we start the Slynk process, wait while it
loads, and then finally connect with the usual `sly-mrepl`, whose Elisp
would have been loaded by this point.
2023-03-08 20:31:25 -05:00
ef525e6184 bump: :lang common-lisp
joaotavora/sly@fa70fc8ab1 -> joaotavora/sly@f34c22289a
2023-03-08 20:31:25 -05:00
5daf800ae1 feat(tools): rework REPL selection UI
This displays human-readable versions of the modes whose REPL the user
wishes to open.
2023-03-08 20:31:25 -05:00
0123dd1648 fix(tools): improve detection of available REPLs
Previously, when setting up a prompt for choosing from the available
REPLs, not all known options were detected via the regex pattern. This
commit modularizes the logic and provides a backup for detecting REPLs
that we definitely know about from the `+eval-repls` list.
2023-03-08 20:31:25 -05:00
78895d89ee fix(csharp): csharp-tree-sitter-mode: void-function error in Emacs 29+
In Emacs 29.0.60, csharp-mode was absorbed into Emacs, and
csharp-tree-sitter-mode was replaced with built-in support for the new
treesit.el library.
2023-03-08 20:30:09 -05:00
8be11ff48c fix(treemacs): ignore default popup rules
Fix: #7128
2023-03-08 20:24:44 -05:00
8f6b045dfd fix(lua): remove trailing ! in modulep! 2023-03-01 17:32:32 -05:00
5c563d307b fix(doom-dashboard): update evil-replace-state ref
The command was renamed evil-enter-replace-state, upstream.
2023-02-25 20:47:29 -05:00
9d9b278914 feat(beancount): add {next,previous}-transaction commands 2023-02-25 20:47:29 -05:00
6471690782 perf(org): disable auto-reformat/update for tables/cookies
These two can *significantly* slow down larger org buffers for evil
users, when switching modes (e.g. leaving insert/replace mode), so I am
removing these if/when I find a better alternative. Though, they can
still be done manually with `C-c C-c` (for cookies) and `TAB` in tables.
2023-02-25 20:47:28 -05:00
c1c966c811 docs: assume ~/.config/emacs by default
From now on, our documentation will assume your Emacs config lives in
~/.config/emacs, by default, rather than ~/.emacs.d. Support for the
latter is not going away, it will simply be mentioned less in the
literature, as all supported versions of Emacs going forward (and future
versions of Doom) will support (and prefer) XDG conventions.

The user manual will be updated separately.

Close: #6965
Co-authored-by: gagbo <gagbo@users.noreply.github.com>
2023-02-25 20:47:28 -05:00
fe2cb5e705 fix(evil): premature "too early" warnings
A warning gets logged if a lazily-loaded evil-collection package is
loaded too early at startup, but the goal posts were in the wrong place,
resulting in unavoidable warnings for packages that weren't actually
loaded too early.
2023-02-25 20:47:28 -05:00
99c6949e54 feat(clojure): add support for jet & neil 2023-02-24 02:55:16 -05:00
ca90c5e83c fix(clojure): improve how cljr is loaded 2023-02-24 02:55:16 -05:00
7a27409e30 docs(clojure): clean up README
Remove some outdated advice and update the README
2023-02-24 02:55:16 -05:00
fb2de71dce docs(spell): mention possible mismatch in ispell-personal-dictionary
Ref: #6246
2023-02-23 23:15:15 -05:00
e395ff0eb0 fix(fortran): account for the .F90 extension
In the Elder Days, it was common to give Fortran files the extensions of
`.FOR` or later `.F90`. The major modes for Fortran don't automatically
detect this conversion. The former was already accounted for in Doom's
module, but not the latter. This commit rectifies this.
2023-02-23 23:12:13 -05:00
b4034a590b docs(helm): revise and expand
- Added links to external documentation.
- Added commands for key bindings (especially useful for non-Evil users).
- Documented configuration for helm-mode and treemacs icons.

Close: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:54:02 -05:00
4158e5124a tweak(helm): helm-candidate-number-limit = 150
Ref: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:54:02 -05:00
86d0478acf fix(helm): all-the-icons support
Ref: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:54:02 -05:00
1bfa90621b tweak(helm): use emacs completion instead
This may fix +fuzzy, as well.

Ref: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:54:01 -05:00
8789e2e5c6 refactor(helm): reformat and revise comments
Ref: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:54:01 -05:00
928902213f refactor(helm): use helm-posframe
The old, in-house implementation no longer works (and reportedly causes
crashes).

Ref: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:54:01 -05:00