Commit graph

19473 commits

Author SHA1 Message Date
Colin Woodbury
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
Colin Woodbury
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
Takaaki ISHIKAWA
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
Henrik Lissner
61b799d062
fix: s/permanant-local/permanent-local
Fix: #7123
Amend: 8d578cad76
2023-03-13 12:50:31 -04:00
Henrik Lissner
63586423da
release(modules): 23.03.0-dev
Ref: 2b39e41368
2023-03-11 20:25:45 -05:00
Henrik Lissner
8d578cad76
fix: s/permenant-local/permanent-local
Fix: #7123
2023-03-11 19:53:26 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
7c7ee6602c
fix: update & simplify shell.nix 2023-03-09 18:33:02 -05:00
Henrik Lissner
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
Henrik Lissner
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
Colin Woodbury
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
Colin Woodbury
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
Colin Woodbury
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
Colin Woodbury
ef525e6184 bump: :lang common-lisp
joaotavora/sly@fa70fc8ab1 -> joaotavora/sly@f34c22289a
2023-03-08 20:31:25 -05:00
Colin Woodbury
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
Colin Woodbury
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
passeride
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
David Adams
8be11ff48c fix(treemacs): ignore default popup rules
Fix: #7128
2023-03-08 20:24:44 -05:00
Jeetaditya Chatterjee
8f6b045dfd fix(lua): remove trailing ! in modulep! 2023-03-01 17:32:32 -05:00
Henrik Lissner
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
Henrik Lissner
9d9b278914
feat(beancount): add {next,previous}-transaction commands 2023-02-25 20:47:29 -05:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Itai Y. Efrat
f5f9c7222a fix(lib): letf! in doom--help-search
Slipped by manual testing due to consult not being loaded at the time
and doom--help-search going to default grep-find usage instead of
hitting the failiure.

Amend: 54c4340740
2023-02-24 16:06:38 -05:00
Ellis Kenyo
99c6949e54 feat(clojure): add support for jet & neil 2023-02-24 02:55:16 -05:00
Ellis Kenyo
ca90c5e83c fix(clojure): improve how cljr is loaded 2023-02-24 02:55:16 -05:00
Ellis Kenyo
7a27409e30 docs(clojure): clean up README
Remove some outdated advice and update the README
2023-02-24 02:55:16 -05:00
Huynh Tan
fb2de71dce
docs(spell): mention possible mismatch in ispell-personal-dictionary
Ref: #6246
2023-02-23 23:15:15 -05:00
Colin Woodbury
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
fcf587fbe8
tweak(helm): show mode-line by default
Let's not hide the minibuffer. It may be detrimental in cases where
certain helm commands actually display helpful information there. And
rather than design edge cases for a package I don't dogfood, and push
minimalism onto helm users, I'll lean onto the defaults more instead.

Ref: #6676
Co-authored-by: johanwiden <johanwiden@users.noreply.github.com>
2023-02-23 22:53:57 -05:00
Samoed
f20fe0274d feat(org): add hook for org-appear 2023-02-23 22:52:50 -05:00
GuangTao Zhang
778f849450
fix(chinese): update pyim-cregexp-build func
Pyim has replaced `pyim-cregexp-build-regexp-string` with `pyim-cregexp-build`.

Ref: tumashu/pyim#468
2023-02-23 22:51:28 -05:00
Henrik Lissner
4651df6530
nit(org): remove unused doom-source link type
A vestigial link type that snuck in during my tinkering, but was never
used, and has been replaced in some unpublished work.
2023-02-23 20:45:03 -05:00
Henrik Lissner
f348856cd3
docs(evil): add faq for kill-ring and clipboard sync
Describes how to disable synchronization between the kill-ring and
system clipboard.

Close: #6947
Co-authored-by: rittelle <rittelle@users.noreply.github.com>
2023-02-23 20:44:48 -05:00
Henrik Lissner
016d7b8fe3
fix(chinese): evil-pinyin: autoloads error
Some unknown difference between `loaddefs-generate` (Emacs 29+) and
`make-directory-autoloads` (<=28) causes evil-pinyin's autoloads file to
throw an error in 29+ when loaded, complaining about missing macros
defined by its dependencies (mainly `define-namespace` and
`evil-define-*`). Specifically, void-function errors.

Since the package is loaded almost immediately on startup, evil-pinyin's
autoloads file isn't needed in the first place, so by disabling it, the
error is resolved. This'll do until I can find a better solution or, at
least, the right party to report it to.

Ref: #6482
2023-02-23 18:41:58 -05:00
troy
b51f743e67 fix(vc): +vc--remote-homepage 2023-02-23 16:39:04 -05:00
Henrik Lissner
225e159b04
release(modules): 23.02.0-dev
Ref: 2b39e41368
2023-02-23 04:18:11 -05:00
Henrik Lissner
5d69d48943
feat(chinese): add +childframe for pyim candidates
Close: #6482
Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
2023-02-23 02:34:11 -05:00
Henrik Lissner
4594aaa7cd
fix(chinese): evil-escape interfering w/ input method
Close: #6482
Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
2023-02-23 02:33:37 -05:00
Henrik Lissner
8658145447
feat(chinese): add evil-pinyin
Ref: #6356
Close: #6482
Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
2023-02-23 02:33:32 -05:00
Henrik Lissner
051c31109f
feat(chinese): search anything with pinyin
- Advise orderless to use pyim-cregexp-build when using vertico
- Add it to ivy-re-builders-alist when using ivy

Close: #6482
Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
2023-02-23 02:28:38 -05:00