9
submitted 1 month ago* (last edited 1 month ago) by nmtake@lemm.ee to c/emacs@lemmy.ml

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 1 month ago

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 1 month 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 1 month ago

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

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

Emacs

1978 readers
4 users here now

Our infinitely powerful editor.

founded 4 years ago
MODERATORS