This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-05
Channels
- # announcements (8)
- # babashka (6)
- # beginners (55)
- # biff (8)
- # calva (11)
- # cider (4)
- # clj-kondo (6)
- # cljdoc (23)
- # cljs-dev (22)
- # clojure (89)
- # clojure-brasil (3)
- # clojure-europe (47)
- # clojure-indonesia (1)
- # clojure-nl (1)
- # clojure-spec (3)
- # clojure-uk (5)
- # clojurescript (67)
- # community-development (2)
- # conjure (29)
- # cursive (2)
- # datalog (29)
- # datomic (41)
- # defnpodcast (4)
- # emacs (15)
- # google-cloud (5)
- # holy-lambda (6)
- # hyperfiddle (3)
- # introduce-yourself (8)
- # jobs (1)
- # malli (19)
- # meander (41)
- # nrepl (1)
- # off-topic (30)
- # pathom (22)
- # polylith (30)
- # releases (1)
- # remote-jobs (4)
- # sci (4)
- # shadow-cljs (1)
- # spacemacs (7)
- # specter (3)
- # tools-build (16)
- # tools-deps (2)
Hi everyone, My Spacemacs keeps freezing for 6-7~ seconds while typing. I'm using practicalli's dot.spacemacs with some modifications (clj-kondo instead of lsp, relative line numbers and aggressive indenting for clj)
Emacs 27.2
Spacemac's on the latest commit from develop
Any help is appreciated
Thanks a lotIf LSP had been running, I would have suggested a conflict between LSP formatting and aggressive-indent. I would start by disabling aggressive-indent and see if it makes a difference
you can M-x
toggle-debug-on-quit
and when emacs freeze type C-g
, it should stop and tell where it was frozen so you can debug it better
Thanks @U05254DQM Yeah I’ve tried that but still got freezes
Thanks @UKFSJSM38 I’ll try that
SPC SPC toggle-debug-on-quit
and using C-g
(may have to press several times) to get a back trace is very useful to identify the functions called leading up to a freeze (the newest calls at the top)
The weirdest issue I had like this was with the compositor library, lagging behind the redrawing of the Emacs window. So changes happened, but I didn't see the results for a few seconds, making it look like a freeze.
I would also try using Emacs without a Spacemacs config, either move .spacemacs.d or start Emacs with the -Q option, emacs -Q