This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-06
Channels
- # announcements (58)
- # babashka (43)
- # babashka-sci-dev (22)
- # beginners (8)
- # biff (8)
- # calva (62)
- # circleci (3)
- # clerk (6)
- # clj-kondo (27)
- # cljsrn (9)
- # clojure (61)
- # clojure-austin (4)
- # clojure-conj (3)
- # clojure-europe (11)
- # clojure-losangeles (2)
- # clojure-nl (2)
- # clojure-norway (4)
- # clojure-spain (5)
- # clojure-uk (2)
- # clojurescript (51)
- # data-science (1)
- # datascript (4)
- # emacs (33)
- # events (14)
- # funcool (14)
- # gratitude (13)
- # introduce-yourself (1)
- # jobs (9)
- # lsp (58)
- # malli (23)
- # missionary (31)
- # nextjournal (9)
- # off-topic (35)
- # proletarian (2)
- # re-frame (5)
- # remote-jobs (7)
- # shadow-cljs (2)
- # spacemacs (7)
- # sql (26)
- # testing (12)
- # vim (1)
- # web-security (3)
- # xtdb (2)
This looks great! A little off-topic, but can I ask what you used to produce the animated gif screencast?
anyone here use meow as an alternative to evil or holy emacs modes? https://github.com/meow-edit/meow
Yes I do. https://github.com/benjamin-asdf/dotfiles/blob/master/mememacs/.emacs-mememacs.d/lisp/init-meow.el this is probably not so well organized just a lot of lispy and meow stuff for my needs and taste
yes I do. The selling point for me to not use evil anymore was that evil implemented it's own search and replace even though emacs already has a system. Meow is bare metal normal emacs and gives you a modal text editing similar to vim binds.
there are still some rough edges that make me slightly less effective at text manipulation as I was with evil in the end but I am figuring those out with time
not tried meow, but I have been using boon for quite a while https://github.com/jyp/boon which gives me similar modal editing.
I've been using it for a few months now and I'm enjoying it. I'm not a power user but, as benjamin said, I like how light weight it is
my config is here. it's mainly setting up support for my keyboard layout, colemak-dh
I also have a custom "paren-mode" https://github.com/lilactown/kitten/blob/main/modules/kitten-lisp.el#L38-L65
@U4YGF4NGM did you somehow resolve the doom (evil) vs keypad tension?
I had a play with meow last night, and the tutorial was very focused on multiple cursors. There were definitely some movement things I felt I was missing. Is this fair or did I come away with the wrong impression?
I end up using x
and s
constantly and then lispy things. I honestly don't even use the multiple cursors so much yet. Also ]
[
meow-inner-thing
meow-bounds-of-thing
are crucial. Say you want to mark to the end of a paren you can do ]
r
lispy has opinions about this. usually (
)
, then hjkl
move you from sexp to sexp and importantly f
moves you inside. Ah also d
to go to the other side. I wanted to make a video about this soon ๐
@U09FL65DK I moved away from doom to my own config, which uses meow's built in keypad
Has anyone implemented a wrapper function for cider-interactive-eval
that wraps the Clojure expression in a future
for background evaluation? Does this capability already exist in CIDER somewhere? It doesnโt seem too hard to implement but I figured itโs worth asking.
IIRC each evaluation you perform in CIDER is in a separate thread, which you can verify by calling (Thread/currentThread)
repeatedly. If returning an evaluation takes more than a fixed amount of time, cider.el will handle the timeout gracefully.
You can add a future
wrapping in the same way that you could manipulate any input textually (e.g. wrap it in (tap>)
) but it may be the case that it's not worth it
Even if they are in separate threads, cider-eval-last-sexp
blocks by default until itโs done, so other evaluation has to wait. Am I correct in understanding you that there should be a timeout threshold that returns control after an eval takes sufficiently long?