diff options
author | Glenn Morris <rgm@gnu.org> | 2018-03-08 08:29:14 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2018-03-08 08:29:14 -0800 |
commit | 43548b51cb94c15af41b61b90172e05b9443a39b (patch) | |
tree | 02b92328987a8c98f4e73a4081fb310ae1c83693 /doc/emacs | |
parent | 50e2c0fb5180a757d8d533518f68837ffe5909be (diff) | |
parent | cb0d40eab406e7df22b09f7ae5557c820c087af4 (diff) | |
download | emacs-43548b51cb94c15af41b61b90172e05b9443a39b.tar.gz emacs-43548b51cb94c15af41b61b90172e05b9443a39b.tar.bz2 emacs-43548b51cb94c15af41b61b90172e05b9443a39b.zip |
Merge from origin/emacs-26
cb0d40e (origin/emacs-26) Minor change in the manual
7e26d83 More minor changes in the manual
6851754 Replace some obsolete aliases in code
6bcb48c Replace some obsolete aliases in documentation
317da2a Minor improvements in manuals
61c1f80 Minor copyedits in display.texi
d523e4a Remove some unused spam.el variables
501808c Replace some obsolete aliases in code
19afff3 Replace some obsolete aliases in documentation
c797bc9 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/emac...
0efe0bd Obsolete eshell-cmpl-suffix-list
add48d2 More minor changes in the Glossary of the Emacs manual
f6bd7e0 Revert last commit
af4697f Define if-let* and derivatives as aliases for if-let etc
ec79bdc Minor fix in Emacs manual's Glossary
Diffstat (limited to 'doc/emacs')
-rw-r--r-- | doc/emacs/buffers.texi | 22 | ||||
-rw-r--r-- | doc/emacs/display.texi | 17 | ||||
-rw-r--r-- | doc/emacs/glossary.texi | 27 | ||||
-rw-r--r-- | doc/emacs/programs.texi | 6 | ||||
-rw-r--r-- | doc/emacs/text.texi | 16 |
5 files changed, 52 insertions, 36 deletions
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi index f8c1856058a..dd7a653186c 100644 --- a/doc/emacs/buffers.texi +++ b/doc/emacs/buffers.texi @@ -32,6 +32,13 @@ buffer. When there is only one Emacs window, the buffer displayed in that window is current. When there are multiple windows, the buffer displayed in the @dfn{selected window} is current. @xref{Windows}. +@cindex buffer contents +@cindex contents of a buffer + A buffer's @dfn{contents} consist of a series of characters, each of +which optionally carries a set of text properties +(@pxref{International Chars, Text properties}) that can specify more +information about that character. + Aside from its textual contents, each buffer records several pieces of information, such as what file it is visiting (if any), whether it is modified, and what major mode and minor modes are in effect @@ -231,13 +238,14 @@ Scroll through buffer @var{buffer}. @xref{View Mode}. @kindex C-x C-q @vindex buffer-read-only @cindex read-only buffer - A buffer can be @dfn{read-only}, which means that commands to change -its contents are not allowed. The mode line indicates read-only -buffers with @samp{%%} or @samp{%*} near the left margin. @xref{Mode -Line}. Read-only buffers are usually made by subsystems such as Dired -and Rmail that have special commands to operate on the text. Visiting -a file whose access control says you cannot write it also makes the -buffer read-only. + A buffer can be @dfn{read-only}, which means that commands to insert +or delete its text are not allowed. (However, other commands, like +@kbd{C-x @key{RET} f}, can still mark it as modified, @pxref{Text +Coding}). The mode line indicates read-only buffers with @samp{%%} or +@samp{%*} near the left margin. @xref{Mode Line}. Read-only buffers +are usually made by subsystems such as Dired and Rmail that have +special commands to operate on the text. Visiting a file whose access +control says you cannot write it also makes the buffer read-only. @findex read-only-mode @vindex view-read-only diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index 312f70e13ba..499be26004d 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi @@ -971,7 +971,7 @@ version.) Highlight text that matches @var{regexp} using face @var{face} (@code{highlight-regexp}). The highlighting will remain as long as the buffer is loaded. For example, to highlight all occurrences of -the word ``whim'' using the default face (a yellow background) +the word ``whim'' using the default face (a yellow background), type @kbd{M-s h r whim @key{RET} @key{RET}}. Any face can be used for highlighting, Hi Lock provides several of its own and these are pre-loaded into a list of default values. While being prompted @@ -1258,7 +1258,7 @@ Highlight empty lines. @item big-indent @vindex whitespace-big-indent-regexp Highlight too-deep indentation. By default any sequence of at least 4 -consecutive TAB characters or 32 consecutive SPC characters is +consecutive tab characters or 32 consecutive space characters is highlighted. To change that, customize the regular expression @code{whitespace-big-indent-regexp}. @@ -1649,8 +1649,8 @@ Emacs can display long lines by @dfn{truncation}. This means that all the characters that do not fit in the width of the screen or window do not appear at all. On graphical displays, a small straight arrow in the fringe indicates truncation at either end of the line. On text -terminals, this is indicated with @samp{$} signs in the leftmost -and/or rightmost columns. +terminals, this is indicated with @samp{$} signs in the rightmost +and/or leftmost columns. @vindex truncate-lines @findex toggle-truncate-lines @@ -1676,8 +1676,9 @@ line truncation. @xref{Split Window}, for the variable @dfn{word wrap}. Here, each long logical line is divided into two or more screen lines, like in ordinary line continuation. However, Emacs attempts to wrap the line at word boundaries near the right window -edge. This makes the text easier to read, as wrapping does not occur -in the middle of words. +edge. (If line's direction is right-to-left, it is wrapped at the +left window edge instead.) This makes the text easier to read, as +wrapping does not occur in the middle of words. @cindex mode, Visual Line @cindex Visual Line mode @@ -1688,8 +1689,8 @@ To turn on Visual Line mode in the current buffer, type @kbd{M-x visual-line-mode}; repeating this command turns it off. You can also turn on Visual Line mode using the menu bar: in the Options menu, select the @samp{Line Wrapping in this Buffer} submenu, followed by -the @samp{Word Wrap (Visual Line Mode)} menu item. While Visual Line -mode is enabled, the mode-line shows the string @samp{wrap} in the +the @samp{Word Wrap (Visual Line mode)} menu item. While Visual Line +mode is enabled, the mode line shows the string @samp{wrap} in the mode display. The command @kbd{M-x global-visual-line-mode} toggles Visual Line mode in all buffers. diff --git a/doc/emacs/glossary.texi b/doc/emacs/glossary.texi index fd9e97f2d5f..6002e367cc9 100644 --- a/doc/emacs/glossary.texi +++ b/doc/emacs/glossary.texi @@ -720,10 +720,11 @@ customizing the various hooks, you can modify Emacs's behavior without changing any of its code. @xref{Hooks}. @item Hyper -Hyper is the name of a modifier bit that a keyboard input character may -have. To make a character Hyper, type it while holding down the +Hyper is the name of a modifier bit that a keyboard input character +may have. To make a character Hyper, type it while holding down the @key{Hyper} key. Such characters are given names that start with -@kbd{Hyper-} (usually written @kbd{H-} for short). @xref{User Input}. +@kbd{Hyper-} (usually written @kbd{H-} for short). @xref{Modifier +Keys}. @item i.e. Short for ``id est'' in Latin, which means ``that is''. @@ -1090,8 +1091,9 @@ The primary selection is one particular X selection (q.v.); it is the selection that most X applications use for transferring text to and from other applications. -The Emacs kill commands set the primary selection and the yank command -uses the primary selection when appropriate. @xref{Killing}. +The Emacs commands that mark or select text set the primary selection, +and clicking the mouse inserts text from the primary selection when +appropriate. @xref{Shift Selection}. @item Prompt A prompt is text used to ask you for input. Displaying a prompt @@ -1342,10 +1344,11 @@ which characters balance each other like parentheses, etc. Manual}. @item Super -Super is the name of a modifier bit that a keyboard input character may -have. To make a character Super, type it while holding down the +Super is the name of a modifier bit that a keyboard input character +may have. To make a character Super, type it while holding down the @key{SUPER} key. Such characters are given names that start with -@kbd{Super-} (usually written @kbd{s-} for short). @xref{User Input}. +@kbd{Super-} (usually written @kbd{s-} for short). @xref{Modifier +Keys}. @item Suspending Suspending Emacs means stopping it temporarily and returning control @@ -1492,13 +1495,13 @@ Emacs divides a frame (q.v.@:) into one or more windows, each of which can display the contents of one buffer (q.v.@:) at any time. @xref{Screen}, for basic information on how Emacs uses the screen. @xref{Windows}, for commands to control the use of windows. Some -other editors use the term ``window'' for what we call a ``frame'' -(q.v.@:) in Emacs. +other editors use the term ``window'' for what we call a ``frame'' in +Emacs. @item Window System A window system is software that operates on a graphical display -(q.v.), to subdivide the screen so that multiple applications can -have their] own windows at the same time. All modern operating systems +(q.v.), to subdivide the screen so that multiple applications can have +their own windows at the same time. All modern operating systems include a window system. @item Word Abbrev diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index be471099a57..49d1b9d2b11 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi @@ -815,11 +815,13 @@ options which control the operation of this mode include: @itemize @bullet @item -@code{show-paren-highlight-open-paren} controls whether to highlight +@vindex show-paren-highlight-openparen +@code{show-paren-highlight-openparen} controls whether to highlight an open paren when point stands just before it, and hence its position is marked by the cursor anyway. The default is non-@code{nil} (yes). @item +@vindex show-paren-style @code{show-paren-style} controls whether just the two parens, or also the space between them get highlighted. The valid options here are @code{parenthesis} (show the matching paren), @code{expression} @@ -828,10 +830,12 @@ the space between them get highlighted. The valid options here are expression otherwise). @item +@vindex show-paren-when-point-inside-paren @code{show-paren-when-point-inside-paren}, when non-@code{nil}, causes highlighting also when point is on the inside of a parenthesis. @item +@vindex show-paren-when-point-in-periphery @code{show-paren-when-point-in-periphery}, when non-@code{nil}, causes highlighting also when point is in whitespace at the beginning or end of a line, and there is a paren at, respectively, the first or last, diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index 8137945601b..012c73d8dbd 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi @@ -2067,27 +2067,27 @@ hook @code{text-mode-hook}, then @code{nroff-mode-hook} separators, pages are separated by @samp{.bp} commands, and comments start with backslash-doublequote. It also defines these commands: -@findex forward-text-line -@findex backward-text-line -@findex count-text-lines +@findex nroff-forward-text-line +@findex nroff-backward-text-line +@findex nroff-count-text-lines @kindex M-n @r{(Nroff mode)} @kindex M-p @r{(Nroff mode)} @kindex M-? @r{(Nroff mode)} @table @kbd @item M-n Move to the beginning of the next line that isn't an nroff command -(@code{forward-text-line}). An argument is a repeat count. +(@code{nroff-forward-text-line}). An argument is a repeat count. @item M-p -Like @kbd{M-n} but move up (@code{backward-text-line}). +Like @kbd{M-n} but move up (@code{nroff-backward-text-line}). @item M-? Displays in the echo area the number of text lines (lines that are not -nroff commands) in the region (@code{count-text-lines}). +nroff commands) in the region (@code{nroff-count-text-lines}). @end table -@findex electric-nroff-mode +@findex nroff-electric-mode Electric Nroff mode is a buffer-local minor mode that can be used with Nroff mode. To toggle this minor mode, type @kbd{M-x -electric-nroff-mode} (@pxref{Minor Modes}). When the mode is on, each +nroff-electric-mode} (@pxref{Minor Modes}). When the mode is on, each time you type @key{RET} to end a line containing an nroff command that opens a kind of grouping, the nroff command to close that grouping is automatically inserted on the following line. |