Mercurial > emacs
comparison doc/lispref/windows.texi @ 85114:5039706521c9
Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
author | Miles Bader <miles@gnu.org> |
---|---|
date | Tue, 09 Oct 2007 08:52:57 +0000 |
parents | 0ba80d073e27 |
children | 107ccd98fa12 |
comparison
equal
deleted
inserted
replaced
85113:82b4a12fd080 | 85114:5039706521c9 |
---|---|
53 multiple nonoverlapping Emacs windows. | 53 multiple nonoverlapping Emacs windows. |
54 | 54 |
55 In each frame, at any time, one and only one window is designated as | 55 In each frame, at any time, one and only one window is designated as |
56 @dfn{selected within the frame}. The frame's cursor appears in that | 56 @dfn{selected within the frame}. The frame's cursor appears in that |
57 window, but the other windows have ``non-selected'' cursors, normally | 57 window, but the other windows have ``non-selected'' cursors, normally |
58 less visible. At any time, one frame is the selected frame; and the | 58 less visible. (@pxref{Cursor Parameters}, for customization of this.) |
59 window selected within that frame is @dfn{the selected window}. The | 59 At any time, one frame is the selected frame; and the window selected |
60 selected window's buffer is usually the current buffer (except when | 60 within that frame is @dfn{the selected window}. The selected window's |
61 @code{set-buffer} has been used). @xref{Current Buffer}. | 61 buffer is usually the current buffer (except when @code{set-buffer} |
62 | 62 has been used). @xref{Current Buffer}. |
63 @defvar cursor-in-non-selected-windows | |
64 If this variable is @code{nil}, Emacs displays only one cursor, | |
65 in the selected window. Other windows have no cursor at all. | |
66 @end defvar | |
67 | 63 |
68 For practical purposes, a window exists only while it is displayed in | 64 For practical purposes, a window exists only while it is displayed in |
69 a frame. Once removed from the frame, the window is effectively deleted | 65 a frame. Once removed from the frame, the window is effectively deleted |
70 and should not be used, @emph{even though there may still be references | 66 and should not be used, @emph{even though there may still be references |
71 to it} from other Lisp objects. Restoring a saved window configuration | 67 to it} from other Lisp objects. Restoring a saved window configuration |
2244 @section Window Configurations | 2240 @section Window Configurations |
2245 @cindex window configurations | 2241 @cindex window configurations |
2246 @cindex saving window information | 2242 @cindex saving window information |
2247 | 2243 |
2248 A @dfn{window configuration} records the entire layout of one | 2244 A @dfn{window configuration} records the entire layout of one |
2249 frame---all windows, their sizes, which buffers they contain, what | 2245 frame---all windows, their sizes, which buffers they contain, how |
2250 part of each buffer is displayed, and the values of point and the | 2246 those buffers are scrolled, and their values of point and the mark; |
2251 mark; also their fringes, margins, and scroll bar settings. It also | 2247 also their fringes, margins, and scroll bar settings. It also |
2252 includes the values of @code{window-min-height}, | 2248 includes the values of @code{window-min-height}, |
2253 @code{window-min-width} and @code{minibuffer-scroll-window}. An | 2249 @code{window-min-width} and @code{minibuffer-scroll-window}. As a |
2254 exception is made for point in the selected window for the current | 2250 special exception, the window configuration does not record the value |
2255 buffer; its value is not saved in the window configuration. | 2251 of point in the selected window for the current buffer. |
2256 | 2252 |
2257 You can bring back an entire previous layout by restoring a window | 2253 You can bring back an entire previous layout by restoring a window |
2258 configuration previously saved. If you want to record all frames | 2254 configuration previously saved. If you want to record all frames |
2259 instead of just one, use a frame configuration instead of a window | 2255 instead of just one, use a frame configuration instead of a window |
2260 configuration. @xref{Frame Configurations}. | 2256 configuration. @xref{Frame Configurations}. |