Commit graph

17185 commits

Author SHA1 Message Date
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
Abdelhak Bougouffa
64b0e42260 docs: update repo links in readme 2022-05-05 02:18:41 +02:00
Henrik Lissner
03bed00fd3
dev: remove pull request template
So it falls back to our org default template.

Ref: https://github.com/doomemacs/.github/blob/main/.github/PULL_REQUEST_TEMPLATE.md
2022-05-05 02:10:52 +02:00
Henrik Lissner
ab138c0b32
dev(ci): read scopes from local modules/docs
Instead of (only) reading the workflow's internal doomemacs install.

Amend: 0f6a653a13
2022-05-04 23:26:37 +02:00
Henrik Lissner
47d1b82382
tweak(ci): generalize commit linter defaults
So Doom can be used for general CI/CD (as part of doomemacs/ci). These
settings can be configured in .github/ci.el by default.

Ref: 0f6a653a13
2022-05-04 22:44:28 +02:00
Henrik Lissner
0f6a653a13
dev(ci): use doomemacs/ci commit linter
And move repo-specific linter config into .github/ci.el
2022-05-04 22:41:42 +02:00
Henrik Lissner
0db9014e89
dev: fix link to third party resources 2022-05-04 18:26:56 +02:00
Henrik Lissner
dcf3e873bf
dev: update labels in issue templates
Our labels were recently redesigned for consistency across our org
repos.
2022-05-04 17:06:58 +02:00
Henrik Lissner
7a30582505
dev: use doomemacs/ci@legacy 2022-05-03 18:38:21 +02:00
Henrik Lissner
47269c506c
dev: auto-add issues to project board
With this we can slowly transition away from the unhelpful deluge of
Github status labels.

Ref: https://github.com/orgs/doomemacs/projects/2/views/1
2022-05-03 03:02:31 +02:00
Henrik Lissner
3b789752a3
fix: user/system git config breaking straight installer
Fix: #6346
2022-05-02 02:12:59 +02:00
Henrik Lissner
0597466261
release(modules): 22.05.0-dev
Ref: 2b39e41368
2022-05-02 01:39:15 +02:00
Henrik Lissner
56686f677a
fix(lib): improper quoting in restart-emacs command
Should be addressed upstream, but restart-emacs hasn't been updated in
nearly two years, so I temporarily fix it here.

Fix: #6219
2022-05-02 01:39:10 +02:00
Colin Woodbury
6bf725837d fix(fortran): account for spaces in filenames 2022-04-26 03:58:14 +02:00
Samuel Tschiedel
488ad07cc5 fix(evil): define *-any-quote directly
Defining `*-any-quote` objects via the exiting `*-block` helpers leads
to incorrect behaviour, where the trailing boundary is also included as
part of the selection (cursor on `|`, selection between `|`):

```
start: "te|st"
v i q: "|test"|
```

The expected behaviour is the same as `v i "`:
```
start: "te|st"
v i q: "|test|"
```

Fix: #5698
2022-04-25 16:38:40 +02:00