This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-09
Channels
- # aws (3)
- # beginners (61)
- # boot (1)
- # cider (80)
- # clara (5)
- # cljs-dev (5)
- # cljsrn (19)
- # clojure (40)
- # clojure-dev (29)
- # clojure-dusseldorf (2)
- # clojure-greece (21)
- # clojure-italy (16)
- # clojure-russia (7)
- # clojure-spec (31)
- # clojure-uk (70)
- # clojurescript (31)
- # cursive (21)
- # data-science (5)
- # emacs (7)
- # fulcro (23)
- # graphql (4)
- # java (18)
- # jobs (1)
- # jobs-discuss (25)
- # juxt (14)
- # nrepl (2)
- # off-topic (18)
- # om-next (2)
- # onyx (3)
- # re-frame (16)
- # reagent (50)
- # ring-swagger (5)
- # shadow-cljs (70)
- # specter (5)
- # sql (24)
- # tools-deps (16)
- # vim (41)
Is there an easy way to stop emacs from re-centering the cursor when using cider-repl-backward-input? It doesn't always do it, just often enough to be seriously distracting 😕
I've never questioned this eldoc behaviour until now, I believe I've never seen eldoc behave otherwise. So it's like this, imagine the pipe is the cursor:
(set |)
____
set: (SYMBOL NEWVAL)
____
I delete one char and the minibuffer is empty
(set|)
____
____
I move right
(set)|
____
____
I move back left and I get the eldoc info back
(set|)
____
set: (SYMBOL NEWVAL)
____
So I tend to be constantly moveing around with the arrows to retrigger the eldoc. Is there a config/workaround to have the eldoc not disappear on the doing backspace?Mm maybe there is a way but it seems normal behavior to me
How does it know you are not done writing the function name if there is no space? @hlolli
@andrea.crotti it knows the function name, you can see that for two reasons, one that by moveing the cursor from right to left without adding a space, will show the eldoc in the minibuffer (this is probably due to syntax-table mechanism), another reason is that I can add any amount of spaces
(set |)
____
set: (SYMBOL NEWVAL)
____
then I click backspace and the eldoc is gone
(set |)
____
____
I have a theory that this is eldoc trying to be efficient, because when clicking space you're much likely to be next to a symbol that eldoc can find, vs clicking backspace you can be deleting a symbol, and the odds are much lower that it renders result. But I'd like to send eldoc to work anyway, my computer is fast enough and I think this optimization is not neccecary.