Commit graph

4393 commits

Author SHA1 Message Date
Henrik Lissner
01c19094e8
fix(python): type error if conda-anaconda-home is unset
Amend: 8f60a1bc46
2024-09-09 14:39:44 -04:00
Henrik Lissner
0dc1084e8a
bump: :lang
ProofGeneral/PG@99f91e873e -> ProofGeneral/PG@3a99da2755
agda/agda@fbf9d159c3 -> agda/agda@4f82f9b90a
amake/flutter.el@004c91e070 -> amake/flutter.el@e71235d400
babashka/neil@a38be9f082 -> babashka/neil@6728367eff
beancount/beancount-mode@71c1622246 -> beancount/beancount-mode@7b437abcf0
chachi/cuda-mode@7dd07a20c3 -> chachi/cuda-mode@c3dae31b3d
clojure-emacs/cider@105da319b0 -> clojure-emacs/cider@8fdb53e8be
dominikh/go-mode.el@636d36e37a -> dominikh/go-mode.el@602d73e226
emacs-geiser/geiser@b6b4ac070d -> emacs-geiser/geiser@97ce88463f
emacs-geiser/guile@d5175439c0 -> emacs-geiser/guile@5a856c2982
emacs-gnuplot/gnuplot@7138b139d2 -> emacs-gnuplot/gnuplot@4c6b18f71f
emacs-lsp/lsp-dart@1f52e81c93 -> emacs-lsp/lsp-dart@9ffbafb7dc
emacs-lsp/lsp-haskell@18a7c7881f -> emacs-lsp/lsp-haskell@ba49fa9822
emacs-lsp/lsp-java@4909c14b90 -> emacs-lsp/lsp-java@868600bf7f
emacs-lsp/lsp-metals@fa4072cbe7 -> emacs-lsp/lsp-metals@0dc938be11
emacs-lsp/lsp-sourcekit@bb2b7e0278 -> emacs-lsp/lsp-sourcekit@63ff1ab638
emacs-lsp/lsp-treemacs@1d43e9e030 -> emacs-lsp/lsp-treemacs@fb1a07ae0a
emacs-straight/adaptive-wrap@f5bc153273 -> emacs-straight/adaptive-wrap@d75665b9c8
emacs-straight/auctex@451b0f08b0 -> emacs-straight/auctex@08881d08ce
emacs-straight/csv-mode@cdb73a771b -> emacs-straight/csv-mode@6979fc18eb
emacs-straight/org-mode@f398724bd5 -> emacs-straight/org-mode@6a5d0ed342
emacs-straight/rainbow-mode@0740f31f30 -> emacs-straight/rainbow-mode@2e6b18609c
emacs-straight/sml-mode@d114e5a27f -> emacs-straight/sml-mode@021233f60a
emacsmirror/paredit@9a2c4b37fc -> emacsmirror/paredit@037b9b8acb
ericdallo/jet.el@7d5157aac6 -> ericdallo/jet.el@c9a92675ef
erlang/otp@2a64588d4a -> erlang/otp@c66bf53cde
factor/factor@d143007778 -> factor/factor@31dc1a386b
fosskers/sly-overlay@4c6135c260 -> fosskers/sly-overlay@d629450590
fxbois/web-mode@005aa62d6f -> fxbois/web-mode@0c83581d1e
gcv/julia-snail@f7784c5007 -> gcv/julia-snail@dff92c4250
greghendershott/racket-mode@40ecb87f40 -> greghendershott/racket-mode@dba66c4536
hhvm/hack-mode@ccf20511f0 -> hhvm/hack-mode@343e45f2a6
https://repo.or.cz/org-contacts.git@d0cb221502c9 -> https://repo.or.cz/org-contacts.git@f0a430442b2a
hvesalai/emacs-scala-mode@4c6d636b86 -> hvesalai/emacs-scala-mode@bd0638c32a
idris-hackers/idris-mode@38dd2380dc -> idris-hackers/idris-mode@09de86a8f0
ifitzpatrick/graphql-doc.el@d37140267e -> ifitzpatrick/graphql-doc.el@17755a2466
jart/disaster@16bba9afb9 -> jart/disaster@b20f8e1ef9
joaotavora/sly@ba40c8f054 -> joaotavora/sly@742355f755
jorgenschaefer/emacs-buttercup@a1a86b027f -> jorgenschaefer/emacs-buttercup@bf01a33f8b
jrblevin/markdown-mode@8aab017f47 -> jrblevin/markdown-mode@6102ac5b73
jschaf/powershell.el@f2da15857e -> jschaf/powershell.el@38727f1cda
jwiegley/emacs-async@f317b0c9c3 -> jwiegley/emacs-async@43f97d7e68
ledger/ledger-mode@b0e65f74a5 -> ledger/ledger-mode@a6be7a2d79
nonsequitur/inf-ruby@0cfe8b2fb1 -> nonsequitur/inf-ruby@b234625c85
ocaml/dune@96ed5fb42f -> ocaml/dune@a7924e322e
ocaml/merlin@9fa77dbe81 -> ocaml/merlin@e016abfac6
oer/org-re-reveal@dbd8ffb3e5 -> oer/org-re-reveal@91610ba9b0
org-noter/org-noter@68646b685a -> org-noter/org-noter@6f292d7f1e
org-roam/org-roam@8667e44187 -> org-roam/org-roam@0b9fcbc97b
rust-lang/rust-mode@a529a45181 -> rust-lang/rust-mode@c87f6f82bd
seagle0128/grip-mode@7c42b8f61d -> seagle0128/grip-mode@9adac9c989
technomancy/fennel-mode@a4ddd1750f -> technomancy/fennel-mode@f4bd34e1c3

From this point on, Org will be pinned to tagged releases.
2024-09-07 19:04:37 -04:00
Eleanor Bartle
ac1122ae67
tweak(erlang): format w/ erlfmt instead of efmt 2024-09-07 15:11:43 -04:00
Henrik Lissner
79684ade71
fix(latex): run after-compilation-finished hook after Tex-Tex-sentinel
Fix: #8051
2024-09-06 04:46:36 -04:00
Henrik Lissner
fe54aa436c
fix(latex): modes not remapped to auctex modes
Deduced from a comment in 21a252d (where
`TeX-after-compilation-finished-functions` wasn't being triggered
because the user was in latex-mode, instead of LaTeX-mode).

Fix: 21a252d994
2024-09-05 16:01:03 -04:00
Henrik Lissner
03e5f1333c
fix(latex): reorder viewers wrt +latex-viewers
If a viewer already exists in `TeX-view-program-selection`, loading
`+viewer.el` does not change its order because `add-to-list` does
nothing when the item is already in the list.

Close: #8046
Fix: #5275
Co-authored-by: cartoonist <cartoonist@users.noreply.github.com>
2024-09-05 15:30:22 -04:00
Henrik Lissner
1fa1eba5ac
bump: :lang python
emacs-lsp/lsp-pyright@cc6df06aea -> emacs-lsp/lsp-pyright@0c0d72aedd
necaris/conda.el@60e14d1e97 -> necaris/conda.el@ce748a53f9
pythonic-emacs/anaconda-mode@79fa9b4d2b -> pythonic-emacs/anaconda-mode@f900bd7656
pythonic-emacs/company-anaconda@1fe526163c -> pythonic-emacs/company-anaconda@169252fca7
pythonic-emacs/pyenv-mode@de0d750b9c -> pythonic-emacs/pyenv-mode@76787ea44f
wbolster/emacs-python-pytest@9f850e22df -> wbolster/emacs-python-pytest@dcdaec6fe2

- Adds basedpyright support to lsp-pyright; and will prioritize it above
  pyright, if found on your system.

Ref: emacs-lsp/lsp-pyright#101
2024-09-05 15:30:22 -04:00
Henrik Lissner
d6bc2b0f19
fix(python): respect $ANACONDA_HOME
Amend: 8f60a1bc46
2024-09-02 01:10:58 -04:00
Henrik Lissner
8f60a1bc46
fix(python): type error on loading conda.el
When conda.el evaluates `conda-anaconda-home's initial value, and none
of `conda-home-candidates` exist on the user's system, `nil` will be
passed to `expand-file-name`, which requires a string argument, thus
throwing a type error, so we've got to set `conda-anaconda-home` to nil
to prevent it, then reinvent the wheel later.

This should be resolved upstream, but conda.el hasn't been updated in
some time...

Fix: #7283
2024-09-02 01:05:53 -04:00
Henrik Lissner
295ab7ed3a
feat(org): add "doom +org tangle" command
Introduces a formal bin/doom command for tangling files, to replace the
non-functional bin/org-capture binscript.

Close: #6599
Close: #6267
2024-09-01 17:53:44 -04:00
Henrik Lissner
d8157d8cc6
tweak(org): move RET keybinds from normal to motion state 2024-08-31 22:08:56 -04:00
Henrik Lissner
b2ce4f0afc
refactor(org): +org-exclude-agenda-buffers-from-workspace-h 2024-08-31 22:08:55 -04:00
Henrik Lissner
a8f116bb6b
bump: magit forge orgit orgit-forge
magit/forge@30f181f785 -> magit/forge@35cc600d62
magit/magit@2da34f1317 -> magit/magit@0aa26864e3
magit/orgit-forge@a989b2b54d -> magit/orgit-forge@2718a6aaf0
magit/orgit@29a0f37e5c -> magit/orgit@59d21fdb21

For Magit's 4.1.0 release, and to repin away from these packages'
recently removed 'melpa' branches (see #8007).

Ref: #8003
Ref: #8007
2024-08-31 21:51:59 -04:00
Henrik Lissner
78f8026620
fix(latex): auto-reveal folded regions at point
Fix: #8031
2024-08-30 18:45:00 -04:00
Henrik Lissner
6671adc687
refactor!: move helpful from :core to :lang emacs-lisp
BREAKING CHANGE: This moves helpful.el out of core into :lang
emacs-lisp. Since most (all) people have this module enabled, this
shouldn't make a difference for most people, but if you're one of the
few that don't have :lang emacs-lisp enabled, Doom will revert to using
Emacs' built-in help.el and describe-* commands.

Others can also disable helpful with (package! helpful :disable t) if
they prefer Emacs' built-in help system, which wasn't possible before,
because it was a core package.

This was done as part of an ongoing effort to slim down Doom's core in
preparation for v3.
2024-08-30 02:26:41 -04:00
Henrik Lissner
cea17bbea3
refactor(org): remove redundant key remapping
This is already remapped in the vertico module. Plus,
`consult-org-heading` and `consult-org-agenda` are already on
"<localleader> ." and "<localleader> /".

Amend: 5e3c794d31
Ref: #7716
2024-08-28 19:34:04 -04:00
Henrik Lissner
35dd2bb33c
bump: :lang rust
emacs-rustic/rustic@39423d1cf4 -> emacs-rustic/rustic@d765680373
rust-lang/rust-mode@d00d83d3a2 -> rust-lang/rust-mode@a529a45181

Fix: #8029
Ref: emacs-rustic/rustic#3
2024-08-28 17:55:25 -04:00
Henrik Lissner
5e3c794d31
tweak(org): remap imenu to consult-imenu
Ref: #7716
Co-authored-by: aisamu <aisamu@users.noreply.github.com>
2024-08-28 14:49:14 -04:00
Henrik Lissner
1430e9c700
fix(rust): ensure order of modes in auto-mode-alist
Depending on install order, the rust-mode might get precedence, causing
rustic to not be loaded on *.rs files.
2024-08-27 03:13:57 -04:00
Henrik Lissner
67a516cf0d
perf(org): call yas-reload-all on TAB only once
In cases where the user has an empty snippets library (or no snippets
for the mode at point), the expensive `yas-reload-all` function would be
called each time you press tab.

Fix: #8025
2024-08-26 16:22:32 -04:00
Samuel Tschiedel
c862968f48 fix(clojure): leverage evil-collection-cider
We're currently discarding all evil-collection bindings on
`cider--debug-mode`. Given that `j` is bound to a particularly
disruptive and non-cancellable command, this brings some friction to
evil users.

This commit adds those bindings back under `evil +everywhere`.

The in-buffer and minibuffer displayed keybindings were adjusted to
match, but not easy-menu's.

Ref: doomemacs/doomemacs#4627
2024-08-25 17:45:55 -04:00
Henrik Lissner
ebf91a1363
refactor: use true eos regex in auto-mode-alist entries
"\\'" will match the true end-of-string, whereas "$" will also match
just before a newline character. Not that there's much risk that
there'll be newlines in a filepath, but I'd rather be consistent. It
also makes these entries easier for users to remove from
auto-mode-alist.
2024-08-25 17:44:29 -04:00
Henrik Lissner
4bc4b54eb9
bump: :lang php
emacs-php/composer.el@42cf9848d4 -> emacs-php/composer.el@791a7104be
emacs-php/php-mode@4792988a12 -> emacs-php/php-mode@59814bd80c
jwiegley/emacs-async@cff2bd0be3 -> jwiegley/emacs-async@f317b0c9c3
2024-08-25 17:44:28 -04:00
Henrik Lissner
9dfd7ebc78
feat(ocaml): set formatter for dune-mode
Close: #8019
Co-authored-by: i-am-linja <i-am-linja@users.noreply.github.com>
2024-08-25 17:44:28 -04:00
Henrik Lissner
8e76097d49
fix(org): respect evil-disable-insert-state-bindings
Close: #8023
Co-authored-by: ambirdsall <ambirdsall@users.noreply.github.com>
2024-08-23 17:48:33 -04:00
Henrik Lissner
9df815a450
fix(plantuml): ref to incorrect jar path variable 2024-08-23 17:48:33 -04:00
Henrik Lissner
7eb61896f4
fix(org): jupyter-org-mime-types: restore :text/html
Ref: emacs-jupyter/jupyter#477
Ref: #2477
2024-08-23 17:48:32 -04:00
Henrik Lissner
ad26fcdbdd
perf(emacs-lisp): elisp-demos: inhibit local-vars hooks 2024-08-22 22:37:13 -04:00
Henrik Lissner
fbfed24167
refactor!(php): remove phpactor.el
BREAKING CHANGE: This removes the phpactor.el package in favor of LSP
support via lsp-mode/eglot. Use `+lsp` with the `:lang php` module
instead (with one of the supported LSP servers).

This was done because phpactor.el is on the way out of maintainership,
is redundant with pre-existing phpactor support in lsp-mode/eglot (or
the other, possibly superior LSP servers), and to simplify modules for
whom LSP/Eglot is *the* way to get these features.
2024-08-22 22:35:40 -04:00
Henrik Lissner
ad1507ae8d
docs(org): mention Jupyter packages for Arch Linux
Amend: #7502
Amend: ab1d396c2d
2024-08-22 20:25:37 -04:00
Henrik Lissner
1e358caea1
bump: ob-clojure-literate
https://repo.or.cz/ob-clojure-literate.el.git@18c3ea15b872 -> emacsattic/ob-clojure-literate@18c3ea15b8

Use emacsattic/ob-clojure-literate on Github (a more stable host).

Fix: #7586
2024-08-22 20:16:23 -04:00
Henrik Lissner
d309dcad27
fix(plantuml): {org-,}plantuml-jar-path resolution
- Ensures `org-plantuml-jar-path` is less likely to be overwritten if the
  user changes it.
- Sets `org-plantuml-jar-path` and `plantuml-default-exec-mode` after
  calling `plantuml-download-jar`, so things Just Work™️ without
  needing the user to know to update these variables.

Close: #7992
2024-08-22 15:50:34 -04:00
pancho horrillo
9ebd9cb734 fix(go): remove bind to deprecated function
‘go-remove-unused-imports’ is an obsolete command (as of 1.7.0); set
‘gofmt-command’ to goimports instead, or use LSP and gopls’s "Organize
Imports" code action.

Ref: dominikh/go-mode.el@166dfb1e09
2024-08-22 15:02:16 -04:00
Henrik Lissner
0d363045c5
tweak(dart): open flutter output in popup
Close: #8015
Co-authored-by: AlessandroW <AlessandroW@users.noreply.github.com>
2024-08-22 12:32:14 -04:00
pancho horrillo
879c0b06a4 refactor!(go): remove go-guru
BREAKING CHANGE: Removes go-guru from the Go module. It has been
deprecated upstream in favor of gopls, the official Go LSP server.

Close: #7995
Ref: golang/go/issues/65880
Co-authored-by: Henrik Lissner <git@henrik.io>
2024-08-22 12:29:54 -04:00
Vu Quoc Huy
c27387ce76
fix(latex): enable LSP on LaTeX-mode-local-vars-hook too 2024-08-22 12:29:15 -04:00
Henrik Lissner
122e3732f7
fix(markdown): disable meta keybinds if evil-disable-insert-state-bindings
While I don't intend to respect `evil-disable-insert-state-bindings`
everywhere, exhaustively (such as org's rebinding of return or tab), I
will do it for non-essential keybinds that have a high likeliness of
overwriting navigation commands (like meta keys).
2024-08-21 13:40:11 -04:00
Henrik Lissner
e8a444749a
refactor: use eval-when! less
These uses of this macro are a micro optimization that yield no benefit.
The only place it's useful is in autoloads (which are guaranteed to be
byte-compiled during `doom sync`).
2024-08-15 23:23:12 -04:00
Henrik Lissner
5e2e886b35
nit: comment revision & reformatting 2024-08-15 23:18:47 -04:00
Henrik Lissner
88666b1913
bump: :lang cc
Andersbakken/rtags@bd1c818a99 -> Andersbakken/rtags@f472b5d0a0
chachi/cuda-mode@7f593518fd -> chachi/cuda-mode@7dd07a20c3
emacs-lsp/emacs-ccls@8648238a92 -> emacs-lsp/emacs-ccls@41399b0eba
salmanebah/opencl-mode@10ae7742d5 -> salmanebah/opencl-mode@204d5d9e0f

- An update to cuda-mode now derives it from prog-mode, so that it
  behaves as a proper major mode (mentioned in #7993).

Fix: #7993
2024-08-13 23:14:52 -04:00
Henrik Lissner
84f7eb2aff
feat(cc): set eglot client for cuda-mode to clangd
Fix: #7993
2024-08-13 21:42:36 -04:00
Henrik Lissner
29fcd474e2
bump: :lang ocaml
ocaml/dune@aac3d84f1d -> ocaml/dune@96ed5fb42f
ocaml/merlin@b6ff2d4d56 -> ocaml/merlin@9fa77dbe81
2024-08-13 21:42:36 -04:00
Henrik Lissner
8519f6fed2
refactor(ocaml): entry points into ocp-indent & opam-switch-mode
Reduces edge cases, in the case the user eagerly loads any of these
packages. Also replaces all hardcoded paths to ocp-indent and opam's
executables with variables, respecting user configuration.
2024-08-13 21:42:36 -04:00
Henrik Lissner
fa153d5b91
refactor(ocaml): use apheleia instead of ocamlformat.el
The ocamlformat.el package reinvents what Apheleia is already doing, but
Apheleia's default definition for ocamlformat is a little simplistic.
This merges the efforts of both and allows us to cut down on an unneeded
dependency.
2024-08-13 16:31:12 -04:00
Skylar LK
6e1bfe97c0
docs(markdown): expand proselint install docs
For some reason, the proselint package is not in the official Arch
repositories (at least not anymore), but is in the AUR.

Ref: #7502
2024-08-09 21:21:26 -04:00
Skylar LK
52aadcd01f
docs(:lang): correct grammar
Ref: #7502
2024-08-09 21:21:26 -04:00
Skylar LK
ab1d396c2d
docs(org): update install docs for Ubuntu/Debian & Arch
- Added Debian & Ubuntu section.
- Arch Linux no longer has a package called "jupyter".

Ref: #7502
2024-08-09 21:21:23 -04:00
Skylar LK
d9d1737deb
docs(cc): future-proof Debian/Ubuntu install instructions
The "clangd" package links to the version of clangd associated with that
version of the distribution. In Debian 11 it's clangd-11, in 12 it's
clangd-14, Ubuntu 22.04 LTS also has clangd-14, and 23.10 seems to have
clangd-16. No need to specify the clangd package name for each release.

Ref: #7502
2024-08-09 21:21:19 -04:00
Henrik Lissner
939fc0d322
feat: add project-vc config
I intend to keep `project-vc-extra-root-markers` much lighter than what
`projectile-project-root-files` ended up being, so I won't be
transferring all the root markers.

Ref: doomemacs/core#1
2024-08-09 20:50:51 -04:00
Henrik Lissner
d3124c4971
nit: add deprecation comments for projectile config
Ref: doomemacs/core#1
2024-08-09 20:42:33 -04:00