Commit graph

10828 commits

Author SHA1 Message Date
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
Henrik Lissner
f9c5b44623
merge: pull request #5449 from iyefrat/mu4e-docfix
docs(mu4e): fix msmtp config in readme
2021-09-11 14:50:26 +02:00
Henrik Lissner
c44aacb319 fix(rss): disable ligatures in elfeed list buffers
Ligatures were interfering with font-lock in elfeed search/show buffers.

Fix #3391
2021-09-11 14:26:45 +02:00
Aleksei Fedotov
accffb8f5e bump!: :emacs vc
rmuslimov/browse-at-remote@e02ad2189c -> rmuslimov/browse-at-remote@cef26f2c06

BREAKING CHANGE: browse-at-remote-remote-type-domains is replaced by
browse-at-remote-remote-type-regexps. If you have a custom domain
configured replace:

    (add-to-list 'browse-at-remote-remote-type-domains
      ("git.example.com" . "github")

with

    (add-to-list 'browse-at-remote-remote-type-regexps
      ("^git\\.example\\.com$" . "github")

Added support for Gittiles.

Shortlog:

Jack Rosenthal (3):
      Add support for Gitiles
      Fix broken tests
      More permissive regex in browse-at-remote--gerrit-url-cleanup

Rustem Muslimov (2):
      Fix broken merge
      Fix savannah gnu message

rmuslimov (3):
      Merge pull request #78 from jackrosenthal/gitiles
      Merge pull request #80 from jackrosenthal/broke_tests
      Merge pull request #81 from jackrosenthal/regex
2021-09-09 17:22:29 +02:00
Itai Y. Efrat
777783c144 docs(mu4e): fix msmtp config in readme
- requires being in an (after! mu4e ...) to work
- minor fixes
2021-09-04 16:09:26 +03:00
Henrik Lissner
bf8495b412 fix(org): epdfinfo error when storing/exporting links
Here's the problem:

1. Org's link system unconditionally calls *all* link :store handlers
   when you call `org-store-link`, and all :export handlers when you
   export an Org file.
2. The org-pdftools package works by defining a custom pdf: link with
   custom :store and :export handlers.
3. Those handlers do not perform error handling before using pdftool's
   API.
4. pdf-tools fails loudly and ungracefully with a
   "pdf-info-epdfinfo-program is not executable" error when its API is
   used and epdfinfo isn't installed.

TL;DR org-pdftools effectively breaks storing/exporting in org-mode
until pdf-tools-install is executed to install epdfinfo. This is awful
UX, so let's suppress the error.
2021-08-22 01:41:26 -04:00