diff options
| -rw-r--r-- | man/windows.texi | 75 |
1 files changed, 34 insertions, 41 deletions
diff --git a/man/windows.texi b/man/windows.texi index 39ebb603d80..99c819cc6ab 100644 --- a/man/windows.texi +++ b/man/windows.texi | |||
| @@ -360,56 +360,49 @@ heights of all the windows in the selected frame. | |||
| 360 | @cindex mode, Winner | 360 | @cindex mode, Winner |
| 361 | @cindex undoing window configuration changes | 361 | @cindex undoing window configuration changes |
| 362 | @cindex window configuration changes, undoing | 362 | @cindex window configuration changes, undoing |
| 363 | @kbd{M-x winner-mode} provides a global minor mode that records the | 363 | @kbd{M-x winner-mode} is a global minor mode that records the |
| 364 | changes in the window configuration (i.e. how the frames are partitioned | 364 | changes in the window configuration (i.e. how the frames are |
| 365 | into windows) so that the changes can be `undone' using the command | 365 | partitioned into windows), so that you can ``undo'' them. To undo, |
| 366 | @kbd{M-x winner-undo}, bound to @kbd{C-x left} by default. If you | 366 | use @kbd{C-x left} (@code{winner-undo}). If you change your mind |
| 367 | change your mind (while undoing), you can use @kbd{M-x winner-redo} | 367 | while undoing, you can redo the changes you had undone using @kbd{C-x |
| 368 | (@kbd{C-x right}). You can also turn on Winner mode by customizing | 368 | right} (@code{M-x winner-redo}). Another way to enable Winner mode is |
| 369 | @code{winner-mode}. | 369 | by customizing the variable @code{winner-mode}. |
| 370 | |||
| 371 | @vindex scroll-all-mode | ||
| 372 | @cindex scrolling windows together | ||
| 373 | @cindex Scroll-all mode | ||
| 374 | @cindex mode, Scroll-all | ||
| 375 | @kbd{M-x scroll-all-mode} provides commands to scroll all visible | ||
| 376 | windows together as in CRiSP/Brief emulation (@pxref{Emulation}). You | ||
| 377 | can also turn it on by customizing @code{scroll-all-mode}. The commands | ||
| 378 | provided are @kbd{M-x scroll-all-scroll-down-all}, @kbd{M-x | ||
| 379 | scroll-all-page-down-all} and their `up' equivalents. You would | ||
| 380 | probably want to bind these to appropriate keys. | ||
| 381 | 370 | ||
| 382 | @cindex Windmove package | 371 | @cindex Windmove package |
| 383 | @cindex directional window selection | 372 | @cindex directional window selection |
| 384 | @findex windmove-right | 373 | @findex windmove-right |
| 385 | @findex windmove-default-keybindings | 374 | @findex windmove-default-keybindings |
| 386 | There are commands to move directionally between neighbouring windows in | 375 | The Windmode commands move directionally between neighbouring windows in |
| 387 | a frame. @kbd{M-x windmove-right} selects the window immediately to the | 376 | a frame. @kbd{M-x windmove-right} selects the window immediately to the |
| 388 | right of the currently-selected one and similarly for the `left', `up' | 377 | right of the currently selected one, and similarly for the ``left,'' ``up,'' |
| 389 | and `down' counterparts. @kbd{M-x windmove-default-keybindings} binds | 378 | and ``down'' counterparts. @kbd{M-x windmove-default-keybindings} binds |
| 390 | these commands to @kbd{S-right} etc. (These bindings will only work if | 379 | these commands to @kbd{S-right} etc. (Not all terminals support shifted |
| 391 | your terminal supports shifted arrow keys.) | 380 | arrow keys, however.) |
| 392 | 381 | ||
| 393 | @cindex Follow mode | 382 | @cindex Follow mode |
| 394 | @cindex mode, Follow | 383 | @cindex mode, Follow |
| 395 | @findex follow-mode | 384 | @findex follow-mode |
| 396 | @cindex windows, synchronizing | 385 | @cindex windows, synchronizing |
| 397 | @cindex synchronizing windows | 386 | @cindex synchronizing windows |
| 398 | Follow minor mode (@kbd{M-x follow-mode}) synchronizes several windows | 387 | Follow minor mode (@kbd{M-x follow-mode}) synchronizes several |
| 399 | on the same buffer so that they always display adjacent sections of that | 388 | windows on the same buffer so that they always display adjacent |
| 400 | buffer. Also if point moves outside a window, another window displaying | 389 | sections of that buffer. Also if point moves outside a window, it |
| 401 | that point is selected if possible, so that you can move between windows | 390 | moves automatically to another window which shows that part of the |
| 402 | with normal movement commands. You can use this facility, for instance, | 391 | buffer, if any. Thus, the windows act like one large window on |
| 403 | to operate effectively with double the number of lines of a file visible | 392 | the buffer. |
| 404 | in a given screen height using side-by-side windows on the same buffer: | 393 | |
| 405 | split the window with @kbd{C-x 3} and then use @kbd{M-x follow-mode} to | 394 | One use of this feature is to effectively double the number of lines |
| 406 | synchronize the windows. | 395 | in a given screen height, using side-by-side windows on the same |
| 407 | 396 | buffer. First split a window into side-by-side windows with @kbd{C-x | |
| 408 | @cindex cursor in non-selected windows | 397 | 3}, then use @kbd{M-x follow-mode} to synchronize the windows. |
| 409 | @vindex show-cursor-in-non-selected-windows | 398 | |
| 410 | @vindex cursor-in-non-selected-windows | 399 | @vindex scroll-all-mode |
| 411 | Normally, the cursor in non-selected windows is shown as a hollow box. | 400 | @cindex scrolling windows together |
| 412 | If you want Emacs not to display the cursor in non-selected windows, | 401 | @cindex Scroll-all mode |
| 413 | customize the option @code{show-cursor-in-non-selected-windows}, or set | 402 | @cindex mode, Scroll-all |
| 414 | the variable @code{cursor-in-non-selected-windows} to a non-@code{nil} | 403 | @kbd{M-x scroll-all-mode} provides commands to scroll all visible |
| 415 | value. | 404 | windows together. You can also turn it on by customizing the variable |
| 405 | @code{scroll-all-mode}. The commands provided are @kbd{M-x | ||
| 406 | scroll-all-scroll-down-all}, @kbd{M-x scroll-all-page-down-all} and | ||
| 407 | their corresponding ``up'' equivalents. To make this mode useful, | ||
| 408 | you should bind these commands to appropriate keys. | ||