Post AJYLKBQL52EmLLYhe4 by hugot@mstdn.social
(DIR) More posts by hugot@mstdn.social
(DIR) Post #AJYJ6yO42UhuEo4GX2 by xerz@fedi.xerz.one
2022-05-17T19:07:01.365002Z
0 likes, 0 repeats
So the solution to Emacs being a largely single-threaded text UI is… to make it an Emacs-web hybrid…? :blobcatderpy: https://github.com/emacs-ng/emacs-ng/
(DIR) Post #AJYKkfZ3XaovOihZWC by xerz@fedi.xerz.one
2022-05-17T19:25:23.444466Z
0 likes, 0 repeats
Oh hey, a good old Rust titlebar :blobcrab: It… otherwise looks just like Emacs, tho.But why :blobcatthinking:
(DIR) Post #AJYKmyg5RsPdFw5hpY by xerz@fedi.xerz.one
2022-05-17T19:25:49.100071Z
0 likes, 0 repeats
should it even call itself GNU Emacs when it is a superset with a JS runtime?
(DIR) Post #AJYL22ULYxzJPzmWCe by xerz@fedi.xerz.one
2022-05-17T19:28:32.134303Z
0 likes, 0 repeats
it does use WebRender too, but it doesn't look unusual at all – you wouldn't know at a first glanceI installed from AUR: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=emacs-ng&id=70526cc66505622446a286a772b1b9e5e8e96b3c
(DIR) Post #AJYL6lyGOz0vdd230q by hugot@mstdn.social
2022-05-17T19:27:27Z
0 likes, 0 repeats
@xerz Oof I don't know if I could get used to having to configure/debug javascript packages. I may be alone in this but I like my elisp a lot more than my javascript. Especially since I discovered that I can basically write lisp like I write go using structs, methods and closures.
(DIR) Post #AJYL6mJX7u1mhaz2AK by xerz@fedi.xerz.one
2022-05-17T19:29:23.697516Z
0 likes, 0 repeats
@hugot the authors of emacs-ng probably don’t disagree with you, but I guess it’s just easier to do threading by adding an extra library with JS to call from your ELisp packages :blobcatderpy:
(DIR) Post #AJYLKBQL52EmLLYhe4 by hugot@mstdn.social
2022-05-17T19:31:05Z
1 likes, 0 repeats
@xerz You're probably right! Having worked with collaborative elisp threading recently I would be the first to admit that it definitely isn't ideal 😄
(DIR) Post #AJYLP5ibihTw62RaKG by xerz@fedi.xerz.one
2022-05-17T19:32:42.482203Z
0 likes, 0 repeats
The only sign I’ve found so far that this is a revamped UI is that I can resize the actual window (not the Emacs windows, the window for Emacs, yes, exactly, right, ah-huh) pixel-by-pixel :blobcatsip:
(DIR) Post #AJYLUnCxSEVQQOMJ8q by xerz@fedi.xerz.one
2022-05-17T19:33:44.004778Z
0 likes, 0 repeats
When resizing, the text vanishes from a few ms and comes back, probably because there’s still a lot of single-threading going on
(DIR) Post #AJYLVanr3q8QF0zxxI by xerz@fedi.xerz.one
2022-05-17T19:33:52.994133Z
0 likes, 0 repeats
When resizing, the text vanishes for a few ms and comes back, probably because there’s still a lot of single-threading going on
(DIR) Post #AJYLhbZm0sXM758jwG by xerz@fedi.xerz.one
2022-05-17T19:36:02.380690Z
0 likes, 0 repeats
so ye
(DIR) Post #AJYLnkTDrCgFR60O7k by xerz@fedi.xerz.one
2022-05-17T19:37:09.678992Z
0 likes, 0 repeats
anyway I’m not sure this is a solution unless the Emacs Lisp for the editor is rewritten, so I’ll stick to VSCodium :blobcatuwu:
(DIR) Post #AJYLypx5ofmFcgGRYu by xerz@fedi.xerz.one
2022-05-17T19:39:09.339069Z
0 likes, 0 repeats
also, it works on the terminal too, so at least there’s that