This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-24
Channels
- # announcements (22)
- # babashka (33)
- # babashka-sci-dev (161)
- # beginners (25)
- # calva (57)
- # cider (6)
- # clara (6)
- # clerk (14)
- # clj-kondo (24)
- # clojars (10)
- # clojure (65)
- # clojure-austin (1)
- # clojure-conj (2)
- # clojure-europe (23)
- # clojure-miami (3)
- # clojure-nl (3)
- # clojure-norway (3)
- # clojure-uk (3)
- # clojurescript (28)
- # cursive (24)
- # datomic (136)
- # emacs (38)
- # graalvm (29)
- # graphql (3)
- # introduce-yourself (8)
- # jackdaw (4)
- # jobs-discuss (9)
- # malli (5)
- # nbb (36)
- # off-topic (11)
- # pathom (58)
- # polylith (2)
- # practicalli (1)
- # re-frame (5)
- # reagent (11)
- # releases (1)
- # remote-jobs (8)
- # sci (15)
- # shadow-cljs (31)
- # slack-help (2)
- # spacemacs (11)
- # sql (7)
- # tools-build (9)
When i get an java exception the cursor jumps to the top of the page. How do i make that not happen? why is it happening?
Do you mean the cursor jumps to the buffer that shows the exception instead of staying in the source code buffer (where I assume the code was evaluated and caused the exception to occur)? I am sure that is a cider variable, something like jump to exception...
If I understand correctly, its probably one of these CIDER eval variables that can be set to disable the behaviour that is not required (not sure which one exactly) https://practical.li/spacemacs/reference/cider/configuration-variables/#cider-evalel
There may be some more useful information in these cider docs https://docs.cider.mx/cider/usage/dealing_with_errors.html
No I mean it jumps to the top of the namespace. I can't imagine why this would be desirable or what's causing it to happen.
Oh, then something seems very broken.... You could try adding this to the dotspaceamcs/user-config
(setq cider-auto-select-error-buffer nil)
but might help narrow the issue down to CIDER if it stops the jumping... and then a bug can be reported with CIDER or Clojure-mode. If its still jumps then its probably not cider.... but I dont know enough to be definate
Or disable the Error popup all together and see if its still happens...
(setq cider-show-error-buffer nil)
I'd also switch of clj-refactor if its on and stop the clojure lsp server as other possible things to make the cursor jump
I was wrong before when i said an error caused the cursor to jump to the top of the page. It happens right now when i try to auto-complete. 😢
Curious. I sometimes get the cursor jump to the bottom of the buffer when the autocompletion popup appears. It seems to be most prevalent when the cursor is something like last 10-15 lines from the bottom. It's happened on Spacemacs and a couple of time on Emacs Doom. So assume it's either a package or something built into Emacs that is the cause