Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Emacs 29.0.90 pretest is available (lists.gnu.org)
27 points by abudabi123 on April 11, 2023 | hide | past | favorite | 2 comments


From the changelog/news file:

> Emacs now supports being built with pure GTK. ... the resulting Emacs binary will work on any underlying window system supported by GDK, such as Wayland and Broadway.

This is really cool. Wayland support in emacs has been really complicated to build because

" To work with the X window system, Emacs pretends that an X window is, in fact, a terminal. As is its usual practice, Emacs deals with X at the lowest level, processing as much X interaction through Lisp code as possible.

At some point, the X redisplay code was ported to the GTK toolkit, but that port is a sort of false front; windows are created with GTK, but then all events in that window are forwarded directly to the Lisp engine. Even with GTK3, Emacs is still using much of its old code, handling drawing and events at the X level. "[0]

[0] https://lwn.net/Articles/843896/


The pgtk branch is really nice, I've had way less trouble with that than any other UI option.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: