Commit graph

12362 commits

Author SHA1 Message Date
Luigi Sartor Piucco
aa900c8158
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-02-02 12:37:37 -03:00
Luigi Sartor Piucco
ee1ebab197
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-02-02 12:37:37 -03:00
Henrik Lissner
d03ac051bf
fix(coq): inhibit indent detection
Indent detection (via dtrt-indent) is slow and inconclusive in coq-mode
files. Since it's rarely helpful for them anyway, I inhibit it.

Fix: #5823
2024-02-02 03:33:53 -05:00
45mm
82b6bd3159 docs(ivy): mention lowered ivy-sort-max-size
Depending on the system, this can cause sorting to be disabled long
before the performance hit would be felt, and it's not obvious that this
is the reason.
2024-02-02 03:25:25 -05:00
Henrik Lissner
0290663cf3
fix(emacs-lisp): void-variable flycheck-disabled-checkers error
Fix: #7644
Amend: b50b2c4640
Amend: #7341
2024-02-02 03:18:52 -05:00
StrawberryTea
d1d0a7e258
fix(eshell): remove fish executable advice
Ref: LemonBreezes/emacs-fish-completion@99f0672c20
2024-02-01 18:47:20 -05:00
Henrik Lissner
ddca307b39
merge: pull request #7341 from jeetelongname/flymake-less-error
feat(emacs-lisp): add reduced-flymake-byte-compile
2024-02-01 18:45:42 -05:00
Liam Hupfer
6666685993 fix(emacs-lisp): add elisp flymake load path advice
We set flycheck-emacs-lisp-load-path to 'inherit, which evaluates
load-path when spawning the Emacs subprocess. flymake relies on a static
variable, hence the advice. elisp-flymake-byte-compile is autoloaded by
elisp-mode, so there is little reason to condition on `:checkers syntax
+flymake`.

Ref: e56e30d8c6/flycheck.el (L8725-L8727)
Ref: https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/progmodes/elisp-mode.el?h=emacs-29.1#n2166
Ref: https://emacs.stackexchange.com/questions/48661/how-do-i-get-flymake-to-recognize-files-in-my-load-path
2024-02-01 18:44:35 -05:00
70f5f3db33 dev: merging from master 2024-02-01 08:52:16 -05:00
7d6808e863 dev: updating from latest pr7002 2024-02-01 08:51:55 -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
Kirill A. Korinsky
302b72d9ed
tweak(wanderlust): sane forward tag 2024-02-01 00:49:25 +01:00
Kirill A. Korinsky
a461a1f62c
tweak(wanderlust): add +xface flag 2024-02-01 00:49:22 +01:00
Kirill A. Korinsky
a20ca0cc0a
fix(wanderlust): enforce wl-message-id-domain only on automatic gmail config 2024-02-01 00:48:14 +01:00
Kirill A. Korinsky
ebcb383c99
tweak(wanderlust): do not truncate long subjects or mail lines 2024-02-01 00:48:13 +01:00
Kirill A. Korinsky
e09838e01a
fix(wanderlust): avoid File name too long... 2024-02-01 00:48:12 +01:00
Kirill A. Korinsky
dbbd1f2b01
tweak(wanderlust): don't show DKIM, ARC and similar signatures 2024-02-01 00:48:11 +01:00
Kirill A. Korinsky
916c97bdf1
tweak(wanderlust): switch to alerting 2024-02-01 00:48:10 +01:00
Kirill A. Korinsky
1ddd74b003
bump: :email wanderlust
wanderlust/flim@80b8121f05 -> wanderlust/flim@abdd231500
wanderlust/semi@9370961ddc -> wanderlust/semi@9063a4485b
wanderlust/wanderlust@8369b2d517 -> wanderlust/wanderlust@9fd2c65e8d
2024-02-01 00:47:53 +01:00
9f00bc021b dev: updating local from master 2024-01-29 10:14:25 -05:00
3f8b1f1f41 dev: updating pr7002 from pr 2024-01-29 10:14:05 -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