12933 Commits

Author SHA1 Message Date
ca7e226e13 refactor(beancount): simplify +beancount--open-in-browser-after-starting-fix-a 2025-04-30 04:00:23 -04:00
f8f979a581 tweak(beancount): bind sort commands to <localleader> s
And move old +beancount/occur to <localleader> S.
2025-04-30 03:54:16 -04:00
4fa3bb4950 feat(beancount): add eval handler
Allows interop with the :tools eval module. Evaluating regions will now
invoke `bean-doctor region ...` on the selection.
2025-04-30 03:54:15 -04:00
440e952056 fix(beancount): +beancount/balance: make v3 compliant
bean-report was removed in beancount v3+, so we defer to bean-query,
which is present in both v2 and v3 (though it lives in a separate repo
in v3).
2025-04-30 03:54:15 -04:00
ac0a327721 fix(beancount): activate flymake-mode
There is no beancount integration for flycheck (which will be
implemented later), so activate flymake in beancount so users of either
checker can enjoy bean-check linting.
2025-04-30 03:53:41 -04:00
92930251cf refactor(clojure): add-hook!: no implicit mode hooks
Note: `add-hook!` will, in the future, deprecate implicit hooks, e.g.

  (add-hook! some-mode #'function)
  (add-hook! (some-mode another-mode) #'function)

This commit also removes the single-item lists passed to
`add-hook!` (which was unnecessary).
2025-04-30 03:10:46 -04:00
795708c116 feat(sh): add capf completion in shell scripts
For corfu (and non-lsp) users, primarily.
2025-04-30 03:10:28 -04:00
61f69ca980 fix(coq): corfu integration
Makes company-coq cooperate wtih Corfu without activating company-mode.
Needs more testing.
2025-04-30 03:10:15 -04:00
bb7dc7583f fix(coq): noop proof-upgrade-elpa-packages
Doom treats the use of package.el and its API as user error unless
they've called `package-initialize' themselves (in which case, it is
assumed you know what you're doing and truly want to use package.el).
2025-04-24 18:57:19 -04:00
303dd28db8 feat(lib): introduce doom/describe-char
A version of describe-char that, when given a prefix arg, will prompt
the user to click where to execute the command (so you can read
text-properties/overlay information for otherwise unselectable text, in
the minibuffer or special UIs).
2025-04-24 04:28:49 -04:00
1681bfbaf0 refactor: move doom-highlight-non-default-indentation-h out of core
This functionality falls under the umbrella of "better defaults" rather
than essential defaults, and so belongs in :config default.

Whats more, the naming convention (+emacs-...) was intentional, because
this function (and the :config default module) will be moved to :doom
emacs in the near future.

This also indirectly fixes #8373.

Fix: #8373
2025-04-23 20:22:25 -04:00
da32e8e6f2 fix(lsp): gate gcmh API call behind gcmh-mode check
In case the mode is activated before gcmh is loaded (as is the case with
session persistance libraries like desktop.el or
persp{ective,-mode}.el).

Close: #8372
2025-04-23 05:39:13 -04:00
9cbb8656cb feat(lookup): +lookup-provider-url-alist: add StackExchange 2025-04-23 04:02:51 -04:00
bff2ccd974 refactor: remove vestigial hydra configs
Hydra support was removed in b08c2c7.

Amend: bc948c38c2
Amend: b08c2c745f
2025-04-23 04:02:51 -04:00
b4bd368485 refactor!(debugger): replace realgud with dape
BREAKING CHANGE: Anyone used to realgud will find it missing as of this
commit. It's been replaced with Dape (see
https://github.com/svaante/dape).

This change was made because realgud's implementation was archaic and
over-complicated, dap-mode requires lsp-mode (and has a lot of moving
parts and points of failure), and dape is straight-forward by
comparison; to set up and use. Note that dap-mode and dap-ui is now
deprecated and will be removed in the future, but still remains behind
the +lsp flag for backwards compatibility, at least until v3.

This also adds a '<leader> d' prefix for debugger commands (except for
vanilla users, who already have dape's prefix on 'C-x C-a')
2025-04-23 04:02:06 -04:00
ed85328f57 fix(org): allow refiling to top level
Allow +org/refile-to-current-file to file to top level.

Fix: #5272
2025-04-20 03:32:11 -04:00
20381dea16 feat(emacs-lisp): add back/forward commands for helpful
Adapted from Janfel's snippet in Wilfred/helpful#250.

And bound to C-{o,i} and {<,>} for evil users, and C-c C-{b,f} and {l,r}
for vanilla users (mirroring the back/forward keybinds for help.el).

Ref: Wilfred/helpful#250
2025-04-20 03:31:25 -04:00
8f97949975 docs(ess): replace ess-R-data-view w/ ess-view-data
Ref: #6455
2025-04-18 00:17:42 -04:00
baf680f9c8 bump: :lang ess
emacs-ess/ESS@0eb240bcb6 -> emacs-ess/ESS@56f355acbd

Fix: #6455
2025-04-16 23:07:44 -04:00
2c22a26042 refactor(ess): remove unused autoloads
No commands/functions named stata or SAS is present in ESS.

Ref: #6455
2025-04-16 23:03:35 -04:00
8057af96e2 fix(ess): auto-mode-alist entry for ess-julia-mode
Fix: #6455
2025-04-16 23:03:30 -04:00
0e7997a099 fix(ess): invisible output to terminal
Only necessary for Emacs <= 28, it seems.

Fix: #6455
Ref: emacs-ess/ESS#1193
2025-04-16 23:02:12 -04:00
671e03b0a1 refactor(ess): replace ess-R-data-view w/ ess-view-data
Use `ess-view-data` given the extensive support for multiple backends
like base, dplyr, DT, kable, etc. Also, it seems that `ess-R-data-view`
is in an unmaintained/stale state.

Fix: #6455
2025-04-16 23:02:12 -04:00
ebc2cecf3d refactor(ess): reformat keybinds
This way rebinding our keybinds for ess sub-packages will require a
simpler after! line. I.e.

  (map! :after ess-help ...)

Instead of

  (map! :after (ess ess-help) ...)

Ref: #6455
2025-04-16 23:02:12 -04:00
bd28169ac5 feat(ess): roxygen: indentation on RET
Fix: #6455
2025-04-16 23:02:12 -04:00
3064132881 feat(ess): add quarto-mode
Fix: #6455
2025-04-16 23:02:11 -04:00
8eb4e37ffb perf(ess): make REPL *R* buffer more responsive
Fix: #6455
2025-04-16 23:02:11 -04:00
06e270b1e6 fix(ess): add company-backends in inferior mode
Fix: #7205
Fix: #6455
2025-04-16 23:02:11 -04:00
0f956da7f6 fix(ess): open repl commands
Fix: #6235
Fix: #6455
Fix: #5332
Co-authored-by: maikol-solis <maikol-solis@users.noreply.github.com>
2025-04-16 23:02:02 -04:00
b51d41e1cf fix(org): save-buffer more selectively after org-refile
Fixing interop between this hook and org-reminders (or other org
packages affected by the side-effects of `save-buffer`).
2025-04-16 19:07:27 -04:00
b4276f41f4 fix(eshell): "attempt to open-code ‘anonymous lambda’ with too few arguments"
Fix: #8364
Ref: #6867
Amend: c7ca3ea8cc
2025-04-16 03:48:29 -04:00
31afe2c8b0 fix(org): don't expand latex snippets in latex segments
Yasnippet expanding snippets (on TAB) from another mode can cause
org-element warnings. Until this interop is resolved, best to not make
TAB too smart.

It still works in src blocks, however.

Fix: #8363
2025-04-15 16:37:59 -04:00
88b6d35082 refactor!(java): remove +eclim and +meghanada
BREAKING CHANGE: This removes eclim.el and meghanada.el support from the
Java module. Both of these projects are unmaintained and recommend the
user switch to lsp-java, which is already offered by the module's +lsp
flag.

Fix: #8360
2025-04-15 04:54:22 -04:00
ad0eb9d5a2 bump: :emacs dired
alexluigit/dirvish@2d63995d32 -> alexluigit/dirvish@ecb7c42e20
2025-04-15 00:39:55 -04:00
a13719af45 refactor(lib): backport static-{if,when,unless}
And deprecate our eval-{if,when}! macros.
2025-04-15 00:39:10 -04:00
faea320162 tweak(default): swap 'C-c q q' & 'C-c q Q' keybinds
`C-c q q` should serve as a "soft" quit, with `C-c q Q` being a "hard"
quit.

This only affects non-evil users.

Fix: #8357
2025-04-15 00:37:51 -04:00
a45ce1e14d fix(magit): do less on magit-refresh-buffer
Inhibit recentf-cleanup and projectile caching, and silence it's logging
on refresh-buffer. The former can potentially be slow and isn't
necessary on top of invalidating the cache, and the latter is noise.
2025-04-13 06:52:24 -04:00
dddc01982b feat(emacs-lisp): add +emacs-lisp/change-working-buffer command
This changes what buffer `+emacs-lisp-eval` evaluates elisp in (useful
for the :tool eval module's commands, like `+eval/buffer` and
`+eval/region`, or the Evil operators on gr/gR).

Creates a scratch buffer/org src block alternative to ielm.
2025-04-13 06:30:07 -04:00
e096e7d79e feat(emacs-lisp): default ielm working buffer to selected
When invoking `+emacs-lisp/open-repl`, if no working buffer is set in
the resulting ielm buffer, it will default to the selected buffer prior
to opening the repl.
2025-04-13 04:32:46 -04:00
d209e519af fix(eshell): highlight syntax after completing from history
Fix: #6867
Co-authored-by: aikrahguzar <aikrahguzar@users.noreply.github.com>
2025-04-13 02:50:09 -04:00
5fdffe19db feat(eshell): add help command & lookup handler
Fix: #6867
Co-authored-by: aikrahguzar <aikrahguzar@users.noreply.github.com>
2025-04-13 02:50:09 -04:00
c7ca3ea8cc fix(eshell): don't error if command manpages has no SYNOPSIS
Fix: #6867
Ref: tom-tan/esh-help#7
2025-04-13 02:50:09 -04:00
6e92ca594f perf(magit): noop +magit-mark-stale-buffers-h if disabled
A little less work to do.
2025-04-13 02:50:09 -04:00
b2f8529683 fix(magit): projectile-invalidate-cache in wrong buffer
Also prevents projectile prompting in non-projects.
2025-04-13 02:50:09 -04:00
1c09989e48 fix(eshell): +eshell/search-history sometimes noops
Fix: #6867
Co-authored-by: aikrahguzar <aikrahguzar@users.noreply.github.com>
2025-04-13 02:50:07 -04:00
c6f749e67c fix(default): don't override TAB when Corfu isn't visible
Fixes TAB in many modes, like Org.
2025-04-11 15:49:41 -04:00
9a63789cf0 refactor(org): remove reference to org-superstar
org-superstar was removed in b1e6dec.

Amend: b1e6dec47a
2025-04-11 15:49:41 -04:00
dd493e48ed fix(format): wrong-type-argument listp error 2025-04-11 15:49:41 -04:00
7b5bcc00d4 perf(undo): tune undo limits
Store a little less undo history, to improve general runtime performance
by reducing the number of idle markers in long-lived sessions,
particularly in shell emulation buffers.
2025-04-11 15:49:07 -04:00
fb0dc4cc85 refactor(lib): doom-debug-mode: make verbosity selective
Now `doom-debug-mode` manipulates `doom-log-level` if you activate it
with a prefix arg, setting it to 1 by default, reducing its verbosity
and cutting down on noise in the logs.
2025-04-11 12:17:44 -04:00