Mercurial > emacs
comparison man/display.texi @ 38745:5464ee1ba8e2
Minor cleanups.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 08 Aug 2001 23:39:08 +0000 |
parents | 07f962cbdd4e |
children | d4d24695f9e2 |
comparison
equal
deleted
inserted
replaced
38744:d7121931b3ba | 38745:5464ee1ba8e2 |
---|---|
46 | 46 |
47 You control the appearance of a part of the text in the buffer by | 47 You control the appearance of a part of the text in the buffer by |
48 specifying the face or faces to use for it. The style of display used | 48 specifying the face or faces to use for it. The style of display used |
49 for any given character is determined by combining the attributes of | 49 for any given character is determined by combining the attributes of |
50 all the applicable faces specified for that character. Any attribute | 50 all the applicable faces specified for that character. Any attribute |
51 that isn't specified by these faces is taken from the default face, | 51 that isn't specified by these faces is taken from the @code{default} face, |
52 whose attributes reflect the default settings of the frame itself. | 52 whose attributes reflect the default settings of the frame itself. |
53 | 53 |
54 Enriched mode, the mode for editing formatted text, includes several | 54 Enriched mode, the mode for editing formatted text, includes several |
55 commands and menus for specifying faces for text in the buffer. | 55 commands and menus for specifying faces for text in the buffer. |
56 @xref{Format Faces}, for how to specify the font for text in the | 56 @xref{Format Faces}, for how to specify the font for text in the |
256 | 256 |
257 @c @w is used below to prevent a bad page-break. | 257 @c @w is used below to prevent a bad page-break. |
258 @vindex font-lock-beginning-of-syntax-function | 258 @vindex font-lock-beginning-of-syntax-function |
259 Comment and string fontification (or ``syntactic'' fontification) | 259 Comment and string fontification (or ``syntactic'' fontification) |
260 relies on analysis of the syntactic structure of the buffer text. For | 260 relies on analysis of the syntactic structure of the buffer text. For |
261 the purposes of speed, some modes, including C mode and Lisp mode, | 261 the sake of speed, some modes, including C mode and Lisp mode, |
262 rely on a special convention: an open-parenthesis or open-brace in the | 262 rely on a special convention: an open-parenthesis or open-brace in the |
263 leftmost column always defines the @w{beginning} of a defun, and is | 263 leftmost column always defines the @w{beginning} of a defun, and is |
264 thus always outside any string or comment. (@xref{Left Margin | 264 thus always outside any string or comment. (@xref{Left Margin |
265 Paren}.) If you don't follow this convention, Font Lock mode can | 265 Paren}.) If you don't follow this convention, Font Lock mode can |
266 misfontify the text that follows an open-parenthesis or open-brace in | 266 misfontify the text that follows an open-parenthesis or open-brace in |
458 bottom of the window and put them at the top, followed by nearly a | 458 bottom of the window and put them at the top, followed by nearly a |
459 whole windowful of lines that were not previously visible. If point | 459 whole windowful of lines that were not previously visible. If point |
460 was in the text that scrolled off the top, it ends up at the new top | 460 was in the text that scrolled off the top, it ends up at the new top |
461 of the window. | 461 of the window. |
462 | 462 |
463 @kbd{M-v} (@code{scroll-down}) with no argument scrolls backward | 463 @kbd{M-v} (@code{scroll-down}) with no argument scrolls backward in |
464 similarly with overlap. The number of lines of overlap across a | 464 a similar way, also with overlap. The number of lines of overlap |
465 @kbd{C-v} or @kbd{M-v} is controlled by the variable | 465 across a @kbd{C-v} or @kbd{M-v} is controlled by the variable |
466 @code{next-screen-context-lines}; by default, it is 2. The function | 466 @code{next-screen-context-lines}; by default, it is 2. The function |
467 keys @key{NEXT} and @key{PRIOR}, or @key{PAGEDOWN} and @key{PAGEUP}, | 467 keys @key{NEXT} and @key{PRIOR}, or @key{PAGEDOWN} and @key{PAGEUP}, |
468 are equivalent to @kbd{C-v} and @kbd{M-v}. | 468 are equivalent to @kbd{C-v} and @kbd{M-v}. |
469 | 469 |
470 The commands @kbd{C-v} and @kbd{M-v} with a numeric argument scroll | 470 The commands @kbd{C-v} and @kbd{M-v} with a numeric argument scroll |