diff options
| author | Chong Yidong | 2010-02-21 08:35:25 -0500 |
|---|---|---|
| committer | Chong Yidong | 2010-02-21 08:35:25 -0500 |
| commit | a1e759cdee1e55574f5395efc046985ab05faef1 (patch) | |
| tree | f00c1c54da7690079e10809a0f2269704f051bd9 | |
| parent | bb23f6e82467a9939b1ae4d1a2fb0a923838afee (diff) | |
| download | emacs-a1e759cdee1e55574f5395efc046985ab05faef1.tar.gz emacs-a1e759cdee1e55574f5395efc046985ab05faef1.zip | |
* frames.texi (Frame Commands): Note that the last ordinary frame can
be deleted in daemon mode (Bug#5616).
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/frames.texi | 28 |
2 files changed, 22 insertions, 11 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 7989201aac5..f2c96ac45e8 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-02-21 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * frames.texi (Frame Commands): Note that the last ordinary frame can | ||
| 4 | be deleted in daemon mode (Bug#5616). | ||
| 5 | |||
| 1 | 2010-02-18 Glenn Morris <rgm@gnu.org> | 6 | 2010-02-18 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * trouble.texi (Contributing): Repository is no longer CVS. | 8 | * trouble.texi (Contributing): Repository is no longer CVS. |
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index efdf50791c0..09dbff896dc 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -622,18 +622,24 @@ terminal. | |||
| 622 | Delete all frames except the selected one. | 622 | Delete all frames except the selected one. |
| 623 | @end table | 623 | @end table |
| 624 | 624 | ||
| 625 | The @kbd{C-x 5 0} (@code{delete-frame}) command will never delete | ||
| 626 | the last frame, to prevent you from losing the ability to interact | ||
| 627 | with the Emacs process. Note that when Emacs is run as a daemon | ||
| 628 | (@pxref{Emacs Server}), there is always a ``virtual frame'' that | ||
| 629 | remains after all the ordinary, interactive frames are deleted. In | ||
| 630 | this case, @kbd{C-x 5 0} can delete the last interactive frame; you | ||
| 631 | can use @command{emacsclient} to reconnect to the Emacs session. | ||
| 632 | |||
| 625 | @vindex focus-follows-mouse | 633 | @vindex focus-follows-mouse |
| 626 | To make the command @kbd{C-x 5 o} work properly, you should tell | 634 | On X, you may have to tell Emacs how the system (or the window |
| 627 | Emacs how the system (or the window manager) handles focus-switching | 635 | manager) handles focus-switching between windows, in order for the |
| 628 | between windows. There are two possibilities: either simply moving | 636 | command @kbd{C-x 5 o} (@code{other-frame}) to work properly. |
| 629 | the mouse onto a window selects it (gives it focus), or you have to | 637 | Unfortunately, there is no way for Emacs to detect this automatically, |
| 630 | click on it to do so. On X, this focus policy also affects whether | 638 | so you should set the variable @code{focus-follows-mouse}. If simply |
| 631 | the focus is given to a frame that Emacs raises. Unfortunately there | 639 | moving the mouse onto a window selects it and gives it focus, the |
| 632 | is no way Emacs can find out automatically which way the system | 640 | variable should be @code{t}; if you have to click on the window to |
| 633 | handles this, so you have to explicitly say, by setting the variable | 641 | select it, the variable should be @code{nil}. The default is |
| 634 | @code{focus-follows-mouse}. If just moving the mouse onto a window | 642 | @code{t}. |
| 635 | selects it, that variable should be @code{t}; if a click is necessary, | ||
| 636 | the variable should be @code{nil}. The default is @code{t}. | ||
| 637 | 643 | ||
| 638 | The window manager that is part of MS-Windows always gives focus to | 644 | The window manager that is part of MS-Windows always gives focus to |
| 639 | a frame that raises, so this variable has no effect in the native | 645 | a frame that raises, so this variable has no effect in the native |