Commit graph

17199 commits

Author SHA1 Message Date
Henrik Lissner
f76caeece3
bump: :tools debugger lsp
emacs-lsp/dap-mode@67fd9e5d4e -> emacs-lsp/dap-mode@50c2a99059
emacs-lsp/lsp-mode@9faa492692 -> emacs-lsp/lsp-mode@6b6afc00de
joaotavora/eglot@2b87b06d9e -> joaotavora/eglot@e835996e16

Close: #6461
Co-authored-by: MOHENOO <MOHENOO@users.noreply.github.com>
2022-06-17 18:54:27 +02:00
Filipe Regadas
7a164f9d4c
bump: :lang dhall
psibi/dhall-mode@ad259c8a22 -> psibi/dhall-mode@c77f1c1e75

Ref: psibi/dhall-mode#36
2022-06-17 18:47:23 +02:00
iyefrat
992bd8f7e2
fix(vertico): load consult after embark
Currently, embark-consult bindings don't get loaded if consult hasn't
been loaded yet, leading to missing embark actions until the first
manual consult load.
2022-06-17 18:42:42 +02:00
Daanturo
7c676c83bc tweak(vertico): use setq-default to set completion-in-region-function
Corfu makes completion-in-region-function a local variable in buffers
where it is enabled, so when this form is evaluated in one of those said
buffers (such as opening a file with Emacs before accessing the
minibuffer), completion-in-region-function will just be set locally
there.
2022-06-17 18:40:34 +02:00
Antonio Ruiz
41921f5f07 fix(window-select): allow Switch Window to work with >6 windows 2022-06-17 18:38:39 +02:00
Nils "Linkpy" Reid
3ea4952f3f fix(zig): use zig ast-check for flycheck checker 2022-06-17 18:37:53 +02:00
tecosaur
f0f414ac67
fix(eval): type error in +emacs-lisp-eval
When evaluating from a buffer not visiting any file, file-truename would
error out since the argument it was fed is nil.

Fix: #6181
Close: #6404
Ref: 7290f85cfd
Co-authored-by: Yoav Marco <ymarco@users.noreply.github.com>
2022-06-17 18:36:10 +02:00
Henrik Lissner
31519d393a
bump: :editor evil
emacs-evil/evil-collection@e557188692 -> emacs-evil/evil-collection@6cc02b238c
emacs-evil/evil@3e41a82333 -> emacs-evil/evil@157af04d2c
hlissner/evil-snipe@a79177df40 -> hlissner/evil-snipe@c07788c35c
redguardtoo/evil-nerd-commenter@42ba1a473b -> redguardtoo/evil-nerd-commenter@386cd758a4
2022-06-17 18:21:23 +02:00
Henrik Lissner
77e9932966
bump: :core
Fuco1/smartparens@37f77bf2e2 -> Fuco1/smartparens@ec15aaa748
Wilfred/helpful@67cdd1030b -> Wilfred/helpful@209971ba9f
bbatsov/projectile@f3468e8d20 -> bbatsov/projectile@4d6da873ae
domtronn/all-the-icons.el@65c496d3d1 -> domtronn/all-the-icons.el@ca1ef30004
emacs-straight/project@4fe1eec803 -> emacs-straight/project@c52ec93689
jscheid/dtrt-indent@66fc30af02 -> jscheid/dtrt-indent@57f4072fa8
justbur/emacs-which-key@1217db8c63 -> justbur/emacs-which-key@1ab1d0cc88
raxod502/straight.el@e2de88ea0e -> radian-software/straight.el@0e204d418d

Includes a fix for #5207 (see radian-software/straight.el#955), which
occasionally caused arrayp errors when installing/upgrading packages.

Fix: #5207
Ref: radian-software/straight.el#955
2022-06-17 18:21:23 +02:00
Henrik Lissner
26d47b5ebc
feat(nav-flash): add consult support 2022-06-17 18:21:23 +02:00
Henrik Lissner
59d3d8e8da
tweak(org): remove redundant eldoc-mode activation 2022-06-17 18:21:23 +02:00
Henrik Lissner
2f7171bf8a
refactor(lib): remove doom-apply-ansi-color-to-compilation-buffer-h
Is redundant with ansi-color-compilation-filter.

Ref: aec4fbe590
2022-06-17 18:21:23 +02:00
Henrik Lissner
d67dcf1940
docs(emacs-lisp): insert :added: properties in demos
To help identify when they (and future functions/macros) were added.
2022-06-17 18:21:23 +02:00
Henrik Lissner
cb03d3258d
refactor!(lib): remove {doplist!,plist-delete!,doom-plist-delete}
BREAKING CHANGE: With 26.x support dropped, I've dropped:

- doom-plist-delete: use map-delete instead
- plist-delete!: use cl-callf + map-delete instead
- doplist: use (cl-loop for X on PLIST by #'cddr ...) instead

These were removed as part of an ongoing effort to eliminate
redundancies with built-in packages and reduce Doom's overall footprint.
2022-06-17 18:21:22 +02:00
Henrik Lissner
fd12794930
refactor(lib): use cl-callf instead of plist-{put,delete}!
I rediscovered cl-callf and decided to cut down on redundancies.
2022-06-17 18:20:45 +02:00
Henrik Lissner
d0cdf8f5c6
fix(evil): ]f/[f opening directories
They should traverse files, not directories.
2022-06-13 01:16:22 +02:00
Henrik Lissner
dea74acb7a
fix(lib): void-variable error in doom/add-directory-as-project
And clarify how it differs from projectile-add-known-project in the
command's docstring.
2022-06-10 13:13:10 +02:00
Henrik Lissner
c78a3dc1f5
fix(lib): unknown type: consp on Emacs 29+
This was removed from cl-lib's known datatypes (in favor of "cons") in
Emacs 29.
2022-06-10 13:12:22 +02:00
Henrik Lissner
bea3cc161c
fix: find-function-search-for-symbol moving cursor
For symbols defined in the current buffer, for Emacs 29+ users.
2022-06-04 15:02:06 +02:00
Henrik Lissner
f96c666460
tweak: add $XDG_RUNTIME_DIR to recentf-exclude
Ref: eb170a7a38
2022-06-04 15:02:06 +02:00
Henrik Lissner
60df67de34
release(modules): 22.06.0-dev
Ref: 2b39e41368
2022-06-04 15:02:06 +02:00
Henrik Lissner
797866b596
fix(cli): doom run not launching from parent dir
'doom run' was launching out of Emacs' default
directories (~/.config/emacs and ~/.emacs.d) instead of the parent
directory of bin/doom. This commit corrects that, but is a temporary
measure until the CLI rewrite. I'm also not totally sure this will work
on Windows...

Fix: #6389
2022-06-04 15:01:49 +02:00
Henrik Lissner
1b8f46c7c5
bump: :tools debugger lsp
emacs-lsp/dap-mode@f918c0580b -> emacs-lsp/dap-mode@67fd9e5d4e
emacs-lsp/lsp-mode@1e7128c43f -> emacs-lsp/lsp-mode@9faa492692
emacs-lsp/lsp-ui@96b1ecbfbf -> emacs-lsp/lsp-ui@370022b678
gagbo/consult-lsp@a8eb3a062f -> gagbo/consult-lsp@19606a03cf
joaotavora/eglot@fd9a5646d1 -> joaotavora/eglot@2b87b06d9e
mohkale/consult-eglot@f93c571dc3 -> mohkale/consult-eglot@0da8801dd8

- Debuggers (see #6381):
  - Add support for new cpptools (upgraded from 0.29.0 to 1.9.8).
  - Add support for new codelldb (from 1.6.0 to 1.7.0).
  - Fix download issue of gdb-lldb (aka webfreak.debug).
- LSP support:
  - Fix inlay hints for rust-analyzer (see emacs-lsp/lsp-mode#3467)

Close: #6395
Close: #6381
Fix: #6394
Fix: #6403
Ref: emacs-lsp/lsp-mode#3467
2022-05-27 03:13:00 +02:00
TEC
9e0c188b5c tweak(spell): ignore org-inline-src-block
Also fix the alphabetic sorting of org-cite while I'm at it.
2022-05-27 03:00:45 +02:00
Colin Woodbury
1dfdfd53c6 feat(fortran): name executable after the file name
Previously the output was always the default `a.out`. Note that this is
only for the single-file non-fpm case, where the user just wants to
compile and run a one-off Fortran program.
2022-05-27 02:59:55 +02:00
Ellis Kenyo
e4184c6bc3 bump: :tools magit
magit/forge@eed613db88 -> magit/forge@66b3993c98
magit/magit@b4be194de1 -> magit/magit@a4a78d341a
wandersoncferreira/code-review@85ab2080e4 -> wandersoncferreira/code-review@d38fbe5930
2022-05-27 02:57:59 +02:00
Henrik Lissner
61a7c54165
bump: :email
https://codeberg.org/jao/consult-notmuch.git@a5133b9e1f19 -> https://codeberg.org/jao/consult-notmuch.git@4138855cddee
https://git.notmuchmail.org/git/notmuch@63413a556345 -> https://git.notmuchmail.org/git/notmuch@bd243b65a970
https://git.sr.ht/~tarsius/ol-notmuch@126fb446d8fa -> https://git.sr.ht/~tarsius/ol-notmuch@1a53d6c70751
jeremy-compostella/org-msg@599e8b056c -> jeremy-compostella/org-msg@60e22e4463
org-mime/org-mime@eb21c02ba8 -> org-mime/org-mime@cf96f585c6
wanderlust/apel@4e3269b6e7 -> wanderlust/apel@6947dc4605
wanderlust/wanderlust@6e189fc944 -> wanderlust/wanderlust@e3cd5e3945
xzz53/mu4e-alert@91f0657c5b -> xzz53/mu4e-alert@b34d0ea7b7

Fix: #6360
Close: #6377
2022-05-27 00:35:38 +02:00
Henrik Lissner
398b91b623
nit(hl-todo): revise keyword summaries in comments 2022-05-27 00:35:37 +02:00
Henrik Lissner
e2e33b1b49
tweak(scheme): move repl history file to cache dir 2022-05-27 00:35:37 +02:00
Henrik Lissner
eb170a7a38
tweak: add /run to recentf-exclude 2022-05-27 00:35:37 +02:00
Henrik Lissner
76e6dcd550
refactor: replace yes-or-no-p advice w/ use-short-answers
This option was introduced in 28.1.
2022-05-27 00:35:37 +02:00
Pi-Cla
866e1b32bf
bump: :tools pdf
vedang/pdf-tools@326552eef7 -> vedang/pdf-tools@f9ccdf99e5

This bump also removes C++ entirely from pdf-tools, as it is not needed anymore for
correct compilation of `epdfinfo`. The following changes are made:

- Remove private headers from all the server code. This involves:
  - Replace private header functionality with the correct public
    functions provided by poppler.
  - Remove unneeded headers around date checks
  - Delete dead-code (headers, m4 macros)
- Remove C++, g++ and similar aliases from all the code. Also:
  - Remove related information from the README
  - Remove related information from CI and Dockerfiles

Ref: vedang/pdf-tools#96
Ref: vedang/pdf-tools@4460a4fd31
Fix: vedang/pdf-tools#102
Fix: politza/pdf-tools#706
Fix: vedang/pdf-tools#90
Fix: vedang/pdf-tools#86
2022-05-26 23:47:00 +02:00
Henrik Lissner
ec6bd0df0f
merge: pull request #6379 from iyefrat/bump-vertico 2022-05-26 23:43:37 +02:00
Ellis Kenyő
7b66fbbed7
docs(lsp): add warning for missing npm 2022-05-26 23:38:50 +02:00
Itai Y. Efrat
68191e7419 fix(lookup): check ivy|helm-mode before using their backends 2022-05-26 23:37:44 +02:00
Itai Y. Efrat
ebbebc53a6 tweak(vertico): add basic completion style fallback
This is now the recommended configuration, see the referenced issue.

Ref: oantolin/orderless#111
2022-05-26 23:55:01 +03:00
Itai Y. Efrat
7ed1f96b0b feat(vertico): add crm indicator 2022-05-26 23:55:01 +03:00
Itai Y. Efrat
a8433e0581 bump: :completion vertico
minad/consult@822928a860 -> minad/consult@b15c81f776
minad/vertico@cc5f5421c6 -> minad/vertico@e5935b5bbf
oantolin/embark@d88478b45f -> oantolin/embark@97270d7257
2022-05-26 23:55:01 +03:00
Itai Y. Efrat
4cecc654b9 fix(vertico): consult tofu regex range 2022-05-26 23:55:01 +03:00
Itai Y. Efrat
1f25c3510f feat(vertico): add workarounds for problematic commands 2022-05-26 23:55:01 +03:00
Itai Y. Efrat
08f32e6d0f tweak(vertico): improve org consult source
- only add if :lang org is on
- have a version that works before org is loaded
2022-05-26 01:18:02 +03:00
Itai Y. Efrat
c13b59395c bump: :completion vertico
minad/consult@d30213aa20 -> minad/consult@822928a860
minad/marginalia@dbc37b373e -> minad/marginalia@26f2bd9ee7
minad/vertico@46e8e05650 -> minad/vertico@cc5f5421c6
oantolin/embark@2890e535f5 -> oantolin/embark@d88478b45f
oantolin/orderless@8f64537f55 -> oantolin/orderless@75eeae2197

- Remove everything related to `consult-completing-read-multiple` since
the function has been deprecated upstream due to implementation issues

Ref: minad/consult#567
Close: #6352
2022-05-26 01:18:02 +03:00
Henrik Lissner
8a27eb99be
perf(org): optimize org-roam node listings
org-roam-get-keyword performs some file IO to read file keywords from
all nodes. This can be slow with long node lists. With
org-roam/org-roam#1963, file title is baked into the schema, so we don't
need to do this work anymore.

Ref: org-roam/org-roam#1963
Fix: #6382
2022-05-09 15:43:32 +02:00
Henrik Lissner
0e2fa0ba19
fix(lib): type error on doom/restart-and-restore
On Windows, restart-emacs doesn't escape its arguments properly (#6219).
56686f677a attempted to fix this, but ended up breaking it for
everyone else as well, causing the type error:

  Wrong type argument: listp, "--eval \"(add-hook 'window-setup-hook #'doom-load-session 100)\""

This commit fixes both the regression and the original issue.

Amend: 56686f677a
Fix: #6219
2022-05-09 15:36:20 +02:00
Henrik Lissner
80cd7557e1
fix(lib): doom-files-in's :map causing type errors
This regression was introduced in 10d00b7cc4, causing
"wrong-type-argument: stringp (X . Y)" errors. It is triggered when
doom-files-in is used with a non-nil :map on a nested directory
tree (like our module tree).

Fix: #6370
Amend: 10d00b7cc4
2022-05-05 20:32:54 +02:00
Henrik Lissner
98274f2558
dev(ci): update commit linter config
To adapt to efforts made in 00e0733 to generalize its API.

Also fixes a 'Keyword argument :X not one of (:type)' error.

Ref: 4bae9ffa47
2022-05-05 15:35:42 +02:00
Henrik Lissner
f281971206
feat(ci): generalize 'doom ci deploy-hooks'
By default, 'doom ci deploy-hooks' would deploy Doom's git hooks in
$EMACSDIR (~/.emacs.d/.git/hooks). Now it deploys in the local repo its
run in. This is part of an effort to generalize Doom's CI for use
outside this repo.

Ref: 4bae9ffa47
2022-05-05 15:35:33 +02:00
Henrik Lissner
4bae9ffa47
refactor(ci): generalize commit linter api
Continues from 47d1b82 as part of an effort to generalize Doom's CI for
use outside this repo:

- 'doom ci ...' commands now:
  - Run in the context of the local repo where they're run, rather than
    from Doom's install directory ($EMACSDIR).
  - Load the first of $REPO_ROOT/.github/ci.el, $DOOMDIR/cli.el, or
    $DOOMDIR/cli.el, before executing CI commands. This allows for
    per-project configuration, for example:
    - https://github.com/doomemacs/doomemacs/blob/master/.github/ci.el
    - https://github.com/doomemacs/themes/blob/master/.github/ci.el
    (Details may change post-3.0)
- Scopeless commit types are now enforced in `doom-cli-commit-scopes`,
  rather than `doom-cli-commit-rules`. This lets you specify exceptions,
  like 0597466261.
- `doom-cli-commit-scopes` now supports sub-lists, as an easy way to
  permit type-local scopes. E.g. To allow 'install' and 'faq' scopes
  only for 'docs:' commits.

    (add-to-list 'doom-cli-commit-scopes '(docs "install" "faq"))

  These sublists accepts predicates too.
- Fixed the link to git conventions in the linter's failure/warning
  output, to point to our Discourse post.

Ref: https://github.com/doomemacs/doomemacs/blob/master/.github/ci.el
Ref: https://github.com/doomemacs/themes/blob/master/.github/ci.el
Ref: 0597466261
Amend: 47d1b82382
2022-05-05 15:32:35 +02:00
Henrik Lissner
10d00b7cc4
fix(lib): unused :map property in doom-files-in 2022-05-05 15:20:07 +02:00
Itai Y. Efrat
258104f750 refactor(lsp): remove emacs 26 workarounds 2022-05-05 02:19:52 +02:00