comparison man/windows.texi @ 28551:d212ead1f461

No resize-minibuffer. (Window Convenience): New.
author Dave Love <fx@gnu.org>
date Tue, 11 Apr 2000 09:29:06 +0000
parents ac7e9e5e2ccb
children f965fe4c8bc7
comparison
equal deleted inserted replaced
28550:ea0fd9729fa7 28551:d212ead1f461
18 * Other Window:: Moving to another window or doing something to it. 18 * Other Window:: Moving to another window or doing something to it.
19 * Pop Up Window:: Finding a file or buffer in another window. 19 * Pop Up Window:: Finding a file or buffer in another window.
20 * Force Same Window:: Forcing certain buffers to appear in the selected 20 * Force Same Window:: Forcing certain buffers to appear in the selected
21 window rather than in another window. 21 window rather than in another window.
22 * Change Window:: Deleting windows and changing their sizes. 22 * Change Window:: Deleting windows and changing their sizes.
23 * Window Convenience:: Convenience functions for window handling.
23 @end menu 24 @end menu
24 25
25 @node Basic Window 26 @node Basic Window
26 @section Concepts of Emacs Windows 27 @section Concepts of Emacs Windows
27 28
347 @kindex C-x + 348 @kindex C-x +
348 @findex balance-windows 349 @findex balance-windows
349 You can also use @kbd{C-x +} (@code{balance-windows}) to even out the 350 You can also use @kbd{C-x +} (@code{balance-windows}) to even out the
350 heights of all the windows in the selected frame. 351 heights of all the windows in the selected frame.
351 352
352 @xref{Minibuffer Edit}, for information about the Resize-Minibuffer 353 @node Window Convenience
353 mode, which automatically changes the size of the minibuffer window to 354 @section Window Handling Convenience Features and Customization
354 fit the text in the minibuffer. 355
356 @findex winner-mode
357 @vindex winner-mode
358 @cindex undoing window configuration changes
359 @cindex window configuration changes, undoing
360 @kbd{M-x winner-mode} provides a global minor mode that records the
361 changes in the window configuration (i.e. how the frames are partitioned
362 into windows) so that the changes can be `undone' using the command
363 @kbd{M-x winner-undo}, bound to @kbd{C-x left} by default. If you
364 change your mind (while undoing), you can use @kbd{M-x winner-redo}
365 (@kbd{C-x right}). You can also turn on Winner mode by customizing
366 @code{winner-mode}.
367
368 @vindex scroll-all-mode
369 @findex scroll-all-mode
370 @cindex scrolling windows together
371 @kbd{M-x scroll-all-mode} provides commands to scroll all visible
372 windows together as in CRiSP/Brief emulation (@pxref{Emulation}). You
373 can also turn it on by customizing @code{scroll-all-mode}. The commands
374 provided are @kbd{M-x scroll-all-scroll-down-all}, @kbd{M-x
375 scroll-all-page-down-all} and their `up' equivalents. You would
376 probably want to bind these to appropriate keys.
377
378 @cindex Windmove package
379 @cindex directional window selection
380 The Windmove package provides commands to move directionally between
381 neighbouring windows in a frame. @kbd{M-x windmove-right} selects the
382 window immediately to the right of the currently-selected one and
383 similarly for the `left', `up' and `down' counterparts. @kbd{M-x
384 windmove-default-keybindings} binds these commands to @kbd{S-right}
385 etc. (These bindings will only work under a windowing system.)
386
387 @cindex Follow mode
388 @cindex windows, synchronizing
389 @cindex synchronizing windows
390 Follow minor mode (@kbd{M-x follow-mode}) synchronizes several windows
391 on the same buffer so that they always display adjacent sections of that
392 buffer. Also if point moves outside a window, another window displaying
393 that point is selected if possible, so that you can move between windows
394 with normal movement commands. You can use this facility, for instance,
395 to operate effectively with double the number of lines of a file visible
396 in a given screen height using side-by-side windows on the same buffer:
397 split the window with @kbd{C-x 3} and then use @kbd{M-x follow-mode} to
398 synchronize the windows.