Commit graph

10733 commits

Author SHA1 Message Date
Itai Y. Efrat
9241a4d709 refactor(vertico): file completion backspace
Switch from the homemade +vertico/backward-updir to the upstream
vertico-directory-delete-char. The former has the nice feature of
traversing up abbreviated paths, but this comes at the cost of not being
able to fully erase the path (since the buck stops at /), and
unintentional directory moving in commands such as +vertico/find-file-in
which causes issues. Overall this minor convenience is not worth it, so
the vertico-directory-delete-char behaviour of just deleting up to the
previous / is preferred instead.
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
161d48c2a9 refactor(vertico): embark package actions map
- use new variable +vertico/embark-doom-package-map instead of
overriding embark-package-map
- define it with embark-define-keymap in order to inherit from the
default keymap
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
9d44b3510a fix(vertico): +vertico/jump-list requires consult 2021-09-15 01:03:11 +03:00
Itai Y. Efrat
f536103af6 fix(vertico): package target finder
now returns nil instead of erroring out when it can't find a paren in
the buffer

Co-authored-by: Leo Okawa Ericson <git@relevant-information.com>
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
1f3ac1eb77 nit(vertico): fix whitespace 2021-09-15 01:03:11 +03:00
Itai Y. Efrat
934ad07f23 feat(vertico): add magit-status embark action 2021-09-15 01:03:11 +03:00
Itai Y. Efrat
9e3a5df15d fix(vertico): feature gate embark workspace action 2021-09-15 01:03:11 +03:00
Itai Y. Efrat
c832eddc9d docs(vertico): explain symbol class annotations 2021-09-15 01:03:11 +03:00
Itai Y. Efrat
fc163b16c9 feat(vertico): use basic completion for remotes
Close: #5313

Co-authored-by: Stefan Lendl <ste.lendl@gmail.com>
2021-09-15 01:03:11 +03:00
Itai Y. Efrat
2fdcefa831 feat(default): add +default/diagnostics
Unify flycheck-list-errors and flymake-show-diagnostics-buffer under
+default/diagnostics, and use consult-lsp-diagnostics if the lsp and
vertico modules are active.
2021-09-15 01:02:46 +03:00
TEC
083c81e44b
refactor(mu4e): use doom-call-process to check XDG
This is a bit safer than shell-command-to-string, and we also now check
that the command exited successfully, and fall back if not.
2021-09-15 02:43:40 +08:00
TEC
7ab825157f
feat(mu4e): make the unicode bullet customizable
By popular demand.

Close #5452.
2021-09-15 02:43:40 +08:00
TEC
4fee7cf953
refactor(mu4e): extract part pickers duplication
Both the attachment and part selection functions generate string
representations of the parts. No need to do the same thing twice.
2021-09-15 02:43:40 +08:00
TEC
b489ae6452
feat(mu4e): show size in part/attachment picker 2021-09-15 02:43:40 +08:00
TEC
b05d8e8082
feat(mu4e): use file icons in part/attachment pick
Along with some other improvements and refactoring to the part picker
for a generally nicer experience, improved readability, and more
flexibility.
2021-09-15 02:43:40 +08:00
TEC
ea53ab9ef1
tweak(mu4e): end default attachment-dir with "/"
Having "/" at the end allows for a single backspace to remove the
directory, instead of just the last character - making it easier to
select a different location in a completing read.
2021-09-15 02:43:40 +08:00
TEC
6d1e86affc
tweak(mu4e): be consistent with mu4e naming style 2021-09-15 02:43:40 +08:00
TEC
c4aba242a3
feat(mu4e): improve part selection experience
It's not nice having to think of the index of the MIME part you want to
look at, it's much nicer to get a completing read with information about
those parts.
2021-09-15 02:43:40 +08:00
TEC
251705149b
feat(mu4e): reimplement attachment opening command
This can be done via 'a', but it's a nice convenience to have,
particularly as it filters out non-attachment MIME parts.

Closes #5027.
2021-09-15 02:43:39 +08:00
TEC
47be8e292e
feat(mu4e): reintroduce A and p view keybindings
When viewing a message, in mu4e < 1.6 'A' gives actions that can be
performed on the attachments, and 'p' / 'P' save attachments. The
functions are removed in 1.6, and their nearest replacements are not
bound. I think it makes sense to actually bind them.
2021-09-15 02:43:39 +08:00
Itai Y. Efrat
a10ac0e609 feat(lsp,vertico): remap xref-find-apropos to...
...consult-lsp-symbols
2021-09-14 20:44:55 +03:00
Itai Y. Efrat
3112b9a6d6 bump: consult-notmuch
https://codeberg.org/jao/consult-notmuch.git@67cf219fcce2 -> https://codeberg.org/jao/consult-notmuch.git@a5133b9e1f19

Needed for consult-notmuch to work with the new async consult api

Fix: #5369
2021-09-14 20:44:55 +03:00
Itai Y. Efrat
2c431aae0e fix(vertico): +vertico/find-file-in...
allow the creation of new files if the input doesn't match any existing
ones.
2021-09-14 20:44:55 +03:00
Itai Y. Efrat
4b0b7f55c8 docs(vertico): document new consult grep behavior
- explain how consult translates regexp matches in the readme
- add doom doctor checks for pcre support
2021-09-14 20:44:54 +03:00
Itai Y. Efrat
0a69ca957a refactor(vertico): rename which key indicator
rename +vertico/embark-which-key-indicator to
+vertico-embark-which-key-indicator, since it's not interactive
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
c0fd2c37cd feat(vertico): add char-fold style dispatcher
affixing with % uses char-fold-to-regexp on the input
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
26014435b2 feat(vertico): colorize vertico candidate on act 2021-09-14 20:38:40 +03:00
Itai Y. Efrat
c10d277713 refactor(vertico): all-the-icons-completion recipe
The package has been accepted to melpa
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
940f66fa89 bump: :completion vertico
iyefrat/all-the-icons-completion@d1d4b2f0df -> iyefrat/all-the-icons-completion@9650041854
minad/consult@69bbd213dc -> minad/consult@105a1ac501
minad/marginalia@1123544536 -> minad/marginalia@c6ca58bea8
minad/vertico@9de6709cdd -> minad/vertico@81a4b35f8d
oantolin/embark@1a7e6b5561 -> oantolin/embark@19145d5a33
oantolin/orderless@1e84120a28 -> oantolin/orderless@1a7011ac9c

- Adapt consult async commands to new consult-x-args format instead of
  consult-x-command.
- Change regepx in +vertico-file-search to emacs instead of pcre,
  because consult switched to using only emacs regexps
- Move to new embark-indicators variable, and replace
  embark-mixed-indicator with +vertico/embark-which-key-indicator to be
  compatible with future changes
- Adapt Doom's optional usage of fd to new consult command format
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
c3fc7da5f1 docs(vertico): add more explanations to readme
- add explanation for consult async commands
- expand configuration section to use subheadings
- add section on overriding consult-customize settings

Close #5291
2021-09-14 20:38:40 +03:00
Itai Y. Efrat
4613c74d8b fix(vertico): prefix-help-command
- move the setq to the embark use-package where it belongs
- also set which-key-use-C-h-commands to nil, otherwise sometimes
  which-key will override the prefix-help-command setting
2021-09-14 20:38:40 +03:00
Henrik Lissner
6b5c34a1db fix(default): region handling in +default/search-buffer
+default/search-buffer now correctly uses the active selection when
invoking `consult-line` (on 'SPC s s' or 'SPC s b').

Close #5406

Co-authored-by: Sævar Berg <saevarb@users.noreply.github.com>
2021-09-14 19:33:26 +02:00
David Lukes
a03d30047c tweak(org): map f to org-footnote-action 2021-09-14 19:25:57 +02:00
Alex Griffin
a5ce61aa55 fix(multiple-cursors): keybind conflict with embark
Fixes #5374.
2021-09-14 19:06:04 +02:00
Henrik Lissner
e0bac80447 fix(magit): shut up magit-version
To prevent Magit's harmless, but annoying, "Cannot determine Magit's
version" errors.
2021-09-14 18:41:18 +02:00
Henrik Lissner
499d368c85 bump: org-roam
org-roam/org-roam@028c95a011 -> org-roam/org-roam@1795039ab9

org-roam (for +roam2) was mistakenly bumped to
org-roam/org-roam-v1@946a879a4a in ec6511270, because our bumper
couldn't distinguish the two (something else to fix!).
2021-09-14 15:22:47 +02:00
Henrik Lissner
ec6511270d bump: :lang org
alf/ob-restclient.el@0ebfc7c5eb -> alf/ob-restclient.el@bfbc4d8e8a
awth13/org-appear@148aa12490 -> awth13/org-appear@a1aa8496f2
bastibe/org-journal@6c3a2fdb6c -> bastibe/org-journal@9757996ca0
emacs-straight/org@b83ae59347 -> emacs-straight/org@888aaa97c0
hakimel/reveal.js@b18f12d964 -> hakimel/reveal.js@abe9abbed7
hniksic/emacs-htmlize@4920510589 -> hniksic/emacs-htmlize@dd27bc3f26
kaushalmodi/ox-hugo@290b5d6b65 -> kaushalmodi/ox-hugo@1b8f2627cd
oer/org-re-reveal@cf000894f6 -> oer/org-re-reveal@ee712db657
org-roam/org-roam@028c95a011 -> org-roam/org-roam@946a879a4a

Close #5338
2021-09-14 14:30:06 +02:00
Henrik Lissner
27e1ed7383 bump: :completion ivy helm company
abo-abo/swiper@56139df678 -> abo-abo/swiper@6a8e5611f3
company-mode/company-mode@d77184094b -> company-mode/company-mode@1887974e7a
emacs-helm/helm@42e28369d5 -> emacs-helm/helm@4fcb36f1b9
raxod502/prescient.el@4a0f540579 -> raxod502/prescient.el@027c2137a8
sebastiencs/company-box@c8a867163b -> sebastiencs/company-box@156f65cfbf

Close #5419
2021-09-14 14:30:06 +02:00
Henrik Lissner
09ead843ae bump: :email mu4e
jeremy-compostella/org-msg@4c92c627b6 -> jeremy-compostella/org-msg@599e8b056c

- jeremy-compostella/org-msg#118 adds support for attachments from
  dired (#5307).

Close #5307
2021-09-14 14:30:06 +02:00
Henrik Lissner
358f6f57b0 bump: :tools magit :emacs vc
alphapapa/magit-todos@78d24cf419 -> alphapapa/magit-todos@60152d5c4e
magit/forge@49da45ac45 -> magit/forge@6e8ab6c67e
magit/git-modes@7678ead3cd -> magit/git-modes@433e1c57a6
magit/magit@0f4963b0ec -> magit/magit@1e40d00217
pidu/git-timemachine@8d675750e9 -> pidu/git-timemachine@3381797bcb

Close #5465
2021-09-14 14:30:06 +02:00
Henrik Lissner
e03f1d19d8 bump: :tools lsp debugger :lang (* +lsp)
emacs-lsp/dap-mode@d472a6c937 -> emacs-lsp/dap-mode@00e1a5d70c
emacs-lsp/lsp-dart@01d89d43f1 -> emacs-lsp/lsp-dart@64fb5d9303
emacs-lsp/lsp-haskell@eb37ac4a6a -> emacs-lsp/lsp-haskell@4e62cf897d
emacs-lsp/lsp-ivy@bccd86028e -> emacs-lsp/lsp-ivy@3e87441a62
emacs-lsp/lsp-java@b66a075bcb -> emacs-lsp/lsp-java@2a7d27e899
emacs-lsp/lsp-metals@9f82ebee48 -> emacs-lsp/lsp-metals@ca927e5a83
emacs-lsp/lsp-pyright@71a7976093 -> emacs-lsp/lsp-pyright@72fd57643d
emacs-lsp/lsp-sourcekit@ae4aa8705c -> emacs-lsp/lsp-sourcekit@97ff36b228
joaotavora/eglot@194b178ef4 -> joaotavora/eglot@c17bdf6c98
non-Jedi/lsp-julia@d4a7a27d6a -> non-Jedi/lsp-julia@809da95c05

Updates lsp-mode and all lsp packages for the LSP 8.0.0 release.

Close #5455
Close #5453
Close #5440
Close #5410
2021-09-14 14:30:05 +02:00
Henrik Lissner
225f01d2f4 bump: :ui modeline
seagle0128/doom-modeline@06606e0b8b -> seagle0128/doom-modeline@ef78fe07cd

- Fixes incorrect VCS state in remote files (#5408)
- Fixes icons in TUI modeline (#5380)

Close #5408
Close #5380
Fix #3514
2021-09-14 14:30:05 +02:00
Paul A. Patience
1467c075f7
fix(wanderlust): start wl-summary-mode in emacs state (#5266) 2021-09-14 14:29:41 +02:00
bartuka
b598d83aeb
feat(file-templates): add clojure gitignore template (#5357) 2021-09-14 14:27:55 +02:00
Ernest DONG
c0490697c0
feat(python): add eglot support for +pyright (#5355) 2021-09-14 14:26:24 +02:00
Henrik Lissner
8e30579823 tweak(evil): reduce keybind conflicts between outline & org
This doesn't fix a particular issue, but makes designing keybinds for
org-mode more predictable and less vulnerable to unpredictable changes
imposed by evil-collection.
2021-09-13 17:29:12 +02:00
Erich Grunewald
19fa5e2559 docs(org): fix link to org-roam v2 in readme 2021-09-11 22:41:58 +02:00
Itai Y. Efrat
2bfb8be383 fix(evil): use evil-collection for package-menu
I can't find a rationale for this in the git history, and from looking
through the evil-collection entry I can't think of one.
2021-09-11 18:48:40 +02:00
Tej Chajed
80b2071670 fix(coq): disable spinner by default
This was disabled upstream in
7423ee2539
due to a serious performance impact on some systems (even if the spinner
isn't visible in the modeline).
2021-09-11 18:47:47 +02:00
TEC
f19a7483d2 feat(doom-quit): holy hercules! more portal lines 2021-09-11 18:38:23 +02:00