Commit graph

19166 commits

Author SHA1 Message Date
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
7654262cdc
tweak(lib): doom-info: show $EMACS/$EMACSDIR 2024-02-04 18:00:16 -05:00
Henrik Lissner
51dcb4dc99
nit: fix s/make/bake typo 2024-02-04 17:59:31 -05:00
Henrik Lissner
b4f39e5369
nit: doom-modules: reformat & declare obsolete variables defs 2024-02-04 17:55:07 -05:00
Henrik Lissner
66d70c38a6
docs: bump supported Emacs version to 29.2 2024-02-04 17:54:30 -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
fc6934c240
refactor: introduce doom-module-load-path
This renames doom-modules-dirs to doom-module-load-path, which dictates
where Doom searches for module trees or single modules, in preparation
for more sophisticated module lookups in v3.

This also deprecates doom-modules-dirs, which will be fully removed in
the v3 release.
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
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
180ffd3fa8
release(modules): 24.02.0-dev
Ref: 2b39e41368
2024-02-02 03:33:53 -05: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
e197e594a0 dev: merging from master 2024-02-01 08:52:45 -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