File: window.el.html

Window tree functions.

Defined variables (79)

delete-window-choose-selectedHow to choose a frame’s selected window after window deletion.
display-buffer--action-custom-typeCustom type for ‘display-buffer’ actions.
display-buffer--action-function-custom-typeCustom type for ‘display-buffer’ action functions.
display-buffer--other-frame-actionA ‘display-buffer’ action for displaying in another frame.
display-buffer--same-window-actionA ‘display-buffer’ action for displaying in the same window.
display-buffer-alistAlist of user-defined conditional actions for ‘display-buffer’.
display-buffer-base-actionUser-specified default action for ‘display-buffer’.
display-buffer-fallback-actionDefault fallback action for ‘display-buffer’.
display-buffer-mark-dedicatedIf non-nil, ‘display-buffer’ marks the windows it creates as dedicated.
display-buffer-overriding-actionOverriding action for buffer display.
display-buffer-reuse-framesNon-nil means ‘display-buffer’ should reuse frames.
even-window-heightsIf non-nil ‘display-buffer’ will try to even window sizes.
even-window-sizesIf non-nil ‘display-buffer’ will try to even window sizes.
fit-frame-to-bufferNon-nil means ‘fit-window-to-buffer’ can fit a frame to its buffer.
fit-frame-to-buffer-marginsMargins around frame for ‘fit-frame-to-buffer’.
fit-frame-to-buffer-sizesSize boundaries of frame for ‘fit-frame-to-buffer’.
fit-window-to-buffer-horizontallyNon-nil means ‘fit-window-to-buffer’ can resize windows horizontally.
frame-auto-hide-functionFunction called to automatically hide frames.
ignore-window-parametersIf non-nil, standard functions ignore window parameters.
kill-buffer-quit-windowsNon-nil means killing buffers shall quit windows.
mouse-autoselect-window-positionLast mouse position recorded by delayed window autoselection.
mouse-autoselect-window-position-1First mouse position recorded by delayed window autoselection.
mouse-autoselect-window-stateWhen non-nil, special state of delayed window autoselection.
mouse-autoselect-window-timerTimer used by delayed window autoselection.
mouse-autoselect-window-windowLast window recorded by delayed window autoselection.
other-window-repeat-mapKeymap to repeat ‘other-window’. Used in ‘repeat-mode’.
pop-up-frame-alistAlist of parameters for automatically generated new frames.
pop-up-frame-functionFunction used by ‘display-buffer’ for creating a new frame.
pop-up-framesWhether ‘display-buffer’ should make a separate frame.
pop-up-windowsNon-nil means ‘display-buffer’ should make a new window.
quit-restore-window-no-switchNon-nil means ‘quit-restore-window’ preferably won’t switch buffers.
quit-window-hookHook run before performing any other actions in the ‘quit-window’ command.
quit-window-kill-bufferNon-nil means ‘quit-window’ will try to kill buffer of WINDOW it quits.
recenter-last-opIndicates the last recenter operation performed.
recenter-positionsCycling order for ‘recenter-top-bottom’.
resize-window-repeat-mapKeymap to repeat window resizing commands.
rotate-windows-repeat-mapKeymap to repeat window-rotating commands.
same-window-buffer-namesList of names of buffers that should appear in the "same" window.
same-window-regexpsList of regexps saying which buffers should appear in the "same" window.
scroll-error-top-bottomMove point to top/bottom of buffer before signaling a scrolling error.
special-display-buffer-namesList of names of buffers that should be displayed specially.
special-display-frame-alistAlist of parameters for special frames.
special-display-functionFunction to call for displaying special buffers.
special-display-regexpsList of regexps saying which buffers should be displayed specially.
split-height-thresholdMinimum height for splitting windows sensibly.
split-width-thresholdMinimum width for splitting windows sensibly.
split-window-keep-pointIf non-nil, C-x 2 preserves point in the new window.
split-window-preferred-directionThe first direction tried when Emacs needs to split a window.
split-window-preferred-functionFunction called by ‘display-buffer’ routines to split a window.
switch-to-buffer-in-dedicated-windowAllow switching to buffer in strongly dedicated windows.
switch-to-buffer-obey-display-actionsIf non-nil, ‘switch-to-buffer’ runs ‘pop-to-buffer-same-window’ instead.
switch-to-buffer-preserve-window-pointIf non-nil, ‘switch-to-buffer’ tries to preserve ‘window-point’.
switch-to-prev-buffer-skipBuffers ‘switch-to-prev-buffer’ should skip.
switch-to-prev-buffer-skip-regexpBuffers that ‘switch-to-prev-buffer’ and ‘switch-to-next-buffer’ should skip.
switch-to-visible-bufferIf non-nil, allow switching to an already visible buffer.
temp-buffer-window-setup-hookNormal hook run by ‘with-temp-buffer-window’ before buffer display.
temp-buffer-window-show-hookNormal hook run by ‘with-temp-buffer-window’ after buffer display.
toggle-window-dedicated-flagWhat dedicated flag should ‘toggle-window-dedicated’ use by default.
window--sides-inhibit-checkNon-nil means inhibit any checks on side windows.
window--sides-shownNon-nil if this buffer was shown in a side window once.
window-adjust-process-window-size-functionControl how Emacs chooses inferior process window sizes.
window-area-factorFactor by which the window area should be over-estimated.
window-deletable-functionsAbnormal hook to decide whether a window may be implicitly deleted.
window-layout-flip-repeat-mapKeymap to repeat window-flipping commands.
window-layout-rotate-repeat-mapKeymap to repeat window layout-rotating commands.
window-min-heightThe minimum total height, in lines, of any window.
window-min-widthThe minimum total width, in columns, of any window.
window-prefix-mapKeymap for subcommands of C-x w.
window-safe-min-heightThe absolute minimum number of lines of any window.
window-safe-min-widthThe absolute minimum number of columns of a window.
window-sides-reversedWhether top/bottom side windows appear in reverse order.
window-sides-slotsNumber of available side window slots on each side of a frame.
window-sides-verticalIf non-nil, left and right side windows occupy full frame height.
window-size-fixedNon-nil in a buffer means windows displaying the buffer are fixed-size.
window-state-normalize-buffer-nameNon-nil means accommodate buffer names under ‘uniquify’ management.
window-state-put-kept-windowsHelper variable for ‘window-state-put’.
window-state-put-listHelper variable for ‘window-state-put’.
window-state-put-selected-windowHelper variable for ‘window-state-put’.
window-state-put-stale-windowsHelper variable for ‘window-state-put’.

Defined functions (288)

adjust-window-trailing-edge(WINDOW DELTA &optional HORIZONTAL PIXELWISE)
balance-windows(&optional WINDOW-OR-FRAME)
balance-windows-1(WINDOW &optional HORIZONTAL)
balance-windows-2(WINDOW HORIZONTAL)
balance-windows-area()
balance-windows-area-adjust(WINDOW DELTA HORIZONTAL PIXELWISE)
beginning-of-buffer-other-window(ARG)
bury-buffer(&optional BUFFER-OR-NAME)
count-screen-lines(&optional BEG END COUNT-FINAL-NEWLINE WINDOW)
count-windows(&optional MINIBUF ALL-FRAMES)
delete-other-windows(&optional WINDOW INTERACTIVE)
delete-other-windows-vertically(&optional WINDOW)
delete-window(&optional WINDOW)
delete-windows-on(&optional BUFFER-OR-NAME FRAME)
display-buffer(BUFFER-OR-NAME &optional ACTION FRAME)
display-buffer--lru-window(ALIST)
display-buffer--maybe-at-bottom(BUFFER ALIST)
display-buffer--maybe-pop-up-frame(BUFFER ALIST)
display-buffer--maybe-pop-up-frame-or-window(BUFFER ALIST)
display-buffer--maybe-pop-up-window(BUFFER ALIST)
display-buffer--maybe-same-window(BUFFER ALIST)
display-buffer--special-action(BUFFER)
display-buffer-assq-regexp(BUFFER-NAME ALIST ACTION)
display-buffer-at-bottom(BUFFER ALIST)
display-buffer-below-selected(BUFFER ALIST)
display-buffer-full-frame(BUFFER ALIST)
display-buffer-in-atom-window(BUFFER ALIST)
display-buffer-in-child-frame(BUFFER ALIST)
display-buffer-in-direction(BUFFER ALIST)
display-buffer-in-previous-window(BUFFER ALIST)
display-buffer-in-side-window(BUFFER ALIST)
display-buffer-no-window(BUFFER ALIST)
display-buffer-other-frame(BUFFER)
display-buffer-override-next-command(PRE-FUNCTION &optional POST-FUNCTION ECHO)
display-buffer-pop-up-frame(BUFFER ALIST)
display-buffer-pop-up-window(BUFFER ALIST)
display-buffer-record-window(TYPE WINDOW BUFFER)
display-buffer-reuse-mode-window(BUFFER ALIST)
display-buffer-reuse-window(BUFFER ALIST)
display-buffer-same-window(BUFFER ALIST)
display-buffer-use-least-recent-window(BUFFER ALIST)
display-buffer-use-some-frame(BUFFER ALIST)
display-buffer-use-some-window(BUFFER ALIST)
end-of-buffer-other-window(ARG)
enlarge-window(DELTA &optional HORIZONTAL)
enlarge-window-horizontally(DELTA)
fit-frame-to-buffer(&optional FRAME MAX-HEIGHT MIN-HEIGHT MAX-WIDTH MIN-WIDTH ONLY)
fit-frame-to-buffer-1(&optional FRAME MAX-HEIGHT MIN-HEIGHT MAX-WIDTH MIN-WIDTH ONLY FROM TO)
fit-mini-frame-to-buffer(&optional FRAME)
fit-window-to-buffer(&optional WINDOW MAX-HEIGHT MIN-HEIGHT MAX-WIDTH MIN-WIDTH PRESERVE-SIZE)
frame-char-size(&optional WINDOW-OR-FRAME HORIZONTAL)
frame-root-window-p(WINDOW)
frame-windows-min-size(&optional FRAME HORIZONTAL IGNORE PIXELWISE)
get-buffer-window-list(&optional BUFFER-OR-NAME MINIBUF ALL-FRAMES INDIRECT)
get-largest-window(&optional ALL-FRAMES DEDICATED NOT-SELECTED NO-OTHER)
get-lru-window(&optional ALL-FRAMES DEDICATED NOT-SELECTED NO-OTHER)
get-mru-window(&optional ALL-FRAMES DEDICATED NOT-SELECTED NO-OTHER)
get-next-valid-buffer(LIST &optional BUFFER VISIBLE-OK FRAME)
get-window-with-predicate(PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT)
handle-select-window(EVENT)
internal--after-save-selected-window(STATE)
kill-buffer-and-window()
last-buffer(&optional BUFFER VISIBLE-OK FRAME)
maximize-window(&optional WINDOW)
minibuffer-window-active-p(WINDOW)
minimize-window(&optional WINDOW)
mouse-autoselect-window-cancel(&optional FORCE)
mouse-autoselect-window-select()
mouse-autoselect-window-start(MOUSE-POSITION &optional WINDOW SUSPEND)
move-to-window-group-line(ARG)
move-to-window-line-top-bottom(&optional ARG)
next-buffer(&optional ARG INTERACTIVE)
one-window-p(&optional NOMINI ALL-FRAMES)
other-window(COUNT &optional ALL-FRAMES INTERACTIVE)
other-window-backward(COUNT &optional ALL-FRAMES INTERACTIVE)
other-window-prefix()
pop-to-buffer(BUFFER-OR-NAME &optional ACTION NORECORD)
pop-to-buffer-same-window(BUFFER &optional NORECORD)
pos-visible-in-window-group-p(&optional POS WINDOW PARTIALLY)
previous-buffer(&optional ARG INTERACTIVE)
push-window-buffer-onto-prev(&optional WINDOW)
quit-restore-window(&optional WINDOW BURY-OR-KILL)
quit-windows-on(&optional BUFFER-OR-NAME KILL FRAME)
read-buffer-to-switch(PROMPT)
recenter-other-window(&optional ARG)
recenter-top-bottom(&optional ARG)
recenter-window-group(&optional ARG)
record-window-buffer(&optional WINDOW)
replace-buffer-in-windows(&optional BUFFER-OR-NAME)
same-window-p(BUFFER-NAME)
same-window-prefix()
save-selected-window(&rest BODY)
scroll-down-command(&optional ARG)
scroll-down-line(&optional ARG)
scroll-other-window(&optional LINES)
scroll-other-window-down(&optional LINES)
scroll-up-command(&optional ARG)
scroll-up-line(&optional ARG)
selected-window-group()
set-window-buffer-start-and-point(WINDOW BUFFER &optional START POINT)
set-window-group-start(WINDOW POS &optional NOFORCE)
set-window-text-height(WINDOW HEIGHT)
shrink-window(DELTA &optional HORIZONTAL)
shrink-window-horizontally(DELTA)
shrink-window-if-larger-than-buffer(&optional WINDOW)
some-window(PREDICATE &optional MINIBUF ALL-FRAMES DEFAULT)
special-display-p(BUFFER-NAME)
special-display-popup-frame(BUFFER &optional ARGS)
split-root-window-below(&optional SIZE)
split-root-window-right(&optional SIZE)
split-window(&optional WINDOW SIZE SIDE PIXELWISE REFER)
split-window-below(&optional SIZE WINDOW-TO-SPLIT)
split-window-no-error(&optional WINDOW SIZE SIDE PIXELWISE)
split-window-right(&optional SIZE WINDOW-TO-SPLIT)
split-window-sensibly(&optional WINDOW)
split-window-vertically(&optional SIZE WINDOW-TO-SPLIT)
switch-to-buffer(BUFFER-OR-NAME &optional NORECORD FORCE-SAME-WINDOW)
switch-to-buffer-other-frame(BUFFER-OR-NAME &optional NORECORD)
switch-to-buffer-other-window(BUFFER-OR-NAME &optional NORECORD)
switch-to-next-buffer(&optional WINDOW)
switch-to-prev-buffer(&optional WINDOW BURY-OR-KILL)
switch-to-prev-buffer-skip-p(SKIP WINDOW BUFFER &optional BURY-OR-KILL)
temp-buffer-window-setup(BUFFER-OR-NAME)
temp-buffer-window-show(BUFFER &optional ACTION)
toggle-window-dedicated(&optional WINDOW FLAG INTERACTIVE)
truncated-partial-width-window-p(&optional WINDOW)
unbury-buffer()
unrecord-window-buffer(&optional WINDOW BUFFER ALL)
walk-window-subtree(FUN &optional WINDOW ANY)
walk-window-tree(FUN &optional FRAME ANY MINIBUF)
walk-window-tree-1(FUN WALK-WINDOW-TREE-WINDOW ANY &optional SUB-ONLY)
walk-windows(FUN &optional MINIBUF ALL-FRAMES)
window--adjust-process-windows()
window--atom-check(&optional FRAME)
window--atom-check-1(WINDOW)
window--check(&optional FRAME)
window--combination-resizable(PARENT &optional HORIZONTAL)
window--delete(&optional WINDOW DEDICATED-ONLY KILL)
window--display-buffer(BUFFER WINDOW TYPE &optional ALIST)
window--dump-frame(&optional WINDOW-OR-FRAME)
window--dump-window(&optional WINDOW ERASE)
window--even-window-sizes(WINDOW)
window--frame-usable-p(FRAME)
window--in-direction-2(WINDOW POSN &optional HORIZONTAL)
window--make-major-side-window(BUFFER SIDE SLOT &optional ALIST)
window--make-major-side-window-next-to(SIDE)
window--max-delta-1(WINDOW DELTA &optional HORIZONTAL IGNORE TRAIL NOUP PIXELWISE)
window--maybe-raise-frame(FRAME)
window--min-delta-1(WINDOW DELTA &optional HORIZONTAL IGNORE TRAIL NOUP PIXELWISE)
window--min-size-1(WINDOW HORIZONTAL IGNORE PIXELWISE)
window--min-size-ignore-p(WINDOW IGNORE)
window--pixel-to-total(&optional FRAME HORIZONTAL)
window--pixel-to-total-1(WINDOW HORIZONTAL CHAR-SIZE)
window--pop-up-frames(ALIST)
window--preserve-size(WINDOW HORIZONTAL)
window--process-window-list()
window--quit-restore-select-window(WINDOW &optional FRAME)
window--resizable(WINDOW DELTA &optional HORIZONTAL IGNORE TRAIL NOUP NODOWN PIXELWISE)
window--resizable-p(WINDOW DELTA &optional HORIZONTAL IGNORE TRAIL NOUP NODOWN PIXELWISE)
window--resize-apply-p(FRAME &optional HORIZONTAL)
window--resize-child-windows(PARENT DELTA &optional HORIZONTAL WINDOW IGNORE TRAIL EDGE CHAR-SIZE)
window--resize-child-windows-normal(PARENT HORIZONTAL WINDOW THIS-DELTA &optional TRAIL OTHER-DELTA)
window--resize-child-windows-skip-p(WINDOW)
window--resize-mini-frame(FRAME)
window--resize-mini-window(WINDOW DELTA)
window--resize-reset(&optional FRAME HORIZONTAL)
window--resize-reset-1(WINDOW HORIZONTAL)
window--resize-root-window(WINDOW DELTA HORIZONTAL IGNORE PIXELWISE)
window--resize-root-window-vertically(WINDOW DELTA PIXELWISE)
window--resize-siblings(WINDOW DELTA &optional HORIZONTAL IGNORE TRAIL EDGE CHAR-SIZE)
window--resize-this-window(WINDOW DELTA &optional HORIZONTAL IGNORE ADD TRAIL EDGE CHAR-SIZE)
window--sanitize-margin(MARGIN LEFT RIGHT)
window--sanitize-window-sizes(HORIZONTAL)
window--sides-check(FRAME)
window--sides-check-failed(FRAME)
window--sides-reverse(SYMBOL VALUE)
window--sides-reverse-all()
window--sides-reverse-frame(FRAME)
window--sides-reverse-on-frame-p(FRAME)
window--sides-reverse-side(FRAME SIDE)
window--sides-verticalize(SYMBOL VALUE)
window--sides-verticalize-frame(&optional FRAME)
window--size-fixed-1(WINDOW HORIZONTAL IGNORE)
window--size-to-pixel(WINDOW SIZE &optional HORIZONTAL PIXELWISE ROUND-MAYBE)
window--state-get-1(WINDOW &optional WRITABLE)
window--state-normalize-buffer-name(BUFFER)
window--state-put-1(STATE &optional WINDOW IGNORE TOTALS PIXELWISE)
window--state-put-2(IGNORE PIXELWISE)
window--subtree(WINDOW &optional NEXT)
window--try-horizontal-split(WINDOW)
window--try-to-split-window(WINDOW &optional ALIST)
window--try-to-split-window-in-direction(WINDOW DIRECTION ALIST)
window--try-vertical-split(WINDOW)
window-absolute-body-pixel-edges(&optional WINDOW)
window-absolute-pixel-edges(&optional WINDOW)
window-absolute-pixel-position(&optional POSITION WINDOW)
window-adjust-process-window-size(REDUCER WINDOWS)
window-adjust-process-window-size-largest(PROCESS WINDOWS)
window-adjust-process-window-size-smallest(PROCESS WINDOWS)
window-at-side-list(&optional FRAME SIDE)
window-at-side-p(&optional WINDOW SIDE)
window-at-x-y(X Y &optional FRAME NO-OTHER)
window-atom-root(&optional WINDOW)
window-body-edges(&optional WINDOW)
window-body-pixel-edges(&optional WINDOW)
window-body-size(&optional WINDOW HORIZONTAL PIXELWISE)
window-buffer-height(WINDOW)
window-child(WINDOW)
window-child-count(WINDOW)
window-combination-p(&optional WINDOW HORIZONTAL)
window-combinations(WINDOW &optional HORIZONTAL IGNORE-FIXED)
window-combined-p(&optional WINDOW HORIZONTAL)
window-current-scroll-bars(&optional WINDOW)
window-default-font-height(&optional WINDOW)
window-default-line-height(&optional WINDOW)
window-deletable-p(&optional WINDOW NO-RUN)
window-edges(&optional WINDOW BODY ABSOLUTE PIXELWISE)
window-fixed-size-p(&optional WINDOW DIRECTION)
window-font-height(&optional WINDOW FACE)
window-font-width(&optional WINDOW FACE)
window-full-height-p(&optional WINDOW)
window-full-width-p(&optional WINDOW)
window-group-end(&optional WINDOW UPDATE)
window-group-start(&optional WINDOW)
window-height(&optional WINDOW ROUND)
window-in-direction(DIRECTION &optional WINDOW IGNORE SIGN WRAP MINIBUF)
window-indirect-buffer-p(&optional WINDOW BUFFER-OR-NAME)
window-inside-absolute-pixel-edges(&optional WINDOW)
window-inside-edges(&optional WINDOW)
window-inside-pixel-edges(&optional WINDOW)
window-largest-empty-rectangle(&optional WINDOW COUNT MIN-WIDTH MIN-HEIGHT POSITIONS LEFT)
window-largest-empty-rectangle--disjoint-maximums(MAXIMUMS COUNT)
window-largest-empty-rectangle--maximums(QUAD MAXIMUMS COUNT)
window-largest-empty-rectangle--maximums-1(QUAD MAXIMUMS)
window-last-child(WINDOW)
window-left(WINDOW)
window-main-window(&optional FRAME)
window-make-atom(WINDOW)
window-max-chars-per-line(&optional WINDOW FACE)
window-max-delta(&optional WINDOW HORIZONTAL IGNORE TRAIL NOUP NODOWN PIXELWISE)
window-min-delta(&optional WINDOW HORIZONTAL IGNORE TRAIL NOUP NODOWN PIXELWISE)
window-min-pixel-height(&optional WINDOW)
window-min-pixel-size(&optional WINDOW HORIZONTAL)
window-min-pixel-width(&optional WINDOW)
window-min-size(&optional WINDOW HORIZONTAL IGNORE PIXELWISE)
window-no-other-p(&optional WINDOW)
window-normalize-buffer(BUFFER-OR-NAME)
window-normalize-buffer-to-switch-to(BUFFER-OR-NAME)
window-normalize-frame(FRAME)
window-normalize-window(WINDOW &optional LIVE-ONLY)
window-pixel-edges(&optional WINDOW)
window-pixel-height-before-size-change(&optional WINDOW)
window-pixel-width-before-size-change(&optional WINDOW)
window-point-context-set()
window-point-context-set-default-function(W)
window-point-context-use()
window-point-context-use-default-function(W CONTEXT)
window-preserve-size(&optional WINDOW HORIZONTAL PRESERVE)
window-preserved-size(&optional WINDOW HORIZONTAL)
window-resizable(WINDOW DELTA &optional HORIZONTAL IGNORE PIXELWISE)
window-resizable-p(WINDOW DELTA &optional HORIZONTAL IGNORE PIXELWISE)
window-resize(WINDOW DELTA &optional HORIZONTAL IGNORE PIXELWISE)
window-resize-no-error(WINDOW DELTA &optional HORIZONTAL IGNORE PIXELWISE)
window-right(WINDOW)
window-safe-min-pixel-height(&optional WINDOW)
window-safe-min-pixel-size(&optional WINDOW HORIZONTAL)
window-safe-min-pixel-width(&optional WINDOW)
window-safe-min-size(&optional WINDOW HORIZONTAL PIXELWISE)
window-safely-shrinkable-p(&optional WINDOW)
window-sizable(WINDOW DELTA &optional HORIZONTAL IGNORE PIXELWISE)
window-sizable-p(WINDOW DELTA &optional HORIZONTAL IGNORE PIXELWISE)
window-size(&optional WINDOW HORIZONTAL PIXELWISE ROUND)
window-size-fixed-p(&optional WINDOW HORIZONTAL IGNORE)
window-splittable-p(WINDOW &optional HORIZONTAL)
window-state-buffers(STATE)
window-state-get(&optional WINDOW WRITABLE)
window-state-put(STATE &optional WINDOW IGNORE)
window-swap-states(&optional WINDOW-1 WINDOW-2 SIZE)
window-toggle-side-windows(&optional FRAME)
window-total-size(&optional WINDOW HORIZONTAL ROUND)
window-tree(&optional FRAME)
window-width(&optional WINDOW PIXELWISE)
window-with-parameter(PARAMETER &optional VALUE FRAME ANY MINIBUF)
windows-sharing-edge(&optional WINDOW EDGE WITHIN)
with-current-buffer-window(BUFFER-OR-NAME ACTION QUIT-FUNCTION &rest BODY)
with-displayed-buffer-window(BUFFER-OR-NAME ACTION QUIT-FUNCTION &rest BODY)
with-temp-buffer-window(BUFFER-OR-NAME ACTION QUIT-FUNCTION &rest BODY)
with-window-non-dedicated(WINDOW &rest BODY)

Defined faces (0)