Sams Teach Yourself Emacs in 24 Hours |  | ContentsIndex
Hour 12: Visible Editing Utilities |  | Previous HourNext Hour
Sections in this Hour: |  |  |  |

## Getting Double Height Windows

Sometimes you might be interested in seeing many lines of text on your screen at the same time, just to get a good overview. You can do this by making the font very small, but then you can't read it, can you?

Another solution is to show the text in two windows side by side, with each window showing a different part of the text. To avoid having to scroll both windows separately, you can use the minor mode called follow-mode. In Figure 12.9, you can see a buffer that spans two windows, starting at the top of the first and continuing to the next.

Figure 12.9
To use follow-mode on a given buffer, simply start it and split the window, showing the buffer horizontally by pressing C-x 3 (split-window-horizontally). Below the window on the left is a virtual window.

The buffer now continues from the left window to the right window. This is totally transparent to you (except for the fact that your buffer now shows twice as many lines with half the width). When you move point one line down at the bottom of the left window, it appears at the top of the right window. Likewise, scrolling is done simultaneously in both windows.

If you really need lots of screen height, you can split one of the windows horizontally a second time, which gives you three windows side by side, showing the buffer in the height of three windows, as can be seen in Figure 12.10.

Figure 12.10
Showing a buffer in three windows using follow-mode.

Sams Teach Yourself Emacs in 24 Hours |  | ContentsIndex
Hour 12: Visible Editing Utilities |  | Previous HourNext Hour
Sections in this Hour: |  |  |  |

© Copyright Macmillan USA. All rights reserved.