This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-19
Channels
- # announcements (37)
- # aws (6)
- # babashka (12)
- # babashka-sci-dev (16)
- # beginners (83)
- # biff (10)
- # cider (14)
- # cljdoc (26)
- # cljs-dev (20)
- # clojure (123)
- # clojure-czech (9)
- # clojure-europe (26)
- # clojure-nl (4)
- # clojure-norway (20)
- # clojure-spec (7)
- # clojure-uk (6)
- # clojured (14)
- # clojurescript (28)
- # cursive (5)
- # datalevin (8)
- # datomic (3)
- # duct (6)
- # emacs (26)
- # events (2)
- # fulcro (7)
- # gratitude (1)
- # holy-lambda (19)
- # integrant (1)
- # jobs (2)
- # leiningen (8)
- # lsp (7)
- # nyc (1)
- # pathom (70)
- # re-frame (8)
- # reagent (15)
- # releases (1)
- # sci (8)
- # shadow-cljs (117)
- # testing (5)
- # tools-deps (11)
- # vim (5)
is there a way to bind commands to the alt
key on macos (not the meta
key, but in my attempts it looks like emacs threats alt
and meta
as the same key, is there a way for them to behave as different keys for binding?)
I think that by default Option is not setup as the Meta key. I always had to configure that manually. There are a few options to set this up as you want it: https://www.emacswiki.org/emacs/MetaKeyProblems#h5o-15
I use emacs with exwm as window manager. In all my adventures with emacs meta is just a synonym for alt. ymmv
I’m trying out https://github.com/raxod502/radian and so far so good. It’s a good balance between vanilla emacs and an “emacs distribution”
don't get me wrong, I like most of it, but some packages depart a bit from more popular/arguably-better alternatives
imho ultimately you would want to build something you have full control over: use-package + straight.el + whatever packages you like. That gets you very far without involving too many complicated bits. That can be a single init.el file.
This is exactly what I have with radian. The author of radian is also the author of straight.el. From the radian readme > If you are a fan of my Emacs packages (such as straight.el, el-patch, Selectrum, CTRLF, prescient.el, Apheleia, Blackout) then you will find all of them configured here. Sure, you'll be much happier with radian if you're already using these packages, but if you're new to emacs I'm unsure how much this matters. With spacemacs and doom you're much more locked into their way of doing things than with radian IMHO
I keep using prescient because I really like how it sorts by frequency and recency by default. Do you guys know if there is a way to replicate that behavior with the vertico stack?
it's nearly the same (minus frequency), but I can't tell the difference after having used both
my problem with selectrum is that it somewhat reinvents a completion ui instead of re-using most built-ins'. So you end up having to teach other modes about it one way or the other instead of just relying on the fact these modes most often are just completing-read* compliant. That makes for some hairy configs in some cases. Vertico is less intrusive imho.
but again, that's great we have so many choices. I know many happy ivy / helm users too 🙂
Definitely! I tried using vertico, but I really missed sorting by frequency. In fact IIRC selectrum was created partly because prescient sorting wasn’t possible or was too hard to build with the built-ins for completion or something like that.
it should be possible in theory, ordering is separate from completion ui, see for instance orderless
> my problem with selectrum is that it somewhat reinvents a completion ui instead of re-using most built-ins'. Perhaps I've misunderstood, but this is what consult is for. From https://github.com/raxod502/selectrum#complementary-extensions > Useful commands based on completing-read are provided by consult. Consult is designed as the counsel equivalent for Selectrum and Icomplete or more generally any completion system based on completing-read. https://github.com/minad/consult
@U0P7ZBZCK selectrum / vertico provide ui. Consult provides selections and can work with either
very good point about full control. I'd use straight.el if I were to rebuild my setup, but git submodules haven't failed me over 10y. it gives me a special kind of happiness to not have my software randomly broken 😇