Commit Graph

16793 Commits

Author SHA1 Message Date
3766523f1e docs: move modules.org to modules/README.org
And regenerate the module list using 'doom make-index $EMACSIR/modules'.
2021-11-21 20:04:28 +01:00
4b6e15d419 dev: add 'doom make' commands
Primarily for regenerating boilerplate in module documentation (such as
the top navigation and #+SETUPFILE lines), the module index, and, later,
changelog and init.el generators.
2021-11-21 20:04:28 +01:00
7bc0033d0a docs: add doom-docs-mode & doom-docs-org-mode
These two modes exist to provide a nicer reading experience while
viewing Doom's org documentation from within Emacs; they hide
meta-lines, comments, markup, and more.

They also enable our docs to use IDs for links and keep our ID db
separate from any user ID dbs.
2021-11-21 20:04:28 +01:00
b5a2aa48fe docs(:ui): update READMEs to new format 2021-11-21 20:04:28 +01:00
6da20e45bd docs(:tools): update READMEs to new format 2021-11-21 20:04:28 +01:00
a226655486 docs(:term): update READMEs to new format 2021-11-21 20:04:28 +01:00
f6335befb4 docs(:os): update READMEs to new format 2021-11-21 20:04:28 +01:00
20cac97c08 docs(:lang): update READMEs to new format 2021-11-21 20:04:28 +01:00
ca7579a1e9 docs(:input): update READMEs to new format 2021-11-21 20:04:28 +01:00
2dcef764f1 docs(:email): update READMEs to new format 2021-11-21 20:04:28 +01:00
73c1dd1338 docs(:emacs): update READMEs to new format 2021-11-21 20:04:28 +01:00
9ada400805 docs(:editor): update READMEs to new format 2021-11-21 20:04:28 +01:00
c27f005011 docs(:config): update READMEs to new format 2021-11-21 20:04:28 +01:00
11793094ba docs(:completion): update READMEs to new format 2021-11-21 20:04:28 +01:00
b898fbe303 docs(:checkers): update READMEs to new format 2021-11-21 20:04:28 +01:00
5b354ae4f3 docs(:app): update READMEs to new format 2021-11-21 20:04:28 +01:00
0aad1399cc refactor(file-templates): doom readme templates
Including readme template for categories.
2021-11-21 20:04:28 +01:00
df62fcba26 docs: add category readmes 2021-11-21 20:04:28 +01:00
3231db863c fix(dart): remove hardcoded path to flutter SDK
Instead, flutter.el looks for the executable in PATH.
2021-11-21 19:05:38 +01:00
012b97fafb tweak(eshell): bind C-l to clear-scrollback
Make C-l have the same behavior as the clear alias by clearing the
scrollback.
2021-11-21 19:05:18 +01:00
5962db9f49 fix(lookup): xref 1.3.0 removed var xref--marker-ring
Xref started many backwards incompatible changes in the name of
performance.  The marker ring no longer exists as a variable.
+lookup--xref-show will silently fail every time.

Switches to using xref-after-jump-hook to test whether xref actually
jumped to a definition. The hook is part of the exposed interface and
should hopefully not change in the near future.

Fix: #5737
2021-11-21 19:04:35 +01:00
54c4ae4853 feat(notmuch): only tag new messages w/ afew
Indexing all messages can be very expensive, so some time can be saved
by only indexing new messages.
2021-11-21 19:04:14 +01:00
196ea03281 refactor(notmuch): parameterize delete/spam tags 2021-11-21 19:02:18 +01:00
02850dd6d7 fix(workspaces): wrong-type-argument list error on kill emacs
Amend: 1db18f6e1390
Fix: #5687
2021-11-21 18:49:21 +01:00
5241555676 bump: :editor multiple-cursors
hlissner/evil-multiedit@15a47540db -> hlissner/evil-multiedit@23b53bc874

Fix: hlissner/evil-multiedit#44
Fix: hlissner/evil-multiedit#46
2021-11-21 17:51:24 +01:00
1b0e1c2cd3 fix(magit): missing "N" keybind error on forge startup
An incompatibility between forge and evil-collection-forge causes this
error when starting Forge:

  Cannot insert ("N" "Forge" forge-dispatch) into magit-dispatch; o not
  found
2021-11-21 16:21:34 +01:00
4cb1880945 bump: :tools magit
charignon/github-review@2a24e75dfc -> charignon/github-review@725fbc7b38
magit/forge@72b29bd7bc -> magit/forge@41efa674cf
magit/magit@aba0a59611 -> magit/magit@877c389ca0
2021-11-21 16:10:49 +01:00
80cb57d513 bump: :tools debugger lsp :lang java
emacs-lsp/dap-mode@a18f29e3d1 -> emacs-lsp/dap-mode@76cad34de8
emacs-lsp/lsp-java@2a7d27e899 -> emacs-lsp/lsp-java@3246272b43
emacs-lsp/lsp-mode@f72278c660 -> emacs-lsp/lsp-mode@9865d31512
gagbo/consult-lsp@b9aa9617f1 -> gagbo/consult-lsp@aaa9a31bc8
joaotavora/eglot@9665359bb6 -> joaotavora/eglot@55c13a9137
realgud/realgud@7a70b27614 -> realgud/realgud@978b455d7d

Fix: #5765
2021-11-21 16:10:49 +01:00
a3d040bcd7 bump: :lang org
emacs-straight/org-mode@2e99997830 -> emacs-straight/org-mode@27edae8ced
emacsorphanage/ox-pandoc@aa37dc7e94 -> emacsorphanage/ox-pandoc@e76324ecf1
hakimel/reveal.js@1ce77db3d0 -> hakimel/reveal.js@c79f4b5a4f
kaushalmodi/ox-hugo@9438efc34f -> kaushalmodi/ox-hugo@3442d8cf1f
nnicandro/emacs-jupyter@20e68a6836 -> nnicandro/emacs-jupyter@162d047e62
oer/org-re-reveal@ee0417aac3 -> oer/org-re-reveal@55fca47c74
org-roam/org-roam@3e47f198c7 -> org-roam/org-roam@a2e46db808

Fix: #5520
Fix: #5784
2021-11-21 16:10:49 +01:00
8e13bc68c7 fix(lookup): strip text properties from error message
Otherwise the error will display a lot of (albeit harmless) gibberish to
the end user.

Fix: #5652
2021-11-21 16:10:49 +01:00
616956ac94 fix(haskell): remove evil-digit-argument-evil-beginning-of-line call
evil-digit motions were refactored in emacs-evil/evil#1519 (where
evil-digit-argument-evil-beginning-of-line was removed), which was
pulled in during 8645634608.

Fix: #5731
Ref: 8645634608
Ref: emacs-evil/evil#1519
2021-11-21 16:10:49 +01:00
6130caa621 feat(vertico): remap evil-show-registers to consult-register
A follow up to 49a464a.

Fix: #5753
Ref: 49a464a870
2021-11-21 15:37:11 +01:00
49a464a870 fix(default): missing evil-ex-registers for non-ivy users
It was `evil-show-registers' that we wanted, not
`evil-ex-registers' (which never existed in the first place). Folks who
did not have :completion ivy enabled (e.g. vertico and helm users) would
see 'commandp, evil-ex-registers' errors when pressing `SPC i r`. Folks
who had it enabled would transparently invoke `counsel-evil-registers'
instead (because it was remapped).

Fix: #5753
2021-11-21 15:34:57 +01:00
407cf56a04 fix(multiple-cursors): references to removed keymaps
Fix: #5802
Ref: hlissner/evil-multiedit@36904ce86e
2021-11-21 03:46:45 +01:00
8d360474ac docs: add doctor for dev versions of Emacs
The message simply test for the "not-a-version-yet" patch number and
displays an explanation to prepare users for raised error frequency and
having a backup version of Emacs if they do not want to deal with
issues.
2021-11-20 18:32:59 +01:00
cd206ad1c7 bump: :lang coq
ProofGeneral/PG@e2b4227e1f -> ProofGeneral/PG@2145c23f44

Fix: #5742
2021-11-20 00:55:24 +01:00
3a669d8daa fix(lib): add-hook! fails when passed a quoted list
Fix: #5779
2021-11-20 00:55:24 +01:00
daf8d278d0 fix(lib): doom/help-search
Due to malformed ripgrep command (no whitespace between "." and extra
arguments).

Fix: #5758
2021-11-20 00:55:22 +01:00
411ed0c8f8 fix(default): search commands not respecting default-directory
Commands that delegate to `+default/search-project-for-symbol-at-point`
to search a directory (like +default/org-notes-search) would not scope
searches to default-directory.
2021-11-20 00:02:11 +01:00
d4c5e025de fix(lsp): alias flymake--diag-buffer to flymake--diag-locus
To accommodate breaking API changes in Flymake in newer versions of
Emacs 28.

Fix: #5644
Ref: emacs-mirror/emacs@4633e02726
2021-11-19 23:45:00 +01:00
e303be6951 fix(org): show outline path on refile to current file
Before this change, the +org/refile-to-current-file command would
display a flat list of tail headings in the current file, without
context, which can result in duplicates and can make it difficult to
tell where you're refiling a heading to.

This changes each heading to be a full path.
2021-11-19 23:44:28 +01:00
77f3fea66a merge: pull request #5710 from iyefrat/vertico-updates
`:completion vertico` improvements
2021-11-19 23:43:26 +01:00
a310fb4a77 bump: :completion vertico
minad/consult@39f41edda6 -> minad/consult@57dc1adfdc
minad/marginalia@09d8ab38a5 -> minad/marginalia@678b6528f3
minad/vertico@0df38cf1d7 -> minad/vertico@75f33e3620
oantolin/embark@d09fff2da7 -> oantolin/embark@5b34b2b603

Update vertico-repeat configuration due to upstream changes.
2021-11-19 00:31:13 +02:00
5b630e1723 feat(vertico): add consult-dir package 2021-11-19 00:31:12 +02:00
8a2b7badc7 fix(vertico): remove unneeded manual preview...
from +vertico/search-symbol-at-point.

It only acts on buffers so it shouldn't have been there in the first
place.
2021-11-19 00:29:51 +02:00
c8199c5c20 fix(vertico): remove noise from which-key indicator
Embark adds easier prefix-argument and digit-argument insertion in
embark-act, but these clog up the space in the which-key indicator

Also update the embark-become test to the new target format.
2021-11-19 00:29:51 +02:00
423939033f fix(vertico): which-key buffer on embark prompter
The which-key buffer now disappears immediately on using
embark-completing-read-prompter, instead of only after further user
input.
2021-11-19 00:29:49 +02:00
6e629c1c53 refactor(vertico): move defadvice!'s to config.el
The vast majority of Doom modules have their defadvice! statements in
their config.el files, and not their autoloads. Since these don't need
to be autoloaded to function, we move them for better consistency.
2021-11-18 22:41:40 +02:00
b66aaf9e9f fix(vc): +vc/browse-at-remote in TRAMP buffers
vc-ignore-dir-regexp is configured to ignore TRAMP buffers to speedup
projectile. browse-at-remote uses vc-git-root to find git root project
and it will fail to find project root for remote buffers. Temporary
return vc-ignore-dir-regexp to default value.

Fix: #5660
2021-11-18 19:23:55 +01:00
a7d30f6853 fix: +default/discover-projects not reading depth
Fix: #5736
Fix: #5735
2021-11-18 19:15:56 +01:00