Commit graph

16556 commits

Author SHA1 Message Date
Henrik Lissner
c9ac6a9cbf dev(ci): revise stalebot messages 2021-09-24 12:37:50 +02:00
Itai Y. Efrat
8b3b39532d fix(vertico): add +vertico/find-file-in stopgap
Temporarily disable embark actions (and as a result, marginalia
annotations) for +vertico/find-file-in and functions that use it, since
because currently the embark actions don't inherit the intended
default-directory, embark actions might run unintentional destructive
operations if there are files with the same name in the
default-directory and the directory +vertico/find-file-in is run on.

Ref #5494
2021-09-23 14:55:58 +02:00
Itai Y. Efrat
f50bfdc703 bump: :completion vertico
minad/consult@a07ca38331 -> minad/consult@dc6e455861
minad/vertico@81a4b35f8d -> minad/vertico@0df75c0bbc
oantolin/embark@3a90a3e3c6 -> oantolin/embark@1492aefc00
2021-09-23 14:55:58 +02:00
Itai Y. Efrat
173e0f3cc0 fix(notmuch): notmuch-read-tag-changes error
Due to notmuch abusing the completing-read-multiple api,
notmuch-read-tags-changes errors out without this fix. A bug report has
been filed about this upstream, so hopefully this is a strictly
temporary measure.

Ref https://yhetil.org/notmuch/87h7efuv6i.fsf@tethera.net/T/
Ref minad/vertico#119
2021-09-23 14:55:58 +02:00
Itai Y. Efrat
34f76c8a75 fix(vertico): +vertico/switch-workspace-buffer
- fix a paren error in the function that caused the buffers to be sorted
  alphabetically and not by recency
- refactor the workspace buffer sources to use consult--buffer-query,
  that way we get niceties like the current buffer being last

Fix #5366
2021-09-23 14:55:58 +02:00
Itai Y. Efrat
dda5f558b2 fix(vertico): adapt to targets changing to plists
embark targets changed internally to plists a while back. This didn't
really seem to break anything but it's best to be up to date with the
upstream representation.
2021-09-23 14:55:58 +02:00
Sven Fischer
595a5e665c tweak(web): add nxml mode to LSP enabled modes
Since lsp-mode supports XML (see
https://emacs-lsp.github.io/lsp-mode/page/lsp-xml/), it makes sense to
add nxml-mode to the list of automatically enabled lsp mode clients.
2021-09-23 11:41:49 +02:00
Sheng Yang
07f2d17a11 feat(modeline): add pdf pages to +light modeline 2021-09-23 11:41:09 +02:00
TEC
9fa122cc31 feat(mu4e): prompt for subject when absent
Give the user a chance to set the subject when about to send a message
without a subject line.
2021-09-23 11:40:44 +02:00
TEC
4373109721 feat(mu4e): more precise attachment detection rx 2021-09-23 11:40:44 +02:00
Itai Y. Efrat
74aae48944 feat(default): add .emacs.d search on <leader> s e 2021-09-23 11:40:04 +02:00
Itai Y. Efrat
7933e54542 refactor!(:term): toggle commands now always hide
BREAKING CHANGE: previously, <leader> o t commands would only hide the
terminal popup if it was focused. If not, they would move the focus to
the terminal window. This is unintuitive to the "toggle" description,
and arguably less useful, since refocusing to the terminal can be easily
done with regular window refocus commands. Therefore, <leader> o t now
just hides the terminal popup.

Fix #3374
2021-09-23 11:39:36 +02:00
Hyunggyu Jang
7274f73500 fix(notmuch): window is not a valid window error on sync end
Notmuch sync process is done asynchronously, but if the user switch to
other buffer before update process, it complains like

```
error in process sentinel: #<window 98> is not a valid window
```

This commit simplifies cleanup process after mail syncing, and still
maintain its functionality.
2021-09-23 11:37:59 +02:00
Colin Woodbury
c3d237c3f5 fix(emacs-lisp): quiet doc lints in org src blocks
Opening an Org src block with `SPC m '` creates a minibuffer with no
associated file name, hence the check for `buffer-file-name`.
2021-09-23 11:37:18 +02:00
Sam Hedin
771b7147c9
revert: "Add set -euo pipefail to sh-mode file template"
Revert ce2fee138a
Close #5428
2021-09-23 11:36:09 +02:00
Noah Snelson
dc9e87f6d2
bump: :lang php
OVYA/php-cs-fixer@cc9a3624dc -> OVYA/php-cs-fixer@7e12a1af5d

Custom `php-cs-fixer` binaries specified via `php-cs-fixer-command` were
not recognized until OVYA/php-cs-fixer#16.

Close #5513
2021-09-23 11:27:43 +02:00
Henrik Lissner
14729d21d1 dev(ci): refactor commit message reader for linter 2021-09-17 09:10:37 +02:00
Henrik Lissner
f80eed41bb dev(ci): fix linter complaining about git Ref lines
Such as Co-authored-by: and Signed-off-by: lines.
2021-09-17 09:10:14 +02:00
Henrik Lissner
5aeefc301b dev(ci): fix linter error on tail-less commit msg
If the commit message lacked the diff post-amble, 'doom ci
hook-commit-msg' would throw an out-of-range error.
2021-09-17 09:05:53 +02:00
Henrik Lissner
b3c01226a1 dev(ci): fix linter warning count 2021-09-17 09:05:42 +02:00
Henrik Lissner
2c5cc752ff fix(lib): preserve package order in after! macro
Prior to this, (after! (a b) ...) would expand to

  (after! b
    (after! a
      ...))

After this, it expands to

  (after! a
    (after! b
      ...))

This fixes load order issues with packages whose deferred configs are
nested, such as org and ob-ditaa.

Ref https://www.reddit.com/r/emacs/comments/pp3sye/hd311nz
2021-09-16 20:20:18 +02:00
Henrik Lissner
650f7a82e3 dev(ci): refactor commit linter
A new approach to make linter rules more flexible.
2021-09-16 20:20:10 +02:00
Henrik Lissner
f2588b0e90 feat(lib): imply &allow-other-keys in fn! macro 2021-09-16 20:20:08 +02:00
Henrik Lissner
0ad7874a28 feat(web): make web-mode recognize *.[lh]eex 2021-09-16 00:29:21 +02:00
Kirill A. Korinsky
ca8892ee2e bump: :tools magit
magit/forge@6e8ab6c67e -> magit/forge@6e8ab6c67e

To fix https://github.com/magit/forge/issues/414
2021-09-15 23:04:34 +02:00
Daanturo
e19a6523ae feat(default): may include project name for SPC f Y
+default/yank-buffer-path-relative-to-project: with non-nil prefix arg,
copy the file name relative to the project root's parent.

Sometimes we also want to specify the project name to let others know
which is the currently mentioned project.
2021-09-15 19:01:46 +02:00
HyunggyuJang
33e922645b
fix(snippets): yas-expand error on yas-choose-value (#5429)
`+snippets-prompt-private` was overzealous intercepting the candidates fed to
`yas-choose-value`. For example, expanding the `jupyter` snippet in org mode
results in:

\#+begin_src jupyter-Wrong type argument: yas--template, "python" :session :async yes
...
\#+end_src
2021-09-15 18:59:43 +02:00
aswinmohanme
25c7f347cb feat(web): add *.[lh]?eex support 2021-09-15 18:56:46 +02:00
Henrik Lissner
aed9d0b7e5 fix: consult--grep call in load-path search commands
doom/help-search-load-path and doom/help-search-loaded-files were broken
by changes to consult--grep's interface upstream.

Ref 7762386e52
2021-09-15 17:47:17 +02:00
Henrik Lissner
65b2712001 fix(pass): void-function consult--read on +pass/consult 2021-09-15 17:47:17 +02:00
Henrik Lissner
dbe604519f bump: :core
Fuco1/smartparens@911cc896a0 -> Fuco1/smartparens@2834c66c4f
bbatsov/projectile@da08a9103b -> bbatsov/projectile@17c152b062
domtronn/all-the-icons.el@9d97c074b0 -> domtronn/all-the-icons.el@c0d288a41f
gilbertw1/better-jumper@411ecdf6e7 -> gilbertw1/better-jumper@7f328a886b
justbur/emacs-which-key@27d9fec33a -> justbur/emacs-which-key@4790a14683
raxod502/straight.el@b45dd00408 -> raxod502/straight.el@45eb6112b2
2021-09-15 17:47:17 +02:00
Henrik Lissner
2bc67d8387 bump: :app :checkers :config :emacs :term :tools :ui
Alexander-Miller/treemacs@a6f9e9f1ce -> Alexander-Miller/treemacs@63e2bc207a
Silex/docker.el@9bcefbe54d -> Silex/docker.el@4fc69969b1
akermu/emacs-libvterm@2b1392cb2b -> akermu/emacs-libvterm@2681120b77
bdarcus/bibtex-actions@6e3a194c3a -> bdarcus/bibtex-actions@08c6ca0e5b
dash-docs-el/dash-docs@dafc8fc9f1 -> dash-docs-el/dash-docs@29848b6b34
dgutov/diff-hl@992559f98a -> dgutov/diff-hl@40c89a7b0d
dimitri/switch-window@2801d9b3a9 -> dimitri/switch-window@8d9fe251d8
editorconfig/editorconfig-emacs@e10fa22b13 -> editorconfig/editorconfig-emacs@2ab86dc9a8
ema2159/centaur-tabs@9c7c936e4e -> ema2159/centaur-tabs@8b4249c405
emacs-circe/circe@d6f1fa1864 -> emacs-circe/circe@77e16de3b9
emacs-lsp/lsp-treemacs@905cc74726 -> emacs-lsp/lsp-treemacs@d82df44d63
emacsorphanage/osx-trash@0f1dc052d0 -> emacsorphanage/osx-trash@af74a2055a
emacsorphanage/quickrun@35e91f4b6c -> emacsorphanage/quickrun@78317951cd
flycheck/flycheck@21d52264aa -> flycheck/flycheck@784f184cdd
hlissner/emacs-doom-themes@9e2680b918 -> hlissner/emacs-doom-themes@65fb964f36
https://git.savannah.gnu.org/git/emms.git@6e0aaaf4c559 -> https://git.savannah.gnu.org/git/emms.git@c42fab572846
ideasman42/emacs-spell-fu@1abcb5594e -> ideasman42/emacs-spell-fu@10823ae58f
ideasman42/emacs-undo-fu@e0ad06b5ef -> ideasman42/emacs-undo-fu@34b27c01da
joostkremers/writeroom-mode@b648b34017 -> joostkremers/writeroom-mode@7f4ec92404
kidd/org-gcal.el@4c2616a4f8 -> kidd/org-gcal.el@80e6f9501f
magnars/expand-region.el@4b8322774d -> magnars/expand-region.el@95a773bd8f
millejoh/emacs-ipython-notebook@09af85821e -> millejoh/emacs-ipython-notebook@0600c286bd
mohkale/consult-eglot@a6aeb6fa07 -> mohkale/consult-eglot@28a09cc839
noctuid/link-hint.el@09ba5727d8 -> noctuid/link-hint.el@d3c5bacc9c
rolandwalker/nav-flash@55786c9582 -> rolandwalker/nav-flash@2e31f32085
skeeto/elfeed@243add9e74 -> skeeto/elfeed@162d7d545e
szermatt/emacs-bash-completion@65e54c6f9c -> szermatt/emacs-bash-completion@c5eaeed156
tarsius/hl-todo@5ac0076cfe -> tarsius/hl-todo@42f744ffb5
tecosaur/emacs-everywhere@64ba2e3f30 -> tecosaur/emacs-everywhere@da88fa2d04
tkf/emacs-request@f3a5b4352e -> tkf/emacs-request@2b68b3ca54
tmalsburg/helm-bibtex@a0d32ab167 -> tmalsburg/helm-bibtex@b85662081d
yoshiki/yaml-mode@3a57058468 -> yoshiki/yaml-mode@63b637f846
yqrashawn/fd-dired@c223aee30a -> yqrashawn/fd-dired@458464771b
2021-09-15 17:47:17 +02:00
Henrik Lissner
a0a45ce81a bump: :editor evil
emacs-evil/evil-collection@9be3805b60 -> emacs-evil/evil-collection@8a75a03656
emacs-evil/evil@b237462fee -> emacs-evil/evil@82e5becae2
hlissner/evil-snipe@a9b9b39a79 -> hlissner/evil-snipe@1a28d718c8
juliapath/evil-numbers@cd23a7b458 -> juliapath/evil-numbers@8ce0066fa4
redguardtoo/evil-nerd-commenter@118bebd02a -> redguardtoo/evil-nerd-commenter@6bc41317ba

Fixes evil-collection-magit keybinds for magit-stash and
magit-worktree (on Z).

Ref emacs-evil/evil-collection@940dfe91aa
Ref emacs-evil/evil-collection@53a76e15df
Fix #5260
2021-09-15 17:47:17 +02:00
Gerry Agbobada
a096e9493b fix(layout): prevent magit from stealing t in bépo
Just as magit took control of 's' after "key rotation", magit (at least
when unpinned) takes control of 't' and we need to manually unmap the
key so that 't' goes down one line when the cursor is on a magit section
header
2021-09-15 16:48:09 +02:00
Henrik Lissner
9ef5ca2922 bump: :lang
Andersbakken/rtags@65113e2a13 -> Andersbakken/rtags@cdff9b47fc
Emacs-Kotlin-Mode-Maintainers/kotlin-mode@0e4bafb31d -> Emacs-Kotlin-Mode-Maintainers/kotlin-mode@876cc27dc1
Groovy-Emacs-Modes/groovy-emacs-modes@99eaf70720 -> Groovy-Emacs-Modes/groovy-emacs-modes@84f89b68ec
JuliaEditorSupport/julia-emacs@fe6f6f7a80 -> JuliaEditorSupport/julia-emacs@06f6fdb94c
NixOS/nix-mode@3cca5b6527 -> NixOS/nix-mode@8e20de5ba7
OVYA/php-cs-fixer@c5b5d8a498 -> OVYA/php-cs-fixer@cc9a3624dc
ProofGeneral/PG@bc86736abb -> ProofGeneral/PG@e2b4227e1f
Raku/raku-mode@7496ad3a03 -> Raku/raku-mode@eaac071f17
Somelauw/evil-markdown@064fe9b476 -> Somelauw/evil-markdown@8e6cc68af8
StanfordLegion/terra-mode@eab9e59ded -> StanfordLegion/terra-mode@ceef8cae5b
amake/flutter.el@960b63576a -> amake/flutter.el@81c524a43c
ananthakumaran/tide@ccff099e94 -> ananthakumaran/tide@296c0e0e3a
asok/projectile-rails@6a18ada356 -> asok/projectile-rails@30828afbfa
beancount/beancount-mode@02fe03ee44 -> beancount/beancount-mode@dbafe6a73d
bradyt/dart-mode@43975c9208 -> bradyt/dart-mode@3bac14200f
brianc/jade-mode@4dbde92542 -> brianc/jade-mode@111460b056
brotzeit/rustic@6ca73bb3cc -> brotzeit/rustic@804ebfe029
cdominik/cdlatex@614a8d94f6 -> cdominik/cdlatex@f215b70c5c
clojure-emacs/clojure-mode@3e426b3a47 -> clojure-emacs/clojure-mode@e1dc7caee7
cython/cython@fae33cf7d4 -> cython/cython@aea4e6b84b
dgutov/robe@e1304d123d -> dgutov/robe@fd972e912d
emacs-csharp/csharp-mode@093f0f21a9 -> emacs-csharp/csharp-mode@fe8a68e984
emacs-ess/ESS@4fefd0feaa -> emacs-ess/ESS@a7ce81bb76
emacs-geiser/gauche@66e51430bd -> emacs-geiser/gauche@fd52cbaed9
emacs-geiser/geiser@4099dce8f5 -> emacs-geiser/geiser@327ff01e5b
emacs-lsp/lsp-metals@ca927e5a83 -> emacs-lsp/lsp-metals@695291761b
emacs-php/php-mode@cbf2723264 -> emacs-php/php-mode@535aec8173
emacs-straight/auctex@ea410dce4f -> emacs-straight/auctex@3b0a080ae5
emacs-typescript/typescript.el@1043025d42 -> emacs-typescript/typescript.el@2a58631230
erlang/otp@645ea8110d -> erlang/otp@118cb37bd5
ethereum/emacs-solidity@5f6ef3156f -> ethereum/emacs-solidity@6f7bd1641e
factor/factor@b989a860d1 -> factor/factor@7b451bb813
fsharp/emacs-fsharp-mode@93b1fbc31d -> fsharp/emacs-fsharp-mode@c90d762c06
fxbois/web-mode@8ef47935d6 -> fxbois/web-mode@61f057a6ba
greghendershott/racket-mode@7f12cb1ff2 -> greghendershott/racket-mode@a879a8d67b
haskell/haskell-mode@98ba392236 -> haskell/haskell-mode@8402caa341
hhvm/hack-mode@f9315be699 -> hhvm/hack-mode@4c1c2b0939
idris-hackers/idris-mode@f52ad0b477 -> idris-hackers/idris-mode@3cc9361b4c
immerrr/lua-mode@2bd9077dd0 -> immerrr/lua-mode@5a9bee8d5f
iyefrat/evil-tex@87445d4d23 -> iyefrat/evil-tex@aa0ddf8e76
jimhourihan/glsl-mode@b071120164 -> jimhourihan/glsl-mode@9b2e5f28e4
joaotavora/sly@41f4d65048 -> joaotavora/sly@540a8c5b9a
jrblevin/markdown-mode@359347b2bb -> jrblevin/markdown-mode@862ae8addd
jwiegley/emacs-async@9a8cd0c3d5 -> jwiegley/emacs-async@5d365ffc6a
liblit/demangle-mode@aaef0bd77a -> liblit/demangle-mode@04f545adab
necaris/conda.el@6db0720b6d -> necaris/conda.el@4de6eccda5
ocaml-ppx/ocamlformat@5dd6574d8f -> ocaml-ppx/ocamlformat@22a3707da3
ocaml/dune@75ecfe3421 -> ocaml/dune@4d0a47edd5
ocaml/merlin@5731826810 -> ocaml/merlin@e4791e2298
ocaml/merlin@5731826810 -> ocaml/merlin@e4791e2298
ocaml/tuareg@b59c422759 -> ocaml/tuareg@00faf47a7c
pashky/restclient.el@2cc1fd3496 -> pashky/restclient.el@176d9cb655
polymode/polymode@7d1f822f08 -> polymode/polymode@54888d6c15
s-kostyaev/go-gen-test@44c202ac97 -> s-kostyaev/go-gen-test@35df36dcd5
seagle0128/grip-mode@c0ca789903 -> seagle0128/grip-mode@1c82e27bee
smihica/emmet-mode@1acb821e01 -> smihica/emmet-mode@6b2e554f7f
swift-emacs/swift-mode@1b47a09f1c -> swift-emacs/swift-mode@800efe2910
technomancy/fennel-mode@a908db8696 -> technomancy/fennel-mode@47152970a9
vspinu/company-math@a796053590 -> vspinu/company-math@45778f5731
yoshiki/yaml-mode@3a57058468 -> yoshiki/yaml-mode@63b637f846
ziglang/zig-mode@0babe7ec52 -> ziglang/zig-mode@aba01b6199
2021-09-15 01:22:33 +02:00
Henrik Lissner
ad7c0876a5 refactor!(csharp): remove omnisharp-emacs
BREAKING CHANGE: omnisharp-emacs is being removed as it is no longer
maintained and was deprecated (see
https://github.com/OmniSharp/omnisharp-emacs) in favor of the
omnisharp-roslyn LSP clients. It also no longer works in Emacs
28 (throwing an error when starting the server). Users need only enable
:lang (csharp +lsp) and install omnisharp-roslyn instead.

The :lang csharp module's README.org was intentionally left un-updated
because of a larger, upcoming documentation update which will reflect
these changes.

Close #5036
2021-09-15 01:22:33 +02:00
Henrik Lissner
69f8f5b242 feat(default): narrow to multi-line region in +default/search-buffer
Since multi-line inputs are useless to consult-line and swiper, I've
changed +default/search-buffer to be more DWIM (do-what-I-mean). i.e. if
a selection is active when invoking it, and...

- The selection is multi-line: restrict the search to that region.
- The selection is *not* multi-line: use the selection as the initial
  input.
- Otherwise, search the whole buffer as normal.
2021-09-15 01:22:33 +02:00
Henrik Lissner
35f701a999 fix(default): search region literally in +default/search-buffer 2021-09-15 01:22:33 +02:00
Henrik Lissner
b0e084e416
merge: pull request #5353 from iyefrat/vertico-things
Improve `:completion vertico`
2021-09-15 01:00:04 +02:00
Henrik Lissner
0eb364d0e6
merge: pull request #5468 from tecosaur/develop
Improve `:email mu4e` (for Mu4e 1.6)
2021-09-15 00:59:33 +02:00
Henrik Lissner
7265fecd19
merge: pull request #5337 from iyefrat/haskell
Improve `:lang haskell`
2021-09-15 00:58:52 +02:00
Gerry Agbobada
4786e739af feat(scheme): auto-add guix channels to load-path
Guix is detected with a simple `executable-find`, and this trick assumes
that guix is running on version 3 of Guile (which hopefully won't
change for a while)
2021-09-15 00:56:54 +02:00
Itai Y. Efrat
7d42c60f5a refactor(haskell): move +lsp setup to config.el 2021-09-15 01:56:26 +03:00
Itai Y. Efrat
11f7b9b41a docs(haskell): improve doctor checks
Co-authored-by: Daanturo <daanturo@gmail.com>
2021-09-15 01:56:26 +03:00
Itai Y. Efrat
d1555257a8 docs(haskell): rewrite readme
A lot of it was outdated, and now it conforms to the readme template.
2021-09-15 01:56:26 +03:00
Itai Y. Efrat
a20cd88e8e refactor!(haskell): remove dante support
BREAKING CHANGE: Now that haskell-language-server is mature there is
little reason not to pick it over dante.
2021-09-15 01:56:26 +03:00
Itai Y. Efrat
6f2e05ea76 refactor!(haskell): remove ghcide support
BREAKING CHANGE: ghcide was archived a while back and now primarily
exists as a library used in the development of haskell-language-server.
It is not recommended for end-users, only for development. To this end I
think including it in the module is more misleading than helpful, and
the people that really want to use it can easily set it up themselves.

Ref: https://github.com/haskell/ghcide/pull/939
2021-09-15 01:56:26 +03:00
Itai Y. Efrat
0888c024db docs(vertico): fix added keybindings table
C-n and C-p aren't added by doom, so they shouldn't be listed there.
2021-09-15 01:42:19 +03:00
Itai Y. Efrat
a612220369 refactor!(vertico): evil minibuffer keybindings
BREAKING CHANGE: remove +vertico/(next|previous)-candidate-preview.

BREAKING CHANGE: Move vertico-(next|previous)-group to C-M-j/k now that

C-S-j/k now default back to scrolling up and down pages.

Update docs to reflect these changes.
2021-09-15 01:41:37 +03:00
Itai Y. Efrat
6022579231 refactor(vertico): +vertico-consult-fd-args
Initialize as nil with a defvar, and only change the value if the user
hasn't set it themselves.
2021-09-15 01:07:06 +03:00