aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/windows.texi75
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
364changes in the window configuration (i.e. how the frames are partitioned 364changes in the window configuration (i.e. how the frames are
365into windows) so that the changes can be `undone' using the command 365partitioned 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 366use @kbd{C-x left} (@code{winner-undo}). If you change your mind
367change your mind (while undoing), you can use @kbd{M-x winner-redo} 367while 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 368right} (@code{M-x winner-redo}). Another way to enable Winner mode is
369@code{winner-mode}. 369by 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
376windows together as in CRiSP/Brief emulation (@pxref{Emulation}). You
377can also turn it on by customizing @code{scroll-all-mode}. The commands
378provided are @kbd{M-x scroll-all-scroll-down-all}, @kbd{M-x
379scroll-all-page-down-all} and their `up' equivalents. You would
380probably 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
386There are commands to move directionally between neighbouring windows in 375 The Windmode commands move directionally between neighbouring windows in
387a frame. @kbd{M-x windmove-right} selects the window immediately to the 376a frame. @kbd{M-x windmove-right} selects the window immediately to the
388right of the currently-selected one and similarly for the `left', `up' 377right of the currently selected one, and similarly for the ``left,'' ``up,''
389and `down' counterparts. @kbd{M-x windmove-default-keybindings} binds 378and ``down'' counterparts. @kbd{M-x windmove-default-keybindings} binds
390these commands to @kbd{S-right} etc. (These bindings will only work if 379these commands to @kbd{S-right} etc. (Not all terminals support shifted
391your terminal supports shifted arrow keys.) 380arrow 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
398Follow minor mode (@kbd{M-x follow-mode}) synchronizes several windows 387 Follow minor mode (@kbd{M-x follow-mode}) synchronizes several
399on the same buffer so that they always display adjacent sections of that 388windows on the same buffer so that they always display adjacent
400buffer. Also if point moves outside a window, another window displaying 389sections of that buffer. Also if point moves outside a window, it
401that point is selected if possible, so that you can move between windows 390moves automatically to another window which shows that part of the
402with normal movement commands. You can use this facility, for instance, 391buffer, if any. Thus, the windows act like one large window on
403to operate effectively with double the number of lines of a file visible 392the buffer.
404in a given screen height using side-by-side windows on the same buffer: 393
405split 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
406synchronize the windows. 395in a given screen height, using side-by-side windows on the same
407 396buffer. First split a window into side-by-side windows with @kbd{C-x
408@cindex cursor in non-selected windows 3973}, 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
411Normally, the cursor in non-selected windows is shown as a hollow box. 400@cindex scrolling windows together
412If you want Emacs not to display the cursor in non-selected windows, 401@cindex Scroll-all mode
413customize the option @code{show-cursor-in-non-selected-windows}, or set 402@cindex mode, Scroll-all
414the 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
415value. 404windows together. You can also turn it on by customizing the variable
405@code{scroll-all-mode}. The commands provided are @kbd{M-x
406scroll-all-scroll-down-all}, @kbd{M-x scroll-all-page-down-all} and
407their corresponding ``up'' equivalents. To make this mode useful,
408you should bind these commands to appropriate keys.