Subject: Documentation Spelling Fixes
From: Mak Kolybabi <[email-masked]>
To: [email-masked]
Date: Thu, 27 Sep 2018 08:59:34 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

I spent some time slicing-and-dicing the documentation with different 
tools and pipelines to find spelling issues. I ignored changelogs, since 
I don't know if spelling fixes in there would be worthwhile or appreciated.

The attached patch was made against 
7f3877e83405a089b580fe9d0342dc0b6c08cbfc (2018-09-20) and consists 
solely of spelling fixes to documentation. If you would prefer these 
fixes be submitted in a different manner, please let me know.

-Mak

diff --git a/CONTRIBUTE b/CONTRIBUTE
index c4f424ce56..0b68052a0c 100644
--- a/CONTRIBUTE
+++ b/CONTRIBUTE
@@ -97,7 +97,7 @@ Otherwise do not mark it.
 If your change requires updating the manuals to document new
 functions/commands/variables/faces, then use the proper Texinfo
 command to index them; for instance, use @vindex for variables and
-@findex for functions/commands.  For the full list of predefine indices, see
+@findex for functions/commands.  For the full list of predefined indices, see
 https://www.gnu.org/software/texinfo/manual/texinfo/html_node/Predefined-Indices.html
 or run the shell command 'info "(texinfo)Predefined Indices"'.
 
diff --git a/doc/emacs/ack.texi b/doc/emacs/ack.texi
index 20c8d4e610..ff18d3ef9d 100644
--- a/doc/emacs/ack.texi
+++ b/doc/emacs/ack.texi
@@ -942,7 +942,7 @@ the Towers of Hanoi puzzle.
 William M. Perry wrote @file{mailcap.el} (with Lars Magne
 Ingebrigtsen), a MIME media types configuration facility;
 @file{mwheel.el}, a package for supporting mouse wheels; co-wrote (with
-Dave Love) @file{socks.el}, a Socks v5 client; and developed the URL
+Dave Love) @file{socks.el}, a SOCKS v5 client; and developed the URL
 package.
 
 @item
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index 8a6cf73af5..0f7502f1c2 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -791,7 +791,7 @@ Here are some important details about that usage.
 
 @enumerate
 @item When @var{symbol} occurs more than once in @var{seqpat},
-the second and subsequent occurances do not expand to re-binding,
+the second and subsequent occurrences do not expand to re-binding,
 but instead expand to an equality test using @code{eq}.
 
 The following example features a @code{pcase} form
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 0b9dd1c9cc..b3fe2591c3 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -3030,7 +3030,7 @@ Although Emacs normally respects access permissions of the underlying
 operating system, in some cases it handles accesses specially.  For
 example, file names can have handlers that treat the files specially,
 with their own access checking.  @xref{Magic File Names}.  Also, a
-buffer can be read-only even if the corresponding file is writeable,
+buffer can be read-only even if the corresponding file is writable,
 and vice versa, which can result in messages such as @samp{File passwd
 is write-protected; try to save anyway? (yes or no)}.  @xref{Read Only
 Buffers}.
diff --git a/doc/man/emacsclient.1 b/doc/man/emacsclient.1
index daaacab7f3..5aaa6d1f08 100644
--- a/doc/man/emacsclient.1
+++ b/doc/man/emacsclient.1
@@ -1,7 +1,7 @@
 .\" See section COPYING for conditions for redistribution.
 .TH EMACSCLIENT 1
 .\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
-.\" other parms are allowed: see man(7), man(1)
+.\" other params are allowed: see man(7), man(1)
 .SH NAME
 emacsclient \- tells a running Emacs to visit a file
 .SH SYNOPSIS
diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi
index 446210e5ff..83807c6fd2 100644
--- a/doc/misc/calc.texi
+++ b/doc/misc/calc.texi
@@ -36249,7 +36249,7 @@ keystrokes are not listed in this summary.
 @c
 @r{       @:      j +   @:formula      @:    27  @:calc-sel-add-both-sides@:}
 @r{       @:      j -   @:formula      @:    27  @:calc-sel-sub-both-sides@:}
-@r{       @:      j *   @:formula      @:    27  @:calc-sel-mul-both-sides@:}
+@r{       @:      j *   @:formula      @:    27  @:calc-sel-mult-both-sides@:}
 @r{       @:      j /   @:formula      @:    27  @:calc-sel-div-both-sides@:}
 @r{       @:      j &   @:             @:    27  @:calc-sel-invert@:}
 
diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi
index 79aac9b31f..7d3a0a3e9a 100644
--- a/doc/misc/eshell.texi
+++ b/doc/misc/eshell.texi
@@ -851,7 +851,7 @@ since.
 
 Make it so that the Lisp command on the right of the pipe is repeatedly
 called with the input strings as arguments.  This will require changing
-@code{eshell-do-pipeline} to handle non-process targets.
+@code{eshell-do-pipelines} to handle non-process targets.
 
 @item Input redirection is not supported
 
@@ -1201,7 +1201,7 @@ depending on its argument.
 
 That is, @samp{find X | xargs Y} would be indicated using @samp{Y
 $@{find X@}}.  Maybe @code{eshell-do-pipelines} could be changed to
-perform this on-thy-fly rewriting.
+perform this on-the-fly rewriting.
 
 @item Write an alias for @command{less} that brings up a @code{view-mode} buffer
 
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 6ccb9e55f3..69fe57310a 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -4456,7 +4456,7 @@ is called after the group buffer is
 generated.  It may be used to modify the buffer in some strange,
 unnatural way.
 
-@item gnus-group-prepared-hook
+@item gnus-group-prepare-hook
 @vindex gnus-group-prepare-hook
 is called as the very last thing after the group buffer has been
 generated.  It may be used to move point around, for instance.
diff --git a/doc/misc/org.texi b/doc/misc/org.texi
index 3bce0dd736..843661fab5 100644
--- a/doc/misc/org.texi
+++ b/doc/misc/org.texi
@@ -17991,7 +17991,7 @@ supports Imenu menus.  Enable it with a mode hook as follows:
 @end lisp
 @vindex org-imenu-depth
 By default the Imenu index is two levels deep.  Change the index depth using
-thes variable, @code{org-imenu-depth}.
+this variable, @code{org-imenu-depth}.
 @item @file{speedbar.el} by Eric M. Ludlam
 @cindex @file{speedbar.el}
 @cindex Ludlam, Eric M.
@@ -18065,7 +18065,7 @@ different replacement keys, look at the variable @code{org-disputed-keys}.
 @cindex @file{ecomplete.el}
 
 Ecomplete provides ``electric'' address completion in address header
-lines in message buffers.  Sadly Orgtbl mode cuts ecompletes power
+lines in message buffers.  Sadly Orgtbl mode cuts ecomplete's power
 supply: No completion happens when Orgtbl mode is enabled in message
 buffers while entering text in address header lines.  If one wants to
 use ecomplete one should @emph{not} follow the advice to automagically
diff --git a/doc/misc/reftex.texi b/doc/misc/reftex.texi
index 2ea98cf5df..4367d773e6 100644
--- a/doc/misc/reftex.texi
+++ b/doc/misc/reftex.texi
@@ -4618,7 +4618,7 @@ return the string to insert into the buffer.
 
 @defopt reftex-cite-prompt-optional-args
 Non-@code{nil} means, prompt for empty optional arguments in cite macros.
-When an entry in @code{reftex-cite-format} ist given with square brackets to
+When an entry in @code{reftex-cite-format} is given with square brackets to
 indicate optional arguments (for example @samp{\\cite[][]@{%l@}}), RefTeX can
 prompt for values.  Possible values are:
 @example
diff --git a/doc/misc/sieve.texi b/doc/misc/sieve.texi
index 2d290b3688..c2d3f16789 100644
--- a/doc/misc/sieve.texi
+++ b/doc/misc/sieve.texi
@@ -127,7 +127,7 @@ bindings to manage Sieve scripts remotely. @xref{Managing Sieve}.
 @kindex C-c RET
 @findex sieve-manage
 @cindex manage remote sieve script
-Open a connection to a remote server using the Managesieve protocol.
+Open a connection to a remote server using the ManageSieve protocol.
 
 @item C-c C-l
 @kindex C-c C-l
diff --git a/doc/misc/srecode.texi b/doc/misc/srecode.texi
index 2987f62974..7d8416e901 100644
--- a/doc/misc/srecode.texi
+++ b/doc/misc/srecode.texi
@@ -1474,7 +1474,7 @@ to write your own function in order to provide your dictionaries with
 the values needed for custom templates.
 
 In this way, you can build your own code generator for any language
-based on a set of predefined macros whos values you need to derive
+based on a set of predefined macros whose values you need to derive
 from Emacs Lisp code yourself.
 
 For example:
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index ca402013c7..88fa55fdee 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -301,7 +301,7 @@ into a buffer, and then deletes the temporary file.
 
 @item
 Edit, modify, change the buffer contents as normal, and then save the
-buffer wth @kbd{C-x C-s}.
+buffer with @kbd{C-x C-s}.
 
 @item
 @value{tramp} transfers the buffer contents to the remote host in
diff --git a/doc/misc/url.texi b/doc/misc/url.texi
index a8ac117975..eaeae60352 100644
--- a/doc/misc/url.texi
+++ b/doc/misc/url.texi
@@ -1342,7 +1342,7 @@ The User Agent string used for sending @acronym{HTTP}/@acronym{HTTPS}
 requests.  The value should be @code{nil}, which means that no
 @samp{User-Agent} header is generated, @code{default}, which means
 that a string is generated based on the setting of
-@code{url-privacy-leve}, a string or a function of no arguments that
+@code{url-privacy-level}, a string or a function of no arguments that
 returns a string.
 
 The default is @code{default}, which means that the
diff --git a/doc/misc/vhdl-mode.texi b/doc/misc/vhdl-mode.texi
index 8fc75106d5..c0efdbf75f 100644
--- a/doc/misc/vhdl-mode.texi
+++ b/doc/misc/vhdl-mode.texi
@@ -734,7 +734,7 @@ operator on the first line of the statement.  Here is the lisp code
 Custom indent functions take a single argument, which is a syntactic
 component cons cell (see @ref{Syntactic Analysis}).  The
 function returns an integer offset value that will be added to the
-running total indentation for the lne.  Note that what actually gets
+running total indentation for the line.  Note that what actually gets
 returned is the difference between the column that the signal assignment
 operator is on, and the column of the buffer relative position passed in
 the function's argument.  Remember that VHDL Mode automatically