aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-08-28 09:59:30 +0000
committerRichard M. Stallman2006-08-28 09:59:30 +0000
commit9d2908a63ed6607aa8201f3cdfb280f91a690d89 (patch)
treea1d2dffae56dc9105f945a2ff697f955a6c13c23
parent2fda9976e99cd7578e0a983bc57fefcbbccfc1a7 (diff)
downloademacs-9d2908a63ed6607aa8201f3cdfb280f91a690d89.tar.gz
emacs-9d2908a63ed6607aa8201f3cdfb280f91a690d89.zip
(Line Truncation, Displaying Boundaries): New nodes,
split out of Display Custom.
-rw-r--r--man/display.texi135
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
203within a window---so that some of the text near the left margin is not 206within a window---so that some of the text near the left margin is not
204displayed at all. When the text in a window is scrolled horizontally, 207displayed at all. When the text in a window is scrolled horizontally,
205text lines are truncated rather than continued (@pxref{Display 208text lines are truncated rather than continued (@pxref{Line
206Custom}). Whenever a window shows truncated lines, Emacs 209Truncation}). Whenever a window shows truncated lines, Emacs
207automatically updates its horizontal scrolling whenever point moves 210automatically updates its horizontal scrolling whenever point moves
208off the left or right edge of the screen. You can also use these 211off the left or right edge of the screen. You can also use these
209commands to do explicit horizontal scrolling. 212commands 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
752for the selected frame, use @kbd{M-x set-fringe-style}. 755for 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
762the fringes. It indicates the first line and the last line with
763angle images in the fringes. This can be combined with up and down
764arrow images which say whether it is possible to scroll the window up
765and down.
766
767 The buffer-local variable @code{indicate-buffer-boundaries} controls
768how the buffer boundaries and window scrolling is indicated in the
769fringes. If the value is @code{left} or @code{right}, both angle and
770arrow 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.
774The @var{indicator} must be one of @code{top}, @code{bottom},
775@code{up}, @code{down}, or @code{t} which specifies the default
776position for the indicators not present in the alist.
777The @var{position} is one of @code{left}, @code{right}, or @code{nil}
778which specifies not to show this indicator.
779
780 For example, @code{((top . left) (t . right))} places the top angle
781bitmap in left fringe, the bottom angle bitmap in right fringe, and
782both arrow bitmaps in right fringe. To show just the angle bitmaps in
783the 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}
788is the default value for @code{indicate-buffer-boundaries} in buffers
789that 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
1083hl-line-mode} to enable or disable it in the current buffer. @kbd{M-x 1120hl-line-mode} to enable or disable it in the current buffer. @kbd{M-x
1084global-hl-line-mode} enables or disables the same mode globally. 1121global-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
1090change to customize how Emacs displays. Beginning users can skip
1091it.
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
1097to 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
1101to make the whole screen blink when it would normally make an audible bell
1102sound. This variable has no effect if your terminal does not have a way
1103to make the screen blink.
1104
1105@vindex echo-keystrokes
1106 The variable @code{echo-keystrokes} controls the echoing of multi-character
1107keys; its value is the number of seconds of pause required to cause echoing
1108to start, or zero, meaning don't echo at all. The value takes effect when
1109there 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
1145newline overflows into the right fringe, and the cursor appears in the 1160newline overflows into the right fringe, and the cursor appears in the
1146fringe when positioned on that newline. 1161fringe 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
1150the fringes. It indicates the first line and the last line with
1151angle images in the fringes. This can be combined with up and down
1152arrow images which say whether it is possible to scroll the window up
1153and down.
1154 1165
1155 The buffer-local variable @code{indicate-buffer-boundaries} controls 1166 This section describes variables (@pxref{Variables}) that you can
1156how the buffer boundaries and window scrolling is indicated in the 1167change to customize how Emacs displays. Beginning users can skip
1157fringes. If the value is @code{left} or @code{right}, both angle and 1168it.
1158arrow 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
1162The @var{indicator} must be one of @code{top}, @code{bottom}, 1174to invert all the lines of the display from what they normally are.
1163@code{up}, @code{down}, or @code{t} which specifies the default
1164position for the indicators not present in the alist.
1165The @var{position} is one of @code{left}, @code{right}, or @code{nil}
1166which specifies not to show this indicator.
1167 1175
1168 For example, @code{((top . left) (t . right))} places the top angle 1176@vindex visible-bell
1169bitmap in left fringe, the bottom angle bitmap in right fringe, and 1177 If the variable @code{visible-bell} is non-@code{nil}, Emacs attempts
1170both arrow bitmaps in right fringe. To show just the angle bitmaps in 1178to make the whole screen blink when it would normally make an audible bell
1171the left fringe, but no arrow bitmaps, use @code{((top . left) 1179sound. This variable has no effect if your terminal does not have a way
1172(bottom . left))}. 1180to 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
1176is the default value for @code{indicate-buffer-boundaries} in buffers 1184keys; its value is the number of seconds of pause required to cause echoing
1177that do not override it. 1185to start, or zero, meaning don't echo at all. The value takes effect when
1186there 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
1197amount of time Emacs must remain busy before the busy indicator is 1206amount of time Emacs must remain busy before the busy indicator is
1198displayed, by setting the variable @code{hourglass-delay}. 1207displayed, by setting the variable @code{hourglass-delay}.
1199 1208
1209@vindex overline-margin
1210 On graphical display, this variables specifies the vertical position
1211of an overline above the text, including the height of the overline
1212itself (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
1216baseline level of the font. If @code{x-underline-at-descent-line} is
1217non-@code{nil}, Emacs draws the underline at the same height as the
1218font'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
1202result in text that is hard to read. Call the function 1222result 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
1215assume, when resumed, that the screen page it is using still contains 1235assume, when resumed, that the screen page it is using still contains
1216what Emacs last wrote there. 1236what Emacs last wrote there.
1217 1237
1218@vindex overline-margin
1219 On graphical display, this variables specifies the number of pixes
1220the overline is shown above the text. The value includes the height of
1221the 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
1225baseline level of the font. If @code{x-underline-at-descent-line} is
1226non-@code{nil}, the underline is drawn at the same position as the
1227font'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