Subject: Re: bug#36902: Emacs crashed under X11 suddenly

From: Eli Zaretskii <[email-masked]>
Date: Sun, 11 Aug 2019 17:18:39 +0300

> From: leo <[email-masked]>
> Cc: [email-masked]
> Date: Sun, 11 Aug 2019 19:35:23 +1000
> 
> Yes, I have sometimes trouble interrupted X sessions.
> 
> Sorry to hog you her on the bugs email, but is there a way to keep emacs 
> alive when the X session disappears? And then later, is it possible to 
> reconnect to that emacs session via a DISPLAY?

You could start Emacs as a daemon and close the frames when you make a
break, then X problems should not cause any harm, and you can restore
the frames later with emacsclient.

Otherwise, I don't think we can survive X problems which happen while
you actually type.