Skip to main content

14 Controlling the Display

Since only part of a large buffer fits in the window, Emacs has to show only a part of it. This chapter describes commands and variables that let you specify which part of the text you want to see, and how the text is displayed.

• Scrolling  Commands to move text up and down in a window.
• Recentering  A scroll command that centers the current line.
• Auto Scrolling  Redisplay scrolls text automatically when needed.
• Horizontal Scrolling  Moving text left and right in a window.
• Narrowing  Restricting display and editing to a portion of the buffer.
• View Mode  Viewing read-only buffers.
• Follow Mode  Follow mode lets two windows scroll as one.
• Faces  How to change the display style using faces.
• Colors  Specifying colors for faces.
• Standard Faces  The main predefined faces.
• Text Scale  Increasing or decreasing text size in a buffer.
• Font Lock  Minor mode for syntactic highlighting using faces.
• Highlight Interactively  Tell Emacs what text to highlight.
• Fringes  Enabling or disabling window fringes.
• Displaying Boundaries  Displaying top and bottom of the buffer.
• Useless Whitespace  Showing possibly spurious trailing whitespace.
• Selective Display  Hiding lines with lots of indentation.
• Optional Mode Line  Optional mode line display features.
• Text Display  How text characters are normally displayed.
• Cursor Display  Features for displaying the cursor.
• Line Truncation  Truncating lines to fit the screen width instead of continuing them to multiple screen lines.
• Visual Line Mode  Word wrap and screen line-based editing.
• Display Custom  Information on variables for customizing display.