Mercurial > emacs
comparison lispref/windows.texi @ 27187:f6b52258db6a
Remove obsolete @tindex commands.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 05 Jan 2000 14:29:37 +0000 |
parents | ef5e7bbe6f19 |
children | d2e5f1b7d8e2 |
comparison
equal
deleted
inserted
replaced
27186:eb645a473bf8 | 27187:f6b52258db6a |
---|---|
674 If it is a frame, consider windows on that frame. | 674 If it is a frame, consider windows on that frame. |
675 @end itemize | 675 @end itemize |
676 @end defun | 676 @end defun |
677 | 677 |
678 @defvar buffer-display-time | 678 @defvar buffer-display-time |
679 @tindex buffer-display-time | |
680 This variable records the time at which a buffer was last made visible | 679 This variable records the time at which a buffer was last made visible |
681 in a window. It is always local in each buffer; each time | 680 in a window. It is always local in each buffer; each time |
682 @code{set-window-buffer} is called, it sets this variable to | 681 @code{set-window-buffer} is called, it sets this variable to |
683 @code{(current-time)} in the specified buffer (@pxref{Time of Day}). | 682 @code{(current-time)} in the specified buffer (@pxref{Time of Day}). |
684 When a buffer is first created, @code{buffer-display-time} starts out | 683 When a buffer is first created, @code{buffer-display-time} starts out |
1286 @defvar other-window-scroll-buffer | 1285 @defvar other-window-scroll-buffer |
1287 If this variable is non-@code{nil}, it tells @code{scroll-other-window} | 1286 If this variable is non-@code{nil}, it tells @code{scroll-other-window} |
1288 which buffer to scroll. | 1287 which buffer to scroll. |
1289 @end defvar | 1288 @end defvar |
1290 | 1289 |
1291 @tindex scroll-margin | |
1292 @defopt scroll-margin | 1290 @defopt scroll-margin |
1293 This option specifies the size of the scroll margin---a minimum number | 1291 This option specifies the size of the scroll margin---a minimum number |
1294 of lines between point and the top or bottom of a window. Whenever | 1292 of lines between point and the top or bottom of a window. Whenever |
1295 point gets within this many lines of the top or bottom of the window, | 1293 point gets within this many lines of the top or bottom of the window, |
1296 the window scrolls automatically (if possible) to move point out of the | 1294 the window scrolls automatically (if possible) to move point out of the |
1297 margin, closer to the center of the window. | 1295 margin, closer to the center of the window. |
1298 @end defopt | 1296 @end defopt |
1299 | 1297 |
1300 @tindex scroll-conservatively | |
1301 @defopt scroll-conservatively | 1298 @defopt scroll-conservatively |
1302 This variable controls how scrolling is done automatically when point | 1299 This variable controls how scrolling is done automatically when point |
1303 moves off the screen (or into the scroll margin). If the value is zero, | 1300 moves off the screen (or into the scroll margin). If the value is zero, |
1304 then redisplay scrolls the text to center point vertically in the | 1301 then redisplay scrolls the text to center point vertically in the |
1305 window. If the value is a positive integer @var{n}, then redisplay | 1302 window. If the value is a positive integer @var{n}, then redisplay |
1337 difference is that it if its value is @var{n}, that permits scrolling | 1334 difference is that it if its value is @var{n}, that permits scrolling |
1338 only by precisely @var{n} lines, not a smaller number. This feature | 1335 only by precisely @var{n} lines, not a smaller number. This feature |
1339 does not work with @code{scroll-margin}. The default value is zero. | 1336 does not work with @code{scroll-margin}. The default value is zero. |
1340 @end defopt | 1337 @end defopt |
1341 | 1338 |
1342 @tindex scroll-preserve-screen-position | |
1343 @defopt scroll-preserve-screen-position | 1339 @defopt scroll-preserve-screen-position |
1344 If this option is non-@code{nil}, the scroll functions move point so | 1340 If this option is non-@code{nil}, the scroll functions move point so |
1345 that the vertical position of the cursor is unchanged, when that is | 1341 that the vertical position of the cursor is unchanged, when that is |
1346 possible. | 1342 possible. |
1347 @end defopt | 1343 @end defopt |
2051 over. In most cases, @code{save-selected-window} (@pxref{Selecting | 2047 over. In most cases, @code{save-selected-window} (@pxref{Selecting |
2052 Windows}) is what you need here. | 2048 Windows}) is what you need here. |
2053 @end defvar | 2049 @end defvar |
2054 | 2050 |
2055 @defvar redisplay-end-trigger-functions | 2051 @defvar redisplay-end-trigger-functions |
2056 @tindex redisplay-end-trigger-functions | |
2057 This abnormal hook is run whenever redisplay in a window uses text that | 2052 This abnormal hook is run whenever redisplay in a window uses text that |
2058 extends past a specified end trigger position. You set the end trigger | 2053 extends past a specified end trigger position. You set the end trigger |
2059 position with the function @code{set-window-redisplay-end-trigger}. The | 2054 position with the function @code{set-window-redisplay-end-trigger}. The |
2060 functions are called with two arguments: the window, and the end trigger | 2055 functions are called with two arguments: the window, and the end trigger |
2061 position. Storing @code{nil} for the end trigger position turns off the | 2056 position. Storing @code{nil} for the end trigger position turns off the |
2062 feature, and the trigger value is automatically reset to @code{nil} just | 2057 feature, and the trigger value is automatically reset to @code{nil} just |
2063 after the hook is run. | 2058 after the hook is run. |
2064 @end defvar | 2059 @end defvar |
2065 | 2060 |
2066 @defun set-window-redisplay-end-trigger window position | 2061 @defun set-window-redisplay-end-trigger window position |
2067 @tindex set-window-redisplay-end-trigger | |
2068 This function sets @var{window}'s end trigger position at | 2062 This function sets @var{window}'s end trigger position at |
2069 @var{position}. | 2063 @var{position}. |
2070 @end defun | 2064 @end defun |
2071 | 2065 |
2072 @defun window-redisplay-end-trigger &optional window | 2066 @defun window-redisplay-end-trigger &optional window |
2073 @tindex window-redisplay-end-trigger | |
2074 This function returns @var{window}'s current end trigger position. | 2067 This function returns @var{window}'s current end trigger position. |
2075 @end defun | 2068 @end defun |
2076 | 2069 |
2077 @defvar window-configuration-change-hook | 2070 @defvar window-configuration-change-hook |
2078 @tindex window-configuration-change-hook | |
2079 A normal hook that is run every time you change the window configuration | 2071 A normal hook that is run every time you change the window configuration |
2080 of an existing frame. This includes splitting or deleting windows, | 2072 of an existing frame. This includes splitting or deleting windows, |
2081 changing the sizes of windows, or displaying a different buffer in a | 2073 changing the sizes of windows, or displaying a different buffer in a |
2082 window. The frame whose window configuration has changed is the | 2074 window. The frame whose window configuration has changed is the |
2083 selected frame when this hook runs. | 2075 selected frame when this hook runs. |