Commit graph

18901 commits

Author SHA1 Message Date
Henrik Lissner
19e27764ea
fix(cc): make *.c(c|pp) siblings of *.h(h|pp) files
I backported `find-sibling-file` in 198fe82 and included with it some
rudimentary `find-sibling-rules` rules for C++ and others. The C++ rule
made *.h(h|pp) files the siblings of *.c(c|pp) files, but not vice
versa, so users couldn't jump back to the source file with
`find-sibling-file`; a second rule is necessary.

These may be combinable, considering `find-sibling-file` deletes the
current buffer's filename from the list of candidates...

Fix: #7795
Ref: 198fe82b6d
2024-04-04 17:59:33 -04:00
Henrik Lissner
38a3adcf0e
fix(lib): find-subling-file-search: wrong-number-of-args error
I backported `find-sibling-file` from Emacs 29+ in 198fe82, but it
passes a third argument (REGEXP) to `file-expand-wildcards` which wasn't
introduced until 29, so users on 28 or earlier would see a
wrong-number-of-arguments error (see #7795).

Rather than backport the entire `file-expand-wildcards`
function (risking other edge cases), I've advised its usage in
`find-sibling-file-search` to behave as it would in 29+ with a non-nil
REGEXP argument.

Amend: 198fe82b6d
Fix: #7795
2024-04-04 13:00:12 -04:00
Henrik Lissner
d166d754d6
release(modules): 24.04.0-dev
Ref: 2b39e41368
2024-04-04 00:23:20 -04:00
Henrik Lissner
869ad10f34
refactor: startup optimizations
I revisit all our startup optimizations to see how they fair in Emacs
29.x and 30.x. Most of them still hold up. I've revised and updated most
of the accompanying comments to better explain them, given what I know
now compared to when I first wrote them.
2024-04-04 00:17:02 -04:00
Henrik Lissner
2debe85a8a
fix(cli): doom upgrade: void-variable num
Fix: #7791
2024-04-03 19:21:14 -04:00
Henrik Lissner
fdb9e6b499
fix(org): org-download: remove unneeded advice
They've since been upstreamed in one form or another over time.

Fix: #7790
Ref: abo-abo/org-download@69c57bd519
Ref: abo-abo/org-download@8bc54b6c1a
2024-04-03 17:55:37 -04:00
Henrik Lissner
2a2565f059
bump: :term eshell
LemonBreezes/emacs-fish-completion@d34d0b96fd -> LemonBreezes/emacs-fish-completion@006c613ff7
akreisher/eshell-syntax-highlighting@4ac27eec65 -> akreisher/eshell-syntax-highlighting@1d25386bf7
peterwvj/eshell-up@ff84e6069b -> peterwvj/eshell-up@1999afaa50

Fix: #7789
2024-04-03 17:48:38 -04:00
Henrik Lissner
747a57fe54
bump: :tools
andras-simonyi/citeproc-el@c61c98b9d2 -> andras-simonyi/citeproc-el@44f90cb296
editorconfig/editorconfig-emacs@c3666c093f -> editorconfig/editorconfig-emacs@d73b6392de
emacs-citar/citar-org-roam@7d67dccf80 -> emacs-citar/citar-org-roam@82d47b5df1
emacs-tree-sitter/tree-sitter-langs@c56cb51104 -> emacs-tree-sitter/tree-sitter-langs@b7895ca759
emacsorphanage/quickrun@248149b026 -> emacsorphanage/quickrun@373634cf51
hcl-emacs/terraform-mode@e8b57df8c2 -> hcl-emacs/terraform-mode@a645c32a8f
k1LoW/emacs-ansible@d89ac0ee57 -> k1LoW/emacs-ansible@1d7de8d3dd
krzysztof-magosa/company-ansible@79dd421b16 -> krzysztof-magosa/company-ansible@338922601c
nicolaisingh/saveplace-pdf-view@abfb5e1f46 -> nicolaisingh/saveplace-pdf-view@ee95460cd9
purcell/envrc@1385e72a73 -> purcell/envrc@8eb7401700
spotify/dockerfile-mode@52c6c00da1 -> spotify/dockerfile-mode@39a012a27f
tmalsburg/helm-bibtex@bf184cc311 -> tmalsburg/helm-bibtex@8b71b4f5ce
vedang/pdf-tools@c69e7656a4 -> vedang/pdf-tools@93e7492451
xuchunyang/osx-dictionary.el@1f5a74f3e5 -> xuchunyang/osx-dictionary.el@6abfd6908b
yoshiki/yaml-mode@5b58248ab2 -> yoshiki/yaml-mode@7b5ce294fb
2024-04-03 17:24:17 -04:00
Henrik Lissner
52599ab536
bump: :completion
abo-abo/swiper@8c30f4cab5 -> abo-abo/swiper@1f88e54990
company-mode/company-mode@02903bd708 -> company-mode/company-mode@b0a522ac5b
emacs-helm/helm-descbinds@b725159823 -> emacs-helm/helm-descbinds@ca03f02da4
emacs-helm/helm@f34ea6b702 -> emacs-helm/helm@28f62344fe
minad/cape@a397a0c92d -> minad/cape@e01e443023
minad/consult@b48ff6bf05 -> minad/consult@c87b0bf06d
minad/corfu@c1e7b6190b -> minad/corfu@35cd5a0f3c
minad/marginalia@f6fe86b989 -> minad/marginalia@3275d1f85c
minad/vertico@68cbd47589 -> minad/vertico@68e51fda55
oantolin/embark@c93abadc82 -> oantolin/embark@d3c9d1b4c8
oantolin/orderless@dc7a781acf -> oantolin/orderless@ac4aeb66f3
radian-software/prescient.el@4b875be52e -> radian-software/prescient.el@c39bf07c56
sebastiencs/company-box@b6f53e26ad -> sebastiencs/company-box@c4f2e243fb
2024-04-03 17:21:16 -04:00
Henrik Lissner
beb6e87636
bump: :tools magit :emacs vc
emacsmirror/git-timemachine@ac933e5cd2 -> emacsmirror/git-timemachine@5ed73c3831
magit/forge@2a3b41eb62 -> magit/forge@ad94b5665d
magit/magit@0e8f25a8d8 -> magit/magit@b5637d665c
2024-04-03 15:55:40 -04:00
Henrik Lissner
e5fb4f3dd9
bump: :lang scala
emacs-lsp/lsp-metals@da7e54ed65 -> emacs-lsp/lsp-metals@e55d544996
hvesalai/emacs-sbt-mode@9fe1e8807c -> hvesalai/emacs-sbt-mode@bcf8d60400
2024-04-03 15:54:51 -04:00
Henrik Lissner
3192816c22
bump: :tools debugger lsp
emacs-lsp/dap-mode@2f0c5b2857 -> emacs-lsp/dap-mode@c95537c58e
emacs-lsp/lsp-mode@a5f5ca9a8a -> emacs-lsp/lsp-mode@8861252880
emacs-lsp/lsp-ui@bc58c66645 -> emacs-lsp/lsp-ui@942eeecc3d
emacs-straight/eglot@24f2bf7b28 -> emacs-straight/eglot@678610fdc5
mohkale/consult-eglot@049c6319b8 -> mohkale/consult-eglot@64262e7245

Ref: emacs-lsp/lsp-mode#4169
Ref: emacs-lsp/lsp-mode#4414
2024-04-03 15:53:53 -04:00
Henrik Lissner
34a9c3d0b3
bump: :editor snippets
doomemacs/snippets@f022984ee1 -> doomemacs/snippets@07b3bdaf60
joaotavora/yasnippet@297546f085 -> joaotavora/yasnippet@33587a8551
2024-04-02 20:10:16 -04:00
Henrik Lissner
13b60b9702
bump: :editor evil
emacs-evil/evil-collection@8c84f9bc89 -> emacs-evil/evil-collection@e0982fcbb6
emacs-evil/evil-surround@c7116cdc77 -> emacs-evil/evil-surround@da05c60b06
emacs-evil/evil@5995f6f21f -> emacs-evil/evil@88d073c9d0
redguardtoo/evil-nerd-commenter@3b197a2b55 -> redguardtoo/evil-nerd-commenter@ae52c5070a
wcsmith/evil-args@2671071a4a -> wcsmith/evil-args@a8151556f6
2024-04-02 20:08:07 -04:00
Henrik Lissner
c6fc0e5bc0
fix(cli): don't delete repos beyond $DOOMLOCALDIR
Doom makes multiple attempts to re-clone repos if they failed the first
time, however, if a user provides a :local-repo and that location isn't
a git repo, Doom assumes this it is the result of a failed clone, and so
deletes it to "try" again (which will fail). This can result in lost
work.

This prevents this from happening to packages/repos outside of
$DOOMLOCALDIR (all packages under $DOOMLOCALDIR must be git repos).

Fix: #7785
Amend: 3643c4dadd
Amend: 1fa8d3a4b9
2024-04-01 19:43:39 -04:00
Henrik Lissner
392fe88ed0
fix(lib): sudo-{this,save}-file: file path for indirect clones
If the buffer is an indirect clone, it may not have a buffer-file-name.

Also changes the command to throw an error if the current file has no
file path *and* is not a dired buffer.
2024-04-01 14:03:35 -04:00
Henrik Lissner
ea4792ccd2
docs: bump 29.2 -> 29.3 2024-04-01 13:47:12 -04:00
Henrik Lissner
22fa4ccac7
tweak(vertico): consult-dir: use projectile 2024-04-01 13:44:25 -04:00
Henrik Lissner
1598444bd9
docs(corfu): disabling auto-completion
Close: #7749
Co-authored-by: 45mg <45mg@users.noreply.github.com>
2024-04-01 13:34:37 -04:00
Sean Farley
1176aaae0b feat(mu4e): use built-in notifications instead of mu4e-alert
Now that mu4e has its own notification feature since 1.10 (and as of
this commit version 1.12 is already out), we can just use that. Much
less code to maintain.

Closes: https://github.com/doomemacs/doomemacs/issues/6896
2024-04-01 13:31:49 -04:00
Sean Farley
dd95f8fb3d feat(common-lisp): add more sly packages
Might as well?
2024-04-01 13:31:13 -04:00
45mm
142f28eb9a fix(fold): properly support outline-minor-mode
- Make `+fold/close-all` work for outline-minor-mode.

- Distinguish between `zo` and `zO` for outline-minor-mode alone, by
  binding `zO` to a new function `+fold/open-rec`. `zO` will now trigger
  `outline-show-subtree` in outline-minor-mode, while `zo` will only
  trigger `outline-show-branches`, keeping the subheadings folded. This
  matches the behavior in org-mode.

- Fix a bug in `+fold/open-all`, introduced in
  7b9d00d661, that makes it only operate
  on vimish-fold folds.

Note that outline-minor-mode is still not enabled by default anywhere.
These changes are only to prevent incorrect behavior for users who
decide to turn it on themselves.
2024-04-01 13:30:43 -04:00
carehabit
230c82fc95
docs: remove unintended repetition
Signed-off-by: carehabit <shenyuting@outlook.com>
2024-04-01 13:30:10 -04:00
yuhan0
5589722c8e fix(popup): fix typo in local variable name 2024-04-01 13:28:49 -04:00
Henrik Lissner
a84462133d
fix(neotree): don't use all-the-icons
Fixes 'Package `all-the-icons' isn't installed' error when opening
neotree.

Ref: #7664
2024-04-01 13:16:36 -04:00
Henrik Lissner
3643c4dadd
fix(cli): void-function directory-empty-p error
directory-empty-p was introduced in 28.1, but Doom still supports 27.1,
so 27.x users would see this error when running any bin/doom command
that clones packages.

Fix: #7779
Amend: 1fa8d3a4b9
2024-03-30 11:50:57 -04:00
Henrik Lissner
5f5a163c49
bump: :lang org
bastibe/org-journal@605a7eb984 -> bastibe/org-journal@17b34ce8df
emacs-jupyter/jupyter@da306a6dbd -> emacs-jupyter/jupyter@2059d79b2f
emacs-straight/org-mode@7a6bb0904d -> emacs-straight/org-mode@e9c288dfac
emacsmirror/org-contrib@8fbaceb247 -> emacsmirror/org-contrib@d4056ce5d5
hakimel/reveal.js@16f6633014 -> hakimel/reveal.js@6410c756ea
hniksic/emacs-htmlize@dd27bc3f26 -> hniksic/emacs-htmlize@09d43dfa44
https://repo.or.cz/org-contacts.git@7f03eafaad2e -> https://repo.or.cz/org-contacts.git@6660db078f76
jkitchin/ox-clip@ff117cf3c6 -> jkitchin/ox-clip@a549cc8e17
kaushalmodi/ox-hugo@cb1b6cfd7b -> kaushalmodi/ox-hugo@c4156d9d38
magit/orgit@84bcb5c318 -> magit/orgit@a57beefa24
oer/org-re-reveal@7c39d15b84 -> oer/org-re-reveal@1944ac53d4
org-noter/org-noter@8be3763847 -> org-noter/org-noter@9e4f57957b

Fix: #7776
2024-03-29 23:41:13 -04:00
Henrik Lissner
b01e496405
fix(cli): doom sync: rebuild-all loop
Addresses an edge case where 'doom sync' could fall into an inescapable
'rebuild all packages' loop.

Fix: #7775
2024-03-29 23:41:12 -04:00
Henrik Lissner
65240e9b92
fix(cli): suppress 'checked out X' when X = nil 2024-03-29 12:32:12 -04:00
Henrik Lissner
b533f5496c
tweak(corfu): corfu-auto-delay: 0.1 -> 0.18
At 0.1, Corfu pops up too aggressively and too often, even for fast
typists. This is especially disruptive with slow backends that might
block Emacs. I think 0.18-0.24 is the goldilocks zone, so I'll start
with 0.18, and maybe increase it later.
2024-03-28 16:58:28 -04:00
Henrik Lissner
544e579c44
fix(cli): doom upgrade: ensure upgrade remote is deleted
It seems the temporary branch that 'doom upgrade' creates is sometimes
left over after a 'doom upgrade', preventing the next 'git fetch' from
completing.

Ref: #7771
2024-03-28 09:43:43 -04:00
Henrik Lissner
b443371981
fix(cli): doom install: $DOOMDIR templates (part 2)
Caused by a regression originally introduced in b6b755d, but incorrectly
fixed in 89c56a3. Don't code while sleep deprived, kids.

Amend: 89c56a3393
Amend: b6b755dea4
2024-03-28 00:23:17 -04:00
Henrik Lissner
89c56a3393
fix(cli): doom install: $DOOMDIR templates
Caused by a regression introduced in b6b755d.

Amend: b6b755dea4
2024-03-27 17:15:43 -04:00
Henrik Lissner
3f966f49d8
fix(cli): doom upgrade: remove doom-compile-clean call
This function was removed in 63c470b.

Amend: 63c470bff3
2024-03-27 10:27:44 -04:00
Henrik Lissner
d6a3450917
fix(cli): shell-quote-argument: wrong-number-of-args error
shell-quote-argument's second argument was introduced in 29.1. Users on
older versions of Emacs will get an error.

Amend: d5bad5b430
2024-03-27 10:27:05 -04:00
Henrik Lissner
b6b755dea4
fix(cli): doom install: $DOOMDIR paths in output
Close: #7768
Co-authored-by: plajjan <plajjan@users.noreply.github.com>
2024-03-27 09:39:05 -04:00
Henrik Lissner
201051c368
fix(cli): doom sync: suppress rebuild prompt when upgrading
12a765c introduced suppression of package-rebuilding prompts on 'doom
upgrade', but inadvertently reversed the check. This fixes that (and
refactors the if/or tree into a `cond`).

Amend: 12a765c509
2024-03-27 00:26:18 -04:00
Henrik Lissner
aef2b12100
feat(cli): doom upgrade: add -B option
To mirror doom sync's -B option.
2024-03-27 00:26:18 -04:00
Henrik Lissner
d5bad5b430
fix(cli): straight: regurgitate type errors as connection errors
See included comment for explanation.
2024-03-26 22:58:56 -04:00
Henrik Lissner
c0c52f0f61
fix: ensure load-path et co are set on doom/reload
This addresses a number of missing-package errors after running
doom/reload.

Fix: #7764
Fix: #7636
Fix: #7182
2024-03-26 22:25:29 -04:00
Henrik Lissner
12a765c509
feat(cli): doom sync: change -B to suppress rebuilding
Prior to this, -B would suppress the prompt for package rebuilding if
your Emacs version or hostname changed. Now, it fully inhibits
rebuilding in either case.

Fix: #7760
Ref: cff091982e
2024-03-26 21:36:14 -04:00
Henrik Lissner
d256b597f2
bump: :tools magit
alphapapa/magit-todos@1e9acc0ba6 -> alphapapa/magit-todos@332ce763f7
magit/forge@68771ca4d5 -> magit/forge@2a3b41eb62
magit/magit@0963697f24 -> magit/magit@0e8f25a8d8
2024-03-26 12:07:51 -04:00
Henrik Lissner
45fd893074
refactor(ligatures): test for harfbuzz feature
A `harfbuzz` feature was introduced in 3e81655.

Ref: 3e81655b0e
2024-03-26 10:39:59 -04:00
Henrik Lissner
7acfb0c77c
nit: minor comment reformatting & revision 2024-03-26 10:39:24 -04:00
Henrik Lissner
639fcc6a2e
tweak(emacs-lisp): remove pin truncation
This removes the truncation of `package!` `:pin`s. This was originally
intended to make packages.el files easier to skim, but in hindsight it
didn't really. It served little other purpose but to make it harder for
folks to interact with the :pin string.
2024-03-26 10:30:34 -04:00
Henrik Lissner
90070c639a
fix(workspaces): remove ivy integration
Due to upstream changes in ivy-rich, +workspace/switch-to throws a
`wrong-type-argument listp leaf` error. As I plan to phase out Ivy
support (and the Ivy module) in the long term, I'll simply remove
ivy (and ivy-rich) integration in the workspaces module, rather than
update it.

Fix: #7499
Fix: #7173
2024-03-26 10:11:34 -04:00
Henrik Lissner
286be1b249
fix(cli): void-variable doom-profile-env-file-name error
This variable ref snuck into cff0919, but hasn't been introduced yet.

Fix: #7755
Amend: cff091982e
2024-03-24 18:55:43 -04:00
Henrik Lissner
6d682eef85
fix(cli): void-function doom-packages-install error
Function was renamed to doom-packages-ensure in cff0919.

Fix: #7755
Amend: cff091982e
2024-03-24 18:38:18 -04:00
Henrik Lissner
8d50cd8bfb
tweak(lib): print!: join (path ...) segments 2024-03-24 18:09:54 -04:00
Henrik Lissner
2df24d29f3
bump: :core
Fuco1/smartparens@0778a8a840 -> Fuco1/smartparens@ddc6233ea6
bbatsov/projectile@e45f0b0cc4 -> bbatsov/projectile@0163b335a1
emacs-compat/compat@eb8fbfa558 -> emacs-compat/compat@8d4e8a3666
emacs-straight/project@10a6b691e3 -> emacs-straight/project@b6989856ab
joddie/pcre2el@018531ba0c -> joddie/pcre2el@380723b270
jscheid/dtrt-indent@0230ec5032 -> jscheid/dtrt-indent@5d1b44f9a1
justbur/emacs-which-key@4d20bc8525 -> justbur/emacs-which-key@96911a1d3f
noctuid/general.el@bda777cd30 -> noctuid/general.el@ced143c30d
radian-software/straight.el@b3760f5829 -> radian-software/straight.el@b1062df10b
rainstormstudio/nerd-icons.el@c6a4acf194 -> rainstormstudio/nerd-icons.el@8095215a50
2024-03-24 18:08:09 -04:00