This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-05-18
Channels
- # announcements (9)
- # atom-editor (29)
- # aws (17)
- # babashka (72)
- # beginners (83)
- # braveandtrue (3)
- # calva (7)
- # cider (16)
- # clj-kondo (15)
- # cljs-dev (146)
- # cljsjs (1)
- # cljsrn (8)
- # clojars (1)
- # clojure (96)
- # clojure-dev (19)
- # clojure-europe (53)
- # clojure-losangeles (1)
- # clojure-nl (3)
- # clojure-spec (7)
- # clojure-uk (235)
- # clojuredesign-podcast (5)
- # clojurescript (81)
- # conjure (73)
- # cursive (7)
- # data-science (1)
- # datomic (5)
- # defnpodcast (8)
- # emacs (3)
- # figwheel-main (34)
- # fulcro (83)
- # graalvm (10)
- # graphql (6)
- # helix (49)
- # jackdaw (3)
- # jobs (1)
- # joker (1)
- # kaocha (1)
- # mid-cities-meetup (10)
- # off-topic (17)
- # pathom (16)
- # re-frame (11)
- # reagent (18)
- # reitit (18)
- # remote-jobs (4)
- # shadow-cljs (63)
- # spacemacs (18)
- # specter (20)
- # sql (17)
- # uncomplicate (1)
- # vim (28)
- # xtdb (32)
hey all, i'd love to use clojure.walk's macroexpand-all
in vim-iced. right now, <leader>em
does normal single macro-expansion, which is helpful, but if i want see nested forms expanded, i have to move the cursor to the window and use it again, losing the context
requiring clojure.walk and then wrapping the form in (macroexpand-all)
lets me evaluate it, but then i only see the expansion in the buffer line, which is unreadable and sometimes too big to see all of
what about as a hack, adding a pprint, then going ot the stdout buffer?
sheeeeeeeit, this is awesome
thank you
my biggest annoyance with IDE-like setups is the ephemerality of results, so I often search for the option to log to a buffer instead of / as well as at the minibuffer or inline in a tooltip
yeah, it's something i miss from my meager attempts at learning emacs: i love slime's dedicated repl buffer
I end up using :term lein repl :connect NNNN
so that I can have a real repl for some commands, while using shortcuts for eg. require / reload / reset where I won't care about non-error return values
(:term is nvim only)
that sounds nice. i might have to try neovim
the one gotcha is that terminal buffers are so fully tty compatible that none of your shortcuts work (there's a new keymap, and a single C-\C-n
binding to escape terminal mode)
I'd expect eM to be just like em except grabbing the form differently -no, that's wrong
It calls https://github.com/liquidz/vim-iced/blob/f188df3db5dc7654d28e09f474f8d5b9e680b662/autoload/iced/nrepl/macro.vim#L18 and ends in https://github.com/liquidz/vim-iced/blob/f188df3db5dc7654d28e09f474f8d5b9e680b662/autoload/iced/nrepl/macro.vim#L11
lol the docs have them both as lowercase m
, so i didn't realize there was a difference
yep, that works
@nbtheduke that's strange, you might consider to create a pull request to fix it.
do i have to run anything to convert adoc
to html? or does that happen live on the site?
never heard of this file format before
I think you could just fix a function name in https://github.com/liquidz/vim-iced/blob/95c5c3572ffb8fffec727e2a42fe45e7fea0dc12/doc/pages/macro.adoc and open a pull request.
The workflow is here https://github.com/liquidz/vim-iced/blob/95c5c3572ffb8fffec727e2a42fe45e7fea0dc12/.github/workflows/document.yml
good find on the workflow
cool, i'll whip one up for you