Commit graph

12362 commits

Author SHA1 Message Date
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
Henrik Lissner
ce6ea7d85f
bump: :lang
Andersbakken/rtags@ee1ab7b9a6 -> Andersbakken/rtags@05117a9a29
FStarLang/fstar-mode.el@ab0697b947 -> FStarLang/fstar-mode.el@7d353de892
Fanael/edit-indirect@f80f63822f -> Fanael/edit-indirect@82a28d8a85
ProofGeneral/PG@8416875696 -> ProofGeneral/PG@a38857a6a0
Sarcasm/irony-mode@870d1576fb -> Sarcasm/irony-mode@40e0ce19eb
aaronjensen/flycheck-credo@e88f11ead5 -> aaronjensen/flycheck-credo@e285bd042a
agda/agda@bb7603d197 -> agda/agda@fbf9d159c3
amake/flutter.el@edd3f5eb3f -> amake/flutter.el@004c91e070
ananthakumaran/exunit.el@e0a8c2b81f -> ananthakumaran/exunit.el@e008c89e01
ananthakumaran/tide@29475d9eee -> ananthakumaran/tide@b38dfc3f8f
arthurnn/minitest-emacs@ddd152c990 -> arthurnn/minitest-emacs@5999c45c04
babashka/neil@40993873bb -> babashka/neil@a1db63d420
beancount/beancount-mode@0f1e33067e -> beancount/beancount-mode@546163fd2c
borkdude/flycheck-clj-kondo@ff7bed2315 -> borkdude/flycheck-clj-kondo@9089ade9e0
cdominik/cdlatex@ac024ce293 -> cdominik/cdlatex@33770dec73
clojure-emacs/cider@120fd885d3 -> clojure-emacs/cider@aa26d62ac5
clojure-emacs/clj-refactor.el@0a2a6cbc2e -> clojure-emacs/clj-refactor.el@fa3efe18e7
clojure-emacs/clojure-mode@25d713a67d -> clojure-emacs/clojure-mode@222fdafa2a
clojure-emacs/parseclj@74ff7d63fe -> clojure-emacs/parseclj@6af22372e0
clojure-emacs/parseedn@c8f07926a6 -> clojure-emacs/parseedn@3407e4530a
crystal-lang-tools/emacs-crystal-mode@9bfb9f0f56 -> crystal-lang-tools/emacs-crystal-mode@ea89b108fa
davazp/graphql-mode@1437b79006 -> davazp/graphql-mode@49a391b529
dgutov/robe@912ae2ba1f -> dgutov/robe@4ecd868da9
dominikh/go-mode.el@166dfb1e09 -> dominikh/go-mode.el@8dce1e3ba1
elixir-editors/emacs-elixir@7641373f05 -> elixir-editors/emacs-elixir@00d6580a04
emacs-geiser/geiser@49d12a1448 -> emacs-geiser/geiser@bb77719c25
emacs-geiser/guile@ee33af6b4e -> emacs-geiser/guile@6e0811c75d
emacs-lsp/emacs-ccls@dd33da8ed7 -> emacs-lsp/emacs-ccls@9b4a47e041
emacs-lsp/lsp-dart@3db9f93c83 -> emacs-lsp/lsp-dart@e7ee6afc2e
emacs-lsp/lsp-java@449673da72 -> emacs-lsp/lsp-java@c962a3b3ac
emacs-php/composer.el@5af1707fef -> emacs-php/composer.el@91945f1bdb
emacs-php/php-mode@fb11df8268 -> emacs-php/php-mode@a0bcafbe30
emacs-php/phpactor.el@9440005814 -> emacs-php/phpactor.el@8733fef84b
emacs-php/psysh.el@796b26a5cd -> emacs-php/psysh.el@c7dde979d9
emacs-straight/adaptive-wrap@0d5b4a07de -> emacs-straight/adaptive-wrap@70005d2012
emacs-straight/auctex@3929d5408b -> emacs-straight/auctex@86b2397abd
emacs-straight/csv-mode@d190a479b4 -> emacs-straight/csv-mode@81c1a9febd
emacs-straight/rainbow-mode@8e96388fb4 -> emacs-straight/rainbow-mode@70ed10d410
emacs-straight/sml-mode@5426ff4738 -> emacs-straight/sml-mode@e5354371f3
emacsmirror/cmake-mode@f9c7a21254 -> emacsmirror/cmake-mode@b08b5d9045
emacsorphanage/dart-mode@9c846769ab -> emacsorphanage/dart-mode@dffc0209a1
erlang/otp@be7109f43b -> erlang/otp@0ca7e064f5
factor/factor@76ac65649d -> factor/factor@23fcfc7075
flycheck/flycheck-cask@4b2ede6362 -> flycheck/flycheck-cask@0eeec5197e
fxbois/web-mode@57856ba64b -> fxbois/web-mode@82847071ce
gcv/julia-snail@18b891b456 -> gcv/julia-snail@d36653bb93
gdkrmr/lsp-julia@c584f79c7f -> gdkrmr/lsp-julia@c869b2f6c0
godotengine/emacs-gdscript-mode@d392e8aa7e -> godotengine/emacs-gdscript-mode@8a28276daa
greghendershott/racket-mode@947d9806ee -> greghendershott/racket-mode@d3ab936af1
haskell/haskell-mode@79eaf444a7 -> haskell/haskell-mode@43b4036bf0
hhvm/hack-mode@26f06ffe82 -> hhvm/hack-mode@278e4cc403
hvesalai/emacs-scala-mode@5d7cf21c37 -> hvesalai/emacs-scala-mode@4c6d636b86
idris-hackers/idris-mode@c96f45d1b8 -> idris-hackers/idris-mode@37c6b81990
immerrr/lua-mode@7eb8eaa420 -> immerrr/lua-mode@d074e4134b
iyefrat/evil-tex@3e0a26b91a -> iyefrat/evil-tex@2a3177c818
jrblevin/markdown-mode@b1a862f016 -> jrblevin/markdown-mode@e096bb97a9
json-emacs/json-mode@eedb456003 -> json-emacs/json-mode@bfd1557aaa
jwiegley/emacs-async@71cc50f27f -> jwiegley/emacs-async@d040f72cb0
ledger/ledger-mode@4b32f70173 -> ledger/ledger-mode@11e748d483
ljos/jq-mode@071c1c29ba -> ljos/jq-mode@37028e1200
nex3/haml-mode@fe83c65c1f -> nex3/haml-mode@a64d58df8f
nlamirault/phpunit.el@4a36906344 -> nlamirault/phpunit.el@650a50898d
nonsequitur/inf-ruby@03475ac1cc -> nonsequitur/inf-ruby@dac615c7fd
ocaml-ppx/ocamlformat@7db948a894 -> ocaml-ppx/ocamlformat@b8b0956690
ocaml/dune@360b000271 -> ocaml/dune@64d19876ad
pashky/restclient.el@0ba72816f9 -> pashky/restclient.el@e2a2b13482
psibi/dhall-mode@c77f1c1e75 -> psibi/dhall-mode@87ab69fe76
purescript-emacs/emacs-psci@9bb6a32532 -> purescript-emacs/emacs-psci@ef31045295
purescript-emacs/psc-ide-emacs@ce97d71945 -> purescript-emacs/psc-ide-emacs@4e614df553
s-kostyaev/go-gen-test@f84f4177af -> s-kostyaev/go-gen-test@af00a9abba
seagle0128/grip-mode@5809fb62f6 -> seagle0128/grip-mode@e145adb225
senny/rbenv.el@2ea1a5bdc1 -> senny/rbenv.el@588b817d51
technomancy/fennel-mode@8f721285e1 -> technomancy/fennel-mode@5965c8fc69
tpapp/julia-repl@9503ef7110 -> tpapp/julia-repl@4947319bc9
weijiangan/flycheck-golangci-lint@8e446c6831 -> weijiangan/flycheck-golangci-lint@9def093e41
wwwjfy/emacs-fish@6869efbc05 -> wwwjfy/emacs-fish@2526b1803b
yoshiki/yaml-mode@3fcb36d603 -> yoshiki/yaml-mode@5b58248ab2

Close: #7648
2024-02-05 17:21:20 -05:00
1ec1de31b6 dev: updating from latest pr7002 2024-02-05 10:05:56 -05:00
Edmund Miller
2ace90233c feat(org): add Kagi custom link type 2024-02-04 21:48:23 -05:00
Edmund Miller
2f7d8f41e1 feat(lookup): add Kagi 2024-02-04 21:48:23 -05:00
Henrik Lissner
e701522d68
bump: :editor
doomemacs/snippets@d490cba6d7 -> doomemacs/snippets@f022984ee1
emacs-straight/adaptive-wrap@fc9f0306f1 -> emacs-straight/adaptive-wrap@70005d2012
emacs-tree-sitter/ts-fold@75e72c658a -> emacs-tree-sitter/ts-fold@0627723e5f
joaotavora/yasnippet@5cbdbf0d20 -> joaotavora/yasnippet@297546f085
joostkremers/visual-fill-column@695a597892 -> joostkremers/visual-fill-column@db7c7c2365
justinbarclay/parinfer-rust-mode@6e6bdeeba3 -> justinbarclay/parinfer-rust-mode@8df117a3b5
raxod502/apheleia@56651724ad -> raxod502/apheleia@96a9805ecb
2024-02-04 19:18:24 -05:00
Henrik Lissner
151b67baf2
bump: :editor evil
TheBB/evil-indent-plus@b4dacbfdb5 -> TheBB/evil-indent-plus@f392696e48
emacs-evil/evil-collection@8be4b75c86 -> emacs-evil/evil-collection@8c84f9bc89
emacs-evil/evil-surround@8fad8540c4 -> emacs-evil/evil-surround@c7116cdc77
emacs-evil/evil@5fc16776c5 -> emacs-evil/evil@5995f6f21f
2024-02-04 19:17:18 -05:00
Henrik Lissner
53998a0249
module: remove :tools gist
This module had been deprecated for some years, because it's central
package (gist.el) has been non-functional and unmaintained for years.
This will later be replaced with a more general module (powered by
webpaste.el or similar) for interacting with pastebin
services (including gist).
2024-02-04 19:11:29 -05:00
Henrik Lissner
1a05e2fa64
bump: :tools
NicolasPetton/pass@c721604b3b -> NicolasPetton/pass@ed7031c5c3
Silex/docker.el@6997c86a24 -> Silex/docker.el@d5255a65b7
alphapapa/magit-todos@cadf29d1cc -> alphapapa/magit-todos@debb77b358
andras-simonyi/citeproc-el@290320fc57 -> andras-simonyi/citeproc-el@c61c98b9d2
doomelpa/code-review@26f426e992 -> doomelpa/code-review@c34ff1ee64
editorconfig/editorconfig-emacs@2fed9599bc -> editorconfig/editorconfig-emacs@4b81a59928
emacs-citar/citar-org-roam@761eed6678 -> emacs-citar/citar-org-roam@7d67dccf80
emacs-citar/citar@2c0547db57 -> emacs-citar/citar@885b86f673
emacs-lsp/lsp-mode@02c5ba59ce -> emacs-lsp/lsp-mode@fb88cc6b8b
emacs-straight/eglot@f73594f589 -> emacs-straight/eglot@cd4e45b700
emacs-straight/rainbow-mode@24437ec2c6 -> emacs-straight/rainbow-mode@70ed10d410
emacs-tree-sitter/tree-sitter-langs@5eb24557f5 -> emacs-tree-sitter/tree-sitter-langs@20fbbb8573
emacsorphanage/quickrun@6f96318930 -> emacsorphanage/quickrun@248149b026
hcl-emacs/terraform-mode@39d2fd5bfc -> hcl-emacs/terraform-mode@e8b57df8c2
jacktasia/dumb-jump@d9503c157a -> jacktasia/dumb-jump@ede6a04187
magit/forge@ba35ffc9ba -> magit/forge@b16b6ec4f7
magit/magit@4881835572 -> magit/magit@54d37dc14c
meain/evil-textobj-tree-sitter@9a9edd42a2 -> meain/evil-textobj-tree-sitter@220ceae065
purcell/envrc@33d01388ce -> purcell/envrc@1385e72a73
rejeep/prodigy.el@a3be00d3b9 -> rejeep/prodigy.el@cc68fa9d60
tmalsburg/helm-bibtex@ef07adfeda -> tmalsburg/helm-bibtex@bf184cc311
xuchunyang/osx-dictionary.el@0715e5a3ac -> xuchunyang/osx-dictionary.el@1f5a74f3e5
yoshiki/yaml-mode@3fcb36d603 -> yoshiki/yaml-mode@5b58248ab2
zx2c4/password-store@28cec11f1d -> zx2c4/password-store@b5e965a838
2024-02-04 19:07:25 -05:00
Henrik Lissner
b070a801ed
bump: :tools collab
https://code.librehq.com/qhong/crdt.el@3ba890658d65 -> emacs-straight/crdt@4a18cd8539

Moved to github mirror since old source was unreliable.
2024-02-04 19:02:33 -05:00
Henrik Lissner
210a5d4162
bump: :ui
Alexander-Miller/treemacs@56691a530a -> Alexander-Miller/treemacs@df26b6ab9a
Bad-ptr/persp-mode.el@df95ea710e -> Bad-ptr/persp-mode.el@345baaa520
dgutov/diff-hl@b5651f1c57 -> dgutov/diff-hl@b8b2727a72
edkolev/evil-goggles@0070c9d844 -> edkolev/evil-goggles@34ca276a85
emacs-lsp/lsp-treemacs@e66ae21965 -> emacs-lsp/lsp-treemacs@e54e74deb8
emacsorphanage/anzu@5abb37455e -> emacsorphanage/anzu@26fb50b429
joostkremers/writeroom-mode@1fd52848eb -> joostkremers/writeroom-mode@f4d035e91d
mickeynp/ligature.el@0e5d0a8554 -> mickeynp/ligature.el@6ac1634612
rolandwalker/unicode-fonts@44d0a22420 -> rolandwalker/unicode-fonts@6245b97d8d
tarsius/hl-todo@70ce48470c -> tarsius/hl-todo@f1fef158f9
2024-02-04 18:58:53 -05:00
Henrik Lissner
615a77fafc
bump: :config
magnars/expand-region.el@b70feaa644 -> magnars/expand-region.el@e8f4e0fe9c
noctuid/link-hint.el@36ce929331 -> noctuid/link-hint.el@9153eafc77
2024-02-04 18:54:21 -05:00
Henrik Lissner
be48f3588b
bump: :lang org
alf/ob-restclient.el@1a127eb016 -> alf/ob-restclient.el@8183f8af08
bastibe/org-journal@a306f76ee2 -> bastibe/org-journal@605a7eb984
emacs-jupyter/jupyter@0a92c0c978 -> emacs-jupyter/jupyter@da306a6dbd
emacs-straight/org-mode@57b94f3447 -> emacs-straight/org-mode@7a6bb0904d
emacsmirror/org-contrib@79286861ae -> emacsmirror/org-contrib@8fbaceb247
emacsorphanage/ox-pandoc@0f758517f5 -> emacsorphanage/ox-pandoc@399d787b6e
hakimel/reveal.js@d5896c968b -> hakimel/reveal.js@16f6633014
magit/orgit-forge@f595a30aa7 -> magit/orgit-forge@f2ff9e5ad6
magit/orgit@b60efabc4a -> magit/orgit@84bcb5c318
oer/org-re-reveal@e7895dae98 -> oer/org-re-reveal@7c39d15b84
org-noter/org-noter@a4296d8338 -> org-noter/org-noter@8be3763847
org-roam/org-roam@5c06471c3a -> org-roam/org-roam@8667e44187

Fix: #7392
2024-02-04 18:52:46 -05:00
Henrik Lissner
e0c9ef6ad6
bump: :lang ocaml
OCamlPro/ocp-indent@7c4d434132 -> OCamlPro/ocp-indent@f38578c25d
diml/utop@ace481388a -> diml/utop@8cc5632825
ocaml-ppx/ocamlformat@1ad4bdba9e -> ocaml-ppx/ocamlformat@7db948a894
ocaml/dune@f5a5a9c17b -> ocaml/dune@360b000271
ocaml/merlin@306af713e2 -> ocaml/merlin@8404f96693
ocaml/tuareg@53ce2fdfdd -> ocaml/tuareg@1d53723e39

Fix: #7412
2024-02-04 18:50:33 -05:00
Henrik Lissner
4c89262a6b
nit(emacs-lisp): reformat/revise comments 2024-02-04 17:54:30 -05:00
Henrik Lissner
3bea4f66a8
refactor(emacs-lisp): elisp-demos: reorganize Doom demos
- Move Doom core elisp API demos out of docs/examples.org into lisp/demos.org.
- Recognize and search demos.org file in modules for additional
  demos (including $DOOMDIR/demos.org).
- Refactor emacs-lisp module to use new elisp-demos-user-files variable
  instead of an advice. This way, elisp-demo's commands (such as
  `elisp-demos-find-demo` and `elisp-demos-add-demo`) will include
  Doom's demos.
2024-02-04 17:54:29 -05:00
Henrik Lissner
77ea4013dd
refactor: doom-module: conform variables to conventions
- Rename doom--empty-module-context to doom-module--empty-context.
- Nest doom-module-context symbol plist in its 'keys' property. (By
  convention, Doom uses keywords as keys in most places. Let's be
  consistent)
- Updates all uses of doom-module--context-field and
  doom-module-context-get.
2024-02-04 17:54:29 -05:00
Henrik Lissner
659f7bfc71
refactor!: deprecate IS-* OS constants
BREAKING CHANGE: This deprecates the IS-(MAC|WINDOWS|LINUX|BSD) family
of global constants in favor of a native `featurep` check:

  IS-MAC      ->  (featurep :system 'macos)
  IS-WINDOWS  ->  (featurep :system 'windows)
  IS-LINUX    ->  (featurep :system 'linux)
  IS-BSD      ->  (featurep :system 'bsd)

The constants will stick around until the v3 release so folks can still
use it -- and there are still some modules that use it, but I'll phase
those uses out gradually.

Fix: #7479
2024-02-04 17:54:29 -05:00
Luigi Sartor Piucco
f74c7fc043
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-04 18:19:04 -03:00
Luigi Sartor Piucco
cc6b0ee274
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.
2024-02-04 17:17:13 -03:00
Luigi Sartor Piucco
1983c4c5d9
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-03 18:18:53 -03:00
Luigi Sartor Piucco
a942d2ccae
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-03 18:18:53 -03:00
Luigi Sartor Piucco
9a1795fce5
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-03 18:18:53 -03:00
StrawberryTea
48975143e4
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-03 18:18:52 -03:00
Luigi Sartor Piucco
e4559257a7
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-03 18:18:52 -03:00
Luigi Sartor Piucco
a86a819a35
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-03 18:18:43 -03:00
f8d06642da dev: erge branch 'pr7002' into emenel 2024-02-03 11:14:50 -05:00
8d9ec314f4 dev: updating from latest pr7002 2024-02-03 11:07:29 -05:00
a048a26377 dev: updating from latest pr7002 2024-02-03 11:07:15 -05:00
Henrik Lissner
d38787edf4
bump: :lang emacs-lisp
Wilfred/elisp-def@1d2e88a232 -> Wilfred/elisp-def@1ad4baccbf
jorgenschaefer/emacs-buttercup@30c703d215 -> jorgenschaefer/emacs-buttercup@24d43b2ce2
purcell/flycheck-package@3a6aaed29f -> purcell/flycheck-package@75efa098cf
tonini/overseer.el@02d49f582e -> tonini/overseer.el@7fdcf1a6fb
xuchunyang/elisp-demos@8d0cd806b1 -> xuchunyang/elisp-demos@1a108d1c50
2024-02-02 18:50:31 -05:00
Henrik Lissner
ffd2654aa3
fix(emacs-lisp): non-package-mode: only enable in elisp buffers
This prevents +emacs-lisp-non-package-mode from being activated in
non-elisp buffers.

Amend: #7341
Close: #7645
Co-authored-by: PatrickNorton <PatrickNorton@users.noreply.github.com>
2024-02-02 18:50:31 -05:00
ea3bcdaa32 dev: merge branch 'pr7002' into emenel 2024-02-02 17:52:59 -05:00
63db5899fc dev: merging from master 2024-02-02 17:52:48 -05:00
Luigi Sartor Piucco
4ab0d9ad95
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-02 13:00:24 -03:00
Luigi Sartor Piucco
2f33f7760a
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-02 12:57:11 -03:00
Luigi Sartor Piucco
db34c67d20
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-02 12:37:37 -03:00
StrawberryTea
62b2cf9cbf
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-02 12:37:37 -03:00