Commit graph

4514 commits

Author SHA1 Message Date
Henrik Lissner
ca7e226e13
refactor(beancount): simplify +beancount--open-in-browser-after-starting-fix-a 2025-04-30 04:00:23 -04:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
795708c116
feat(sh): add capf completion in shell scripts
For corfu (and non-lsp) users, primarily.
2025-04-30 03:10:28 -04:00
Henrik Lissner
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
Henrik Lissner
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
flakeuser
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
Henrik Lissner
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
Henrik Lissner
8f97949975
docs(ess): replace ess-R-data-view w/ ess-view-data
Ref: #6455
2025-04-18 00:17:42 -04:00
Henrik Lissner
baf680f9c8
bump: :lang ess
emacs-ess/ESS@0eb240bcb6 -> emacs-ess/ESS@56f355acbd

Fix: #6455
2025-04-16 23:07:44 -04:00
Henrik Lissner
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
Maikol Solís
8057af96e2
fix(ess): auto-mode-alist entry for ess-julia-mode
Fix: #6455
2025-04-16 23:03:30 -04:00
Henrik Lissner
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
Maikol Solís
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
Henrik Lissner
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
Maikol Solís
bd28169ac5
feat(ess): roxygen: indentation on RET
Fix: #6455
2025-04-16 23:02:12 -04:00
Maikol Solís
3064132881
feat(ess): add quarto-mode
Fix: #6455
2025-04-16 23:02:11 -04:00
Maikol Solís
8eb4e37ffb
perf(ess): make REPL *R* buffer more responsive
Fix: #6455
2025-04-16 23:02:11 -04:00
Maikol Solís
06e270b1e6
fix(ess): add company-backends in inferior mode
Fix: #7205
Fix: #6455
2025-04-16 23:02:11 -04:00
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
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
Henrik Lissner
9a63789cf0
refactor(org): remove reference to org-superstar
org-superstar was removed in b1e6dec.

Amend: b1e6dec47a
2025-04-11 15:49:41 -04:00
Henrik Lissner
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
Henrik Lissner
ae2cdd1c91
refactor(cc): configure clang-format in :editor format
These should be upstreamed.
2025-04-09 18:20:36 -04:00
Henrik Lissner
a39a5c24af
refactor(python): remove local conda.el fix
These were upstreamed.

Ref: necaris/conda.el@3c6d3c2022
Revert: 8f60a1bc46
Amend: b126c3857d
2025-04-08 18:14:10 -04:00
Henrik Lissner
d660853fc3
tweak(org): org-modern: oversized checkbox symbol 2025-04-07 13:59:28 -04:00
simendsjo
13500dd175
fix(org): org-modern: s/keyword/keywordp
Amend: 8168a03599
2025-04-07 02:51:11 -04:00
Henrik Lissner
b840f90252
revert: fix(latex): run after-compilation-finished hook after Tex-Tex-sentinel
This hack is no longer necessary; it was addressed upstream.

Revert: 79684ade71
Ref: emacsmirror/auctex@650d0f3297
Ref: #8051
2025-04-06 18:36:50 -04:00
Damien Pollet
c3d4970da5
fix(org): do not rely on org-indent being loaded
Amend: 9dfcb5401f
2025-04-06 15:33:09 -04:00
Henrik Lissner
a70ce220c0
refactor(org): use variables instead of +org-pretty-mode
Toggling +org-pretty-mode on startup is much slower (because
`org-toggle-pretty-entites` and realigning tables can be expensive in
larger Org buffers), so rely on the variables instead.
2025-04-06 15:32:22 -04:00
Henrik Lissner
32fc210bf6
fix(org): org-modern in org-agenda
Amend: b1e6dec47a
Ref: #6434
2025-04-06 15:32:22 -04:00
flakeuser
90b64a0313 refactor(latex): replace latex-preview-pane w/ auctex-cont-latexmk
Since latex-preview-pane is unmaintained, replace it with auctex-cont-latexmk.el
and a simple function to compile the document and open the default viewer.

Close: #3128
Close: #5249
2025-04-06 00:04:39 -04:00
Henrik Lissner
35e348ea20
bump: :lang org
doomelpa/org-contacts@f0a430442b -> doomelpa/org-contacts@b06a597368
emacs-jupyter/jupyter@db8a9e233a -> emacs-jupyter/jupyter@3615c2de16
emacs-straight/org-mode@07e380f76d87[release_9.7.26] ->
emacs-straight/org-mode@74dde3abae74[release_9.7.27]
hakimel/reveal.js@5c77e86301 -> hakimel/reveal.js@dfc5690c6d
magit/orgit-forge@2718a6aaf0 -> magit/orgit-forge@764820769e
magit/orgit@6ad0dc35c8 -> magit/orgit@efd98e5caa
msnoigrs/ox-rst@99fa790da5 -> msnoigrs/ox-rst@b4ba5c7e95
2025-04-05 17:03:30 -04:00
Henrik Lissner
98e37b9cea
tweak(org): org-priority-faces: use shadow face for #C
Defaulting to green for the lowest priority indicators seemed
inappropriate, so use a more washed out face.
2025-04-05 16:56:36 -04:00
Henrik Lissner
8168a03599
fix(org): org-modern: respect defaults for org-*-faces
Makes org-modern respect Doom's defaults out-of-the-box.

Amend: b1e6dec47a
2025-04-05 16:54:38 -04:00
Henrik Lissner
9dfcb5401f
tweak(org): disable org-modern-hide-stars w/ org-indent-mode 2025-04-04 16:12:23 -04:00
Henrik Lissner
668a4a36d5
docs(org): update & reorganize package list 2025-04-03 18:02:09 -04:00
Henrik Lissner
b1e6dec47a
refactor!(org): +pretty: use org-modern instead
BREAKING CHANGE: This changes the packages that +pretty depends on;
removing org-superstar and org-fancy-priorities, and replacing them with
org-modern. The user doesn't need to do anything but remove any
now-defunct configuration for org-superstar and org-fancy-priorities
from their config.

This was done to simplify our config, lighten our maintenance burden,
and rely on a more reliable (and still-maintained) package.

Fix: #6434
2025-04-03 17:40:32 -04:00
Henrik Lissner
46742977b1
refactor(emacs-lisp): remove unused +emacs-lisp-indent-function
Amend: e71daf5cc3
2025-04-03 00:43:45 -04:00
Henrik Lissner
52c385c033
refactor!(python): remove anaconda-mode
BREAKING CHANGE: This removes company and non-LSP integration from the
Python module, in order to reduce the complexity of the module, reduce
dependencies on Company, and lean more on LSP, which provides these
features with more reliability and consistency. Switch to :tools lsp and
install a Python LSP client to get these features back.
2025-04-01 17:58:13 -04:00
Henrik Lissner
417f3bc892
refactor!(go): remove go-eldoc & company-go
BREAKING CHANGE: This removes company and non-LSP integration from the
Go module, in order to reduce the complexity of the module, reduce
dependencies on Company, and lean more on LSP, which provides these
features with more reliability and consistency. Switch to :tools lsp and
install a Go LSP client to get these features back.
2025-04-01 17:58:13 -04:00
Henrik Lissner
fc7b179e6c
bump: :lang
Wilfred/helpful@5ad8a9ce57 -> Wilfred/helpful@6a4d5e0760
agda/agda@10a0ca0516 -> agda/agda@49a12eab7f
clojure-emacs/cider@a0d6169026 -> clojure-emacs/cider@fdfa7c2200
dominikh/go-mode.el@602d73e226 -> dominikh/go-mode.el@0ed3c5227e
emacs-geiser/gauche@8ff743f641 -> emacs-geiser/gauche@9eb8b35f0c
emacs-lsp/lsp-dart@7e3d342941 -> emacs-lsp/lsp-dart@2170823139
emacs-lsp/lsp-java@868600bf7f -> emacs-lsp/lsp-java@6cfff8761e
emacs-lsp/lsp-metals@567089f7f4 -> emacs-lsp/lsp-metals@345b4fa80e
emacs-lsp/lsp-sourcekit@63ff1ab638 -> emacs-lsp/lsp-sourcekit@3bd9750e7e
emacs-lsp/lsp-treemacs@fb1a07ae0a -> emacs-lsp/lsp-treemacs@312dee2b3a
emacs-rustic/rustic@fbbf0a7192 -> emacs-rustic/rustic@22a5ef8bfd
emacs-straight/auctex@53f80ba36c -> emacs-straight/auctex@6fb366064c
emacs-straight/csv-mode@6979fc18eb -> emacs-straight/csv-mode@1695ee1752
emacsorphanage/dart-mode@88b6683f43 -> emacsorphanage/dart-mode@6229941ec5
erlang/otp@64185e73b0 -> erlang/otp@740af6bae5
fsharp/emacs-fsharp-mode@677d78c4d6 -> fsharp/emacs-fsharp-mode@bf7a11e1ba
gcv/julia-snail@24f79a067b -> gcv/julia-snail@cacf52e4c8
godotengine/emacs-gdscript-mode@c3d9988984 -> godotengine/emacs-gdscript-mode@3f3739dd88
greghendershott/racket-mode@eef5e9ab2c -> greghendershott/racket-mode@88d82e249e
jrblevin/markdown-mode@ee9d6de1d2 -> jrblevin/markdown-mode@d2d960bec1
json-emacs/json-mode@77125b01c0 -> json-emacs/json-mode@466d5b5637
ledger/ledger-mode@356d8049ed -> ledger/ledger-mode@d9b6648201
rust-lang/rust-mode@542f1755d8 -> rust-lang/rust-mode@efd830806c
seagle0128/grip-mode@ffce7f78eb -> seagle0128/grip-mode@e90e3b47d8
ziglang/zig-mode@f0b4a48753 -> ziglang/zig-mode@4ad4edf759
2025-04-01 03:49:02 -04:00
Henrik Lissner
99e46ed69f
fix(cc,javascript): projectile-globally-ignored-directories
This variable accepts literal strings, not regexps.

Ref: #7538
2025-04-01 03:26:56 -04:00