Mercurial > emacs
comparison doc/lispref/windows.texi @ 98928:0f3820668269
Minor wording fixes from RMS.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 20 Oct 2008 10:01:59 +0000 |
parents | 1e370d7d742a |
children | e3bf6a4e1aa6 |
comparison
equal
deleted
inserted
replaced
98927:b5ddab370f08 | 98928:0f3820668269 |
---|---|
575 ordering of windows. This is the window that @kbd{C-x o} would select | 575 ordering of windows. This is the window that @kbd{C-x o} would select |
576 if typed when @var{window} is selected. If @var{window} is the only | 576 if typed when @var{window} is selected. If @var{window} is the only |
577 window visible, then this function returns @var{window}. If omitted, | 577 window visible, then this function returns @var{window}. If omitted, |
578 @var{window} defaults to the selected window. | 578 @var{window} defaults to the selected window. |
579 | 579 |
580 The value of the argument @var{minibuf} determines whether the | 580 The value of the argument @var{minibuf} controls whether the |
581 minibuffer is included in the window order. Normally, when | 581 minibuffer is included in the window order. Normally, when |
582 @var{minibuf} is @code{nil}, the minibuffer is included if it is | 582 @var{minibuf} is @code{nil}, the minibuffer is included if it is |
583 currently active; this is the behavior of @kbd{C-x o}. (The minibuffer | 583 currently active; this is the behavior of @kbd{C-x o}. (The minibuffer |
584 window is active while the minibuffer is in use. @xref{Minibuffers}.) | 584 window is active while the minibuffer is in use. @xref{Minibuffers}.) |
585 | 585 |
668 This function returns a list of the windows on @var{frame}, starting | 668 This function returns a list of the windows on @var{frame}, starting |
669 with @var{window}. If @var{frame} is @code{nil} or omitted, | 669 with @var{window}. If @var{frame} is @code{nil} or omitted, |
670 @code{window-list} uses the selected frame instead; if @var{window} is | 670 @code{window-list} uses the selected frame instead; if @var{window} is |
671 @code{nil} or omitted, it uses the selected window. | 671 @code{nil} or omitted, it uses the selected window. |
672 | 672 |
673 The value of @var{minibuf} determines if the minibuffer window is | 673 The value of @var{minibuf} controls if the minibuffer window is |
674 included in the result list. If @var{minibuf} is @code{t}, the result | 674 included in the result list. If @var{minibuf} is @code{t}, the result |
675 always includes the minibuffer window. If @var{minibuf} is @code{nil} | 675 always includes the minibuffer window. If @var{minibuf} is @code{nil} |
676 or omitted, that includes the minibuffer window if it is active. If | 676 or omitted, that includes the minibuffer window if it is active. If |
677 @var{minibuf} is neither @code{nil} nor @code{t}, the result never | 677 @var{minibuf} is neither @code{nil} nor @code{t}, the result never |
678 includes the minibuffer window. | 678 includes the minibuffer window. |
989 is split vertically. If it is @code{nil}, then @code{display-buffer} | 989 is split vertically. If it is @code{nil}, then @code{display-buffer} |
990 does not split the single window, but uses it whole. | 990 does not split the single window, but uses it whole. |
991 @end defopt | 991 @end defopt |
992 | 992 |
993 @defopt split-height-threshold | 993 @defopt split-height-threshold |
994 This variable determines when @code{display-buffer} may split a window | 994 This variable controls when @code{display-buffer} may split a window |
995 vertically, if there are multiple windows. If the value is a number, | 995 vertically, if there are multiple windows. If the value is a number, |
996 @code{display-buffer} splits the largest window if it has at least | 996 @code{display-buffer} splits the largest window if it has at least |
997 this many lines. If the largest window is not this tall, or if the | 997 this many lines. If the largest window is not this tall, or if the |
998 value of this variable is @code{nil}, @code{display-buffer} tries to | 998 value of this variable is @code{nil}, @code{display-buffer} tries to |
999 split some window horizontally, subject to restrictions of | 999 split some window horizontally, subject to restrictions of |
1000 @code{split-width-threshold} (see below). If splitting horizontally | 1000 @code{split-width-threshold} (see below). If splitting horizontally |
1001 is impossible, @code{display-buffer} will split a window vertically | 1001 is impossible, @code{display-buffer} splits a window vertically |
1002 only if it's the only window on its frame and not the minibuffer | 1002 only if it's the only window on its frame and not the minibuffer |
1003 window, and only if @code{pop-up-windows} is non-@code{nil}. | 1003 window, and only if @code{pop-up-windows} is non-@code{nil}. |
1004 Otherwise, @code{display-buffer} uses one of the existing windows. | 1004 Otherwise, @code{display-buffer} uses one of the existing windows. |
1005 @end defopt | 1005 @end defopt |
1006 | 1006 |
1007 @defopt split-width-threshold | 1007 @defopt split-width-threshold |
1008 This variable determines when @code{display-buffer} may split a window | 1008 This variable controls when @code{display-buffer} may split a window |
1009 horizontally. If the value is a number, @code{display-buffer} may | 1009 horizontally. If the value is a number, @code{display-buffer} may |
1010 split a window if it has at least this many columns. If the value of | 1010 split a window if it has at least this many columns. If the value of |
1011 this variable is @code{nil}, @code{display-buffer} will not split any | 1011 this variable is @code{nil}, @code{display-buffer} will not split any |
1012 windows horizontally. (It still might split some window vertically, | 1012 windows horizontally. (It still might split some window vertically, |
1013 though, see above.) | 1013 though, see above.) |
1014 @end defopt | 1014 @end defopt |
1015 | 1015 |
1016 @defopt even-window-heights | 1016 @defopt even-window-heights |
1017 This variable determines if @code{display-buffer} should even out window | 1017 This variable controls whether @code{display-buffer} should even out |
1018 heights if the buffer gets displayed in an existing window, above or | 1018 window heights if the buffer gets displayed in an existing window, |
1019 beneath another existing window. If @code{even-window-heights} is | 1019 above or beneath another existing window. If |
1020 @code{t}, the default, window heights will be evened out. If | 1020 @code{even-window-heights} is @code{t}, the default, window heights |
1021 @code{even-window-heights} is @code{nil}, the original window heights | 1021 will be evened out. If @code{even-window-heights} is @code{nil}, the |
1022 will be left alone. | 1022 original window heights will be left alone. |
1023 @end defopt | 1023 @end defopt |
1024 | 1024 |
1025 @c Emacs 19 feature | 1025 @c Emacs 19 feature |
1026 @defopt pop-up-frames | 1026 @defopt pop-up-frames |
1027 This variable controls whether @code{display-buffer} makes new frames. | 1027 This variable controls whether @code{display-buffer} makes new frames. |
2189 @cindex minimum window size | 2189 @cindex minimum window size |
2190 The following two variables constrain the window-structure-changing | 2190 The following two variables constrain the window-structure-changing |
2191 functions to a minimum height and width. | 2191 functions to a minimum height and width. |
2192 | 2192 |
2193 @defopt window-min-height | 2193 @defopt window-min-height |
2194 The value of this variable determines how short a window may become | 2194 The value of this variable controls how short a window may become |
2195 before it is automatically deleted. Making a window smaller than | 2195 before it is automatically deleted. Making a window smaller than |
2196 @code{window-min-height} automatically deletes it, and no window may be | 2196 @code{window-min-height} automatically deletes it, and no window may be |
2197 created shorter than this. The value is measured in line units. When | 2197 created shorter than this. The value is measured in line units. When |
2198 the window wants a mode- and/or header-line, they are counted as one | 2198 the window wants a mode- and/or header-line, they are counted as one |
2199 line each. The default value of this variable is 4. A value less than | 2199 line each. The default value of this variable is 4. A value less than |
2200 1 is ignored. | 2200 1 is ignored. |
2201 @end defopt | 2201 @end defopt |
2202 | 2202 |
2203 @defopt window-min-width | 2203 @defopt window-min-width |
2204 The value of this variable determines how narrow a window may become | 2204 The value of this variable controls how narrow a window may become |
2205 before it is automatically deleted. Making a window smaller than | 2205 before it is automatically deleted. Making a window smaller than |
2206 @code{window-min-width} automatically deletes it, and no window may be | 2206 @code{window-min-width} automatically deletes it, and no window may be |
2207 created narrower than this. The value is measured in characters and | 2207 created narrower than this. The value is measured in characters and |
2208 includes any fringes or the scroll bar. The default value is 10. A | 2208 includes any fringes or the scroll bar. The default value is 10. A |
2209 value less than 2 is ignored. | 2209 value less than 2 is ignored. |