Commit graph

17864 commits

Author SHA1 Message Date
Henrik Lissner
cf362bc1a0
fix(lib): update doom/set-indent-width for dtrt-indent
dtrt-indent-hook-mapping-list entries now accept lists of variables.
This updates doom/set-indent-width to accommodate that.

Ref: jscheid/dtrt-indent@1986ad4e60
2022-03-31 16:35:37 +02:00
mjkramer
fdf817aaea
fix(latex): install style/ etc in auctex recipe
Ref: raxod502/straight.el#240
2022-03-31 15:22:00 +02:00
Henrik Lissner
62cfa409de
fix(latex): missing setq value
Whoops!

Amend: c36d1702fb
2022-03-31 14:06:10 +02:00
Henrik Lissner
6185767c41
refactor(eshell,term): move hscroll-margin settings
...out of core and into their respective modules. A tiny step toward
thinning out core.
2022-03-31 14:05:45 +02:00
Henrik Lissner
78ecc56ed3
dev: move shell.nix out of test/
And delete test/, as it will live elsewhere when Doom core and modules
are separated.
2022-03-31 14:05:40 +02:00
Henrik Lissner
a9c22b704b
fix(cli): ignore system/user git configs
So they don't interfere with straight in odd, unpredictable ways. If
you *really* know what you're doing, set DOOMGITCONFIG to the path of a
gitconfig file. This envvar may be renamed in the future, however.

Close: #5640
Co-authored-by: M. Yas. Davoodeh <Davoodeh@users.noreply.github.com>
2022-03-31 01:06:07 +02:00
Henrik Lissner
c36d1702fb
fix(latex): unused reftex-cite-formt value
Close: #5778
Ref: https://superuser.com/a/1386206
2022-03-31 01:06:07 +02:00
Henrik Lissner
b5093a5e93
fix(doom-dashboard): :key param & keymap precedence
- Fixes the :key property in +doom-dashboard-menu-sections, which
  formerly threw an error.
- When looking up commands in +doom-dashboard-menu-sections, the
  dashboard will now prioritize keys in +doom-dashboard-mode-map.

Close: #6194
Co-authored-by: Gerry Agbobada <gagbo@users.noreply.github.com>
2022-03-31 01:06:07 +02:00
Dominik Schrempf
b77699c38f nit(org): lower case keywords in file templates
See https://list.orgmode.org/87tuuw3n15.fsf@nicolasgoaziou.fr/.
2022-03-31 00:43:51 +02:00
Valentin Herrmann
2d108e14a2
fix(org): multiple fixes for +org--insert-item
There are multiple problems with the previous version of
`+org--insert-item', e.g. the labels of ordered lists were not updated
and it also made a difference if the point is before or after the
bullet.

This commit fixes this behavior, but uses a horrible hack. For the edge
case of an empty item, it inserts a no-break space momentarily, so that
`org-insert-item' does the right thing.
2022-03-30 20:06:40 +02:00
Henrik Lissner
48658d2136
bump: :lang org
alf/ob-restclient.el@f81f2f4f3f -> alf/ob-restclient.el@586f1fa07f
awth13/org-appear@303fcc8d5d -> awth13/org-appear@ffbd742267
emacs-gnuplot/gnuplot@7138b139d2 -> emacs-gnuplot/gnuplot@57be3c7add
emacs-straight/org-mode@e7ea951ac9 -> emacs-straight/org-mode@971eb6885e
emacsmirror/org-contrib@e318392177 -> emacsmirror/org-contrib@17f3c51435
fuxialexander/org-pdftools@a5b61bca3f -> fuxialexander/org-pdftools@967f48fb50
hakimel/reveal.js@19f04bcbcb -> hakimel/reveal.js@918ee5610a
kaushalmodi/ox-hugo@1b6b3dc8f9 -> kaushalmodi/ox-hugo@65e349b306
magit/orgit-forge@365b75609a -> magit/orgit-forge@36e57a0359
magit/orgit@66367d6bfc -> magit/orgit@42b7f682b3
marcinkoziej/org-pomodoro@aa07c11318 -> marcinkoziej/org-pomodoro@3f5bcfb80d
nnicandro/emacs-jupyter@42a9765897 -> nnicandro/emacs-jupyter@0a7055d7b1
oer/org-re-reveal@55fca47c74 -> oer/org-re-reveal@e5bae22b9e
org-roam/org-roam@eed1df90f5 -> org-roam/org-roam@36152590ad
2022-03-30 17:49:35 +02:00
Henrik Lissner
9d1513af46
bump: :core
bbatsov/projectile@0243ad7dc9 -> bbatsov/projectile@f3468e8d20
domtronn/all-the-icons.el@2c963ebb75 -> domtronn/all-the-icons.el@65c496d3d1
jscheid/dtrt-indent@926fc4260c -> jscheid/dtrt-indent@66fc30af02
raxod502/straight.el@653b04a64f -> raxod502/straight.el@e2de88ea0e
2022-03-30 17:49:35 +02:00
Henrik Lissner
45a2e8b540
bump: :lang clojure
clojure-emacs/cider@02ca530216 -> clojure-emacs/cider@36277802a4
clojure-emacs/clojure-mode@b7d08b87f6 -> clojure-emacs/clojure-mode@c339353f9e
clojure-emacs/parseclj@9059504963 -> clojure-emacs/parseclj@b04eae6738

Ref: clojure-emacs/cider#3170
2022-03-30 17:32:47 +02:00
Henrik Lissner
44dee4033f
bump: :tools debugger lsp
emacs-lsp/dap-mode@6933fca0b5 -> emacs-lsp/dap-mode@f918c0580b
emacs-lsp/lsp-mode@c6482c1bbf -> emacs-lsp/lsp-mode@1e7128c43f
gagbo/consult-lsp@f4f195046b -> gagbo/consult-lsp@5a3c4e3f42
joaotavora/eglot@f775187115 -> joaotavora/eglot@83a61f673a

- Fixes support for newer versions of rust-analyzer (#6214).
- Fixes an issue where the diagnostics list from consult-lsp-diagnostics
  weren't properly sorted by severity (#6220).

Ref: gagbo/consult-lsp#21
Close: #6220
Close: #6214
2022-03-30 17:32:47 +02:00
Henrik Lissner
0e802f4653
bump: :completion
abo-abo/swiper@1c6b3da377 -> abo-abo/swiper@c97ea72285
company-mode/company-mode@8b58e5895c -> company-mode/company-mode@073aef72dd
emacs-helm/helm@a246a9b278 -> emacs-helm/helm@5b17313011
ericdanan/counsel-projectile@e30150792a -> ericdanan/counsel-projectile@40d1e1d4bb
minad/consult@2106eee75f -> minad/consult@473e6585c5
minad/marginalia@e9540a7b80 -> minad/marginalia@e63d27e6fb
minad/vertico@509ca602c7 -> minad/vertico@a92b1e47ff
oantolin/embark@56e28c23d5 -> oantolin/embark@06d5caafd5
oantolin/orderless@ce462a63e3 -> oantolin/orderless@f2c78c4a60
raxod502/prescient.el@292ac9fe35 -> raxod502/prescient.el@c5295a9eec
tumashu/ivy-posframe@5d9420252c -> tumashu/ivy-posframe@533a8e368f
tumashu/posframe@3b1dc400d2 -> tumashu/posframe@c91d4d53fa
2022-03-30 17:32:47 +02:00
Henrik Lissner
d58d084774
tweak(:lang,:tools): start eglot/lsp-mode later
To ensure lsp/eglot settings have precedence over local servers (e.g.
cider and lookup handlers).

Ref: clojure-emacs/cider#3170
2022-03-30 17:32:47 +02:00
Henrik Lissner
dcae7187b4
refactor(lib): doom-info & remove unused commands
- Simplify doom-info and doom/info.
- Remove doom/copy-buffer-contents (may be moved later, but atm not very
  useful).
- Remove doom/am-i-secure (this will later be replaced with CLI
  commands)
2022-03-30 17:32:47 +02:00
Henrik Lissner
8455bcf6b4
fix(ivy): omit hidden files in counsel-file-jump
385e60cd26 was a bit hasty. Rather than disregard all ignore files, we
should simply exclude projectile-globally-ignored-directories entries
from the file list. This is a stop-gap measure while I work on a better,
more general solution for all our :completion modules.

Amend: 385e60cd26
Ref: https://www.reddit.com/r/emacs/comments/tj0na6/moving_from_doom_to_vanilla/?utm_source=share&utm_medium=web2x&context=3
Ref: #6210
2022-03-30 17:32:41 +02:00
Henrik Lissner
aed2972d74
fix(org): don't show parent trees by default
Instead of changing the behavior of the showNlevels startup options,
I've added a new set of showNlevels* options to perform the new behavior
of unfolding parent trees all the way up to the target level.

Ref: https://www.reddit.com/r/emacs/comments/tj0na6/comment/i1laya6/?utm_source=reddit&utm_medium=web2x&context=3
2022-03-22 02:49:09 +01:00
Henrik Lissner
385e60cd26
fix(ivy): include hidden files in counsel-file-jump
fd was omitted ignored/hidden files, which is inconsistent with
ripgrep's output (when fd is absent).

Ref: https://www.reddit.com/r/emacs/comments/tj0na6/comment/i1laya6/?utm_source=reddit&utm_medium=web2x&context=3
2022-03-22 02:13:17 +01:00
Henrik Lissner
28a929663b
tweak: disable :ui doom-quit by default
This module doesn't offer any real value, so shouldn't be enabled by
default. Plus, some of its messages may give off the wrong impression to
folks that aren't expecting them.

Fix: #5733
2022-03-21 04:05:37 +01:00
Colin Woodbury
5c32360361 feat(fortran): improve keymap layout 2022-03-21 04:00:10 +01:00
Colin Woodbury
137fca35d8 feat(fortran): generalised build options for menu
Specifically for when compilation is done through the modeline's Easy
Menu, the commands will use `fpm` or `gfortran` dynamically depending on
whether the current file is present in a project or not.
2022-03-21 04:00:10 +01:00
Colin Woodbury
5c52ba35e7 feat(fortran): override the default menus 2022-03-21 04:00:10 +01:00
Henrik Lissner
2aeca577c8
refactor: correct version variables
These two variables have been the wrong way around for a while. In
preparation for splitting Doom into separate repos (its core and module
libraries), I've corrected them. doom-modules-version is a placeholder
and will be removed later.

I've also settled on -dev suffix for inter-release versions of Doom,
rather than alpha.
2022-03-21 03:57:31 +01:00
Henrik Lissner
319665bbdc
feat(lib): time stamp *Messages* lines
...when doom-debug-mode is active.
2022-03-21 03:57:03 +01:00
Henrik Lissner
97155412a9
fix(emacs-lisp): missing package cookies in imenu 2022-03-21 03:57:03 +01:00
Henrik Lissner
b92c644ad8
docs(lib): clarify setq!'s docstring
Emacs 29+ introduced the setopt macro for setting defcustom variables in
a way that takes setters and type-constraints into account, but it
eagerly pulls in a symbol's dependencies before doing so. To side-step
this silliness, use Doom's setq! macro instead. I'm tempted to alias
setopt to it...
2022-03-21 03:57:03 +01:00
Henrik Lissner
3333eee466
refactor(lib): sharp-quote & minor refactors 2022-03-21 03:57:03 +01:00
Henrik Lissner
0a151f4f13
refactor!(lib): remove obsolete lambda! macros
BREAKING CHANGE: These macros have been deprecated for years. Use
cmd!/cmd!! instead.
2022-03-21 03:57:02 +01:00
Henrik Lissner
54d8c49d8b
refactor(file-templates): suppress in indirect buffers
Change how we detect and suppress file template expansion in org-capture
buffers (which are indirect clones). Since 99.99% of the time, an
indirect clone means we're doing something special in that buffer, it
seemed sensible to always suppress file templates in them. Hopefully
this will be more robust than the former advice.
2022-03-21 03:57:02 +01:00
Henrik Lissner
17f457edf7
feat(lib): add fn!! macro
With implicit positional arguments. Adapted from
https://git.sr.ht/~tarsius/llama, minus the font-locking, outer function
call, and plus a few minor optimizations.

Ref: https://git.sr.ht/~tarsius/llama
2022-03-21 03:56:59 +01:00
KARASZI István
5e6689fe5e
bump: :tools direnv
purcell/envrc@e161624b91 -> purcell/envrc@57d78f0138

- `envrc` added support for `.env` files (beyond `.envrc`).
2022-03-19 17:03:09 +01:00
Henrik Lissner
2372365fb8
bump: :tools debugger lsp
emacs-lsp/dap-mode@76cad34de8 -> emacs-lsp/dap-mode@6933fca0b5
emacs-lsp/lsp-mode@cb7ec94435 -> emacs-lsp/lsp-mode@c6482c1bbf
joaotavora/eglot@0f352213fc -> joaotavora/eglot@f775187115

Close: #6179
2022-03-19 16:43:44 +01:00
Henrik Lissner
23d77e688b
bump: :lang agda
agda/agda@af9c4b9686 -> agda/agda@2816605bfd

Close: #6150
2022-03-19 16:43:44 +01:00
Henrik Lissner
7c6ebc48d5
bump: :lang rust
brotzeit/rustic@804ebfe029 -> brotzeit/rustic@f4b5c288af

Close: #6153
Co-authored-by: brotzeit <brotzeitmacher@gmail.com>
2022-03-19 16:43:44 +01:00
Henrik Lissner
aeef05bfd7
feat(org): add ::SEARCH support to id: links 2022-03-19 16:43:28 +01:00
Anh T Nguyen
4eda9329aa
feat(dired): allow global hl-line in dired-mode 2022-03-19 16:41:05 +01:00
Basil Sh
0a12ccae49
fix(web): web-mode-attribute-transpose on wrong key 2022-03-19 16:39:34 +01:00
Anh T Nguyen
6fcb99b35a docs(company): code completion with multiple keywords 2022-03-19 16:38:27 +01:00
dvzubarev
614aefc339 tweak(vertico): ignore svn and hg dirs in file search 2022-03-19 16:38:00 +01:00
Colin Woodbury
f817e4ffbd docs(fortran): reference the newer fortls LSP 2022-03-19 16:36:44 +01:00
vemv
594f554fe1 bump: :lang clojure
clojure-emacs/cider@af2e164998 -> clojure-emacs/cider@02ca530216
clojure-emacs/clj-refactor.el@12af23ad8b -> clojure-emacs/clj-refactor.el@f368c56c83
clojure-emacs/clojure-mode@e31186843d -> clojure-emacs/clojure-mode@b7d08b87f6
clojure-emacs/parseclj@a8c4cf30fb -> clojure-emacs/parseclj@9059504963
clojure-emacs/parseedn@e5ba280d1f -> clojure-emacs/parseedn@ea7b5281ec
2022-03-19 16:27:09 +01:00
Mora Unie Youer
cddfa27fb1
fix(org): move org-journal localleader keybinds to 'SPC m j'
Some org-agenda keybinds (for example 'SPC m d s' for scheduling) were
overridden by org-journal-mode-map keybinds, so the latter were moved to
the 'SPC m j' prefix.

Fix: #5239
2022-03-19 16:22:13 +01:00
Mora Unie Youer
18f74d277f
feat(org): keybinds for removing #+RESULTS blocks
Added new keybinds for easy removal of RESULTS blocks in org-mode.

SPC m k - delete RESULTS block under cursor
SPC m K - delete all RESULTS blocks under cursor
SPC u SPC m K - delete all RESULTS blocks in buffer
2022-03-19 16:19:54 +01:00
Luis Osa
09b3004abe
feat(magit): add evil keybinds for code-review
Add the two main keybindings expected in the README of code-review: `r`
for a transient menu with all actions and `RET` to add or edit a
comment. Both should only be enabled while in a `*Code Review*` buffer.

Ref: https://github.com/wandersoncferreira/code-review
2022-03-19 16:18:58 +01:00
Ian Kerins
893b4171b7 tweak(file-templates): remove default JSON template
As described at https://www.json.org/json-en.html, JSON has multiple
top-level forms (at least objects and arrays, and potentially all values
as well, depending on who you ask). Of these, I would not say array is a
good default. I frequently find myself deleting this default, generally
to use an object instead.

Because there is no consistent winner, and because the template is so
trivial, it seems best to simply delete it: the cost of the template not
matching the user's intent outweighs any benefit it stands to deliver
when it does match the user's intent.
2022-03-19 16:14:53 +01:00
Anh T Nguyen
6c4b7169f0 feat(hydra): add winner commands to +hydra/window-nav 2022-03-19 16:14:33 +01:00
Michael Chen
a505eae88f
fix(multiple-cursors): keybinds for {next,last}-cursor 2022-03-19 16:12:30 +01:00
Nicholas
8e08c651a6
feat(idris): add +lsp support 2022-03-19 16:11:42 +01:00