This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-05-28
Channels
- # announcements (11)
- # aws (30)
- # beginners (98)
- # calva (11)
- # cider (42)
- # clj-kondo (4)
- # cljdoc (1)
- # cljsrn (5)
- # clojure (132)
- # clojure-europe (4)
- # clojure-ireland (1)
- # clojure-italy (35)
- # clojure-japan (2)
- # clojure-nl (5)
- # clojure-spec (5)
- # clojure-uk (24)
- # clojurescript (71)
- # clojutre (1)
- # core-async (6)
- # cursive (9)
- # data-science (4)
- # datascript (3)
- # datomic (78)
- # duct (16)
- # emacs (14)
- # events (2)
- # fulcro (141)
- # graalvm (5)
- # hoplon (14)
- # hyperfiddle (2)
- # jobs-discuss (14)
- # joker (8)
- # luminus (2)
- # off-topic (7)
- # om (1)
- # pathom (4)
- # pedestal (7)
- # planck (2)
- # quil (1)
- # re-frame (14)
- # reagent (2)
- # reitit (14)
- # robots (1)
- # shadow-cljs (20)
- # spacemacs (25)
- # specter (1)
- # sql (122)
- # tools-deps (63)
- # unrepl (2)
- # yada (34)
Hello. Just wanted to share this. I was having issues again with my current clj project, freezing on jack-in (I could un-freeze it with C-d 3 or 4 times). Similar to https://github.com/clojure-emacs/cider/issues/1311. Last time I've fixed that by upgrading some packages and dependencies but this time it was harder. I was trying to debug it but gave up and decided to move to develop
branch, now everything is faster and no freezing. So I really recommend it. Just follow @jr0cket’s advice and don't be afraid of develop
🙂
Once Spacemacs 0.300.x is released, it should be okay to be on master again. Until that time, develop is the most stable version for Clojure development.
has it every happened to anybody that spacemacs sometimes completely loses the undo stack?
@andrea.imparato Yes... Something seems to have stopped a full undo history being kept sometime in the last month or three...
I really would like to figure out what is causing this bug. Later this week I will do some testing to see if its a package or if its something in Spacemacs itself.
The undo bug has been reported in this issue https://github.com/syl20bnr/spacemacs/issues/12110
thanks a lot @jr0cket 🙂
does anyone run into the problem where the spacemacs menu is stuck in the open state?
Never seen this. Can you expand on what's happening?
I assume it's not a transient state menu, but the menu when you press SPC
by itself
Is the spacemacs menu sticking for a particular key press, always sticking or just at random?
If it's a specific key press then it could be an issue with a package. If it's random, then it will be very hard to diagnose without starting with a clean Spacemacs setup. If that the case, try moving your .spacemacs
and resarting Emacs
hi @jr0cket I find that sometimes the minibuffer gets stuck in the "open" state - probably because of typing the wrong keystroke. The problem is solved by restarting Emacs but I thought there might have been a well-known "reset minibuffer" command that I wasn't aware of.
to be more specific about the problem itself: the minibuffer remains open with the which-key menu showing after the SPC command has been completed
another question, is there a way to add a layer “on the fly” or do I always have to restart emacs?
Spacemacs will prompt you to install a layer if you open a recognised file extension, eg. if you open project.clj
Spacemacs would ask you if you want to install the layer.
For all but the simplest of layers, I would always recommend a restart of Emacs though
it seems you do @ag 🙂
does anyone know how I can automatically indent with-let
(from reagent) the same way as normal let
?
at the moment it works like this:
(with-let [a {:some "value"}
another-a {:some "other value"}])
and I’d like to indent it as
(with-let [a {:some "value"}
another-a {:some "other value"}])
It already seems to be there in the latest version of clojure-mode.el
(defcustom clojure-align-binding-forms
'("let" "when-let" "when-some" "if-let" "if-some" "binding" "loop"
"doseq" "for" "with-open" "with-local-vars" "with-redefs")
"List of strings matching forms that have binding forms."
:package-version '(clojure-mode . "5.1")
:safe #'listp
:type '(repeat string))