🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

6 total messages Started by Donio Fri, 13 Nov 2026 07:11
Re: Will Emacs support GTK4? Future of Emacs on Wayland?
#92
Author: Donio
Date: Fri, 13 Nov 2026 07:11
28 lines
2467 bytes
Mekeor Melire <mekeor@posteo.de> writes:

> 2025-10-18 10:28 nunojsilva@invalid.invalid:
>
>> What about X11-enabled builds with "no" in the toolkit option,
>> what do these use?
>
> Oh, that's a good question.  I'd need to do some research to find
> the answer...

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.
Re: Will Emacs support GTK4? Future of Emacs on Wayland?
#93
Author: 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
Re: Will Emacs support GTK4? Future of Emacs on Wayland?
#95
Author: Aidan Kehoe
Date: Fri, 13 Nov 2026 13:40
30 lines
2432 bytes
 Ar an dara lå déag de mí na Samhna, scríobh Donio: 

 > [...] 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.

Did they fix it? That would be a pleasant surprise and at odds with the GTK
way.

 > 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.

-- 
‘As I sat looking up at the Guinness ad, I could never figure out /
How your man stayed up on the surfboard after fourteen pints of stout’
(C. Moore)
Re: Will Emacs support GTK4? Future of Emacs on Wayland?
#98
Author: Donio
Date: Fri, 13 Nov 2026 21:21
13 lines
1943 bytes
Aidan Kehoe <kehoea@parhasard.net> writes:

>  Ar an dara lå déag de mí na Samhna, scríobh Donio: 
>  > 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.
>
> Did they fix it? That would be a pleasant surprise and at odds with the GTK
> way.

There was some recent progress but it doesn't look like it's properly
fixed yet: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=81124
Re: Will Emacs support GTK4? Future of Emacs on Wayland?
#99
Author: Aidan Kehoe
Date: Fri, 13 Nov 2026 22:05
27 lines
2396 bytes
 Ar an triĂș lĂĄ dĂ©ag de mĂ­ na Samhna, scrĂ­obh Donio: 

 > Aidan Kehoe <kehoea@parhasard.net> writes:
 > 
 > >  Ar an dara lå déag de mí na Samhna, scríobh Donio: 
 > >  > 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.
 > >
 > > Did they fix it? That would be a pleasant surprise and at odds with the
 > > GTK way.
 > 
 > There was some recent progress but it doesn't look like it's properly
 > fixed yet: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=81124

Ah, any attempts to fix from the GNU Emacs side; that’s the good old GTK way.
Thanks for the update. (I would say “never change, GTK” but, well, it would be
nice if GTK fixed its longstanding bugs, recognised that needlessly changing
their APIs does real damage to small projects without large development
resources, or seemed in general to be run by adults.)

-- 
‘As I sat looking up at the Guinness ad, I could never figure out /
How your man stayed up on the surfboard after fourteen pints of stout’
(C. Moore)
Re: Will Emacs support GTK4? Future of Emacs on Wayland?
#100
Author: Anton Antimo
Date: Mon, 16 Nov 2026 13:08
21 lines
2004 bytes
Donio <usenet@bogus.invalid> writes:

> Mekeor Melire <mekeor@posteo.de> writes:
>
>> 2025-10-18 10:28 nunojsilva@invalid.invalid:
>>
>>> What about X11-enabled builds with "no" in the toolkit option,
>>> what do these use?
>>
>> Oh, that's a good question.  I'd need to do some research to find
>> the answer...
>
> 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(). 

You got me interested.  I run the GNU EMACS built by Void Linux.  I
guess I have to build it myself from now on.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads