Commit graph

12039 commits

Author SHA1 Message Date
70f5f3db33 dev: merging from master 2024-02-01 08:52:16 -05:00
RBckmnn
d509d8bea1
fix(file-templates): invalid function call
`evil-initialize-state` recently changed to no longer accept any
arguments, so use `evil-change-state` instead.

Ref: emacs-evil/evil@1c4c3bfff8
2024-02-01 02:38:34 -05:00
Mathew
2c15e4e6fc
fix(evil): obsolete evil-command-window advice
As noted in #7556, the advice `+popup--evil-command-window-a` fails,
preventing the command window from being opened. This is because
`evil-command-window` has been rewritten extensively.

In particular, emacs-evil/evil@a09fdca0b3 made it use
`display-buffer` instead of `switch-to-buffer`, so that users could
customize how the window opens. Since this was the function of this
advice, it is obsolete and can be removed.

Fix: #7556
Ref: emacs-evil/evil@a09fdca0b3
2024-02-01 02:36:16 -05:00
9f00bc021b dev: updating local from master 2024-01-29 10:14:25 -05:00
Henrik Lissner
ff33ec8f7a
bump: :lang swift
emacs-lsp/lsp-sourcekit@468c641e35 -> emacs-lsp/lsp-sourcekit@1cd5e7d269
swift-emacs/swift-mode@1244ee48de -> swift-emacs/swift-mode@84059659de

Contains updates for Swift 5.9 and Emacs 29.

Close: #7587
Co-authored-by: jpgrayson <jpgrayson@users.noreply.github.com>
2024-01-28 00:49:06 -05:00
Henrik Lissner
4656708807
bump: :lang python
cybniv/poetry.el@5ca52b221e -> cybniv/poetry.el@ca2cffb0b1
emacs-lsp/lsp-pyright@54a2acddfd -> emacs-lsp/lsp-pyright@2f2631ae24
emacs-lsp/lsp-python-ms@f8e7c4bcae -> emacs-lsp/lsp-python-ms@7bda327bec
necaris/conda.el@6a6a27dad7 -> necaris/conda.el@60e14d1e97
pythonic-emacs/anaconda-mode@1fd13a0f20 -> pythonic-emacs/anaconda-mode@efd42aa873
pythonic-emacs/company-anaconda@da1566db41 -> pythonic-emacs/company-anaconda@dabc0adc9a
pythonic-emacs/pyenv-mode@b818901b8e -> pythonic-emacs/pyenv-mode@c93dc07e85
wbolster/emacs-python-pytest@33c921adaa -> wbolster/emacs-python-pytest@bdfb3e81ee

Fix: #7602
Close: #7603
Co-authored-by: EsAu79p <EsAu79p@users.noreply.github.com>
2024-01-28 00:49:05 -05:00
Henrik Lissner
3852791066
bump: :tools debugger lsp
emacs-lsp/dap-mode@755845ae05 -> emacs-lsp/dap-mode@2f0c5b2857
emacs-lsp/lsp-mode@d441f3d268 -> emacs-lsp/lsp-mode@02c5ba59ce
emacs-lsp/lsp-ui@0dd39900c8 -> emacs-lsp/lsp-ui@bc58c66645
emacs-straight/eglot@2b145778ba -> emacs-straight/eglot@f73594f589
mohkale/consult-eglot@db9d41c981 -> mohkale/consult-eglot@049c6319b8
2024-01-28 00:49:05 -05:00
Itai Y. Efrat
828445dbfb bump: :completion vertico
mhayashi1120/Emacs-wgrep@3132abd375 -> mhayashi1120/Emacs-wgrep@208b9d01cf
minad/consult-flycheck@0662839aa5 -> minad/consult-flycheck@d83f87581a
minad/consult@9c7dbbe4d6 -> minad/consult@e4d3712356
minad/marginalia@27ccfd2213 -> minad/marginalia@ea356ebb1d
minad/vertico@e8edac107d -> minad/vertico@cf8b2abf52
oantolin/embark@b9f2b3b9a5 -> oantolin/embark@33c392cf3c
tumashu/vertico-posframe@15168c92ca -> tumashu/vertico-posframe@bc0e67cbbb
2024-01-27 23:59:34 +02:00
Itai Y. Efrat
1584f8a61e fix(vertico): use consult-fd only with new enough fd 2024-01-27 23:34:56 +02:00
Itai Y. Efrat
190a37043c bump: :completion vertico
minad/consult@43380042da -> minad/consult@9c7dbbe4d6
minad/marginalia@f1734375a5 -> minad/marginalia@27ccfd2213
minad/vertico@03bfb71a2b -> minad/vertico@e8edac107d
oantolin/embark@7758a1ac64 -> oantolin/embark@b9f2b3b9a5
oantolin/orderless@d6b402a89e -> oantolin/orderless@b24748093b
tumashu/vertico-posframe@db9fbc95bb -> tumashu/vertico-posframe@15168c92ca
2024-01-27 23:34:56 +02:00
Liam Hupfer
76f309ceb5 tweak(vertico): show entire path for fd results
Currently, fd does not expose a way to match against only the path
components beneath the target path. When --full-path is specified, the
pattern matches against all components. For example, executing
consult-fd from /home/hlissner/.emacs.d with `home` as the query would
match every file (not excluded by other arguments) under .emacs.d.
Despite this --full-path behavior, fd still outputs relative paths, so
the user cannot even determine why some candidates are returned.

Until there is a method to match only against subdirectories, use
--absolute-path to at least to show the user why all matches are
occurring.

Ref: https://github.com/sharkdp/fd/issues/839
2024-01-27 23:34:56 +02:00
Liam Hupfer
25a89491a3 nit(vertico): remove default --regex option for fd
Ref: eac20a8132
2024-01-27 23:34:56 +02:00
Liam Hupfer
cb62ec0905 tweak(vertico): use fd’s smart case
If the user is going to the trouble of capitalizing input, that’s
probably all they want to match.

Ref: 6482f3ac09
2024-01-27 23:34:56 +02:00
Itai Y. Efrat
7803ea2e73 fix(vertico): consult-project(-root->)-function 2024-01-27 23:34:56 +02:00
Itai Y. Efrat
60e22fd2eb refactor(vertico): use consult-fd
Close: #7458
Co-authored-by: LemonBreezes <look@strawberrytea.xyz>
2024-01-27 23:34:56 +02:00
Itai Y. Efrat
9bfc0ee029 bump: :completion vertico
karthink/consult-dir@ed8f0874d2 -> karthink/consult-dir@3f5f4b71eb
minad/consult@fe49dedd71 -> minad/consult@43380042da
minad/marginalia@866e50aee4 -> minad/marginalia@f1734375a5
minad/vertico@a28370d07f -> minad/vertico@03bfb71a2b
oantolin/embark@9a44418c34 -> oantolin/embark@7758a1ac64
oantolin/orderless@e678402671 -> oantolin/orderless@d6b402a89e
tumashu/vertico-posframe@7da6d648ff -> tumashu/vertico-posframe@db9fbc95bb
2024-01-27 23:34:56 +02:00
6f87cc0b7a dev: updating pr7002 from pr 2024-01-27 09:24:27 -05:00
ae03012599 dev: updating pr7002 from pr 2024-01-27 09:23:57 -05:00
3829c931b2 dev: changed lisp path 2024-01-27 09:22:08 -05:00
Oscar Marshall
d87c181aea
fix(upload): ssh-deploy-on-explicit-save = 1
#7513 changed the expected value of `ssh-deploy-on-explicit-save` to be
#an integer, but the default value was still `t`. This commit changes it
#to be `1`.

Amend: #7513
2024-01-27 03:17:57 -05:00
ncihnegn
f9137b40e7
docs(idris): add doctor.el 2024-01-27 03:16:06 -05:00
George Thomas
6275ed7e8f
bump: :ui modeline
seagle0128/doom-modeline@93f240f7a0 -> seagle0128/doom-modeline@bf880ae56f
2024-01-27 03:14:35 -05:00
45mm
acb5af177b fix(vertico): don't shell-quote consult-ripgrep-args
We were using `shell-quote-argument`, which is meant for passing file
names, strings and so on, not command-line arguments. For example,
`(shell-quote-argument "--foo=bar")` yields "--foo\\=bar", which is
obviiously invalid unless we're trying to pass an option named '--foo\'.

At any rate, there is no quoting/escaping for shells in the default
value of `consult-ripgrep-args`, so it doesn't look like this is
something we need to do.
2024-01-25 19:59:13 -05:00
45mm
ae451ff754 docs(vertico): mention :args option in docstring 2024-01-25 19:59:13 -05:00
13195d7108 dev: merging from master 2024-01-25 11:18:36 -05:00
e840e9274e dev: merging latest changes from pr7002 2024-01-25 11:16:34 -05:00
Henrik Lissner
6edb9dfc77
tweak(indent-guides): default to bitmap in GUI 2024-01-24 12:40:05 -05:00
John Goff
56b6169ae7
fix(default): read correct manpath on MacOS
Versions of `man` shipped with the latest MacOS do not support the
`--path` argument, which causes `M-x woman` in Emacs to break. However
the `manpath` command gives the same information and exists on MacOS and
Linux, at least the systems that I tested. Check for its existence, and
if there is no `manpath` command then fall back to the logic that
existed before.

Fix: #7021
2024-01-24 12:31:20 -05:00
Colin Woodbury
2853982447 feat(common-lisp): use sly-asdf
This allows us to offload system loading and testing to a third-party
library.
2024-01-24 12:28:43 -05:00
Colin Woodbury
c1516edd66 bump: :lang common-lisp
joaotavora/sly@f34c22289a -> joaotavora/sly@ed17d2c2bd
2024-01-24 12:28:43 -05:00
Ivan Necas
819f3f11cc bump: :ui doom
doomemacs/themes@4aee1f5a0e -> doomemacs/themes@ff26f26ea3

Improves Emacs 30 compatibility (see ref).

Ref: https://github.com/doomemacs/themes/issues/809
2024-01-24 12:26:43 -05:00
Vitaly Slobodin
68d59f726d
bump: :term eshell
ambrevar/emacs-fish-completion@df42e15308 -> LemonBreezes/emacs-fish-completion@d34d0b96fd

The emacs-fish-completion package has changed owners and moved to
https://github.com/Ambrevar/emacs-fish-completion.
2024-01-24 12:25:30 -05:00
Tim Ruffing
dca4e4a8ed fix(popup): find internal major side windows
Fix: #5485
2024-01-24 12:16:58 -05:00
Tim Ruffing
1ee429406b fix(org): restart org-mode before indirect buffer
Fix: #5714
2024-01-24 12:11:48 -05:00
Vu Quoc Huy
19482ee582
feat(latex): allow fill-paragraph in description
Ref: #1849
2024-01-24 12:06:35 -05:00
Luigi Sartor Piucco
13794380dd
feat(corfu): impl smart confirm in minibuffer
An issue when using corfu in the minibuffer was the need for pressing
RET twice, since the first only inserts the completion. This commit
aliviates that by providing C-RET to ignore completion and conclude the
minibuffer immediatelly and S-RET to insert completion then conclude.
2024-01-24 13:16:16 -03:00
Luigi Sartor Piucco
382f52aff7
fix(corfu): move binds to :config default
Bindings were moved to the `:config default` module and some keys were
adjusted to match Company/other modules. Small formatting issues and
some apparently inintended nestings were corrected as well.
2024-01-24 13:16:15 -03:00
Luigi Sartor Piucco
d198655bbc
feat(corfu, vertico): use equal orderless config
This removes the old `&` separator for Vertico (does anyone use that
instead of just space?) in favor of escapable space and unifies
orderless config with Corfu. Also implements smart separator
insert/escape/reset on `C-SPC`

Co-authored-by: Liam Hupfer <liam@hpfr.net>
2024-01-24 13:16:15 -03:00
StrawberryTea
1a1f9dc7b4
feat(corfu): more CAPFs and ergonomy changes
Add various CAPFs from cape:
- `cape-dabbrev`;
- `cape-emoji`;
- `cape-dict`;
Fixed some CAPFs via cape:
- Make non-exclusive, purified and silent `pcomplete-completions-at-point`;
- Make non-exclusive and non-interruptable `lsp-completion-at-point`;
- Make non-exclusive `eglot-completion-at-point`;
- Make non-exclusive `comint-completion-at-point`;
Fix and improve keybindings:
- Smart `DEL`/`backspace` for `+tng`;
- Smart `RET`;
Add depth to CAPFs, allowing ordering to be adjustable.
Enable in minibuffer.
2024-01-24 13:16:15 -03:00
Luigi Sartor Piucco
777e906b67
feat(corfu): add snippets
Yasnippet is now properly integrated! A previosly-unset default has now
been given to `corfu-on-exact-match`. With snippets, it causes immediate
expansion upon single match by default, so we set it to nil and
recommend against changing it in the README.
2024-01-24 13:16:15 -03:00
Luigi Sartor Piucco
2a37ab90a6
module: add :completion corfu
This commit's primary goal is allowing use of
[minad/corfu](https://github.com/minad/corfu) as an alternative to
[company](https://github.com/company-mode/company-mode). It introduces a
module under :completion for this purpose, plus some conditionals on
other relevant modules to toggle functionality like lsp back-ends and
[minad/cape](https://github.com/minad/cape) capfs for certain modes.

Other optional or miscellaneous features include:

- Support for displaying the completion's documentation on a secondary
  popup;
- Support for terminal display if :os tty;
- Support for icons if +icons;
- Support for tab-and-go completion if +tng;
2024-01-24 13:16:11 -03:00
07b6b399ce dev: merging latest changes from pr7002 2023-12-27 10:21:11 -05:00
Luigi Sartor Piucco
75eef5e9b6
feat(corfu): impl smart confirm in minibuffer
An issue when using corfu in the minibuffer was the need for pressing
RET twice, since the first only inserts the completion. This commit
aliviates that by providing C-RET to ignore completion and conclude the
minibuffer immediatelly and S-RET to insert completion then conclude.
2023-12-21 12:23:10 -03:00
Luigi Sartor Piucco
f5b3531f28
fix(corfu): move binds to :config default
Bindings were moved to the `:config default` module and some keys were
adjusted to match Company/other modules. Small formatting issues and
some apparently inintended nestings were corrected as well.
2023-12-21 12:23:10 -03:00
Luigi Sartor Piucco
b245bb3492
feat(corfu, vertico): use equal orderless config
This removes the old `&` separator for Vertico (does anyone use that
instead of just space?) in favor of escapable space and unifies
orderless config with Corfu. Also implements smart separator
insert/escape/reset on `C-SPC`

Co-authored-by: Liam Hupfer <liam@hpfr.net>
2023-12-21 12:23:10 -03:00
StrawberryTea
b6960fb9be
feat(corfu): more CAPFs and ergonomy changes
Add various CAPFs from cape:
- `cape-dabbrev`;
- `cape-emoji`;
- `cape-dict`;
Fixed some CAPFs via cape:
- Make non-exclusive, purified and silent `pcomplete-completions-at-point`;
- Make non-exclusive and non-interruptable `lsp-completion-at-point`;
- Make non-exclusive `eglot-completion-at-point`;
- Make non-exclusive `comint-completion-at-point`;
Fix and improve keybindings:
- Smart `DEL`/`backspace` for `+tng`;
- Smart `RET`;
Add depth to CAPFs, allowing ordering to be adjustable.
Enable in minibuffer.
2023-12-21 12:23:08 -03:00
Luigi Sartor Piucco
01dbcdb221
feat(corfu): add snippets
Yasnippet is now properly integrated! A previosly-unset default has now
been given to `corfu-on-exact-match`. With snippets, it causes immediate
expansion upon single match by default, so we set it to nil and
recommend against changing it in the README.
2023-12-21 12:16:05 -03:00
Luigi Sartor Piucco
417c5ba204
module: add :completion corfu
This commit's primary goal is allowing use of
[minad/corfu](https://github.com/minad/corfu) as an alternative to
[company](https://github.com/company-mode/company-mode). It introduces a
module under :completion for this purpose, plus some conditionals on
other relevant modules to toggle functionality like lsp back-ends and
[minad/cape](https://github.com/minad/cape) capfs for certain modes.

Other optional or miscellaneous features include:

- Support for displaying the completion's documentation on a secondary
  popup;
- Support for terminal display if :os tty;
- Support for icons if +icons;
- Support for tab-and-go completion if +tng;
2023-12-21 12:16:04 -03:00
35e7bd2711 dev: merging latest changes from pr7002 2023-12-11 17:33:17 -05:00
Luigi Sartor Piucco
899cb2c549
fix(corfu): move binds to :config default
Bindings were moved to the `:config default` module and some keys were
adjusted to match Company/other modules. Small formatting issues and
some apparently inintended nestings were corrected as well.
2023-12-11 19:19:50 -03:00