# Window Commands

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## WINDOW COMMANDS

MicroEmacs uses windows to display and allow you to edit the contents of buffers. Multiple windows may be present on the screen at once, each is separated by a mode line which describes the contents of the window above it.

You can scroll text vertically and horizontally within a window by using the cursor commands. Note that if a line of text extends beyond the boundary of a window, a dollar "$" sign is displayed instead of the first/last visible character.

Commands that operate on windows are defined as follows:

## Commands

change-window-depth(2) Change the depth of the current window
change-window-width(2) Change the width of the current window
compare-windows(2) Compare buffer windows, ignore whitespace
compare-windows-exact(3) Compare buffer windows, with whitespace
create-frame(2) (C-x 5 1, C-x 5 2) Create a new frame
delete-frame(2) (C-x 5 0) Delete the current frame
delete-other-windows(2) (C-x 1) Delete other windows
delete-window(2) (C-x 0) Delete current window
grow-window-horizontally(2) Enlarge current window horizontally (relative)
grow-window-vertically(2) Enlarge the current window (relative change)
next-frame(2) (C-x 5 o) Change the focus to the next frame
next-window(2) (C-x o) Move the cursor to the next window
next-window-find-buffer(2) [] Split the current window and show new buffer
next-window-find-file(2) (C-x 4) Split the current window and find file
page-file-scroll-down(3) (C-n) Scroll paged buffer down
page-file-scroll-up(3) (C-p) Scroll paged buffer up
previous-window(2) (C-x p) Move the cursor to the previous window
resize-all-windows(2) Resize all windows (automatic change)
resize-window-horizontally(2) Resize current window horizontally (absolute)
resize-window-vertically(2) Resize the current window (absolute change)
scroll-down(2) (C-n) Move the window down (scrolling)
scroll-left(2) (C-x <) Move the window left (scrolling)
scroll-next-window-down(2) (esc C-v) Scroll next window down
scroll-next-window-up(2) (esc C-z) Scroll next window up
scroll-right(2) (C-x >) Move the window right (scrolling)
scroll-up(2) (C-p) Move the window up (scrolling)
shrink-window-horizontally(2) Shrink current window horizontally (relative)
shrink-window-vertically(2) Shrink the current window (relative change)
split-window-horizontally(2) (C-x 3) Split current window into two (horizontally)
split-window-vertically(2) (C-x 2) Split the current window into two

## Variables

$frame-id(5) Current frame identity
$scroll(5) Screen scroll control
$scroll-bar(5) Scroll bar configuration
$window-acol(5) Window cursor actual column
$window-aline(5) Window cursor actual line
$window-col(5) Window cursor column (no expansion)
$window-depth(5) Number of text lines in a window
$window-eline(5) Window end line
$window-id(5) Current window identity
$window-line(5) Window cursor line
$window-mark-col(5) Window mark column
$window-mark-line(5) Window mark line
$window-mode-line(5) Window mode line position
$window-scroll-bar(5) Window scroll bar (or separator) position
$window-wcol(5) Window cursor column (historic)
$window-width(5) Number of character columns in a window
$window-wline(5) Window cursor line (historic)
$window-x-scroll(5) Current window X scroll
$window-xcl-scroll(5) Current window current line X scroll
$window-y-scroll(5) Current window Y scroll

(c) Copyright JASSPA 2009
Last Modified: 2009/10/12
Generated On: 2009/10/12

</HMTL>