humbleui

boosja 2025-08-22T10:53:47.173729Z

Hi! Not exactly humbleui related, but I'm experimenting with skija and jwm. I'm wondering if it's possible to have a working REPL running in Emacs while a jwm window is open? Code in ๐Ÿงต As I understand it (doto (Thread. #(clojure.main/main)) (.start)) should make a REPL available, but how do I connect to it in Emacs? I have tried running the system in different ways: 1. Starting a REPL with cider-jack-in-clj inside Emacs and then evaluating (-main). This works, but the REPL is unresponsive after the window has opened. 2. clj -J-XstartOnFirstThread -M -m bemacs.core works and opens a REPL in the terminal, but how do I connect to it in Emacs? 3. clj -M -m bemacs.core also works but same as 2. Somebody who can help? ๐Ÿ™

boosja 2025-08-22T10:54:07.151229Z

Albert 2025-08-22T11:47:41.132459Z

basic idea is to start a repl server ( could be nrepl, socket-repl ) in separate thread and then start your gui. https://github.com/HumbleUI/HumbleUI/blob/main/dev/user.clj

๐Ÿ‘ 1
Albert 2025-08-22T11:48:11.757659Z

then you can connect to the repl server and start working.

boosja 2025-08-22T13:57:29.479109Z

Thanks, will check it out ๐Ÿ™