all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Madhu <enometh@meer.net>
To: help-gnu-emacs@gnu.org
Subject: recreating the initial terminal frame
Date: Sun, 05 Feb 2023 20:01:21 +0530	[thread overview]
Message-ID: <m3mt5sgp52.fsf@leonis4.robolove.meer.net> (raw)


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. 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'm trying make-terminal-frame and various incanations I tried cobbling
up make-frame froms from server.el but nothing seems to work.)





             reply	other threads:[~2023-02-05 14:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-05 14:31 Madhu [this message]
2023-02-05 19:03 ` recreating the initial terminal frame Stefan Monnier via Users list for the GNU Emacs text editor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3mt5sgp52.fsf@leonis4.robolove.meer.net \
    --to=enometh@meer.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.