Commit Graph

19597 Commits

Author SHA1 Message Date
09f602b342 fix(unicode): unicode-fonts remapping for daemon
The unicode remappings were done too early, prior to this change, making
them ineffective for later daemon frames.

Fix: #5486
Fix: #7160
2023-03-22 17:58:21 -04:00
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
18da873a8c refactor(cli): mkdir and log to doom-state-dir
This will be more meaningful in v3, when we start writing profile data
to $XDG_{DATA,STATE,CACHE}_HOME instead of $EMACSDIR/.local.
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
db2534aa29 fix(cli): convert __DOOMSTEP to string
To avoid a type error.

Amend: 0ecf69afaf
Ref: #6970
2023-03-21 01:40:22 -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
1af08011df fix(lib): doom/help-modules: omit nil in module list
Some psuedo module categories (like :core and :user) don't have a module
component. Rather than display them as ':core nil' or ':user nil' in
module listings (like doom/help-modules), omit the nil entirely.
2023-03-20 20:43:32 -04:00
382058e1e6 fix(debug): doom-info: improve git error
In case Doom has been deployed without git (for some reason), or with an
unconventional structure.
2023-03-20 20:43:28 -04:00
0ecf69afaf fix(cli): increment __DOOMSTEP in elisp instead
Some shells (like ksh on SDF) may complain about $((...)) arithmetic
expansion syntax. Rather than wrestle with old shells, I'll offload this
trivial operation to elisp instead.

Close: #6970
2023-03-20 20:42:36 -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
65b283501a docs(cli): assume ~/.config/emacs by default
Once 'doom install' finishes, further instruction still assumes your
config lives in ~/.doom.d, which was supposed to be changed in c1c966c
to prefer ~/.config/doom.

Amend: c1c966c811
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
61b799d062 fix: s/permanant-local/permanent-local
Fix: #7123
Amend: 8d578cad76
2023-03-13 12:50:31 -04:00
63586423da release(modules): 23.03.0-dev
Ref: 2b39e41368
2023-03-11 20:25:45 -05:00
8d578cad76 fix: s/permenant-local/permanent-local
Fix: #7123
2023-03-11 19:53:26 -05: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
7c7ee6602c fix: update & simplify shell.nix 2023-03-09 18:33:02 -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