[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: recreating the initial terminal frame
From: |
Stefan Monnier |
Subject: |
Re: recreating the initial terminal frame |
Date: |
Sun, 05 Feb 2023 14:03:12 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> I start emacs with --fg-daemon or --daemon, and then sometimes when I do
> a M-x (desktop-read "desktop-directory"), the initial terminal frame
> "F2" gets Destoyed.
Sounds like a bug.
> Conseuquently I cannot run emacs in "daemon mode"
> One gets the "Attempt to delete the sole visible or iconified frame"
> error when trying to close the last frame.
>
> Is there some way to construct the frame again?
I don't think so. IIRC when the frame is deleted the corresponding file
descriptors are closed :-(
You can circumvent the "Attempt to delete the sole visible or iconified
frame" error by creating a dummy frame on some other terminal, of
course, but it won't be quite like the initial terminal frame.
Stefan