aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2018-03-23 19:08:32 +0300
committerEli Zaretskii2018-03-23 19:08:32 +0300
commit1bc4def8ca6d9bf9096af8ea3185c428f36b2c5a (patch)
tree25b977995f71ac79561d024d9778a96ef8b00d94
parentb8ebf5fb64dbf261315bfdb281a8b0a119e7cc2b (diff)
downloademacs-1bc4def8ca6d9bf9096af8ea3185c428f36b2c5a.tar.gz
emacs-1bc4def8ca6d9bf9096af8ea3185c428f36b2c5a.zip
More proofreading of the Emacs manual
* doc/emacs/trouble.texi (DEL Does Not Delete): Improve wording. (Screen Garbled): Mention the command name. (Bug Criteria): Mention that problems in packages should first be reported to the respective maintainers. (Checklist): Fix wording. (Contributing, Copyright Assignment): Minor copyedits. * doc/emacs/misc.texi (Amusements): Remove Landmark. * doc/emacs/picture-xtra.texi (Tabs in Picture): Improve wording. (Rectangles in Picture): Add a cross-reference to "Registers". * doc/emacs/misc.texi (Gnus Group Buffer, Gnus Summary Buffer): Mention command names in parentheses. (Gnus Summary Buffer): Document "M-r". (Network Security): Document that current NSM works with TLS encryption. Fix markup. (Document View): Improve wording and fix a typo. (DocView Conversion): Rephrase description of doc-view-cache-directory. (Single Shell): Mention variables that control when shell output appears in the echo area. (Shell Mode): Improve wording. (Shell Prompts): Fix a typo. (Shell Ring, Term Mode): Mention command names. (History References): Add a cross-reference to "Rebinding". (Remote Host): Mention SSH. (TCP Emacs server): Improve wording. (emacsclient Options): Minor improvements. (PostScript): Fix wording. (PostScript Variables): Mention that ps-font-size could be a cons. (Sorting): Minor improvements. Suggested by Michael Albinus <michael.albinus@gmx.de> in emacs-manual-bugs@gnu.org
-rw-r--r--doc/emacs/misc.texi187
-rw-r--r--doc/emacs/picture-xtra.texi4
-rw-r--r--doc/emacs/trouble.texi90
3 files changed, 157 insertions, 124 deletions
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 60986347a71..fed2e489245 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -132,7 +132,8 @@ sessions.
132@kindex SPC @r{(Gnus Group mode)} 132@kindex SPC @r{(Gnus Group mode)}
133@findex gnus-group-read-group 133@findex gnus-group-read-group
134@item @key{SPC} 134@item @key{SPC}
135Switch to the summary buffer for the group on the current line. 135Switch to the summary buffer for the group on the current line
136(@code{gnus-group-read-group}).
136 137
137@kindex l @r{(Gnus Group mode)} 138@kindex l @r{(Gnus Group mode)}
138@kindex A s @r{(Gnus Group mode)} 139@kindex A s @r{(Gnus Group mode)}
@@ -140,7 +141,8 @@ Switch to the summary buffer for the group on the current line.
140@item l 141@item l
141@itemx A s 142@itemx A s
142In the group buffer, list only the groups to which you subscribe and 143In the group buffer, list only the groups to which you subscribe and
143which contain unread articles (this is the default listing). 144which contain unread articles (@code{gnus-group-list-groups}; this is
145the default listing).
144 146
145@kindex L @r{(Gnus Group mode)} 147@kindex L @r{(Gnus Group mode)}
146@kindex A u @r{(Gnus Group mode)} 148@kindex A u @r{(Gnus Group mode)}
@@ -148,24 +150,25 @@ which contain unread articles (this is the default listing).
148@item L 150@item L
149@itemx A u 151@itemx A u
150List all subscribed and unsubscribed groups, but not killed or zombie 152List all subscribed and unsubscribed groups, but not killed or zombie
151groups. 153groups (@code{gnus-group-list-all-groups}).
152 154
153@kindex A k @r{(Gnus Group mode)} 155@kindex A k @r{(Gnus Group mode)}
154@findex gnus-group-list-killed 156@findex gnus-group-list-killed
155@item A k 157@item A k
156List killed groups. 158List killed groups (@code{gnus-group-list-killed}).
157 159
158@kindex A z @r{(Gnus Group mode)} 160@kindex A z @r{(Gnus Group mode)}
159@findex gnus-group-list-zombies 161@findex gnus-group-list-zombies
160@item A z 162@item A z
161List zombie groups. 163List zombie groups (@code{gnus-group-list-zombies}).
162 164
163@kindex u @r{(Gnus Group mode)} 165@kindex u @r{(Gnus Group mode)}
164@findex gnus-group-unsubscribe-current-group 166@findex gnus-group-unsubscribe-current-group
165@cindex subscribe groups 167@cindex subscribe groups
166@cindex unsubscribe groups 168@cindex unsubscribe groups
167@item u 169@item u
168Toggle the subscription status of the group on the current line 170Toggle the subscription status of the group
171(@code{gnus-group-unsubscribe-current-group}) on the current line
169(i.e., turn a subscribed group into an unsubscribed group, or vice 172(i.e., turn a subscribed group into an unsubscribed group, or vice
170versa). Invoking this on a killed or zombie group turns it into an 173versa). Invoking this on a killed or zombie group turns it into an
171unsubscribed group. 174unsubscribed group.
@@ -173,28 +176,31 @@ unsubscribed group.
173@kindex C-k @r{(Gnus Group mode)} 176@kindex C-k @r{(Gnus Group mode)}
174@findex gnus-group-kill-group 177@findex gnus-group-kill-group
175@item C-k 178@item C-k
176Kill the group on the current line. Killed groups are not recorded in 179Kill the group on the current line (@code{gnus-group-kill-group}).
177the @file{.newsrc} file, and they are not shown in the @kbd{l} or 180Killed groups are not recorded in the @file{.newsrc} file, and they
178@kbd{L} listings. 181are not shown in the @kbd{l} or @kbd{L} listings.
179 182
180@kindex DEL @r{(Gnus Group mode)} 183@kindex DEL @r{(Gnus Group mode)}
181@item @key{DEL} 184@item @key{DEL}
182Move point to the previous group containing unread articles. 185Move point to the previous group containing unread articles
186(@code{gnus-group-prev-unread-group}.)
183 187
184@kindex n @r{(Gnus Group mode)} 188@kindex n @r{(Gnus Group mode)}
185@findex gnus-group-next-unread-group 189@findex gnus-group-next-unread-group
186@item n 190@item n
187Move point to the next unread group. 191Move point to the next unread group
192(@code{gnus-group-next-unread-group}).
188 193
189@kindex p @r{(Gnus Group mode)} 194@kindex p @r{(Gnus Group mode)}
190@findex gnus-group-prev-unread-group 195@findex gnus-group-prev-unread-group
191@item p 196@item p
192Move point to the previous unread group. 197Move point to the previous unread group
198(@code{gnus-group-prev-unread-group}).
193 199
194@kindex q @r{(Gnus Group mode)} 200@kindex q @r{(Gnus Group mode)}
195@findex gnus-group-exit 201@findex gnus-group-exit
196@item q 202@item q
197Update your Gnus settings, and quit Gnus. 203Update your Gnus settings, and quit Gnus (@code{gnus-group-exit}).
198@end table 204@end table
199 205
200@node Gnus Summary Buffer 206@node Gnus Summary Buffer
@@ -209,7 +215,7 @@ Update your Gnus settings, and quit Gnus.
209If there is no article selected, select the article on the current 215If there is no article selected, select the article on the current
210line and display its article buffer. Otherwise, try scrolling the 216line and display its article buffer. Otherwise, try scrolling the
211selected article buffer in its window; on reaching the end of the 217selected article buffer in its window; on reaching the end of the
212buffer, select the next unread article. 218buffer, select the next unread article (@code{gnus-summary-next-page}).
213 219
214Thus, you can read through all articles by repeatedly typing 220Thus, you can read through all articles by repeatedly typing
215@key{SPC}. 221@key{SPC}.
@@ -217,33 +223,44 @@ Thus, you can read through all articles by repeatedly typing
217@kindex DEL @r{(Gnus Summary mode)} 223@kindex DEL @r{(Gnus Summary mode)}
218@findex gnus-summary-prev-page 224@findex gnus-summary-prev-page
219@item @key{DEL} 225@item @key{DEL}
220Scroll the text of the article backwards. 226Scroll the text of the article backwards
227(@code{gnus-summary-prev-page}).
221 228
222@kindex n @r{(Gnus Summary mode)} 229@kindex n @r{(Gnus Summary mode)}
223@findex gnus-summary-next-unread-article 230@findex gnus-summary-next-unread-article
224@item n 231@item n
225Select the next unread article. 232Select the next unread article
233(@code{gnus-summary-next-unread-article}).
226 234
227@kindex p @r{(Gnus Summary mode)} 235@kindex p @r{(Gnus Summary mode)}
228@findex gnus-summary-prev-unread-article 236@findex gnus-summary-prev-unread-article
229@item p 237@item p
230Select the previous unread article. 238Select the previous unread article
239(@code{gnus-summary-prev-unread-article}).
231 240
232@kindex s @r{(Gnus Summary mode)} 241@kindex s @r{(Gnus Summary mode)}
233@findex gnus-summary-isearch-article 242@findex gnus-summary-isearch-article
234@item s 243@item s
235Do an incremental search on the selected article buffer, as if you 244Do an incremental search on the selected article buffer
236switched to the buffer and typed @kbd{C-s} (@pxref{Incremental 245(@code{gnus-summary-isearch-article}), as if you switched to the
237Search}). 246buffer and typed @kbd{C-s} (@pxref{Incremental Search}).
238 247
239@kindex M-s @r{(Gnus Summary mode)} 248@kindex M-s @r{(Gnus Summary mode)}
240@findex gnus-summary-search-article-forward 249@findex gnus-summary-search-article-forward
241@item M-s @var{regexp} @key{RET} 250@item M-s @var{regexp} @key{RET}
242Search forward for articles containing a match for @var{regexp}. 251Search forward for articles containing a match for @var{regexp}
252(@code{gnus-summary-search-article-forward}).
253
254@kindex M-r @r{(Gnus Summary mode)}
255@findex gnus-summary-search-article-backward
256@item M-r @var{regexp} @key{RET}
257Search back for articles containing a match for @var{regexp}
258(@code{gnus-summary-search-article-backward}).
243 259
244@kindex q @r{(Gnus Summary mode)} 260@kindex q @r{(Gnus Summary mode)}
245@item q 261@item q
246Exit the summary buffer and return to the group buffer. 262Exit the summary buffer and return to the group buffer
263(@code{gnus-summary-exit}).
247@end table 264@end table
248 265
249@node Host Security 266@node Host Security
@@ -273,12 +290,14 @@ Emacs as part of a larger application.
273@cindex encryption 290@cindex encryption
274@cindex SSL 291@cindex SSL
275@cindex TLS 292@cindex TLS
293@cindex Transport Layer Security
276@cindex STARTTLS 294@cindex STARTTLS
277 295
278Whenever Emacs establishes any network connection, it passes the 296Whenever Emacs establishes any network connection, it passes the
279established connection to the @dfn{Network Security Manager} 297established connection to the @dfn{Network Security Manager}
280(@acronym{NSM}). @acronym{NSM} is responsible for enforcing the 298(@acronym{NSM}). @acronym{NSM} is responsible for enforcing the
281network security under your control. 299network security under your control. Currently, this works by using
300the Transport Layer Security (@acronym{TLS}) features.
282 301
283@vindex network-security-level 302@vindex network-security-level
284The @code{network-security-level} variable determines the security 303The @code{network-security-level} variable determines the security
@@ -381,7 +400,8 @@ By default, host names will not be saved for non-@code{STARTTLS}
381connections. Instead a host/port hash is used to identify connections. 400connections. Instead a host/port hash is used to identify connections.
382This means that one can't casually read the settings file to see what 401This means that one can't casually read the settings file to see what
383servers the user has connected to. If this variable is @code{t}, 402servers the user has connected to. If this variable is @code{t},
384@acronym{NSM} will also save host names in the nsm-settings-file. 403@acronym{NSM} will also save host names in the
404@code{nsm-settings-file}.
385@end table 405@end table
386 406
387 407
@@ -411,7 +431,7 @@ is needed. For OpenDocument and Microsoft Office documents, the
411@findex doc-view-toggle-display 431@findex doc-view-toggle-display
412@findex doc-view-minor-mode 432@findex doc-view-minor-mode
413 When you visit a document file that can be displayed with DocView 433 When you visit a document file that can be displayed with DocView
414mode, Emacs automatically uses DocView mode @footnote{The needed 434mode, Emacs automatically uses that mode @footnote{The needed
415external tools for the document type must be available, and Emacs must 435external tools for the document type must be available, and Emacs must
416be running in a graphical frame and have PNG image support. If these 436be running in a graphical frame and have PNG image support. If these
417requirements is not fulfilled, Emacs falls back to another major 437requirements is not fulfilled, Emacs falls back to another major
@@ -426,7 +446,7 @@ underlying file contents.
426@findex doc-view-open-text 446@findex doc-view-open-text
427 When you visit a file which would normally be handled by DocView 447 When you visit a file which would normally be handled by DocView
428mode but some requirement is not met (e.g., you operate in a terminal 448mode but some requirement is not met (e.g., you operate in a terminal
429frame or emacs has no PNG support), you are queried if you want to 449frame or Emacs has no PNG support), you are queried if you want to
430view the document's contents as plain text. If you confirm, the 450view the document's contents as plain text. If you confirm, the
431buffer is put in text mode and DocView minor mode is activated. Thus, 451buffer is put in text mode and DocView minor mode is activated. Thus,
432by typing @kbd{C-c C-c} you switch to the fallback mode. With another 452by typing @kbd{C-c C-c} you switch to the fallback mode. With another
@@ -574,7 +594,7 @@ including its entire margins.
574@vindex doc-view-cache-directory 594@vindex doc-view-cache-directory
575@findex doc-view-clear-cache 595@findex doc-view-clear-cache
576 For efficiency, DocView caches the images produced by @command{gs}. 596 For efficiency, DocView caches the images produced by @command{gs}.
577The name of this directory is given by the variable 597The name of the directory where it caches images is given by the variable
578@code{doc-view-cache-directory}. You can clear the cache directory by 598@code{doc-view-cache-directory}. You can clear the cache directory by
579typing @kbd{M-x doc-view-clear-cache}. 599typing @kbd{M-x doc-view-clear-cache}.
580 600
@@ -660,7 +680,9 @@ for that command. Standard input for the command comes from the null
660device. If the shell command produces any output, the output appears 680device. If the shell command produces any output, the output appears
661either in the echo area (if it is short), or in an Emacs buffer named 681either in the echo area (if it is short), or in an Emacs buffer named
662@file{*Shell Command Output*}, displayed in another window (if the 682@file{*Shell Command Output*}, displayed in another window (if the
663output is long). 683output is long). The variables @code{resize-mini-windows} and
684@code{max-mini-window-height} (@pxref{Minibuffer Edit}) control when
685the output is considered too long for the echo area.
664 686
665 For instance, one way to decompress a file named @file{foo.gz} is to 687 For instance, one way to decompress a file named @file{foo.gz} is to
666type @kbd{M-! gunzip foo.gz @key{RET}}. That shell command normally 688type @kbd{M-! gunzip foo.gz @key{RET}}. That shell command normally
@@ -872,11 +894,12 @@ line---but after @kbd{C-c @key{SPC}} the process mark may be in a
872previous line.) 894previous line.)
873 895
874@item C-c @key{SPC} 896@item C-c @key{SPC}
875Accumulate multiple lines of input, then send them together. This 897Accumulate multiple lines of input, then send them together
876command inserts a newline before point, but does not send the preceding 898(@code{comint-accumulate}). This command inserts a newline before
877text as input to the subshell---at least, not yet. Both lines, the one 899point, but does not send the preceding text as input to the
878before this newline and the one after, will be sent together (along with 900subshell---at least, not yet. Both lines, the one before this newline
879the newline that separates them), when you type @key{RET}. 901and the one after, will be sent together (along with the newline that
902separates them), when you type @key{RET}.
880 903
881@item C-c C-u 904@item C-c C-u
882@kindex C-c C-u @r{(Shell mode)} 905@kindex C-c C-u @r{(Shell mode)}
@@ -936,7 +959,7 @@ of the window; also move the cursor there (@code{comint-show-output}).
936@item C-c C-e 959@item C-c C-e
937@kindex C-c C-e @r{(Shell mode)} 960@kindex C-c C-e @r{(Shell mode)}
938@findex comint-show-maximum-output 961@findex comint-show-maximum-output
939Scroll to put the end of the buffer at the bottom of the window 962Scroll to put the last line of the buffer at the bottom of the window
940(@code{comint-show-maximum-output}). 963(@code{comint-show-maximum-output}).
941 964
942@item C-c C-f 965@item C-c C-f
@@ -1027,9 +1050,9 @@ specializations of Shell mode.
1027@cindex prompt, shell 1050@cindex prompt, shell
1028 A prompt is text output by a program to show that it is ready to 1051 A prompt is text output by a program to show that it is ready to
1029accept new user input. Normally, Comint mode (and thus Shell mode) 1052accept new user input. Normally, Comint mode (and thus Shell mode)
1030automatically figures out part of the buffer is a prompt, based on the 1053automatically figures out which part of the buffer is a prompt, based
1031output of the subprocess. (Specifically, it assumes that any received 1054on the output of the subprocess. (Specifically, it assumes that any
1032output line which doesn't end with a newline is a prompt.) 1055received output line which doesn't end with a newline is a prompt.)
1033 1056
1034 Comint mode divides the buffer into two types of @dfn{fields}: input 1057 Comint mode divides the buffer into two types of @dfn{fields}: input
1035fields (where user input is typed) and output fields (everywhere 1058fields (where user input is typed) and output fields (everywhere
@@ -1082,28 +1105,32 @@ resubmit them or copy them to the end. Or you can use a
1082@kindex M-p @r{(Shell mode)} 1105@kindex M-p @r{(Shell mode)}
1083@item M-p 1106@item M-p
1084@itemx C-@key{UP} 1107@itemx C-@key{UP}
1085Fetch the next earlier old shell command. 1108Fetch the next earlier old shell command
1109(@code{comint-previous-input}).
1086 1110
1087@kindex M-n @r{(Shell mode)} 1111@kindex M-n @r{(Shell mode)}
1088@findex comint-next-input 1112@findex comint-next-input
1089@item M-n 1113@item M-n
1090@itemx C-@key{DOWN} 1114@itemx C-@key{DOWN}
1091Fetch the next later old shell command. 1115Fetch the next later old shell command (@code{comint-next-input}).
1092 1116
1093@kindex M-r @r{(Shell mode)} 1117@kindex M-r @r{(Shell mode)}
1094@findex comint-history-isearch-backward-regexp 1118@findex comint-history-isearch-backward-regexp
1095@item M-r 1119@item M-r
1096Begin an incremental regexp search of old shell commands. 1120Begin an incremental regexp search of old shell commands
1121(@code{comint-history-isearch-backward-regexp}).
1097 1122
1098@item C-c C-x 1123@item C-c C-x
1099@kindex C-c C-x @r{(Shell mode)} 1124@kindex C-c C-x @r{(Shell mode)}
1100@findex comint-get-next-from-history 1125@findex comint-get-next-from-history
1101Fetch the next subsequent command from the history. 1126Fetch the next subsequent command from the history
1127(@code{comint-get-next-from-history}).
1102 1128
1103@item C-c . 1129@item C-c .
1104@kindex C-c . @r{(Shell mode)} 1130@kindex C-c . @r{(Shell mode)}
1105@findex comint-input-previous-argument 1131@findex comint-input-previous-argument
1106Fetch one argument from an old shell command. 1132Fetch one argument from an old shell command
1133(@code{comint-input-previous-argument}).
1107 1134
1108@item C-c C-l 1135@item C-c C-l
1109@kindex C-c C-l @r{(Shell mode)} 1136@kindex C-c C-l @r{(Shell mode)}
@@ -1231,7 +1258,7 @@ typing @key{RET}.
1231when you send them to the shell. To request this, set the variable 1258when you send them to the shell. To request this, set the variable
1232@code{comint-input-autoexpand} to @code{input}. You can make 1259@code{comint-input-autoexpand} to @code{input}. You can make
1233@key{SPC} perform history expansion by binding @key{SPC} to the 1260@key{SPC} perform history expansion by binding @key{SPC} to the
1234command @code{comint-magic-space}. 1261command @code{comint-magic-space}. @xref{Rebinding}.
1235 1262
1236 Shell mode recognizes history references when they follow a prompt. 1263 Shell mode recognizes history references when they follow a prompt.
1237@xref{Shell Prompts}, for how Shell mode recognizes prompts. 1264@xref{Shell Prompts}, for how Shell mode recognizes prompts.
@@ -1419,9 +1446,6 @@ examining your input. But some shells can tell Term what the current
1419directory is. This is done automatically by @code{bash} version 1.15 1446directory is. This is done automatically by @code{bash} version 1.15
1420and later. 1447and later.
1421 1448
1422
1423
1424
1425@node Term Mode 1449@node Term Mode
1426@subsection Term Mode 1450@subsection Term Mode
1427@cindex Term mode 1451@cindex Term mode
@@ -1448,7 +1472,8 @@ char mode.
1448 1472
1449@table @kbd 1473@table @kbd
1450@item C-c C-c 1474@item C-c C-c
1451Send a literal @kbd{C-c} to the sub-shell. 1475Send a literal @kbd{C-c} to the sub-shell
1476(@code{term-interrupt-subjob}).
1452 1477
1453@item C-c @var{char} 1478@item C-c @var{char}
1454This is equivalent to @kbd{C-x @var{char}} in normal Emacs. For 1479This is equivalent to @kbd{C-x @var{char}} in normal Emacs. For
@@ -1464,13 +1489,13 @@ output pause at the end of each screenful:
1464@kindex C-c C-q @r{(Term mode)} 1489@kindex C-c C-q @r{(Term mode)}
1465@findex term-pager-toggle 1490@findex term-pager-toggle
1466@item C-c C-q 1491@item C-c C-q
1467Toggle the page-at-a-time feature. This command works in both line 1492Toggle the page-at-a-time feature (@code{term-pager-toggle}). This
1468and char modes. When the feature is enabled, the mode-line displays 1493command works in both line and char modes. When the feature is
1469the word @samp{page}, and each time Term receives more than a 1494enabled, the mode-line displays the word @samp{page}, and each time
1470screenful of output, it pauses and displays @samp{**MORE**} in the 1495Term receives more than a screenful of output, it pauses and displays
1471mode-line. Type @key{SPC} to display the next screenful of output, or 1496@samp{**MORE**} in the mode-line. Type @key{SPC} to display the next
1472@kbd{?} to see your other options. The interface is similar to the 1497screenful of output, or @kbd{?} to see your other options. The
1473@code{more} program. 1498interface is similar to the @code{more} program.
1474@end table 1499@end table
1475 1500
1476@node Remote Host 1501@node Remote Host
@@ -1481,8 +1506,8 @@ mode-line. Type @key{SPC} to display the next screenful of output, or
1481@cindex Rlogin 1506@cindex Rlogin
1482 1507
1483 You can login to a remote computer, using whatever commands you 1508 You can login to a remote computer, using whatever commands you
1484would from a regular terminal (e.g., using the @code{telnet} or 1509would from a regular terminal (e.g., using the @code{ssh} or
1485@code{rlogin} commands), from a Term window. 1510@code{telnet} or @code{rlogin} commands), from a Term window.
1486 1511
1487 A program that asks you for a password will normally suppress 1512 A program that asks you for a password will normally suppress
1488echoing of the password, so the password will not show up in the 1513echoing of the password, so the password will not show up in the
@@ -1621,7 +1646,7 @@ name, using the @samp{-s} option (@pxref{emacsclient Options}).
1621you can give each daemon its own server name like this: 1646you can give each daemon its own server name like this:
1622 1647
1623@example 1648@example
1624 emacs --eval "(setq server-name \"foo\")" --daemon 1649 emacs --daemon=foo
1625@end example 1650@end example
1626 1651
1627@findex server-eval-at 1652@findex server-eval-at
@@ -1656,7 +1681,7 @@ not support local sockets.
1656 1681
1657@vindex server-host 1682@vindex server-host
1658@vindex server-port 1683@vindex server-port
1659 If the Emacs server is set to use TCP, it will by default listen to 1684 If the Emacs server is set to use TCP, it will by default listen on
1660a random port on the localhost interface. This can be changed to 1685a random port on the localhost interface. This can be changed to
1661another interface and/or a fixed port using the variables 1686another interface and/or a fixed port using the variables
1662@code{server-host} and @code{server-port}. 1687@code{server-host} and @code{server-port}.
@@ -1848,7 +1873,7 @@ evaluate, @emph{not} as a list of files to visit.
1848Specify a server file (@pxref{TCP Emacs server}) for connecting to an 1873Specify a server file (@pxref{TCP Emacs server}) for connecting to an
1849Emacs server via TCP. Alternatively, you can set the 1874Emacs server via TCP. Alternatively, you can set the
1850@env{EMACS_SERVER_FILE} environment variable to point to the server 1875@env{EMACS_SERVER_FILE} environment variable to point to the server
1851file. 1876file. (The command-line option overrides the environment variable.)
1852 1877
1853An Emacs server usually uses a local socket to listen for connections, 1878An Emacs server usually uses a local socket to listen for connections,
1854but also supports connections over TCP. To connect to a TCP Emacs 1879but also supports connections over TCP. To connect to a TCP Emacs
@@ -1904,14 +1929,15 @@ terminal.
1904@item -T @var{tramp-prefix} 1929@item -T @var{tramp-prefix}
1905@itemx --tramp-prefix=@var{tramp-prefix} 1930@itemx --tramp-prefix=@var{tramp-prefix}
1906Set the prefix to add to filenames for Emacs to locate files on remote 1931Set the prefix to add to filenames for Emacs to locate files on remote
1907machines using TRAMP (@pxref{Top, The Tramp Manual,, tramp, The Tramp 1932machines (@pxref{Remote Files}) using TRAMP (@pxref{Top, The Tramp
1908Manual}). This is mostly useful in combination with using the Emacs 1933Manual,, tramp, The Tramp Manual}). This is mostly useful in
1909server over TCP (@pxref{TCP Emacs server}). By ssh-forwarding the 1934combination with using the Emacs server over TCP (@pxref{TCP Emacs
1910listening port and making the @var{server-file} available on a remote 1935server}). By ssh-forwarding the listening port and making the
1911machine, programs on the remote machine can use @command{emacsclient} 1936@var{server-file} available on a remote machine, programs on the
1912as the value for the @env{EDITOR} and similar environment variables, 1937remote machine can use @command{emacsclient} as the value for the
1913but instead of talking to an Emacs server on the remote machine, the 1938@env{EDITOR} and similar environment variables, but instead of talking
1914files will be visited in the local Emacs session using TRAMP. 1939to an Emacs server on the remote machine, the files will be visited in
1940the local Emacs session using TRAMP.
1915 1941
1916@vindex EMACSCLIENT_TRAMP@r{, environment variable} 1942@vindex EMACSCLIENT_TRAMP@r{, environment variable}
1917Setting the environment variable @env{EMACSCLIENT_TRAMP} has the same 1943Setting the environment variable @env{EMACSCLIENT_TRAMP} has the same
@@ -2068,8 +2094,8 @@ buffer; the other, just the region. The commands
2068@code{ps-print-region-with-faces} behave similarly, but use PostScript 2094@code{ps-print-region-with-faces} behave similarly, but use PostScript
2069features to show the faces (fonts and colors) of the buffer text. 2095features to show the faces (fonts and colors) of the buffer text.
2070 2096
2071 Interactively, when you use a prefix argument (@kbd{C-u}), the command 2097 Interactively, when you use a prefix argument (@kbd{C-u}), these commands
2072prompts the user for a file name, and saves the PostScript image in that file 2098prompt the user for a file name, and save the PostScript image in that file
2073instead of sending it to the printer. 2099instead of sending it to the printer.
2074 2100
2075@findex ps-spool-region 2101@findex ps-spool-region
@@ -2161,7 +2187,9 @@ default is 1.
2161for printing ordinary text. Legitimate values include @code{Courier}, 2187for printing ordinary text. Legitimate values include @code{Courier},
2162@code{Helvetica}, @code{NewCenturySchlbk}, @code{Palatino} and 2188@code{Helvetica}, @code{NewCenturySchlbk}, @code{Palatino} and
2163@code{Times}. The variable @code{ps-font-size} specifies the size of 2189@code{Times}. The variable @code{ps-font-size} specifies the size of
2164the font for ordinary text. It defaults to 8.5 points. 2190the font for ordinary text and defaults to 8.5 points. The value of
2191@code{ps-font-size} can also be a cons of 2 floats: one for landscape
2192mode, the other for portrait mode.
2165 2193
2166@vindex ps-multibyte-buffer 2194@vindex ps-multibyte-buffer
2167@cindex Intlfonts for PostScript printing 2195@cindex Intlfonts for PostScript printing
@@ -2229,7 +2257,8 @@ into the order determined by the sort keys. The records are ordered so
2229that their keys are in alphabetical order, or, for numeric sorting, in 2257that their keys are in alphabetical order, or, for numeric sorting, in
2230numeric order. In alphabetic sorting, all upper-case letters @samp{A} 2258numeric order. In alphabetic sorting, all upper-case letters @samp{A}
2231through @samp{Z} come before lower-case @samp{a}, in accordance with the 2259through @samp{Z} come before lower-case @samp{a}, in accordance with the
2232@acronym{ASCII} character sequence. 2260@acronym{ASCII} character sequence (but @code{sort-fold-case},
2261described below, can change that).
2233 2262
2234 The various sort commands differ in how they divide the text into sort 2263 The various sort commands differ in how they divide the text into sort
2235records and in which part of each record is used as the sort key. Most of 2264records and in which part of each record is used as the sort key. Most of
@@ -2267,10 +2296,11 @@ in a line constitutes field 1, the second such run constitutes field
22672, etc. 22962, etc.
2268 2297
2269Specify which field to sort by with a numeric argument: 1 to sort by 2298Specify which field to sort by with a numeric argument: 1 to sort by
2270field 1, etc. A negative argument means count fields from the right 2299field 1, etc.; the default is 1. A negative argument means count
2271instead of from the left; thus, minus 1 means sort by the last field. 2300fields from the right instead of from the left; thus, minus 1 means
2272If several lines have identical contents in the field being sorted, they 2301sort by the last field. If several lines have identical contents in
2273keep the same relative order that they had in the original buffer. 2302the field being sorted, they keep the same relative order that they
2303had in the original buffer.
2274 2304
2275@item M-x sort-numeric-fields 2305@item M-x sort-numeric-fields
2276Like @kbd{M-x sort-fields} except the specified field is converted 2306Like @kbd{M-x sort-fields} except the specified field is converted
@@ -2943,13 +2973,6 @@ bored, try an argument of 9. Sit back and watch.
2943@cindex Life 2973@cindex Life
2944 @kbd{M-x life} runs Conway's Game of Life cellular automaton. 2974 @kbd{M-x life} runs Conway's Game of Life cellular automaton.
2945 2975
2946@findex landmark
2947@cindex landmark game
2948 @kbd{M-x landmark} runs a relatively non-participatory game in which
2949a robot attempts to maneuver towards a tree at the center of the
2950window based on unique olfactory cues from each of the four
2951directions.
2952
2953@findex morse-region 2976@findex morse-region
2954@findex unmorse-region 2977@findex unmorse-region
2955@findex nato-region 2978@findex nato-region
diff --git a/doc/emacs/picture-xtra.texi b/doc/emacs/picture-xtra.texi
index 39c353b0ff1..8a9dbcfd119 100644
--- a/doc/emacs/picture-xtra.texi
+++ b/doc/emacs/picture-xtra.texi
@@ -199,7 +199,7 @@ C-b} (@code{picture-motion-reverse}) moves in the opposite direction.
199With no argument, it moves to a point underneath the next 199With no argument, it moves to a point underneath the next
200``interesting'' character that follows whitespace in the previous 200``interesting'' character that follows whitespace in the previous
201nonblank line. ``Next'' here means ``appearing at a horizontal position 201nonblank line. ``Next'' here means ``appearing at a horizontal position
202greater than the one point starts out at''. With an argument, as in 202greater than the one point starts out at''. With prefix argument, as in
203@kbd{C-u M-@key{TAB}}, this command moves to the next such interesting 203@kbd{C-u M-@key{TAB}}, this command moves to the next such interesting
204character in the current line. @kbd{M-@key{TAB}} does not change the 204character in the current line. @kbd{M-@key{TAB}} does not change the
205text; it only moves point. ``Interesting'' characters are defined by 205text; it only moves point. ``Interesting'' characters are defined by
@@ -250,7 +250,7 @@ Clear out the region-rectangle with spaces
250text. 250text.
251@item C-c C-w @var{r} 251@item C-c C-w @var{r}
252Similar, but save rectangle contents in register @var{r} first 252Similar, but save rectangle contents in register @var{r} first
253(@code{picture-clear-rectangle-to-register}). 253(@code{picture-clear-rectangle-to-register}). @xref{Registers}.
254@item C-c C-y 254@item C-c C-y
255Copy last killed rectangle into the buffer by overwriting, with upper 255Copy last killed rectangle into the buffer by overwriting, with upper
256left corner at point (@code{picture-yank-rectangle}). With argument, 256left corner at point (@code{picture-yank-rectangle}). With argument,
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi
index fc9a64d375e..26deeb78fa0 100644
--- a/doc/emacs/trouble.texi
+++ b/doc/emacs/trouble.texi
@@ -185,8 +185,8 @@ command @kbd{M-x normal-erase-is-backspace-mode}. This toggles
185between the two modes that Emacs supports for handling @key{DEL}, so 185between the two modes that Emacs supports for handling @key{DEL}, so
186if Emacs starts in the wrong mode, this should switch to the right 186if Emacs starts in the wrong mode, this should switch to the right
187mode. On a text terminal, if you want to ask for help when @key{BS} 187mode. On a text terminal, if you want to ask for help when @key{BS}
188is treated as @key{DEL}, use @key{F1}; @kbd{C-?} may also work, if it 188is treated as @key{DEL}, use @key{F1} instead of @kbd{C-h}; @kbd{C-?}
189sends character code 127. 189may also work, if it sends character code 127.
190 190
191 To fix the problem in every Emacs session, put one of the following 191 To fix the problem in every Emacs session, put one of the following
192lines into your initialization file (@pxref{Init File}). For the 192lines into your initialization file (@pxref{Init File}). For the
@@ -233,10 +233,10 @@ top-level}. @xref{Recursive Edit}.
233@cindex screen display, wrong 233@cindex screen display, wrong
234 234
235 If the text on a text terminal looks wrong, the first thing to do is 235 If the text on a text terminal looks wrong, the first thing to do is
236see whether it is wrong in the buffer. Type @kbd{C-l} to redisplay 236see whether it is wrong in the buffer. Type @kbd{C-l}
237the entire screen. If the screen appears correct after this, the 237(@code{recenter-top-bottom}) to redisplay the entire screen. If the
238problem was entirely in the previous screen update. (Otherwise, see 238screen appears correct after this, the problem was entirely in the
239the following section.) 239previous screen update. (Otherwise, see the following section.)
240 240
241 Display updating problems often result from an incorrect terminfo 241 Display updating problems often result from an incorrect terminfo
242entry for the terminal you are using. The file @file{etc/TERMS} in 242entry for the terminal you are using. The file @file{etc/TERMS} in
@@ -251,16 +251,17 @@ bug in Emacs that appears for certain terminal types.
251@cindex garbled text 251@cindex garbled text
252@cindex buffer text garbled 252@cindex buffer text garbled
253 253
254 If @kbd{C-l} shows that the text is wrong, first type @kbd{C-h l} to 254 If @kbd{C-l} shows that the text is wrong, first type @kbd{C-h l}
255see what commands you typed to produce the observed results. Then try 255(@code{view-lossage}) to see what commands you typed to produce the
256undoing the changes step by step using @kbd{C-x u}, until it gets back 256observed results. Then try undoing the changes step by step using
257to a state you consider correct. 257@kbd{C-x u} (@code{undo}), until it gets back to a state you consider
258correct.
258 259
259 If a large portion of text appears to be missing at the beginning or 260 If a large portion of text appears to be missing at the beginning or
260end of the buffer, check for the word @samp{Narrow} in the mode line. 261end of the buffer, check for the word @samp{Narrow} in the mode line.
261If it appears, the text you don't see is probably still present, but 262If it appears, the text you don't see is probably still present, but
262temporarily off-limits. To make it accessible again, type @kbd{C-x n 263temporarily off-limits. To make it accessible again, type @kbd{C-x n
263w}. @xref{Narrowing}. 264w} (@code{widen}). @xref{Narrowing}.
264 265
265@node Memory Full 266@node Memory Full
266@subsection Running out of Memory 267@subsection Running out of Memory
@@ -268,12 +269,13 @@ w}. @xref{Narrowing}.
268@cindex out of memory 269@cindex out of memory
269 270
270 If you get the error message @samp{Virtual memory exceeded}, save 271 If you get the error message @samp{Virtual memory exceeded}, save
271your modified buffers with @kbd{C-x s}. This method of saving them 272your modified buffers with @kbd{C-x s} (@code{save-some-buffers}).
272has the smallest need for additional memory. Emacs keeps a reserve of 273This method of saving them has the smallest need for additional
273memory which it makes available when this error happens; that should 274memory. Emacs keeps a reserve of memory which it makes available when
274be enough to enable @kbd{C-x s} to complete its work. When the 275this error happens; that should be enough to enable @kbd{C-x s} to
275reserve has been used, @samp{!MEM FULL!} appears at the beginning of 276complete its work. When the reserve has been used, @samp{!MEM FULL!}
276the mode line, indicating there is no more reserve. 277appears at the beginning of the mode line, indicating there is no more
278reserve.
277 279
278 Once you have saved your modified buffers, you can exit this Emacs 280 Once you have saved your modified buffers, you can exit this Emacs
279session and start another, or you can use @kbd{M-x kill-some-buffers} 281session and start another, or you can use @kbd{M-x kill-some-buffers}
@@ -589,6 +591,9 @@ important to report documentation bugs as program bugs.
589 If the built-in documentation for a function or variable disagrees 591 If the built-in documentation for a function or variable disagrees
590with the manual, one of them must be wrong; that is a bug. 592with the manual, one of them must be wrong; that is a bug.
591 593
594 For problems with packages that are not part of Emacs, it is better
595to begin by reporting them to the package developers.
596
592@node Understanding Bug Reporting 597@node Understanding Bug Reporting
593@subsection Understanding Bug Reporting 598@subsection Understanding Bug Reporting
594@cindex bug reporting 599@cindex bug reporting
@@ -706,7 +711,10 @@ tracker.
706 711
707If your data is more than 500,000 bytes, please don't include it 712If your data is more than 500,000 bytes, please don't include it
708directly in the bug report; instead, offer to send it on request, or 713directly in the bug report; instead, offer to send it on request, or
709make it available by ftp and say where. 714make it available online and say where.
715
716The Gnu Bug Tracker will assign a bug number to your report; please
717use it in the following discussions.
710 718
711 To enable maintainers to investigate a bug, your report 719 To enable maintainers to investigate a bug, your report
712should include all these things: 720should include all these things:
@@ -770,20 +778,21 @@ customizations.
770@cindex dribble file 778@cindex dribble file
771@cindex logging keystrokes 779@cindex logging keystrokes
772One way to record the input to Emacs precisely is to write a dribble 780One way to record the input to Emacs precisely is to write a dribble
773file. To start the file, use the @kbd{M-x open-dribble-file 781file. To start the file, use the @kbd{M-x open-dribble-file} command.
774@key{RET}} command. From then on, Emacs copies all your input to the 782From then on, Emacs copies all your input to the specified dribble
775specified dribble file until the Emacs process is killed. Be aware 783file until the Emacs process is killed. Be aware that sensitive
776that sensitive information (such as passwords) may end up recorded in 784information (such as passwords) may end up recorded in the dribble
777the dribble file. 785file.
778 786
779@item 787@item
780@findex open-termscript 788@findex open-termscript
781@cindex termscript file 789@cindex termscript file
782@vindex TERM@r{, environment variable, and display bugs} 790@vindex TERM@r{, environment variable, and display bugs}
783For possible display bugs, the terminal type (the value of environment 791For possible display bugs on text-mode terminals, the terminal type
784variable @env{TERM}), the complete termcap entry for the terminal from 792(the value of environment variable @env{TERM}), the complete termcap
785@file{/etc/termcap} (since that file is not identical on all machines), 793entry for the terminal from @file{/etc/termcap} (since that file is
786and the output that Emacs actually sent to the terminal. 794not identical on all machines), and the output that Emacs actually
795sent to the terminal.
787 796
788The way to collect the terminal output is to execute the Lisp expression 797The way to collect the terminal output is to execute the Lisp expression
789 798
@@ -926,13 +935,13 @@ However, you need to think when you collect the additional information
926if you want it to show what causes the bug. 935if you want it to show what causes the bug.
927 936
928@cindex backtrace for bug reports 937@cindex backtrace for bug reports
929For example, many people send just a backtrace, but that is not very 938For example, many people send just a C-level backtrace, but that is
930useful by itself. A simple backtrace with arguments often conveys 939not very useful by itself. A simple backtrace with arguments often
931little about what is happening inside GNU Emacs, because most of the 940conveys little about what is happening inside GNU Emacs, because most
932arguments listed in the backtrace are pointers to Lisp objects. The 941of the arguments listed in the backtrace are pointers to Lisp objects.
933numeric values of these pointers have no significance whatever; all that 942The numeric values of these pointers have no significance whatever;
934matters is the contents of the objects they point to (and most of the 943all that matters is the contents of the objects they point to (and
935contents are themselves pointers). 944most of the contents are themselves pointers).
936 945
937@findex debug_print 946@findex debug_print
938To provide useful information, you need to show the values of Lisp 947To provide useful information, you need to show the values of Lisp
@@ -1217,8 +1226,8 @@ answer questions on the Emacs user mailing list
1217@url{https://lists.gnu.org/mailman/listinfo/help-gnu-emacs}. 1226@url{https://lists.gnu.org/mailman/listinfo/help-gnu-emacs}.
1218 1227
1219@item 1228@item
1220write documentation, either on the wiki, or in the Emacs source 1229write documentation, either on the @uref{https://www.emacswiki.org/,
1221repository (@pxref{Sending Patches}). 1230wiki}, or in the Emacs source repository (@pxref{Sending Patches}).
1222 1231
1223@item 1232@item
1224check if existing bug reports are fixed in newer versions of Emacs 1233check if existing bug reports are fixed in newer versions of Emacs
@@ -1283,7 +1292,7 @@ downloaded the repository source, you should read the file
1283from a normal build). 1292from a normal build).
1284 1293
1285If you would like to make more extensive contributions, see the 1294If you would like to make more extensive contributions, see the
1286@file{./CONTRIBUTE} file in the Emacs distribution for information on 1295@file{CONTRIBUTE} file in the Emacs distribution for information on
1287how to be an Emacs developer. 1296how to be an Emacs developer.
1288 1297
1289For documentation on Emacs (to understand how to implement your 1298For documentation on Emacs (to understand how to implement your
@@ -1385,9 +1394,10 @@ The FSF is a nonprofit with a worldwide mission to promote computer
1385user freedom and to defend the rights of all free software users. 1394user freedom and to defend the rights of all free software users.
1386For general information, see the website @url{https://www.fsf.org/}. 1395For general information, see the website @url{https://www.fsf.org/}.
1387 1396
1388Generally speaking, for non-trivial contributions to GNU Emacs we 1397Generally speaking, for non-trivial contributions to GNU Emacs and
1389require that the copyright be assigned to the FSF@. For the reasons 1398packages stored in GNU ELPA, we require that the copyright be assigned
1390behind this, see @url{https://www.gnu.org/licenses/why-assign.html}. 1399to the FSF@. For the reasons behind this, see
1400@url{https://www.gnu.org/licenses/why-assign.html}.
1391 1401
1392Copyright assignment is a simple process. Residents of some countries 1402Copyright assignment is a simple process. Residents of some countries
1393can do it entirely electronically. We can help you get started, and 1403can do it entirely electronically. We can help you get started, and