From portal, recommended in clojurians.
Looks like some great patterns for pretty-printing running tasks.
Adding portal as a dep to org-blog, and improving my emacs clojure bindings. I now have a hydra dedicated to cider -eval commands for tools like systemic, wing, portal, and clerk.
Portal
is an interactive data inspector for
working with clojure's
tap>
feature. It is a bit like
println
-ing values, but less like a neanderthal
and more like an interactive
lisp developer.
TIL you can undo whatever git action you just took pretty easily:
git reset --soft HEAD@{1}
In my case, I had amended a change to the latest commit, when I should have instant-fix-up-ed it to the second to latest commit. Now my last commit is muddied!
Running this is a literal undo - the staged bit is returned to staged, and we're back in time to meld it into the proper commit.
Thanks, git-fu!
Worked really great, tbh.
doom install instructions: https://github.com/babashka/neil#emacs-integration
M-x neil-find-clojure-package
just-works,
deps.edn
updated!
---
update: further usage added the dep to a totally new
deps.edn in
src/deps.edn
.
So, not perfect yet. I'd bet it's expected to be used from
the project root.
I've been trying to focus in on some #GodotEngine #GameDev today, but focus can be a real struggle sometimes.
I keep finding myself in a #clojure repl or writing in my #org journal... I wish I could clojure-repl against the godot game!
I'm probably just staying in my comfort zone. Gotta break out of it!
from cameron, example imenu integration for re-frame.
(general-add-hook
'clojurescript-mode-hook
(lambda ()
(add-to-list 'imenu-generic-expression
'("Spec" "s/def[[:blank:]\n]+:+\\(.*\\)" 1))
(add-to-list 'imenu-generic-expression
'("Effect" "reg-fx[[:blank:]\n]+:+\\(.*\\)" 1))
(add-to-list 'imenu-generic-expression
'("Coeffect" "reg-cofx[[:blank:]\n]+:+\\(.*\\)" 1))
(add-to-list 'imenu-generic-expression
'("Event" "reg-event-\\(db\\|fx\\)[[:blank:]\n]+:+\\(.*\\)" 2))
(add-to-list 'imenu-generic-expression
'("Sub" "reg-sub[[:blank:]\n]+:+\\(.*\\)" 1))))