From: Dan Nicolaescu <dann@ics.uci.edu>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 4970@emacsbugs.donarmstrong.com
Subject: bug#4970: 23.1; Emacs Gtk running nuts
Date: Fri, 20 Nov 2009 08:05:52 -0800 (PST) [thread overview]
Message-ID: <200911201605.nAKG5qXX024396@godzilla.ics.uci.edu> (raw)
In-Reply-To: <4B06714D.5020807@swipnet.se> ("Jan Djärv"'s message of "Fri, 20 Nov 2009 11:37:01 +0100")
Jan Djärv <jan.h.d@swipnet.se> writes:
> Dan Nicolaescu skrev:
> > Jan Djärv <jan.h.d@swipnet.se> writes:
> >
> > > What happens is that reading from the terminal fails and Emacs tries
> > > to remove that terminal, but in term.c:
> > > > if (last_terminal)
> > > error ("Attempt to delete the sole terminal device with live frames");
> > > > > which goes back to the command loop, tries to read agan,
> > fails, and
> > > tries to delete the terminal again, and so on.
> > > > If you remove this check, Emacs exits. But I suppose it is
> > there for
> > > a reason, but I don't know what. Anybody?
> >
> > It's there so that if you do:
> > emacs -Q -nw
> > C-x 5 0
> > does not exit emacs.
>
> Well, the check in term.c isn't preventing that. It is the check in
> frame.c delete_frame that does that:
>
> if (NILP (force) && !other_visible_frames (f))
> error ("Attempt to delete the sole visible or iconified frame");
Right.
Hmm, I think the check was intended to catch this situation:
emacs -nw -Q -f server-start
in different xterm
emacsclient -c (or emacsclient -t)
and then back into the emacs xterm:
C-x 5 0
But this does not work now, and I think it used to. :-(
next prev parent reply other threads:[~2009-11-20 16:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-23 13:44 bug#4970: 23.1; Emacs Gtk running nuts Dr. Werner Fink
2009-11-25 18:02 ` Jan Djärv
2009-11-19 10:34 ` Werner Fink
2009-11-19 19:56 ` Dan Nicolaescu
2009-11-20 8:31 ` Jan Djärv
2009-11-20 9:11 ` Dan Nicolaescu
2009-11-20 10:37 ` Jan Djärv
2009-11-20 11:14 ` Eli Zaretskii
2009-11-20 12:11 ` Jan Djärv
2009-11-20 13:11 ` Eli Zaretskii
2009-11-20 16:44 ` Jan Djärv
2009-11-20 16:05 ` Dan Nicolaescu [this message]
2009-11-25 18:10 ` bug#4970: marked as done (23.1; Emacs Gtk running nuts) Emacs bug Tracking System
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=200911201605.nAKG5qXX024396@godzilla.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=4970@emacsbugs.donarmstrong.com \
--cc=jan.h.d@swipnet.se \
/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.