This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # announcements (3)
- # babashka (23)
- # beginners (54)
- # calva (9)
- # cider (8)
- # clj-kondo (18)
- # clj-new (2)
- # cljsrn (25)
- # clojure (69)
- # clojure-australia (1)
- # clojure-europe (7)
- # clojure-spec (13)
- # clojure-uk (1)
- # clojurescript (122)
- # conjure (8)
- # crux (2)
- # cursive (15)
- # defnpodcast (9)
- # emacs (22)
- # fulcro (10)
- # graalvm (36)
- # luminus (5)
- # meander (5)
- # minimallist (1)
- # observability (6)
- # off-topic (54)
- # reagent (8)
- # reitit (2)
- # releases (1)
- # reveal (25)
- # shadow-cljs (21)
- # tools-deps (50)
- # vrac (1)
asking here, just in case someone's won this battle: https://twitter.com/RobStuttaford/status/1309737412931837952
it's not an answer to your situation, but having tried ivy after helm, i went on to try selectrum + prescient (by the author of straight). i have been pretty happy with the result.
because basically i love what ivy is doing, i just want it in a full buffer
not sure i quite get what you mean by a full buffer. don't know if this answers your question but there are some images here of what selection can look like: https://github.com/raxod502/selectrum#what-is-it
minibuffer: that tiny section bottom of screen. full buffer: where you edit your code. i use a left+right full-height buffer system, so i want the candidate list to appear in whichever one my cursor focus isn't in, just like helm does it
i don't think there is built in functionality for completions to appear in anything other than the minibuffer (but i'm new to selectrum). it appears there is some external package to display completions in a child frame mentioned in this section: https://github.com/raxod502/selectrum#complementary-extensions but that doesn't sound like what you describe.
I'm still using helm as surprsingly it still works even without a maintainer and some how there are still updated packages coming through, so for a project that has lost its author it still seems active. I'll be sticking with helm for the rest of the year and probably much longer as I would miss many of the features not present in Ivy or other simpler approaches. Spacemacs also has a good Ivy setup, so its only one configuration value to change if I ever need to. I've tried Ivy before but I miss the features and approach that helm takes.
if i had known about selectrum / presicent sooner i think i would have switched regardless of whatever is happening with helm. anywhere / helm is one of the key things that helped me to start using emacs again some time back, but it's nice to see that others are also providing similar takes on the basic idea. i am happy there are alternatives -- i had not experienced ivy nor selectrum before recent events, but i'm glad i tried both out.
When I have `(let [x 10] (* x 10 |))` on the top level, where `|` is the position of the cursor, and I am trying to insert e.g. 20 on a new line, I press enter but the cursor just moves outside the parentheses instead of moving the closing parentheses onto the new line, so the new state looks like:
instead of the expected
(let [x 10] (* x 10)) |
How do I disable this behavior? I am not sure what package is responsible for that, maybe parinfer? How do I figure such stuff out by myself?
(let [x 10] (* x 10 |))
I am using doom emacs with clojure mode, I think those lines are the relevant ones from the config I am using: https://github.com/ericdallo/dotfiles/blob/master/.doom.d/config.el#L128-L134
So apparently after entering a new line, I need to use
C-b to position the cursor at the right indentation level and enter the form I want to add, according to the entry for
smart-tabs here: https://github.com/DogLooksGood/parinfer-mode
But when I do
C-f, cursor indeed moves to the next indentation level, but quickly resets back to the start of the line.
i'm not really all that experienced with parinfer, but recently tried out this other implementation: https://github.com/justinbarclay/parinfer-rust-mode -- don't know if that will be any better, but fwiw. btw, there is also a #parinfer
Ugh why is everything so painful with emacs... Have spent a couple of hours on this now.
I would recommend that you consider disabling parinfer and trying that out for a while.