aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2016-04-18 14:05:31 -0700
committerPaul Eggert2016-04-18 14:05:31 -0700
commit0808f2a1a331fbcb2e6ab57894502b0a34311869 (patch)
tree72386004f3d60a5fdbaf1176edeb38ba4083677e /doc
parent3aa73b04e81ebc396892b14e5e9fa78a13ff85d1 (diff)
parentac00a92e3df7111c0eb2c6456ae7df5850bfd8fa (diff)
downloademacs-0808f2a1a331fbcb2e6ab57894502b0a34311869.tar.gz
emacs-0808f2a1a331fbcb2e6ab57894502b0a34311869.zip
Merge from origin/emacs-25
ac00a92 Make sh-electric-here-document-mode accessible in sh-mode-hoo... 3287f48 ; Add entry to MAINTAINERS b85981f * configure.ac (HAVE_MODULES): Exclude gnu-kfreebsd from prev... 0f33284 Make use of rectangle-preview custom variable. aa0d83a Make use of rectangle-preview face. 33bef6e Use 'grep-find-program' in check-declare.el a8560e5 Improve "C-h S" for cl-lib symbols 52e798b Fix minor issues with removing left or right fringes d6ffd64 Speed up redisplay in ansi-term mode 4ab671c Simplify 8-bit character handling by terminal for 'raw-text' f3653ec * configure.ac (HAVE_MODULES): Treat gnu like gnu-linux. (Bu... ab849b7 Fix w32 memory-management problem when extending buffer text
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/display.texi17
-rw-r--r--doc/lispref/windows.texi6
2 files changed, 23 insertions, 0 deletions
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi
index 01f899f1c09..8039291298c 100644
--- a/doc/emacs/display.texi
+++ b/doc/emacs/display.texi
@@ -1087,6 +1087,23 @@ To disable this, change the variable
1087@code{overflow-newline-into-fringe} to @code{nil}; this causes Emacs 1087@code{overflow-newline-into-fringe} to @code{nil}; this causes Emacs
1088to continue or truncate lines that are exactly as wide as the window. 1088to continue or truncate lines that are exactly as wide as the window.
1089 1089
1090 If you customize @code{fringe-mode} to remove the fringes on one or
1091both sides of the window display, the features that display on the
1092fringe are not available. Indicators of line continuation and
1093truncation are an exception: when fringes are not available, Emacs
1094uses the leftmost and rightmost character cells to indicate
1095continuation and truncation with special ASCII characters, see
1096@ref{Continuation Lines}, and @ref{Line Truncation}. This reduces the
1097width available for displaying text on each line, because the
1098character cells used for truncation and continuation indicators are
1099reserved for that purpose. Since buffer text can include
1100bidirectional text, and thus both left-to-right and right-to-left
1101paragraphs (@pxref{Bidirectional Editing}), removing only one of the
1102fringes still reserves two character cells, one on each side of the
1103window, for truncation and continuation indicators, because these
1104indicators are displayed on opposite sides of the window in
1105right-to-left paragraphs.
1106
1090@node Displaying Boundaries 1107@node Displaying Boundaries
1091@section Displaying Boundaries 1108@section Displaying Boundaries
1092 1109
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index bb13934fb3a..74837ac82b9 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -617,6 +617,12 @@ exceed its total height as returned by @code{window-total-height}.
617@cindex body width of a window 617@cindex body width of a window
618The @dfn{body width} of a window is the width of its text area, which 618The @dfn{body width} of a window is the width of its text area, which
619does not include the scroll bar, fringes, margins or a right divider. 619does not include the scroll bar, fringes, margins or a right divider.
620Note that when one or both fringes are removed (by setting their width
621to zero), the display engine reserves two character cells, one on each
622side of the window, for displaying the continuation and truncation
623glyphs, which leaves 2 columns less for text display. (The function
624@code{window-max-chars-per-line}, described below, takes this
625peculiarity into account.)
620 626
621@defun window-body-width &optional window pixelwise 627@defun window-body-width &optional window pixelwise
622This function returns the width, in columns, of the body of window 628This function returns the width, in columns, of the body of window