Commit graph

17864 commits

Author SHA1 Message Date
Henrik Lissner
daad6bc21d
feat(cli): add 'doom make completions' for zsh
'doom make completions' will generate a rudimentary ZSH completion
script for bin/doom. It can be used from your shell dotfiles, but I
recommend caching the output with a function like:
https://github.com/hlissner/dotfiles/blob/master/config/zsh/.zshenv#L1-L14.

Then add this to your .zshrc:

  _cache doom make completions --zsh && compdef _doom doom

Ref: https://github.com/hlissner/dotfiles/blob/master/config/zsh/.zshenv#L1-L14
2022-06-18 23:53:12 +02:00
Henrik Lissner
e5b7edcd8d
feat(cli): add bin/doomscript
Meant as a simple elisp interpreter with Doom's CLI framework preloaded.
Can be used as a shebang line:

  #!/usr/bin/env doomscript
  (princ "hello world!")

This isn't used for bin/doom because it requires doomscript be in your
$PATH, and any attempt to resolve its location in bin/doom's shebang
line would reduce its portability. Neither of these should be an issue
for the type of user who'd find this useful.
2022-06-18 23:53:12 +02:00
Henrik Lissner
149306ef01
fix(ci): update ci config
To reflect recent changes to Doom's CLI framework.
2022-06-18 23:53:12 +02:00
Henrik Lissner
6c0b7e1530
refactor!(cli): rewrite CLI framework libraries
BREAKING CHANGE: this changes Doom's CLI framework in subtle ways, which
is listed in greater detail below. If you've never extended Doom's CLI,
then this won't affect you, but otherwise it'd be recommended you read
on below.

This commit focuses on the CLI framework itself and backports some
foundational changes to its DSL and how it resolves command line
arguments to CLIs, validates input, displays documentation, and persists
state across sessions -- and more. This is done in preparation for the
final stretch towarding completing the CLI rewrite (see #4273).

This is also an effort to generalize Doom's CLI (both its framework and
bin/doom), to increase it versatility and make it a viable dev tool for
other Doom projects (on our Github org) and beyond.

However, there is a *lot* to cover so I'll try to be brief:

- Refactor: generalize Doom's CLI framework by moving all bin/doom
  specific configuration/commands out of core-cli into bin/doom. This
  makes it easier to use bin/doom as a project-agnostic development
  tool (or for users to write their own).
- Refactor: change the namespace for CLI variables/functions from
  doom-cli-X to doom-X.
- Fix: subcommands being mistaken as arguments. "doom make index" will
  resolve to (defcli! (doom make index)) if it exists,
  otherwise (defcli! (doom make)) with "index" as an argument. Before
  this, it would resolve to the latter no matter what. &rest can
  override this; with (defcli! (doom make) (&rest args)), (defcli! (doom
  make index)) will never be invoked.
- Refactor!: redesign our output library (was core/autoload/output.el,
  is now core/autoload/print.el), and how our CLI framework buffers and
  logs output, and now merges logs across (exit! ...) restarts.
- Feat: add support for :before and :after pseudo commands. E.g.

    (defcli! (:before doom help) () ...)
    (defcli! (:after doom sync) () ...)

  Caveat: unlike advice, only one of each can be defined per-command.
- Feat: option arguments now have rudimentary type validation (see
  `doom-cli-option-arg-types`). E.g.

    (defcli! (doom foo) ((foo ("--foo" num))) ...)

  If NUM is not a numeric, it will throw a validation error.

  Any type that isn't in `doom-cli-option-arg-types` will be treated as a
  wildcard string type. `num` can also be replaced with a specification,
  e.g. "HOST[:PORT]", and can be formatted by using symbol quotes:
  "`HOST'[:`PORT']".
- Feat: it is no longer required that options *immediately* follow the command
  that defines them (but it must be somewhere after it, not before). E.g.
    With:
      (defcli! (:before doom foo) ((foo ("--foo"))) ...)
      (defcli! (doom foo baz) () ...)
    Before:
      FAIL: doom --foo foo baz
      GOOD: doom foo --foo baz
      FAIL: doom foo baz --foo
    After:
      FAIL: doom --foo foo baz
      GOOD: doom foo --foo baz
      GOOD: doom foo baz --foo
- Refactor: CLI session state is now kept in a doom-cli-context struct (which
  can be bound to a CLI-local variable with &context in the arglist):

    (defcli! (doom sync) (&context context)
      (print! "Command: " (doom-cli-context-command context)))

  These contexts are persisted across sessions (when restarted). This is
  necessary to support seamless script restarting (i.e. execve
  emulation) in post-3.0.
- Feat: Doom's CLI framework now understands "--". Everything after it will be
  treated as regular arguments, instead of sub-commands or options.
- Refactor!: the semantics of &rest for CLIs has changed. It used to be "all
  extra literal, non-option arguments". It now means *all* unprocessed
  arguments, and its use will suppress "unrecognized option" errors, and
  tells the framework not to process any further subcommands. Use &args
  if you just want "all literal arguments following this command".
- Feat: add new auxiliary keywords for CLI arglists: &context, &multiple,
  &flags, &args, &stdin, &whole, and &cli.
  - &context SYM: binds the currently running context to SYM (a
    `doom-cli-context` struct). Helpful for introspection or passing
    along state when calling subcommands by hand (with `call!`).
  - &stdin SYM: SYM will be bound to a string containing any input piped
    into the running script, or nil if none. Use
    `doom-cli-context-pipe-p` to detect whether the script has been
    piped into or out of.
  - &multiple OPTIONS...: allows all following OPTIONS to be repeated. E.g. "foo
    -x a -x b -x c" will pass (list ("-x" . "a") ("-x" . "b") ("-x" .
    "c")) as -x's value.
  - &flags OPTIONS...: All options after "&flags" get an implicit --no-* switch
    and cannot accept arguments. Will be set to :yes or :no depending on which flag is
    provided, and nil if the flag isn't provided. Otherwise, a default
    value can be specified in that options' arglist. E.g.

      (defcli! (doom foo) (&flags (foo ("--foo" :no))) ...)

    When called, this command sets FOO to :yes if --foo, :no if --no-foo, and
    defaults to :no otherwise.
  - &args SYM: this replaces what &rest used to be; it binds to SYM a
    list of all unprocessed (non-option) arguments.
  - &rest SYM: now binds SYM to a list of all unprocessed arguments, including
    options. This also suppresses "unrecognized option" errors, but will render
    any sub-commands inaccessible. E.g.

      (defcli! (doom make) (&rest rest) ...)
      ;; These are now inaccessible!
      (defcli! (doom make foo) (&rest rest) ...)
      (defcli! (doom make bar) (&rest rest) ...)
  - &cli SYM: binds SYM to the currently running `doom-cli` struct. Can also be
    obtained via `(doom-cli-get (doom-cli-context-command context))`. Possibly
    useful for introspection.
- feat: add defobsolete! macro for quickly defining obsolete commands.
- feat: add defalias! macro for quickly defining alias commands.
- feat: add defautoload! macro for defining an autoloaded command (won't
  be loaded until it is called for).
- refactor!: rename defcligroup! to defgroup! for consistency.
- fix: CLIs will now recursively inherit plist properties from parent
  defcli-group!'s (but will stack :prefix).
- refactor!: remove obsolete 'doom update':
- refactor!: further generalize 'doom ci'
  - In an effort to generalize 'doom ci' (so other Doom--or
    non-doom--projects can use it), all its subcommands have been
    changed to operate on the current working directory's repo instead
    of $EMACSDIR.
  - Doom-specific CI configuration was moved to .github/ci.el.
  - All 'doom ci' commands will now preload one of \$CURRENT_REPO_ROOT/ci.el or
    \$DOOMDIR/ci.el before executing.
- refactor!: changed 'doom env'
  - 'doom env {-c,--clear}' is now 'doom env {clear,c}'
  - -r/--reject and -a/--allow may now be specified multiple times
- refactor!: rewrote CLI help framework and error handling to be more
  sophisticated and detailed.
- feat: can now initiate $PAGER on output with (exit! :pager) (or use
  :pager? to only invoke pager is output is longer than the terminal is
  tall).
- refactor!: changed semantics+conventions for global bin/doom options
  - Single-character global options are now uppercased, to distinguish them from
    local options:
    - -d (for debug mode) is now -D
    - -y (to suppress prompts) is now -!
    - -l (to load elisp) is now -L
    - -h (short for --help) is now -?
  - Replace --yes/-y switches with --force/-!
  - -L/--load FILE: now silently ignores file errors.
  - Add --strict-load FILE: does the same as -L/--load, but throws an error if
    FILE does not exist/is unreadable.
  - Add -E/--eval FORM: evaluates arbitrary lisp before commands are processed.
  - -L/--load, --strict-load, and -E/--eval can now be used multiple times in
    one command.
  - Add --pager COMMAND to specify an explicit pager. Will also obey
    $DOOMPAGER envvar. Does not obey $PAGER.
- Fix #3746: which was likely caused by the generated post-script overwriting
  the old mid-execution. By salting the postscript filenames (with both an
  overarching session ID and a step counter).
- Docs: document websites, environment variables, and exit codes in
  'doom --help'
- Feat: add imenu support for def{cli,alias,obsolete}!

Ref: #4273
Fix: #3746
Fix: #3844
2022-06-18 23:53:12 +02:00
Henrik Lissner
6c5537b487
fix(emacs-lisp): eval forms from within the current buffer
This fix ensures that functions/macros that are evaluated with +eval/*
et co will remember where they were defined (if possible), so you don't
have to see this in their documentation again:

  FUNCTION is a function without a source file.

Ref: https://github.com/doomemacs/doomemacs/pull/6444#issuecomment-1159457888
2022-06-18 18:19:39 +02:00
NightMachinery
ff7ae66372
fix(org): make last arg of +org--follow-search-string-a optional
To accommodate the optional second argument of org-roam-id-open in
org-roam-v1.

Ref: 946a879a4a/org-roam.el (L1140)
2022-06-18 17:25:22 +02:00
Strikerlulu
1ed1064ce1
feat(nix): add generic completing-read support to +nix/lookup-option 2022-06-18 17:22:47 +02:00
Sam Jones
a8dabe1aec fix(go): exactly match test function name 2022-06-18 17:21:20 +02:00
Tony
781e80d849
tweak(default): remove M-{-,=,+} and C-- keybinds
The keybindings M--, M-=, and C-- override the built-in commands
negative-argument and count-words-region. Moreover, the C-- command,
er/contract-region, is already bound transiently to
expand-region-contract-fast-key while expanding regions.
2022-06-18 17:20:49 +02:00
Ellis Kenyő
6ceb1e0bbe fix(magit): only revert if buffer file exists 2022-06-18 17:19:23 +02:00
Johnson Liu W
f178eb6f52 fix(rss): fix *rss* workspace doesn't exist
Change-Id: Ic42528fcda679ff3538db2fad4c7d4dae6fc8d7a
2022-06-18 17:18:51 +02:00
Henrik Lissner
9fde385cdc
fix(emacs-lisp): void-function lisp--local-defform-body-p
I was too hasty adding this function in 15432cf. This function wasn't
introduced until Emacs 29.

Amend: 15432cf9d2
2022-06-18 16:57:17 +02:00
Henrik Lissner
336e7f0087
perf(lib): use syntax table instead of major mode
Should speed up doom/info a bit, and reduce potential edge cases caused
by emacs-lisp-mode hooks.
2022-06-18 16:57:17 +02:00
Henrik Lissner
2180d44a26
bump: :lang markdown
Fanael/edit-indirect@e3d86416bc -> Fanael/edit-indirect@f80f63822f
jrblevin/markdown-mode@521658eb32 -> jrblevin/markdown-mode@1f709778ac
seagle0128/grip-mode@6b427143a8 -> seagle0128/grip-mode@6d6ddbe0af
2022-06-18 16:57:17 +02:00
Henrik Lissner
438483c4eb
nit(markdown): reformat keybinds 2022-06-18 16:57:17 +02:00
Henrik Lissner
4c97de4163
refactor: remove custom projectile-mode-line-function
projectile guards its projectile-update-mode-line calls with
file-remote-p checks, so this is redundant.

Ref: 4d6da873ae/projectile.el (L5791-L5793)
2022-06-18 16:57:17 +02:00
Henrik Lissner
8ffd32b7c4
refactor: s/raxod502/radian-software
Amend: 77e9932966
2022-06-18 16:57:17 +02:00
Henrik Lissner
4bf49785fd
feat(lib): backport ensure-list from 28+
And deprecate doom-enlist, which it replaces.
2022-06-18 16:57:17 +02:00
Henrik Lissner
1402db5129
refactor: how Doom starts up
Restructures Doom's primary core files and entry points to prepare for
backports (from the new CLI) coming soon.

- Removes $EMACSDIR/init.el.
- Doom configures Emacs to ignore ~/.emacs and ~/_emacs files.
- Doom's bootstrapper for interactive sessions was moved out of core.el
  and doom-initialize into doom-start.el. This change is preparation for
  Doom's new profile system (coming soon™️), where this bootstrapper
  will be dynamically generated.
- core.el and early-init.el have been reorganized, comment headers moved
  around, and comments updated to reflect these changes.
2022-06-18 16:54:45 +02:00
Henrik Lissner
76431f699e
fix(tree-sitter): ensure load order
use-package's :after keyword introduces some load order behavior that
complicates the user's ability to target it with either after! or
with-eval-after-load. Best to avoid it.

Ref: jwiegley/use-package#829
2022-06-18 15:01:13 +02:00
Henrik Lissner
5eed2e9e61
fix(javascript): guard evil-textobj-tree-sitter setting
For non-evil users.
2022-06-18 15:01:13 +02:00
Henrik Lissner
e855c2d132
fix(org): update +org--export-lazy-load-library-h
org-babel-exp-src-block's signature changed upstream, in org-mode (to
accept one optional argument), so the advice must adapt.

Amend: 373386173a
2022-06-18 15:00:43 +02:00
Henrik Lissner
46844b55de
refactor: how doom prevents $EMACSDIR litter
I change `user-emacs-directory' because most (if not all) packages --
even built-in ones -- abuse it exclusively to build paths for
storage/cache files (instead of correctly using
`locate-user-emacs-file'). This ensures your $EMACSDIR isn't littered
with data files *and* saves us the trouble of setting every
directory/file variable under the sun.

Granted, this introduces an edge case for any legitimate uses of the
variable (e.g. where the caller seeks to locate the user's initfiles),
but I've found no such uses in any of the packages I've audited for Doom
or elsewhere.
2022-06-18 08:26:01 +02:00
Henrik Lissner
4071d27263
fix(vertico): popup rule for embark export buffers
Embark Export buffers have changed their name from "*Embark Export Grep
...*" to "*Embark Export: ...*".

Fix: #6465
2022-06-18 08:19:46 +02:00
Jeetaditya Chatterjee
cf0696f54b docs(fold): mention ts-fold package 2022-06-18 00:16:31 +02:00
Itai Y. Efrat
969c6ae8aa docs(tree-sitter): document +tree-sitter flag in :lang readmes
Co-authored-by: Jeetaditya Chatterjee <jeetelongname@gmail.com>
2022-06-18 00:16:31 +02:00
Henrik Lissner
173396a963
merge: pull request #5401 from jeetelongname/tree-sitter 2022-06-17 22:55:42 +02:00
Henrik Lissner
7d8b7b4fc2
fix(clojure): adjust buffer-local hook, not global
Though the global side-effect likely had no effect, it's better that our
hacks don't overstep their bounds.
2022-06-17 21:58:54 +02:00
Henrik Lissner
15432cf9d2
fix(emacs-lisp): update custom lisp-indent-function
To reflect Emacs 28+ changes to the function it is
replacing (lisp-indent-function).
2022-06-17 21:58:05 +02:00
Henrik Lissner
608acd9a3a
bump: :tools
SavchenkoValeriy/emacs-powerthesaurus@810a25056c -> SavchenkoValeriy/emacs-powerthesaurus@88bc5229cb
Silex/docker.el@fbd896e313 -> Silex/docker.el@44f0bbec9b
editorconfig/editorconfig-emacs@1d4acc3ec7 -> editorconfig/editorconfig-emacs@1f6f16c24f
emacs-citar/citar@ee98b94f7f -> emacs-citar/citar@dd028c6a4d
emacs-straight/rainbow-mode@949166cc01 -> emacs-straight/rainbow-mode@55a8c15782
emacsorphanage/quickrun@c680f5137c -> emacsorphanage/quickrun@314beae43c
jacktasia/dumb-jump@dbb915441a -> jacktasia/dumb-jump@1dd583011f
magit/forge@66b3993c98 -> magit/forge@36208c43bf
magit/magit@a4a78d341a -> magit/magit@c1fb53d3de
millejoh/emacs-ipython-notebook@e04e1e19c6 -> millejoh/emacs-ipython-notebook@7b9b14435c
purcell/envrc@57d78f0138 -> purcell/envrc@7f36664fc6
rafalcieslak/emacs-company-terraform@2d11a21fee -> rafalcieslak/emacs-company-terraform@8d5a16d1bb
rejeep/prodigy.el@168f5ace16 -> rejeep/prodigy.el@a3be00d3b9
tkf/emacs-request@c769cf33f2 -> tkf/emacs-request@38ed1d2e64
tmalsburg/helm-bibtex@db73156576 -> tmalsburg/helm-bibtex@ce8c17690d
2022-06-17 21:53:56 +02:00
Henrik Lissner
52d0c92fea
bump: :lang emacs-lisp
jorgenschaefer/emacs-buttercup@f5cbf97e10 -> jorgenschaefer/emacs-buttercup@ceedad5efa
purcell/flycheck-package@ecd03f8379 -> purcell/flycheck-package@615c1ed8c6
xuchunyang/elisp-demos@924b07d28e -> xuchunyang/elisp-demos@01c301b516
2022-06-17 21:53:21 +02:00
Henrik Lissner
0a3c123d72
fix(magit): {1-4} overriding evil keybinds
evil-collection-magit-section introduces some redundant keybinds on
number keys 1-4, so our hack to correct these keys needed an adjustment.

And by unbinding these keys at the source (magit-section-mode-map), we
don't have to do the same for each inheriting keymap (like
code-review-mode-map and magit-mode-map).

Ref: emacs-evil/evil-collection@e26c869735
Amend: 31519d393a
2022-06-17 21:52:18 +02:00
Jeetaditya Chatterjee
908ea8de5f
docs(tree-sitter): add doc checks for langs
langs being:
- elixir
- nix
- zig
2022-06-17 20:08:42 +01:00
Jeetaditya Chatterjee
7105292eed
docs(tree-sitter): add mention on how to enable
On a language level
2022-06-17 20:05:16 +01:00
Henrik Lissner
24c658bae9
fix(vertico): ensure load order of consult & embark
The precise semantics of use-package's :after keyword is janky (see
jwiegley/use-package#829) and, in the case of 992bd8f7e2, causes
subtle breakage. For one, the remappings in the following :init block
were deferred until embark loaded, so they weren't available at startup,
so they reverted to their old (often vastly inferior) predecessors, like
recentf-open-files instead of consult-recent-files.

Amend: 992bd8f7e2
2022-06-17 20:48:13 +02:00
Henrik Lissner
196adfb28d
tweak: disable gnutls-verify-error in interactive sessions
NSM has better UX when an invalid/expired certificate is encountered: it
prompts the user to decide what to do with it. If gnutls-verify-error is
non-nil, gnutls either kills or hangs the connection. This is (mostly)
acceptable in noninteractive sessions, where I can more tightly control
outgoing connections, but not in interactive sessions where I stand a
higher chance of stepping on the user's toes instead.

Ref: emacs-circe/circe#405
2022-06-17 20:28:07 +02:00
Henrik Lissner
9b5a3116d2
bump: :app
algernon/elfeed-goodies@8e4c1fbfb8 -> algernon/elfeed-goodies@c9d9cd1967
emacs-circe/circe@77e16de3b9 -> emacs-circe/circe@41cdc116b0
https://git.savannah.gnu.org/git/emms.git@c3596ae7166d -> https://git.savannah.gnu.org/git/emms.git@b55bc4fe1857
kidd/org-gcal.el@6e26ae75ae -> kidd/org-gcal.el@f8075bd8ea
remyhonig/elfeed-org@268efdd012 -> remyhonig/elfeed-org@d28c858303
tecosaur/emacs-everywhere@02450162ad -> tecosaur/emacs-everywhere@0d0d185429

Fix: #6410
Close: #6411
Co-authored-by: Gpkfr <gpkfr@users.noreply.github.com>
2022-06-17 20:28:07 +02:00
Yaman Qalieh
d1ba626a2a tweak(mu4e): increase human-date width to fit year 2022-06-17 20:05:10 +02:00
Ellis Kenyő
4389e2b1c5
feat(vertico): add tramp sources to consult-dir
Fix: #6258
2022-06-17 19:57:32 +02:00
Henrik Lissner
89306cb0c6
fix(graphql): truncated pin
Amend: 92f3eb0476
2022-06-17 19:37:41 +02:00
Henrik Lissner
92f3eb0476
bump: :lang graphql
ifitzpatrick/graphql-doc.el@6ba7961fc9 -> ifitzpatrick/graphql-doc.el@d37140267e
timoweave/company-graphql@757dfa45ad -> thaenalpha/company-graphql@aed9f5109e

The source for company-graphql is temporarily changed because the
package was no longer available on MELPA.

Close: #6436
Ref: timoweave/company-graphql#1
Ref: timoweave/company-graphql#4
Co-authored-by: Nopanun Laochunhanun <thaenalpha@users.noreply.github.com>
2022-06-17 19:17:24 +02:00
Henrik Lissner
22a978b316
docs: fix links in project readme
This is a stopgap while I finalize the rewrite-docs branch for merging.

Fix: #6366
2022-06-17 19:10:12 +02:00
Henrik Lissner
c4ac2ab384
fix: void-function doplist! in package!
The macro was removed a short while ago, and I forgot to include this
change with it.

Amend: cb03d3258d
2022-06-17 18:59:11 +02:00
Henrik Lissner
373386173a
bump: :lang org
awth13/org-appear@ffbd742267 -> awth13/org-appear@8dd1e56415
bastibe/org-journal@f121450610 -> bastibe/org-journal@839a2e1986
emacs-straight/org-mode@971eb6885e -> emacs-straight/org-mode@e9da29b6fa
emacsmirror/org-contrib@17f3c51435 -> emacsmirror/org-contrib@c1e0980fd7
emacsorphanage/ox-pandoc@b2e43b9362 -> emacsorphanage/ox-pandoc@0a35d0fbfa
hakimel/reveal.js@e281b3234e -> hakimel/reveal.js@039972c730
kaushalmodi/ox-hugo@65e349b306 -> kaushalmodi/ox-hugo@85d11219a5
magit/orgit-forge@36e57a0359 -> magit/orgit-forge@8baf1dee79
magit/orgit@42b7f682b3 -> magit/orgit@b33b916915
nnicandro/emacs-jupyter@0a7055d7b1 -> nnicandro/emacs-jupyter@7d20c0aee2
oer/org-re-reveal@e5bae22b9e -> oer/org-re-reveal@93ba4e91f1
org-roam/org-roam@36152590ad -> org-roam/org-roam@171a8db32f

- Fixes Roam's on-save errors when narrowed (#6315).

Close: #6315
Ref: org-roam/org-roam#2159
Co-authored-by: Colin Woodbury <fosskers@users.noreply.github.com>
2022-06-17 18:54:28 +02:00
Henrik Lissner
d4204616ba
bump: :lang clojure
borkdude/flycheck-clj-kondo@d8a6ee9a16 -> borkdude/flycheck-clj-kondo@ff7bed2315
clojure-emacs/cider@86dd3fee9d -> clojure-emacs/cider@b9e1cc26e2
clojure-emacs/clojure-mode@c339353f9e -> clojure-emacs/clojure-mode@b6f41d7490
clojure-emacs/parseclj@b04eae6738 -> clojure-emacs/parseclj@4d0e780e00

Upgrade to the latest version of emacs-cider (1.3.0 -> 1.4.1)

Close: #6447
Co-authored-by: Jo Øivind Gjernes <jodleif@users.noreply.github.com>
2022-06-17 18:54:27 +02:00
Henrik Lissner
f76caeece3
bump: :tools debugger lsp
emacs-lsp/dap-mode@67fd9e5d4e -> emacs-lsp/dap-mode@50c2a99059
emacs-lsp/lsp-mode@9faa492692 -> emacs-lsp/lsp-mode@6b6afc00de
joaotavora/eglot@2b87b06d9e -> joaotavora/eglot@e835996e16

Close: #6461
Co-authored-by: MOHENOO <MOHENOO@users.noreply.github.com>
2022-06-17 18:54:27 +02:00
Filipe Regadas
7a164f9d4c
bump: :lang dhall
psibi/dhall-mode@ad259c8a22 -> psibi/dhall-mode@c77f1c1e75

Ref: psibi/dhall-mode#36
2022-06-17 18:47:23 +02:00
iyefrat
992bd8f7e2
fix(vertico): load consult after embark
Currently, embark-consult bindings don't get loaded if consult hasn't
been loaded yet, leading to missing embark actions until the first
manual consult load.
2022-06-17 18:42:42 +02:00
Daanturo
7c676c83bc tweak(vertico): use setq-default to set completion-in-region-function
Corfu makes completion-in-region-function a local variable in buffers
where it is enabled, so when this form is evaluated in one of those said
buffers (such as opening a file with Emacs before accessing the
minibuffer), completion-in-region-function will just be set locally
there.
2022-06-17 18:40:34 +02:00
Antonio Ruiz
41921f5f07 fix(window-select): allow Switch Window to work with >6 windows 2022-06-17 18:38:39 +02:00