From: Dan Nicolaescu <dann@ics.uci.edu>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Teemu Likonen <tlikonen@iki.fi>, 3442@emacsbugs.donarmstrong.com
Subject: bug#3442: 23.0.94; "C-x 5 1" (delete-other-frames) kills daemon
Date: Thu, 4 Jun 2009 18:25:09 -0700 (PDT) [thread overview]
Message-ID: <200906050125.n551P9ot018376@godzilla.ics.uci.edu> (raw)
In-Reply-To: <jwvmy8nkg07.fsf-monnier+emacsbugreports@gnu.org> (Stefan Monnier's message of "Thu, 04 Jun 2009 14:31:46 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> >> When Emacs daemon is running and a client frame is active, executing
> >> delete-other-frames command (C-x 5 1) kills the daemon and makes the
> >> Emacs session just a normal server session which requires that one frame
> >> exists. To reproduce:
>
> > Indeed, C-x 5 1 should only delete the frames on the current terminal,
> > whereas it currently kills *all* the frames on all terminals (including
> > the special internal terminal used for the daemon).
>
> I've installed a patch that makes C-x 5 1 only delete frames on the same
> terminal, which should fix this issue.
That's a behavior change, isn't it?
Maybe people use C-x 5 1 to remove the rest of the frames on all
terminals... (I personally have never used C-x 5 1)
If we don't want to change the C-x 5 1 behavior, we can just avoid
deleting the daaemon special frame, i.e.:
+ (unless (or (eq (frame-parameter frame 'minibuffer) 'only)
+ ;; Take care not to delete the special frame that
+ ;; the daemon uses.
+ (and is-daemon (eq frame terminal-frame)))
where is-daemon is let bound to (daemonp)
next prev parent reply other threads:[~2009-06-05 1:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <jwv4ouhl07j.fsf-monnier+emacsbugreports@gnu.org>
2009-06-01 12:36 ` bug#3442: 23.0.94; "C-x 5 1" (delete-other-frames) kills daemon Teemu Likonen
2009-06-01 13:28 ` Teemu Likonen
2009-06-03 19:43 ` Stefan Monnier
2009-06-04 18:31 ` Stefan Monnier
2009-06-05 1:25 ` Dan Nicolaescu [this message]
2009-06-05 3:20 ` Eli Zaretskii
2009-06-05 4:13 ` Teemu Likonen
2009-06-05 14:41 ` Stefan Monnier
2009-06-13 21:53 ` Teemu Likonen
2009-06-15 20:25 ` bug#3442: marked as done (23.0.94; "C-x 5 1" (delete-other-frames) kills daemon) 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200906050125.n551P9ot018376@godzilla.ics.uci.edu \
--to=dann@ics.uci.edu \
--cc=3442@emacsbugs.donarmstrong.com \
--cc=monnier@iro.umontreal.ca \
--cc=tlikonen@iki.fi \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).