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

Emacs

2200 readers
6 users here now

Our infinitely powerful editor.

founded 4 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

top 3 comments
sorted by: hot top controversial new old
[–] christopher@programming.dev 2 points 6 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.

[–] nmtake@lemm.ee 1 points 6 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.

[–] nmtake@lemm.ee 1 points 6 months ago

Fixed wrong link - now the post title correctly link to the repository ;)