this post was submitted on 12 May 2024
9 points (100.0% liked)

Emacs

2251 readers
8 users here now

Our infinitely powerful editor.

founded 5 years ago
MODERATORS
 

I wrote this script to learn how completing-read's complex arguments works. Compared to other clients it's quite limited; but thanks to packages like Vertico and Orderless, it works quite well for my use cases.

Screenshot

you are viewing a single comment's thread
view the rest of the comments
[–] christopher 2 points 7 months ago (1 children)

To install it on emacs 29 paste this into a scratch buffer and evaluate it:

(package-vc-install
  '(minimpc :url "https://codeberg.org/nmtake/minimpc.el.git"))

And put this in your init.el: (require 'minimpc)

You don't need Vertico or Orderless. I'm using emacs' built-in completion--it works fine.

[–] [email protected] 1 points 7 months ago

Thank you for trying the package! I completely forgot to mention require in README, and didn't know package-vc-install. I'll add it to README later.

I’m using emacs’ built-in completion–it works fine.

I hope it works on other packages like helm or ivy too.