diff options
| author | Paul Eggert | 2016-04-18 14:05:31 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-04-18 14:05:31 -0700 |
| commit | 0808f2a1a331fbcb2e6ab57894502b0a34311869 (patch) | |
| tree | 72386004f3d60a5fdbaf1176edeb38ba4083677e /doc | |
| parent | 3aa73b04e81ebc396892b14e5e9fa78a13ff85d1 (diff) | |
| parent | ac00a92e3df7111c0eb2c6456ae7df5850bfd8fa (diff) | |
| download | emacs-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.texi | 17 | ||||
| -rw-r--r-- | doc/lispref/windows.texi | 6 |
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 |
| 1088 | to continue or truncate lines that are exactly as wide as the window. | 1088 | to 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 | ||
| 1091 | both sides of the window display, the features that display on the | ||
| 1092 | fringe are not available. Indicators of line continuation and | ||
| 1093 | truncation are an exception: when fringes are not available, Emacs | ||
| 1094 | uses the leftmost and rightmost character cells to indicate | ||
| 1095 | continuation and truncation with special ASCII characters, see | ||
| 1096 | @ref{Continuation Lines}, and @ref{Line Truncation}. This reduces the | ||
| 1097 | width available for displaying text on each line, because the | ||
| 1098 | character cells used for truncation and continuation indicators are | ||
| 1099 | reserved for that purpose. Since buffer text can include | ||
| 1100 | bidirectional text, and thus both left-to-right and right-to-left | ||
| 1101 | paragraphs (@pxref{Bidirectional Editing}), removing only one of the | ||
| 1102 | fringes still reserves two character cells, one on each side of the | ||
| 1103 | window, for truncation and continuation indicators, because these | ||
| 1104 | indicators are displayed on opposite sides of the window in | ||
| 1105 | right-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 |
| 618 | The @dfn{body width} of a window is the width of its text area, which | 618 | The @dfn{body width} of a window is the width of its text area, which |
| 619 | does not include the scroll bar, fringes, margins or a right divider. | 619 | does not include the scroll bar, fringes, margins or a right divider. |
| 620 | Note that when one or both fringes are removed (by setting their width | ||
| 621 | to zero), the display engine reserves two character cells, one on each | ||
| 622 | side of the window, for displaying the continuation and truncation | ||
| 623 | glyphs, which leaves 2 columns less for text display. (The function | ||
| 624 | @code{window-max-chars-per-line}, described below, takes this | ||
| 625 | peculiarity into account.) | ||
| 620 | 626 | ||
| 621 | @defun window-body-width &optional window pixelwise | 627 | @defun window-body-width &optional window pixelwise |
| 622 | This function returns the width, in columns, of the body of window | 628 | This function returns the width, in columns, of the body of window |