Commit graph

12148 commits

Author SHA1 Message Date
ccc7a77d27 dev: updating from latest 2024-02-15 10:57:22 -05:00
Henrik Lissner
9ba6d7191c
refactor(format): improve lsp/eglot formatter dispatchers 2024-02-14 18:12:22 -05:00
Henrik Lissner
e9ea3cc591
feat(format): add eglot support
Fix: #7673
2024-02-14 18:12:22 -05:00
Henrik Lissner
20de3d0f29
refactor(format): introduce +format-functions 2024-02-14 18:12:22 -05:00
c7a6a47b1f dev: updating from latest pr7002 2024-02-14 10:17:31 -05:00
Kirill A. Korinsky
8651651125 tweak(wanderlust): don't show DomainKey-Signature 2024-02-14 03:15:54 -05:00
Kirill A. Korinsky
7710518869 bump: :email wanderlust
wanderlust/wanderlust@9fd2c65e8d -> wanderlust/wanderlust@c15e8ece4f
2024-02-14 03:15:54 -05:00
Henrik Lissner
fe776f8d84
fix(vertico): use remote fd in tramp buffers 2024-02-14 02:42:30 -05:00
Henrik Lissner
52355c6131
fix(org): initialize eldoc in org-mode buffers
A recent change upstream (see emacsmirror/org-contrib@6e208c87bf)
removed the autoload for adding org-eldoc-load to org-mode-hook, so we
have to add the hook ourselves (the function is still autoloaded,
fortunately).

Also moves org-eldoc config into its own use-package! block.

Fix: #7633
Ref: emacsmirror/org-contrib@6e208c87bf
2024-02-14 02:42:30 -05:00
e048bb18dc dev: merge branch 'pr7002' into emenel 2024-02-12 11:18:19 -05:00
71a7f77a24 dev: merge branch 'master' of into pr7002 2024-02-12 11:17:42 -05:00
Tim Ruffing
d6db0312fd tweak(org): honor default command when archiving
Change the binding for archiving to `org-archive-subtree-default`, which
is the recommend "catch-all" command in the org manual. The user can
specify the actual command in `org-archive-default-command`. The default
for this variable is `org-archive-subtree`, which we previously used for
the binding, so this commit changes behavior only for users who have set
`org-archive-default-command` explicitly.
2024-02-10 16:57:45 -05:00
2c44656601 dev: merge branch 'pr7002' into emenel 2024-02-10 12:51:10 -05:00
Luigi Sartor Piucco
e457a81489
bump: :completion corfu + evil-collection
The `evil-collection` upgrade is needed due to a recent breaking change
in Corfu's setup and teardown functions. `evil-collection`
`:after`-advised these with `#'evil-normalize-keymaps`, which accepts
only 1 optional argument. This was fine because the functions took no
arguments, but some have been introduced recently. Trying to initiate
completion would now throw a "too many arguments" error, and due to the
partial operation on the keymaps, make Emacs mostly unusable.

Related links:
- 9cebcfedca
- cf1a11912d
- 61a20a5036
- 2eb68ac588
2024-02-09 18:42:52 -03:00
Luigi Sartor Piucco
1603c6c7dd
feat(corfu): general move-to-minibuffer impl
We relied directly on consult for this, meaning it needed the vertico
module. Now, it should defer to the user's choice, including helm, ivy
and ido. Note the convention for this indirection is using the
`completing-read` API, which all such packages implement. This diverges
from Corfu's suggestion of `completion-in-region`, which only vertico
and ivy seem to implement.
2024-02-09 18:42:52 -03:00
Luigi Sartor Piucco
188e73b057
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-02-09 18:42:51 -03:00
Luigi Sartor Piucco
628280040f
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 unintended nestings were corrected as well. The changes
were documented in the README.
2024-02-09 18:42:22 -03:00
46ede70b9e dev: merge branch 'pr7002' into emenel 2024-02-09 14:35:15 -05:00
dfa9c87611 dev: updating from latest pr7002 2024-02-09 14:35:03 -05:00
Luigi Sartor Piucco
28ffdd016d
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-02-09 16:28:20 -03:00
StrawberryTea
a265414d6d
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-02-09 16:28:20 -03:00
Luigi Sartor Piucco
ac665e751e
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-09 16:28:20 -03:00
Luigi Sartor Piucco
f7314bebbb
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-09 16:28:15 -03:00
Colin Woodbury
b655f6aa1f docs(fortran): show how to customize fprettier 2024-02-08 23:14:37 -05:00
Benjamin Schwehn
4db347769e
fix(file-templates): unknown directive error from __license-lgpl3
The misspelling produces a 'Ignoring unknown directive "contribuer"'
error, which was introduced in joaotavora/yasnippet@25f5d88.

Ref: joaotavora/yasnippet@25f5d8808a
2024-02-08 23:11:48 -05:00
Henrik Lissner
5ef7075f96
nit(popup): mention post-command-select-window for 30.x+
Ref: emacs-mirror/emacs@6f75d0f36d
2024-02-08 00:58:20 -05:00
441792f601 dev: updating from latest pr7002 2024-02-07 08:33:06 -05:00
5002a34111 dev: updating from latest pr7002 2024-02-07 08:32:52 -05:00
Henrik Lissner
a2484538b4
bump: :tools magit :emacs vc
magit/forge@ba35ffc9ba -> magit/forge@3fc6c362b0
magit/git-modes@4a61a9b86d -> magit/git-modes@3cc94974c0
magit/magit@54d37dc14c -> magit/magit@b68e0a3c33

Ref: magit/forge@3fc6c362b0
2024-02-07 00:33:50 -05:00
Henrik Lissner
a5ff292cbd
fix(emacs-lisp): 'defining as dynamic an already lexical var' error
Fix: #7653
Amend: 3bea4f66a8
2024-02-07 00:30:51 -05:00
Colin Woodbury
3dbbd8b68d feat(common-lisp): introduce sly-overlay 2024-02-06 16:09:16 -05:00
7cef14960a dev: updating from latest pr7002 2024-02-06 14:05:25 -05:00
Luigi Sartor Piucco
37da8c54dc
bump: :completion corfu + evil-collection
The `evil-collection` upgrade is needed due to a recent breaking change
in Corfu's setup and teardown functions. `evil-collection`
`:after`-advised these with `#'evil-normalize-keymaps`, which accepts
only 1 optional argument. This was fine because the functions took no
arguments, but some have been introduced recently. Trying to initiate
completion would now throw a "too many arguments" error, and due to the
partial operation on the keymaps, make Emacs mostly unusable.

Related links:
- 9cebcfedca
- cf1a11912d
- 61a20a5036
- 2eb68ac588
2024-02-06 15:24:09 -03:00
Luigi Sartor Piucco
5ac126624c
feat(corfu): general move-to-minibuffer impl
We relied directly on consult for this, meaning it needed the vertico
module. Now, it should defer to the user's choice, including helm, ivy
and ido. Note the convention for this indirection is using the
`completing-read` API, which all such packages implement. This diverges
from Corfu's suggestion of `completion-in-region`, which only vertico
and ivy seem to implement.
2024-02-06 15:24:09 -03:00
Luigi Sartor Piucco
2f755aaffe
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-02-06 15:24:09 -03:00
Luigi Sartor Piucco
76012e3959
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-02-06 15:24:09 -03:00
Luigi Sartor Piucco
1787d06a2a
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-02-06 15:24:09 -03:00
StrawberryTea
d265375368
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-02-06 15:24:09 -03:00
Luigi Sartor Piucco
6eda3ed171
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-06 15:24:08 -03:00
Luigi Sartor Piucco
5108a79b25
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-06 15:24:08 -03:00
Henrik Lissner
49070dea83
merge: pull request #7619 from catap/wl
Taking care of wanderlust integration
2024-02-05 20:10:11 -05:00
Filipe Regadas
bd6a382b18
fix(dired): void-variable dired-omit-files error
Caused by a recent bump to :emacs dired (see e242ac9).

Fix: #6562
Amend: e242ac9548
2024-02-05 19:29:24 -05:00
Henrik Lissner
d124c7d19c
bump: code-review
doomelpa/code-review@26f426e992 -> doomelpa/code-review@2670a4beb6

Improves closql compatibility.

Ref: doomelpa/code-review#2
2024-02-05 19:15:29 -05:00
Henrik Lissner
7afc21a652
fix(magit): remove lazy emacsqlite build hack
This was resolved upstream some time ago and is now a source of
errors (void-variable emacsql-sqlite-executable errors) if forge were
ever bumped (which it was, yesterday, in 1a05e2f).

Ref: magit/forge@398ca3a17a
Amend: 1a05e2fa64
2024-02-05 19:13:46 -05:00
Henrik Lissner
36385091e8
bump: :os tty
7696122/evil-terminal-cursor-changer@12ea9c0438 -> 7696122/evil-terminal-cursor-changer@2358f3e27d
emacs-straight/xclip@a1ac607f75 -> emacs-straight/xclip@2dfa5fa175

- evil-terminal-cursor-changer added kitty support
2024-02-05 17:21:21 -05:00
Henrik Lissner
83f5c4f818
bump: :input
cute-jumper/fcitx.el@12dc2638dd -> cute-jumper/fcitx.el@b399482ed8
emacs-jp/migemo@f756cba3d5 -> emacs-jp/migemo@7d78901773
laishulu/evil-pinyin@3e9e501ded -> laishulu/evil-pinyin@0fae5ad876
merrickluo/liberime@8291e22cd0 -> merrickluo/liberime@cc9eb9812f
skk-dev/ddskk@c24a624884 -> skk-dev/ddskk@8c47f46e38
tumashu/posframe@0d23bc5f7c -> tumashu/posframe@017deece88
tumashu/pyim@de7eff2a58 -> tumashu/pyim@64067b20ce
2024-02-05 17:21:21 -05:00
Henrik Lissner
e242ac9548
bump: :emacs
alexluigit/dirvish@4fe9c00894 -> alexluigit/dirvish@119f9f59a6
emacs-straight/dired-git-info@9461476a28 -> emacs-straight/dired-git-info@6b6f2a5d71
emacs-straight/vundo@24271862a2 -> emacs-straight/vundo@10d011fb05
emacsmirror/git-timemachine@d8ffd0d7cc -> emacsmirror/git-timemachine@ac933e5cd2
ideasman42/emacs-undo-fu-session@a6c4f73bc2 -> ideasman42/emacs-undo-fu-session@2b355c9d39
ideasman42/emacs-undo-fu@0e74116fd5 -> ideasman42/emacs-undo-fu@04961ba775
magit/git-modes@f0a0154bf4 -> magit/git-modes@4a61a9b86d
magit/magit@4881835572 -> magit/magit@54d37dc14c
purcell/diredfl@f9140b2c42 -> purcell/diredfl@f6d599c308
purcell/ibuffer-vc@1388d2ea18 -> purcell/ibuffer-vc@66d0226733
rainstormstudio/nerd-icons-dired@4a068884bf -> rainstormstudio/nerd-icons-dired@c1c7348863
rmuslimov/browse-at-remote@c020975a89 -> rmuslimov/browse-at-remote@76aa27dfd4
stsquad/dired-rsync@7940d9154d -> stsquad/dired-rsync@5bcb851f3b
2024-02-05 17:21:21 -05:00
Henrik Lissner
792c41f638
bump: :email mu4e notmuch
https://git.notmuchmail.org/git/notmuch@b6f144abe1f5 -> https://git.notmuchmail.org/git/notmuch@2f0320c5f24a
jao/consult-notmuch@d0d4129d45 -> jao/consult-notmuch@d8022e2ddc
jeremy-compostella/org-msg@055de4abf6 -> jeremy-compostella/org-msg@0b65f0f77a
org-mime/org-mime@d368bd4119 -> org-mime/org-mime@9d4584651d
tarsius/ol-notmuch@781c3518a5 -> tarsius/ol-notmuch@881991d94a
2024-02-05 17:21:21 -05:00
Henrik Lissner
4cb06578fc
bump: :completion
DarwinAwardWinner/ido-completing-read-plus@49e7967ea8 -> DarwinAwardWinner/ido-completing-read-plus@5995b4605b
company-mode/company-mode@ed46a616ab -> company-mode/company-mode@02903bd708
emacs-helm/helm@96aad023cb -> emacs-helm/helm@f34ea6b702
lewang/flx@7b44a5abb2 -> lewang/flx@4b1346eb9a
mhayashi1120/Emacs-wgrep@3132abd375 -> mhayashi1120/Emacs-wgrep@208b9d01cf
minad/consult@e4d3712356 -> minad/consult@9463146ba7
minad/vertico@cf8b2abf52 -> minad/vertico@4a7da56b02
oantolin/embark@33c392cf3c -> oantolin/embark@60139db879
radian-software/prescient.el@707c25c947 -> radian-software/prescient.el@4b875be52e
tumashu/vertico-posframe@bc0e67cbbb -> tumashu/vertico-posframe@2e0e09e5bb
2024-02-05 17:21:21 -05:00
Henrik Lissner
75ff47aef0
bump: :app
abo-abo/avy@955c8dedd6 -> abo-abo/avy@be612110cb
emacs-circe/circe@57fe189d7c -> emacs-circe/circe@d374042741
https://git.savannah.gnu.org/git/emms.git@43c614124922 -> https://git.savannah.gnu.org/git/emms.git@87d0d1fb0566
kidd/org-gcal.el@9bb3720525 -> kidd/org-gcal.el@a2d16b372e
remyhonig/elfeed-org@fe59a96969 -> remyhonig/elfeed-org@d62d23e25c
tecosaur/emacs-everywhere@b461c4b420 -> tecosaur/emacs-everywhere@fbeff19825
2024-02-05 17:21:21 -05:00