This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-23
Channels
- # adventofcode (16)
- # babashka (41)
- # beginners (31)
- # biff (1)
- # calva (9)
- # clj-otel (2)
- # clojure (124)
- # clojure-austin (1)
- # clojure-belgium (1)
- # clojure-europe (11)
- # clojure-nl (3)
- # clojure-norway (8)
- # clojure-uk (5)
- # clojuredesign-podcast (10)
- # cryogen (1)
- # cursive (4)
- # data-science (1)
- # datomic (12)
- # emacs (37)
- # events (2)
- # fulcro (13)
- # guix (1)
- # honeysql (1)
- # hyperfiddle (8)
- # jobs (1)
- # missionary (21)
- # overtone (3)
- # pathom (6)
- # polylith (1)
- # portal (1)
- # practicalli (1)
- # releases (1)
- # remote-jobs (13)
- # ring (2)
- # sci (14)
- # shadow-cljs (23)
- # squint (4)
hello, I have a small babashka script that manipulates images and I’m using it mainly from emacs through the cider
repl.
Is there any way to show an image in the repl?
For now I open the image in another buffer with C-x f img-path
, but I would like to script also that step if possible.
See https://github.com/clojure-emacs/cider/issues/2825#issuecomment-710691762 LMK if it works for you after enabling the relevant defcustom :)
I copied that snippet in my .emacs
file, after restarting emacs and trying to print a file in the REPL, it doesn’t seem to render the image
user> ( script/img-in)
#object[java.io.File 0x64642b09 "/Users/.../notes_workspace/imgs/Pasted image 20231123122707.png"]
(
worked for me (it's the very first time I had tried this functionality)
can you confirm whether that particular url works for you?