changeset 107205:e91df3663a07

* frames.texi (Frame Commands): Note that the last ordinary frame can be deleted in daemon mode (Bug#5616).
author Chong Yidong <cyd@stupidchicken.com>
date Sun, 21 Feb 2010 08:35:25 -0500
parents f49497a70cf6
children 6d88094b5e63
files doc/emacs/ChangeLog doc/emacs/frames.texi
diffstat 2 files changed, 22 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/ChangeLog	Sun Feb 21 08:11:07 2010 -0500
+++ b/doc/emacs/ChangeLog	Sun Feb 21 08:35:25 2010 -0500
@@ -1,3 +1,8 @@
+2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
+
+	* frames.texi (Frame Commands): Note that the last ordinary frame can
+	be deleted in daemon mode (Bug#5616).
+
 2010-02-18  Glenn Morris  <rgm@gnu.org>
 
 	* trouble.texi (Contributing): Repository is no longer CVS.
--- a/doc/emacs/frames.texi	Sun Feb 21 08:11:07 2010 -0500
+++ b/doc/emacs/frames.texi	Sun Feb 21 08:35:25 2010 -0500
@@ -622,18 +622,24 @@
 Delete all frames except the selected one.
 @end table
 
+  The @kbd{C-x 5 0} (@code{delete-frame}) command will never delete
+the last frame, to prevent you from losing the ability to interact
+with the Emacs process.  Note that when Emacs is run as a daemon
+(@pxref{Emacs Server}), there is always a ``virtual frame'' that
+remains after all the ordinary, interactive frames are deleted.  In
+this case, @kbd{C-x 5 0} can delete the last interactive frame; you
+can use @command{emacsclient} to reconnect to the Emacs session.
+
 @vindex focus-follows-mouse
-  To make the command @kbd{C-x 5 o} work properly, you should tell
-Emacs how the system (or the window manager) handles focus-switching
-between windows.  There are two possibilities: either simply moving
-the mouse onto a window selects it (gives it focus), or you have to
-click on it to do so.  On X, this focus policy also affects whether
-the focus is given to a frame that Emacs raises.  Unfortunately there
-is no way Emacs can find out automatically which way the system
-handles this, so you have to explicitly say, by setting the variable
-@code{focus-follows-mouse}.  If just moving the mouse onto a window
-selects it, that variable should be @code{t}; if a click is necessary,
-the variable should be @code{nil}.  The default is @code{t}.
+  On X, you may have to tell Emacs how the system (or the window
+manager) handles focus-switching between windows, in order for the
+command @kbd{C-x 5 o} (@code{other-frame}) to work properly.
+Unfortunately, there is no way for Emacs to detect this automatically,
+so you should set the variable @code{focus-follows-mouse}.  If simply
+moving the mouse onto a window selects it and gives it focus, the
+variable should be @code{t}; if you have to click on the window to
+select it, the variable should be @code{nil}.  The default is
+@code{t}.
 
   The window manager that is part of MS-Windows always gives focus to
 a frame that raises, so this variable has no effect in the native