Commit Graph

18597 Commits

Author SHA1 Message Date
4ecd616cd8 refactor(format): replace with apheleia
Initial refactor of format module to replace format-all with apheleia
2023-09-13 20:19:59 +01:00
7bdf7cf7c0 refactor: doom-guess-mode-h: return non-nil on success 2023-09-12 21:30:56 +02:00
f26b038ec3 fix: prevent quit in the middle of doom/escape 2023-09-12 21:30:56 +02:00
7acb67285c dev: shell.nix: add emacs 29, 30.0.50, & CI versions
And default to 29.1 (the new stable release of Emacs).
2023-09-12 21:30:56 +02:00
261f94c768 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.
2023-09-12 21:30:56 +02:00
af8ec870ac fix(lib): 'back to *' links in doom-docs 2023-09-12 21:30:56 +02:00
8e671f494d 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.
2023-09-12 21:30:56 +02:00
0f0fade3c0 fix(layout): bepo: void-variable org-capture-mode-map error
Caused if org is loaded without/before org-capture.

Ref: #7408
2023-09-12 21:30:56 +02:00
89421f018b 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>
2023-09-12 21:30:56 +02:00
69cedebfda docs: add fish shell check 2023-09-12 21:30:56 +02:00
447b59c9c0 docs: properly indent core doctor checks 2023-09-12 21:30:56 +02:00
95a5a32aac docs: expand multiple/non-standard config checks
Close: #7391
Close: #7295
2023-09-12 21:30:55 +02:00
dababf9ae9 feat(php): doctor: rudimentary php & composer checks 2023-09-12 21:30:52 +02:00
fd98b44e6a 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.
2023-09-12 21:23:48 +02:00
2a73bb4e7c bump: :ui treemacs
Alexander-Miller/treemacs@00e96c842f -> Alexander-Miller/treemacs@fe471314f1

Fix: #7409
2023-09-12 21:20:59 +02:00
20cdba39a8 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.
2023-09-12 21:20:23 +02:00
46d7404bef 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)
2023-09-12 21:19:18 +02:00
a44e8d6bfd nit: general reformatting & minor comment revision 2023-09-11 23:56:21 +02:00
d8372b6e2d fix(popup): +popup/raise: recursive popup
Without this, raising a popup might result in simply opening a popup
with the same rules.
2023-09-11 23:53:59 +02:00
f427c8a30e 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.
2023-09-11 23:53:36 +02:00
a7123bf65f fix: write native-comp cache to $EMACSLOCALDIR
Otherwise, it writes them to /tmp. This way, the CLI can clean them up
along with other package state in the future.
2023-09-11 23:53:35 +02:00
7f3d5d54bd refactor(lib): hoist new org-id-locations-file value 2023-09-11 23:53:35 +02:00
75d4046820 fix(lib): doom/reload-docs: `org-id-get' warnings
Prevents '`org-id-get' expects a file-visiting buffer' warnings in some
in-repo org files.
2023-09-11 23:53:35 +02:00
deb83dc6a9 fix(lib): doom-docs-mode: hiding property drawers
Includes a minor optimization: reading the current level from an
org-element object, rather than relying on (org-current-level), which
resorts to walking the buffer with regex.
2023-09-11 23:53:35 +02:00
c1b0326ce7 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
2023-09-11 23:53:01 +02:00
d8e16db605 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
2023-09-10 05:13:37 +02:00
56d396c5f6 release(modules): 23.09.0-dev
Ref: 2b39e41368
2023-09-10 00:00:53 +02:00
bef076b655 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>
2023-09-09 23:59:22 +02:00
ca9f84d664 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.
2023-09-09 23:59:06 +02:00
3a01faed49 feat(fortran): SPC m f o opens project config 2023-09-09 23:58:22 +02:00
56187fc35a merge: pull request #7359 from theschmocker/snippet-command-fixes-and-enhancements 2023-09-08 23:24:48 +02:00
25602409b6 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
2023-09-07 20:22:58 +02:00
9cc9351cae feat(file-templates): add c-mode/__main.c
Ref: #7387
2023-09-07 20:22:58 +02:00
f811e4fa49 dev: update supported Emacs version in issue template 2023-09-07 20:22:58 +02:00
d94fce553b dev(ci): replace add-to-project workflow
Ref: doomemacs/ci@f2a2ad43f1
2023-09-07 20:22:58 +02:00
43467ba4b9 fix(chinese): void-function pyim-cregexp-ivy error 2023-09-07 20:19:44 +02:00
5be4517bca 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.
2023-09-07 20:18:12 +02:00
42d5fd8350 docs(irc): add circe notification warning 2023-09-06 19:43:21 +02:00
a23e021032 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
2023-09-06 19:43:21 +02:00
f4e74e17ad fix(lib): doom/help-packages: handle missing homepage
When a package is added via straight local-repo, no homepage can be
determined. Prevent doom--help-insert-button throwing an error in this
case.
2023-09-06 14:40:07 +02:00
0e8f458d99 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.
2023-09-06 14:33:27 +02:00
af5add0e9e merge: pull request #7389 from hpfr/misc 2023-09-06 14:28:57 +02:00
3cafa0223e fix(org): check org-fold-outline in invisible property
Fix: #7206
2023-09-06 14:27:35 +02:00
20393c7074 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`.
2023-09-06 14:26:51 +02:00
62074bfcbb 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
2023-09-02 12:27:37 -05:00
088bd387f6 tweak(lib): add alpha-background support to opacity setter
This is preferred when available because it does not affect foreground
content like text and images.

Ref: https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29.1#n801
2023-09-02 12:27:37 -05:00
d5f86f179f tweak(default): add multi-buffer imenu commands
There is no analogous counsel command.
2023-09-02 12:27:37 -05:00
3d82e3d46d fix(vertico): gate which-key integration
This prevents an error for users disabling which-key.
2023-09-02 11:46:42 -05:00
b261afe59d fix(org): use file URI for org-re-reveal-root
Ref: 9c7830e48f
2023-09-02 11:46:39 -05:00
034da90693 refactor(eshell): remove wait for esh-module 2023-09-02 11:46:07 -05:00