GNU bug report logs -
#5616
23.1.92; `delete-frame' deletes the last frame when emacsclient runs
Previous Next
Reported by: p1ng2h3ng <at> gmail.com
Date: Sun, 21 Feb 2010 10:49:02 UTC
Severity: normal
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> when I run `emacs --daemon -Q' and `emacsclient -nc', then if I try `M-x
> delete-frame', emacsclient seems will delete last remaining frame
> without check or remind.
Yes, this is only marginally new: if you have frames on several
displays, then M-x delete-frame will happily delete the last frame of
a given display, as long as there are still frames on some
other display.
So the case of "emacs --daemon" is only new in that the remaining frame
is actually not visible to the user, but is instead used internally by
the "emacs --daemon" code.
The rule for delete-frame should be something like "refuse to delete
a frame if it would result in a dead Emacs process", but admittedly, the
code doesn't really enforce that either.
Stefan
This bug report was last modified 15 years and 172 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.