🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #93

Re: Will Emacs support GTK4? Future of Emacs on Wayland?

#93
From: Matto Fransen
Date: Fri, 13 Nov 2026 09:37
32 lines
2560 bytes
Hi,

On 12 November 2026 23:11 Donio, wrote:

> I am a year late but I figure I'd chime in since I've been running
> --without-x-toolkit builds for the past 25 years or so.
>
> When built this way Emacs does everything directly using Xlib calls,
> this includes window creation and drawing primitives using calls like
> XFillRectangle(). 
>
> The --without-x-toolkit GUI elements are quite basic so running Emacs in
> this mode mostly make sense if you want to disable scrollbars and the
> like anyway. Otherwise it works great and it can still display images,
> draw svg or use Xft or Cairo if you want modern font rendering.
>
> One big advantage of such a build compared to the Gtk one is that it can
> survive an X11 disconnect or server crash. Gtk had a very long standing
> bug where it was impossible to gracefully handle a server
> disconnect. This is important if you like to keep your Emacs sessions
> around for weeks or months or if you attach to multiple displays from
> the same session.

I usually build with `--with-x-toolkit=lucid'

After reading your message, I just built with `--without-x-toolkit', so
far the only noticeable difference is how the menus look. So, I think
I'll keep this change :)

Best regards,

Matto
Technical Details
Message-ID: <86y0axxebd.fsf@x1.tradesystem.nl>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <87v7kft6af.fsf@posteo.de> <874irzufr0.fsf@parhasard.net> <10crv4g$38ask$1@dont-email.me> <87347hpqpb.fsf@posteo.de> <10cvmjf$1n4gn$1@dont-email.me> <87ms5lu3o5.fsf@posteo.de> <m38q2xqk7s.fsf@kismala.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Matto Fransen <mattof@sdf.org>
Newsgroups: comp.emacs
Subject: Re: Will Emacs support GTK4? Future of Emacs on Wayland?
Date: Fri, 13 Nov 2026 10:37:10 +0100
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <86y0axxebd.fsf@x1.tradesystem.nl>
References: <87v7kft6af.fsf@posteo.de> <874irzufr0.fsf@parhasard.net>
	<10crv4g$38ask$1@dont-email.me> <87347hpqpb.fsf@posteo.de>
	<10cvmjf$1n4gn$1@dont-email.me> <87ms5lu3o5.fsf@posteo.de>
	<m38q2xqk7s.fsf@kismala.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 13 Nov 2026 09:37:13 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="752171"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/YtHKx/aasJQQ8A0m9R+eZ"; posting-host="7e2e31e47bf28009a3ed00641cb74b73"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:y9slYIVS/T7h7CpFzjtCdq5PxdE=
	sha1:PqTecYiRJUesWJAY/RI1ZhlVgHM= sha256:hBVij2jIz8L8XMoXsOVNFwJs4ePvyS0VkkVty8+waps=
	sha1:bviMynXy1n0InF5GAKJ1OrTFrlU= sha256:icFx/mWSRZFRCeTb0pjbLNTi2H54iMXnL2mAsJNhF2c=