Commit graph

11722 commits

Author SHA1 Message Date
Henrik Lissner
45008d13d5
bump: :tools
NicolasPetton/pass@5651da5313 -> NicolasPetton/pass@c721604b3b
Olivia5k/makefile-executor.el@170d14d834 -> Olivia5k/makefile-executor.el@d1d98eaf52
Silex/docker.el@cc0046e6a5 -> Silex/docker.el@6997c86a24
cjohansson/emacs-ssh-deploy@94b56c0428 -> cjohansson/emacs-ssh-deploy@95fb076c9b
editorconfig/editorconfig-emacs@6f6b5c1a95 -> editorconfig/editorconfig-emacs@2fed9599bc
emacs-lsp/dap-mode@de41d62fc4 -> emacs-lsp/dap-mode@096070aacf
emacs-lsp/lsp-mode@0dfe214573 -> emacs-lsp/lsp-mode@266945b3e4
emacs-pe/docker-tramp.el@930d7b46c1 -> emacs-pe/docker-tramp.el@19d0771db4
emacs-straight/eglot@a399fc0d03 -> emacs-straight/eglot@8ccec6532e
emacs-straight/rainbow-mode@8e96388fb4 -> emacs-straight/rainbow-mode@24437ec2c6
emacs-tree-sitter/tree-sitter-langs@944a734b7c -> emacs-tree-sitter/tree-sitter-langs@2f0f97abbd
emacsfodder/kurecolor@ac67ceba85 -> emacsfodder/kurecolor@fbf98e1e38
emacsorphanage/quickrun@7a89313c07 -> emacsorphanage/quickrun@6f96318930
meain/evil-textobj-tree-sitter@e8bb9d63de -> meain/evil-textobj-tree-sitter@19979843f5
millejoh/emacs-ipython-notebook@b2410dc96f -> millejoh/emacs-ipython-notebook@998ba22660
nicolaisingh/saveplace-pdf-view@54ed966b84 -> nicolaisingh/saveplace-pdf-view@abfb5e1f46
purcell/envrc@1954e8c0b5 -> purcell/envrc@33d01388ce
vedang/pdf-tools@bc2ba117e8 -> vedang/pdf-tools@c69e7656a4
xiongtx/eros@dd89102792 -> xiongtx/eros@a9a92bdc6b
zx2c4/password-store@26d2dae04b -> zx2c4/password-store@28cec11f1d

I've intentionally omitted magit from this list while I resolve
incompatibilities between code-review and later versions of
closql (emacsql).

I've also omitted treemacs b/c of #7410.
2024-05-21 17:15:56 +02:00
Henrik Lissner
c4759472f3
fix(emacs-lisp): failure to look up module docs
Incorrect regex would cause (search-failed "\* ...$") errors, and would
fail to unfold the target entries if it was hidden.
2024-05-21 17:15:55 +02:00
Henrik Lissner
426a15de38
fix(layout): bepo: void-variable org-capture-mode-map error
Caused if org is loaded without/before org-capture.

Ref: #7408
2024-05-21 17:15:55 +02:00
Henrik Lissner
d68740e3b0
bump: :app rss
remyhonig/elfeed-org@3242ec0519 -> remyhonig/elfeed-org@f1c1fd6b16
skeeto/elfeed@162d7d545e -> skeeto/elfeed@55fb162fa2

Close: #7407
Co-authored-by: fosskers <fosskers@users.noreply.github.com>
2024-05-21 17:15:55 +02:00
Henrik Lissner
7eb8bbacf5
feat(php): doctor: rudimentary php & composer checks 2024-05-21 17:15:54 +02:00
Emily Bourke
698f3ddeff
tweak(workspaces): prefill current name on rename
This change uses completing-read to get the new name from the user when
renaming workspaces, to allow them to more easily make a small change to
the existing name of a workspace.
2024-05-21 17:15:54 +02:00
Velnbur
7bdc7a6d3d
bump: :ui treemacs
Alexander-Miller/treemacs@00e96c842f -> Alexander-Miller/treemacs@fe471314f1

Fix: #7409
2024-05-21 17:15:54 +02:00
Colin Woodbury
4d6575dfff
fix(evil): more reliable window detection
At some point `windmove-find-other-window` stopped loading reliably,
such that `SPC w H` would complain of a missing symbol. Indeed
navigating to the implementation of `windmove` within Emacs's Lisp we
find warnings that it has mostly been superceded by newer window APIs
since 2013, and is implemented in terms of `window-in-direction`.

By using `window-in-direction` directly, the loading problem disappears.
2024-05-21 17:15:54 +02:00
Gerry Agbobada
724a845e1f
refactor!(ligatures): use ligature.el for Emacs28+
Include ligature.el in a new set-font-ligatures! function, so that
"normal" (read: "font-based") ligatures can
also be controlled on a per-major mode basis from a user function
in configuration.

This commit also drops support for Emacs 27 to reduce the maintenance
burden.

BREAKING CHANGE: font ligatures for Harfbuzz/Coretext composition
table-based ligations are no longer controlled with
`+ligatures-composition-alist`, but is handled with
`+ligatures-prog-mode-list` and `+ligatures-all-modes-list` for most
common cases. See the README for the mode-specific methods

BREAKING CHANGE: the `:ui ligatures` module will not work anymore
with Emacs 27 or older. Also, there is no need to keep patched fonts
(for Fira, Hasklig, Iosevka) if you use the module. Update Emacs if
you want to keep using ligatures, or disable the module (`doom doctor`
will tell you if your current version of Emacs stopped working with
the module)
2024-05-21 17:15:54 +02:00
Henrik Lissner
565dc1e6ff
nit: general reformatting & minor comment revision 2024-05-21 17:15:54 +02:00
Henrik Lissner
580754a735
fix(popup): +popup/raise: recursive popup
Without this, raising a popup might result in simply opening a popup
with the same rules.
2024-05-21 17:15:54 +02:00
Henrik Lissner
5e6d9a2266
tweak: scroll-conservatively = 10
Forces the window to recenter if the cursor moves >=10 lines off-screen.
This makes some of our manual recentering elsewhere unnecessary.
2024-05-21 17:15:53 +02:00
Henrik Lissner
e33f358f45
bump: :core
Fanael/rainbow-delimiters@a32b39bdfe -> Fanael/rainbow-delimiters@f40ece58df
Wilfred/helpful@c57ff0d284 -> Wilfred/helpful@66ba816b26
domtronn/all-the-icons.el@f491f39c21 -> domtronn/all-the-icons.el@be9d5dcda9
emacs-compat/compat@75d0b8527f -> emacs-compat/compat@ecf53005ab
emacs-straight/project@6c41ad68ed -> emacs-straight/project@ce140cdb70
joddie/pcre2el@b941ed8a96 -> joddie/pcre2el@018531ba0c
jscheid/dtrt-indent@be07f4979a -> jscheid/dtrt-indent@e0630f74f9
justbur/emacs-which-key@df6b0cb844 -> justbur/emacs-which-key@4d20bc8525
2024-05-21 17:15:53 +02:00
Henrik Lissner
823a0f8ba9
fix(emacs-lisp): Doom API demos in help(ful) docs
Due to cd26975, `with-file-contents!` leaves the cursor at point-min,
not point-max, so this `re-search-backward` call would never find its
mark. Now, the elisp demos for Doom functions/macros should show up
again in helpful-*/describe-* buffers.

Amend: cd269753cf
2024-05-21 17:15:53 +02:00
Henrik Lissner
f98709dddc
bump: :editor evil
emacs-evil/evil@9eb69b7f5b -> emacs-evil/evil@5fc16776c5
emacs-evil/evil-collection@1ad283f5b7 -> emacs-evil/evil-collection@8be4b75c86

- Fixes breaking change due to emacs-mirror/emacs@802a54ad62 (see
  #7397).

Ref: debbugs.gnu.org/cgi/bugreport.cgi?bug=62248
Close: #7397
Co-authored-by: prashantvithani <prashantvithani@users.noreply.github.com>
2024-05-21 17:15:52 +02:00
Amos Bird
334cdfaf3e
fix(evil): add evil-embrace support for c++-ts-mode
In emacs-29, native tree-sitter adds new major modes for the C++
language, named c++-ts-mode. As a result, hooks in c++-mode will not
run. This commit adds the angle bracket fix hook for c++-ts-mode.
2024-05-21 17:15:52 +02:00
Colin Woodbury
e632d48125
feat(fortran): SPC m f o opens project config 2024-05-21 17:15:52 +02:00
theschmocker
b133fa8798
refactor(snippets): use cond instead of nested if 2024-05-21 17:15:52 +02:00
theschmocker
286a2999a1
feat(snippets): select mode for new snippet
When there are extra yasnippet modes loaded in the current buffer,
prompt user to select one for the new snippet.

If a prefix arg is supplied when calling `+snippets/new`, prompt user to
select any mode.
2024-05-21 17:15:52 +02:00
theschmocker
6e72788bc5
fix(snippets): fix +snippets/new and +snippets/new-alias file creation
When adding a snippet/alias to a mode for the first time, setting
`default-directory` before calling `+snippet--ensure-dir` would cause an
error due to the directory not existing. As a fix, return the dir from
`+snippet--ensure-dir` and bind `default-directory` to that.

Additionally, not having a file associated with the buffer caused issues
with loading the snippet after using snippet-mode's C-c C-c binding,
especially when other directories were added to yasnippet's load paths.
As a solution for this, prompt the user for a snippet key and set the
buffer's file name to it within the snippet dir. If an existing file
would be overwritten, ask user for confirmation. As an additional
convenience, set the snippet's key field to the entered value.

Finally, replace %alias with doom-snippets-expand in the generated alias
snippets. Not aware of any history here, but %alias did not work for me.
2024-05-21 17:15:52 +02:00
theschmocker
4ce3d262fc
fix(snippets): fix snippet uuid completion
Rather than attempting to read the uuid from a text property on the
selected completion -- which gets stripped by vertico (and possibly
helm) -- grab it from a lookup alist of completion-candidat->uuid.

Essentially the same as the proposed implementation by @jgrey4296
on #4127

Fix: #4127
2024-05-21 17:15:51 +02:00
Lorenzo Ravaglia
c13ec41489
refactor(file-templates): c++-mode/__main.cpp: modernize
- Drops `using namespace std`: a known anti-pattern which imports a
  massive namespace into the global namespace. See
  https://stackoverflow.com/questions/1452721/why-is-using-namespace-std-considered-bad-practice
- Modernizes/generalizes `main`'s signature with a trailing return
  type (C++11)

Ref: https://stackoverflow.com/questions/1452721/why-is-using-namespace-std-considered-bad-practice
Close: #7387
2024-05-21 17:15:51 +02:00
Lorenzo Ravaglia
5ee98127d2
feat(file-templates): add c-mode/__main.c
Ref: #7387
2024-05-21 17:15:51 +02:00
liuzhishan
e7b73378cd
fix(chinese): void-function pyim-cregexp-ivy error 2024-05-21 17:15:51 +02:00
Ellis Kenyő
dc9e7bec9e
refactor(vertico): consult-dir: drop dependence on docker-tramp
Removes the dependence on docker-tramp, can later be cleaned up with
`tramp-container--completion-function` when we drop support for <29.
2024-05-21 17:15:51 +02:00
Jeetaditya Chatterjee
972d2892f1
docs(irc): add circe notification warning 2024-05-21 17:15:50 +02:00
Jeetaditya Chatterjee
cb46c01e3f
tweak(irc): check circe-notifications is bound
As some people may disable this package it can cause them to not be able
to quit there irc session
2024-05-21 17:15:50 +02:00
Amos Bird
840463bf30
fix(popup): add wdired hacks
Previously, wdired actions will not close popup windows, which is
cumbersome to use. We've already added similar hacks to dired. Now it's
time to add similar hacks to wdired.
2024-05-21 17:15:50 +02:00
Liam Hupfer
92cb788cc9
tweak(emoji): add emoji-search binding for Emacs 29
The emojify command takes precedence in case users want ASCII/GitHub
string completion/insertion.

Ref: https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29.1#n884
2024-05-21 17:15:50 +02:00
Liam Hupfer
a460db78c3
tweak(default): add multi-buffer imenu commands
There is no analogous counsel command.
2024-05-21 17:15:50 +02:00
Liam Hupfer
b29758300a
fix(vertico): gate which-key integration
This prevents an error for users disabling which-key.
2024-05-21 17:15:49 +02:00
Liam Hupfer
1220bc679e
fix(org): use file URI for org-re-reveal-root
Ref: 9c7830e48f
2024-05-21 17:15:49 +02:00
Liam Hupfer
4e0e9b3ec5
refactor(eshell): remove wait for esh-module 2024-05-21 17:15:49 +02:00
Liam Hupfer
336dea55b2
nit: remove superfluous package cookies 2024-05-21 17:15:49 +02:00
Liam Hupfer
266f671e6f
nit: fix docstrings 2024-05-21 17:15:49 +02:00
StrawberryTea
83c11d4cad
fix(org): check org-fold-outline in invisible property
Fix: #7206
2024-05-21 17:15:49 +02:00
StrawberryTea
d970590b9a
feat(default): add use consult-man if available
`consult-man` is a better version of `man` that computes its candidates
asynchronously and allows the user to pass arguments directly to the man
command. It's basically like `consult-grep` but for `man`.
2024-05-21 17:15:49 +02:00
Henrik Lissner
06f184bf9b
bump: :editor evil
edkolev/evil-lion@a55eb64742 -> edkolev/evil-lion@1e838a53b8
emacs-evil/evil@60ba716bf5 -> emacs-evil/evil@9eb69b7f5b
hlissner/evil-snipe@c07788c35c -> hlissner/evil-snipe@c2108d3932
mamapanda/evil-traces@d4c53bd6ad -> mamapanda/evil-traces@82e8a7b421

- Includes two fixes for breaking changes in evil:
  - mamapanda/evil-traces#5 (due to breaking changes in evil-ex.el)
  - emacs-evil/evil#1824 (due to removal of evil-unquote function)

Fix: mamapanda/evil-traces#5
Fix: emacs-evil/evil#1824
2024-05-21 17:15:48 +02:00
Henrik Lissner
d675072dc5
bump: :ui
Alexander-Miller/treemacs@9986d6cd3d -> Alexander-Miller/treemacs@00e96c842f
dgutov/diff-hl@d20f16bf5e -> dgutov/diff-hl@b5651f1c57
doomemacs/themes@b5ff201f4b -> doomemacs/themes@e4f0b006a5
edkolev/evil-goggles@8f20a16e74 -> edkolev/evil-goggles@0070c9d844
ema2159/centaur-tabs@a2890d968d -> ema2159/centaur-tabs@0bb1aa18d4
emacs-lsp/lsp-treemacs@a48763ba5d -> emacs-lsp/lsp-treemacs@e66ae21965
jaypei/emacs-neotree@98fe21334a -> jaypei/emacs-neotree@2b0cb82853
k-talo/volatile-highlights.el@513c8b73cd -> k-talo/volatile-highlights.el@fcf6e27784
seagle0128/doom-modeline@6125309c2c -> seagle0128/doom-modeline@f45a5a2003
tarsius/hl-todo@a627d33214 -> tarsius/hl-todo@0faf8569b6
2024-05-21 17:15:48 +02:00
Henrik Lissner
d3c304b88a
bump: :editor evil
cute-jumper/evil-embrace.el@7b5a539cfe -> cute-jumper/evil-embrace.el@3081d37811
emacs-evil/evil-collection@aaf3e0038e -> emacs-evil/evil-collection@1ad283f5b7
emacs-evil/evil-surround@f273821f57 -> emacs-evil/evil-surround@8fad8540c4
emacs-evil/evil@2ce03d412c -> emacs-evil/evil@60ba716bf5
mamapanda/evil-traces@290b532354 -> mamapanda/evil-traces@d4c53bd6ad
redguardtoo/evil-nerd-commenter@8c0f23d46a -> redguardtoo/evil-nerd-commenter@3b197a2b55

Ref: mamapanda/evil-traces#5
Ref: cute-jumper/evil-embrace.el#10
2024-05-21 17:15:48 +02:00
Henrik Lissner
8c7991d3f0
bump: :lang elm fsharp haskell lean lua purescript solidity web zig
emacs-lsp/lsp-haskell@3249cde75f -> emacs-lsp/lsp-haskell@918ffa2516
emacsorphanage/helm-css-scss@48b996f73a -> emacsorphanage/helm-css-scss@2169d83d8f
ethereum/emacs-solidity@ddb4a901c3 -> ethereum/emacs-solidity@8ba549e429
fsharp/emacs-fsharp-mode@09fec6c91f -> fsharp/emacs-fsharp-mode@b4d31c3da0
fxbois/web-mode@df97ab62c9 -> fxbois/web-mode@57856ba64b
haskell/haskell-mode@a34ccdc54b -> haskell/haskell-mode@3e146c1a89
immerrr/lua-mode@ad639c62e3 -> immerrr/lua-mode@7eb8eaa420
jcollard/elm-mode@5797500d74 -> jcollard/elm-mode@699841865e
leanprover/lean-mode@362bc6fa3e -> leanprover/lean-mode@99d6a34dc5
nex3/haml-mode@bf5b6c11b1 -> nex3/haml-mode@fe83c65c1f
purescript-emacs/emacs-psci@95fb5d1403 -> purescript-emacs/emacs-psci@9bb6a32532
purescript-emacs/purescript-mode@cf113871f9 -> purescript-emacs/purescript-mode@eacc61aaaf
technomancy/fennel-mode@52da9715b0 -> technomancy/fennel-mode@8f721285e1
ziglang/zig-mode@9c5e41d6a0 -> ziglang/zig-mode@079149a19f

Close: #7344
2024-05-21 17:15:48 +02:00
Yejun Su
fe6010fff9
fix(lsp): check npm when eglot is enabled 2024-05-21 17:15:47 +02:00
Daanturo
1c42505f58
fix(multiple-cursors): check evil-local-mode instead of the global one
For evil compatibility (switching to emacs state during multiple
cursors), when evil is enabled locally by evil-local-mode but not
globally by evil-mode, using the former to check is more accurate.

Also make the state variables local since MC maybe used for multiple
buffers: activate current buffer and while not deactivating here, go to
another buffer and activate there.
2024-05-21 17:15:47 +02:00
Jeetaditya Chatterjee
5842f46cfc
tweak(doom-dashboard): recentf now top menu section
This makes the top action one that is harmless as to prevent accidental
clobbering of current workspaces
2024-05-21 17:15:47 +02:00
Henrik Lissner
cbc775bf43
fix(lua): love2d project check
Close: #7333
Co-authored-by: LemonBreezes <LemonBreezes@users.noreply.github.com>
2024-05-21 17:15:47 +02:00
Henrik Lissner
27218b0c11
bump: :email
https://git.notmuchmail.org/git/notmuch@09f2ad8e8533 -> https://git.notmuchmail.org/git/notmuch@b6f144abe1f5
jeremy-compostella/org-msg@7b1dfb96d5 -> jeremy-compostella/org-msg@055de4abf6
org-mime/org-mime@cc00afcf02 -> org-mime/org-mime@d368bd4119
tarsius/ol-notmuch@ee3646627e -> tarsius/ol-notmuch@781c3518a5
wanderlust/flim@2cf5a78910 -> wanderlust/flim@80b8121f05
wanderlust/semi@7d8df0ef2f -> wanderlust/semi@9370961ddc
wanderlust/wanderlust@77662986fd -> wanderlust/wanderlust@8369b2d517
xzz53/mu4e-alert@3c9af8c799 -> xzz53/mu4e-alert@6beda20fc6
2024-05-21 17:15:46 +02:00
Henrik Lissner
52235eb6a0
bump: :config default use-package
abo-abo/avy@955c8dedd6 -> abo-abo/avy@be612110cb
jwiegley/use-package@77945e002f -> jwiegley/use-package@a6e856418d
noctuid/link-hint.el@1f9bb60289 -> noctuid/link-hint.el@36ce929331

Close: #7345
Ref: #7196
Co-authored-by: hperrey <hperrey@users.noreply.github.com>
2024-05-21 17:15:46 +02:00
Henrik Lissner
ebdc9bdf7d
bump: :lang beancount emacs-lisp sh
beancount/beancount-mode@519bfd868f -> beancount/beancount-mode@0f1e33067e
emacsorphanage/macrostep@75ecd04121 -> emacsorphanage/macrostep@0b04a89f69
jorgenschaefer/emacs-buttercup@07a52c9969 -> jorgenschaefer/emacs-buttercup@30c703d215
wwwjfy/emacs-fish@d04478c0ab -> wwwjfy/emacs-fish@6869efbc05
xuchunyang/elisp-demos@792be709c8 -> xuchunyang/elisp-demos@8d0cd806b1
2024-05-21 17:15:46 +02:00
Henrik Lissner
bd7587543e
bump: :tools magit
alphapapa/magit-todos@c6f3fd03aa -> alphapapa/magit-todos@cadf29d1cc
magit/magit@97a95f7007 -> magit/magit@4881835572

I am still holding back on bumping forge, code-review, and closql
because of wandersoncferreira/code-review#245. I've created a closql
fork to address this (at doomelpa/code-review), but am still testing it.

Fix: #7277
Ref: wandersoncferreira/code-review#245
2024-05-21 17:15:46 +02:00
Henrik Lissner
a8178358d5
bump: :tools debugger lsp
emacs-lsp/dap-mode@450ef663a0 -> emacs-lsp/dap-mode@de41d62fc4
emacs-lsp/lsp-mode@db0b3789b1 -> emacs-lsp/lsp-mode@0dfe214573
emacs-lsp/lsp-ui@295d8984da -> emacs-lsp/lsp-ui@0dd39900c8
emacs-straight/eglot@94e2d74606 -> emacs-straight/eglot@a399fc0d03
2024-05-21 17:15:46 +02:00