diff options
| author | Richard M. Stallman | 2006-08-28 09:59:30 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2006-08-28 09:59:30 +0000 |
| commit | 9d2908a63ed6607aa8201f3cdfb280f91a690d89 (patch) | |
| tree | a1d2dffae56dc9105f945a2ff697f955a6c13c23 | |
| parent | 2fda9976e99cd7578e0a983bc57fefcbbccfc1a7 (diff) | |
| download | emacs-9d2908a63ed6607aa8201f3cdfb280f91a690d89.tar.gz emacs-9d2908a63ed6607aa8201f3cdfb280f91a690d89.zip | |
(Line Truncation, Displaying Boundaries): New nodes,
split out of Display Custom.
| -rw-r--r-- | man/display.texi | 135 |
1 files changed, 72 insertions, 63 deletions
diff --git a/man/display.texi b/man/display.texi index 2a0abd4bef6..74d2ba5eb62 100644 --- a/man/display.texi +++ b/man/display.texi | |||
| @@ -23,11 +23,14 @@ their values only make a difference at the time of redisplay. | |||
| 23 | * Font Lock:: Minor mode for syntactic highlighting using faces. | 23 | * Font Lock:: Minor mode for syntactic highlighting using faces. |
| 24 | * Highlight Interactively:: Tell Emacs what text to highlight. | 24 | * Highlight Interactively:: Tell Emacs what text to highlight. |
| 25 | * Fringes:: Enabling or disabling window fringes. | 25 | * Fringes:: Enabling or disabling window fringes. |
| 26 | * Displaying Boundaries:: Displaying top and bottom of the buffer. | ||
| 26 | * Useless Whitespace:: Showing possibly-spurious trailing whitespace. | 27 | * Useless Whitespace:: Showing possibly-spurious trailing whitespace. |
| 27 | * Selective Display:: Hiding lines with lots of indentation. | 28 | * Selective Display:: Hiding lines with lots of indentation. |
| 28 | * Optional Mode Line:: Optional mode line display features. | 29 | * Optional Mode Line:: Optional mode line display features. |
| 29 | * Text Display:: How text characters are normally displayed. | 30 | * Text Display:: How text characters are normally displayed. |
| 30 | * Cursor Display:: Features for displaying the cursor. | 31 | * Cursor Display:: Features for displaying the cursor. |
| 32 | * Line Truncation:: Truncating lines to fit the screen width instead | ||
| 33 | of continuing them to multiple screen lines. | ||
| 31 | * Display Custom:: Information on variables for customizing display. | 34 | * Display Custom:: Information on variables for customizing display. |
| 32 | @end menu | 35 | @end menu |
| 33 | 36 | ||
| @@ -202,8 +205,8 @@ window, Emacs recenters the window. By default, @code{scroll-margin} is | |||
| 202 | @dfn{Horizontal scrolling} means shifting all the lines sideways | 205 | @dfn{Horizontal scrolling} means shifting all the lines sideways |
| 203 | within a window---so that some of the text near the left margin is not | 206 | within a window---so that some of the text near the left margin is not |
| 204 | displayed at all. When the text in a window is scrolled horizontally, | 207 | displayed at all. When the text in a window is scrolled horizontally, |
| 205 | text lines are truncated rather than continued (@pxref{Display | 208 | text lines are truncated rather than continued (@pxref{Line |
| 206 | Custom}). Whenever a window shows truncated lines, Emacs | 209 | Truncation}). Whenever a window shows truncated lines, Emacs |
| 207 | automatically updates its horizontal scrolling whenever point moves | 210 | automatically updates its horizontal scrolling whenever point moves |
| 208 | off the left or right edge of the screen. You can also use these | 211 | off the left or right edge of the screen. You can also use these |
| 209 | commands to do explicit horizontal scrolling. | 212 | commands to do explicit horizontal scrolling. |
| @@ -751,6 +754,40 @@ program you are debugging is executing (@pxref{Debuggers}). | |||
| 751 | @kbd{M-x fringe-mode}. To enable and disable the fringes | 754 | @kbd{M-x fringe-mode}. To enable and disable the fringes |
| 752 | for the selected frame, use @kbd{M-x set-fringe-style}. | 755 | for the selected frame, use @kbd{M-x set-fringe-style}. |
| 753 | 756 | ||
| 757 | @node Displaying Boundaries | ||
| 758 | @section Displaying Boundaries | ||
| 759 | |||
| 760 | @vindex indicate-buffer-boundaries | ||
| 761 | On a graphical display, Emacs can indicate the buffer boundaries in | ||
| 762 | the fringes. It indicates the first line and the last line with | ||
| 763 | angle images in the fringes. This can be combined with up and down | ||
| 764 | arrow images which say whether it is possible to scroll the window up | ||
| 765 | and down. | ||
| 766 | |||
| 767 | The buffer-local variable @code{indicate-buffer-boundaries} controls | ||
| 768 | how the buffer boundaries and window scrolling is indicated in the | ||
| 769 | fringes. If the value is @code{left} or @code{right}, both angle and | ||
| 770 | arrow bitmaps are displayed in the left or right fringe, respectively. | ||
| 771 | |||
| 772 | If value is an alist, each element @code{(@var{indicator} . | ||
| 773 | @var{position})} specifies the position of one of the indicators. | ||
| 774 | The @var{indicator} must be one of @code{top}, @code{bottom}, | ||
| 775 | @code{up}, @code{down}, or @code{t} which specifies the default | ||
| 776 | position for the indicators not present in the alist. | ||
| 777 | The @var{position} is one of @code{left}, @code{right}, or @code{nil} | ||
| 778 | which specifies not to show this indicator. | ||
| 779 | |||
| 780 | For example, @code{((top . left) (t . right))} places the top angle | ||
| 781 | bitmap in left fringe, the bottom angle bitmap in right fringe, and | ||
| 782 | both arrow bitmaps in right fringe. To show just the angle bitmaps in | ||
| 783 | the left fringe, but no arrow bitmaps, use @code{((top . left) | ||
| 784 | (bottom . left))}. | ||
| 785 | |||
| 786 | @vindex default-indicate-buffer-boundaries | ||
| 787 | The value of the variable @code{default-indicate-buffer-boundaries} | ||
| 788 | is the default value for @code{indicate-buffer-boundaries} in buffers | ||
| 789 | that do not override it. | ||
| 790 | |||
| 754 | @node Useless Whitespace | 791 | @node Useless Whitespace |
| 755 | @section Useless Whitespace | 792 | @section Useless Whitespace |
| 756 | 793 | ||
| @@ -1083,30 +1120,8 @@ minor mode that highlights the line containing point. Use @kbd{M-x | |||
| 1083 | hl-line-mode} to enable or disable it in the current buffer. @kbd{M-x | 1120 | hl-line-mode} to enable or disable it in the current buffer. @kbd{M-x |
| 1084 | global-hl-line-mode} enables or disables the same mode globally. | 1121 | global-hl-line-mode} enables or disables the same mode globally. |
| 1085 | 1122 | ||
| 1086 | @node Display Custom | 1123 | @node Line Truncation |
| 1087 | @section Customization of Display | 1124 | @section Truncation of Lines |
| 1088 | |||
| 1089 | This section describes variables (@pxref{Variables}) that you can | ||
| 1090 | change to customize how Emacs displays. Beginning users can skip | ||
| 1091 | it. | ||
| 1092 | @c the reason for that pxref is because an xref early in the | ||
| 1093 | @c ``echo area'' section leads here. | ||
| 1094 | |||
| 1095 | @vindex inverse-video | ||
| 1096 | If the variable @code{inverse-video} is non-@code{nil}, Emacs attempts | ||
| 1097 | to invert all the lines of the display from what they normally are. | ||
| 1098 | |||
| 1099 | @vindex visible-bell | ||
| 1100 | If the variable @code{visible-bell} is non-@code{nil}, Emacs attempts | ||
| 1101 | to make the whole screen blink when it would normally make an audible bell | ||
| 1102 | sound. This variable has no effect if your terminal does not have a way | ||
| 1103 | to make the screen blink. | ||
| 1104 | |||
| 1105 | @vindex echo-keystrokes | ||
| 1106 | The variable @code{echo-keystrokes} controls the echoing of multi-character | ||
| 1107 | keys; its value is the number of seconds of pause required to cause echoing | ||
| 1108 | to start, or zero, meaning don't echo at all. The value takes effect when | ||
| 1109 | there is someting to echo. @xref{Echo Area}. | ||
| 1110 | 1125 | ||
| 1111 | @cindex truncation | 1126 | @cindex truncation |
| 1112 | @cindex line truncation, and fringes | 1127 | @cindex line truncation, and fringes |
| @@ -1145,36 +1160,30 @@ truncate a line which is exactly as wide as the window. Instead, the | |||
| 1145 | newline overflows into the right fringe, and the cursor appears in the | 1160 | newline overflows into the right fringe, and the cursor appears in the |
| 1146 | fringe when positioned on that newline. | 1161 | fringe when positioned on that newline. |
| 1147 | 1162 | ||
| 1148 | @vindex indicate-buffer-boundaries | 1163 | @node Display Custom |
| 1149 | On a graphical display, Emacs can indicate the buffer boundaries in | 1164 | @section Customization of Display |
| 1150 | the fringes. It indicates the first line and the last line with | ||
| 1151 | angle images in the fringes. This can be combined with up and down | ||
| 1152 | arrow images which say whether it is possible to scroll the window up | ||
| 1153 | and down. | ||
| 1154 | 1165 | ||
| 1155 | The buffer-local variable @code{indicate-buffer-boundaries} controls | 1166 | This section describes variables (@pxref{Variables}) that you can |
| 1156 | how the buffer boundaries and window scrolling is indicated in the | 1167 | change to customize how Emacs displays. Beginning users can skip |
| 1157 | fringes. If the value is @code{left} or @code{right}, both angle and | 1168 | it. |
| 1158 | arrow bitmaps are displayed in the left or right fringe, respectively. | 1169 | @c the reason for that pxref is because an xref early in the |
| 1170 | @c ``echo area'' section leads here. | ||
| 1159 | 1171 | ||
| 1160 | If value is an alist, each element @code{(@var{indicator} . | 1172 | @vindex inverse-video |
| 1161 | @var{position})} specifies the position of one of the indicators. | 1173 | If the variable @code{inverse-video} is non-@code{nil}, Emacs attempts |
| 1162 | The @var{indicator} must be one of @code{top}, @code{bottom}, | 1174 | to invert all the lines of the display from what they normally are. |
| 1163 | @code{up}, @code{down}, or @code{t} which specifies the default | ||
| 1164 | position for the indicators not present in the alist. | ||
| 1165 | The @var{position} is one of @code{left}, @code{right}, or @code{nil} | ||
| 1166 | which specifies not to show this indicator. | ||
| 1167 | 1175 | ||
| 1168 | For example, @code{((top . left) (t . right))} places the top angle | 1176 | @vindex visible-bell |
| 1169 | bitmap in left fringe, the bottom angle bitmap in right fringe, and | 1177 | If the variable @code{visible-bell} is non-@code{nil}, Emacs attempts |
| 1170 | both arrow bitmaps in right fringe. To show just the angle bitmaps in | 1178 | to make the whole screen blink when it would normally make an audible bell |
| 1171 | the left fringe, but no arrow bitmaps, use @code{((top . left) | 1179 | sound. This variable has no effect if your terminal does not have a way |
| 1172 | (bottom . left))}. | 1180 | to make the screen blink. |
| 1173 | 1181 | ||
| 1174 | @vindex default-indicate-buffer-boundaries | 1182 | @vindex echo-keystrokes |
| 1175 | The value of the variable @code{default-indicate-buffer-boundaries} | 1183 | The variable @code{echo-keystrokes} controls the echoing of multi-character |
| 1176 | is the default value for @code{indicate-buffer-boundaries} in buffers | 1184 | keys; its value is the number of seconds of pause required to cause echoing |
| 1177 | that do not override it. | 1185 | to start, or zero, meaning don't echo at all. The value takes effect when |
| 1186 | there is someting to echo. @xref{Echo Area}. | ||
| 1178 | 1187 | ||
| 1179 | @vindex baud-rate | 1188 | @vindex baud-rate |
| 1180 | The variable @anchor{baud-rate}@code{baud-rate} holds the output | 1189 | The variable @anchor{baud-rate}@code{baud-rate} holds the output |
| @@ -1197,6 +1206,17 @@ or off, customize the group @code{cursor}. You can also control the | |||
| 1197 | amount of time Emacs must remain busy before the busy indicator is | 1206 | amount of time Emacs must remain busy before the busy indicator is |
| 1198 | displayed, by setting the variable @code{hourglass-delay}. | 1207 | displayed, by setting the variable @code{hourglass-delay}. |
| 1199 | 1208 | ||
| 1209 | @vindex overline-margin | ||
| 1210 | On graphical display, this variables specifies the vertical position | ||
| 1211 | of an overline above the text, including the height of the overline | ||
| 1212 | itself (1 pixel). The default value is 2 pixels. | ||
| 1213 | |||
| 1214 | @vindex x-underline-at-descent-line | ||
| 1215 | On graphical display, Emacs normally draws an underline at the | ||
| 1216 | baseline level of the font. If @code{x-underline-at-descent-line} is | ||
| 1217 | non-@code{nil}, Emacs draws the underline at the same height as the | ||
| 1218 | font's descent line. | ||
| 1219 | |||
| 1200 | @findex tty-suppress-bold-inverse-default-colors | 1220 | @findex tty-suppress-bold-inverse-default-colors |
| 1201 | On some text-only terminals, bold face and inverse video together | 1221 | On some text-only terminals, bold face and inverse video together |
| 1202 | result in text that is hard to read. Call the function | 1222 | result in text that is hard to read. Call the function |
| @@ -1215,17 +1235,6 @@ page for other output. On such terminals, you might want to set the variable | |||
| 1215 | assume, when resumed, that the screen page it is using still contains | 1235 | assume, when resumed, that the screen page it is using still contains |
| 1216 | what Emacs last wrote there. | 1236 | what Emacs last wrote there. |
| 1217 | 1237 | ||
| 1218 | @vindex overline-margin | ||
| 1219 | On graphical display, this variables specifies the number of pixes | ||
| 1220 | the overline is shown above the text. The value includes the height of | ||
| 1221 | the overline itself (1 pixel). The default value is 2 pixels. | ||
| 1222 | |||
| 1223 | @vindex x-underline-at-descent-line | ||
| 1224 | On graphical display, the underline is normally drawn at the | ||
| 1225 | baseline level of the font. If @code{x-underline-at-descent-line} is | ||
| 1226 | non-@code{nil}, the underline is drawn at the same position as the | ||
| 1227 | font's decent line. | ||
| 1228 | |||
| 1229 | @ignore | 1238 | @ignore |
| 1230 | arch-tag: 2219f910-2ff0-4521-b059-1bd231a536c4 | 1239 | arch-tag: 2219f910-2ff0-4521-b059-1bd231a536c4 |
| 1231 | @end ignore | 1240 | @end ignore |