Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Next: , Previous: Creating Frames, Up: Frames


26.8 Frame Commands

The following commands let you create, delete and operate on frames:

C-z
Iconify the selected Emacs frame (iconify-or-deiconify-frame). The normal meaning of C-z, to suspend Emacs, is not useful under a window system, so it has a different binding in that case.

If you type this command on an Emacs frame's icon, it deiconifies the frame.

C-x 5 0
Delete the selected frame (delete-frame). This is not allowed if there is only one frame.
C-x 5 o
Select another frame, raise it, and warp the mouse to it so that it stays selected. If you repeat this command, it cycles through all the frames on your terminal.
C-x 5 1
Delete all frames except the selected one.

To make the command C-x 5 o work properly, you must tell Emacs how the system (or the window manager) generally 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 in a suitable way to do so. 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 focus-follows-mouse. If just moving the mouse onto a window selects it, that variable should be t; if a click is necessary, the variable should be nil.


 
 
  Published under the terms of the GNU General Public License Design by Interspire