aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorPaul Eggert2016-11-19 14:31:05 -0800
committerPaul Eggert2016-11-19 14:31:05 -0800
commitc61ee94959ba96b2a327df0684593f7e569e30be (patch)
tree33e7b6bdb654b45ebeed805f48b1324b2ab038ec /doc
parentb19e05b13192f72991b65b4b352e09c807fd581c (diff)
parent4af5981dc75c96e34a27922001106df05ee19e69 (diff)
downloademacs-c61ee94959ba96b2a327df0684593f7e569e30be.tar.gz
emacs-c61ee94959ba96b2a327df0684593f7e569e30be.zip
Merge from origin/emacs-25
4af5981 Add a comment in generated refcards about the source ef880a5 ; * etc/refcards/calccard.tex: Remove obsolete comment. 4887e7c js-mode: Fix indent problem after a regexp e992ac0 Fix sluggish display of symbols in UTF-8 language environment 1fc101b Don't confuse how Texinfo outputs @var with the input 91aa5d1 * doc/lispref/display.texi (Scroll Bars): * doc/lispref/frame... f758fcd * doc/emacs/cmdargs.texi (Initial Options): Copyedit for --da... 5b0cddd More fixes in copyright notices in etc/refcards/ f994c20 Update copyright text in refcards 9ad2ae7 Fix Outline command names 26c3554 Send text received by bracketed paste to process db0b58d Correct the statement about programming modes always running ... 78aece4 Improve documentation of 'occur' eb364fd Do call debugger on failed cl-assert 3ef4ee8 Avoid infloop in python 8da810f Don't refer to obsolete FEATURE-unload-hook 4f478ca Improve documentation of dabbrevs 7272e5d * lisp/chistory.el (list-command-history): Doc fix. (Bug#24890) 89b7482 * lisp/simple.el (set-mark-command): Doc fix. (Bug#24890) 3b199f7 Improve documentation of some Help commands 93d3a0e Fix documentation of yes-or-no prompts af04919 Fix documentation of partial completion style ed80184 Fix documentation of the mode line on emacsclient frames e6be855 Fix description of 'C-z' in User manual 16f7007 Improve and clarify documentation of Outline Mode 31d93aa Add Emacs version number to nt/README.W32 0b6b815 Fix python-mode hideshow regexp dc152c5 Modernize usage of 'macOS' in doc and comments 84c5343 Prefer comments /* like this */ in C code bb61e50 * doc/lispref/loading.texi (Autoload): Better link (Bug#24845). 3ef86fd Clarify documentation of face attribute functions de51d59 ; * nt/README.W32: Minor copyedits. db436e9 Don't call debug on failed cl-assert # Conflicts: # doc/emacs/cmdargs.texi # etc/NEWS # etc/PROBLEMS # lisp/auth-source.el # lisp/net/tramp-sh.el
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/abbrevs.texi17
-rw-r--r--doc/emacs/cmdargs.texi4
-rw-r--r--doc/emacs/entering.texi2
-rw-r--r--doc/emacs/help.texi12
-rw-r--r--doc/emacs/macos.texi14
-rw-r--r--doc/emacs/mini.texi10
-rw-r--r--doc/emacs/modes.texi11
-rw-r--r--doc/emacs/msdos.texi2
-rw-r--r--doc/emacs/mule.texi8
-rw-r--r--doc/emacs/rmail.texi12
-rw-r--r--doc/emacs/screen.texi7
-rw-r--r--doc/emacs/search.texi26
-rw-r--r--doc/emacs/text.texi129
-rw-r--r--doc/lispref/control.texi2
-rw-r--r--doc/lispref/display.texi15
-rw-r--r--doc/lispref/frames.texi8
-rw-r--r--doc/lispref/loading.texi4
-rw-r--r--doc/lispref/nonascii.texi3
-rw-r--r--doc/lispref/os.texi2
-rw-r--r--doc/lispref/processes.texi2
-rw-r--r--doc/lispref/text.texi2
-rw-r--r--doc/lispref/tips.texi8
-rw-r--r--doc/lispref/windows.texi6
-rw-r--r--doc/misc/efaq.texi12
-rw-r--r--doc/misc/gnus.texi2
-rw-r--r--doc/misc/idlwave.texi36
-rw-r--r--doc/misc/mairix-el.texi2
-rw-r--r--doc/misc/org.texi2
-rw-r--r--doc/misc/tramp.texi2
29 files changed, 195 insertions, 167 deletions
diff --git a/doc/emacs/abbrevs.texi b/doc/emacs/abbrevs.texi
index a1db34cf0ee..227fe6f7ee2 100644
--- a/doc/emacs/abbrevs.texi
+++ b/doc/emacs/abbrevs.texi
@@ -341,7 +341,7 @@ abbrev expansion happens only when you request it explicitly.
341@table @kbd 341@table @kbd
342@item M-/ 342@item M-/
343Expand the word in the buffer before point as a @dfn{dynamic abbrev}, 343Expand the word in the buffer before point as a @dfn{dynamic abbrev},
344by searching in the buffer for words starting with that abbreviation 344by searching for words starting with that abbreviation
345(@code{dabbrev-expand}). 345(@code{dabbrev-expand}).
346 346
347@item C-M-/ 347@item C-M-/
@@ -361,14 +361,19 @@ The variable @code{dabbrev-limit}, if non-@code{nil}, specifies how far
361away in the buffer to search for an expansion. 361away in the buffer to search for an expansion.
362 362
363@vindex dabbrev-check-all-buffers 363@vindex dabbrev-check-all-buffers
364@vindex dabbrev-check-other-buffers
364 After scanning the current buffer, @kbd{M-/} normally searches other 365 After scanning the current buffer, @kbd{M-/} normally searches other
365buffers, unless you have set @code{dabbrev-check-all-buffers} to 366buffers. The variables @code{dabbrev-check-all-buffers} and
366@code{nil}. 367@code{dabbrev-check-other-buffers} can be used to determine which
368other buffers, if any, are searched.
367 369
370@vindex dabbrev-ignored-buffer-names
368@vindex dabbrev-ignored-buffer-regexps 371@vindex dabbrev-ignored-buffer-regexps
369 For finer control over which buffers to scan, customize the variable 372 For finer control over which buffers to scan, customize the
370@code{dabbrev-ignored-buffer-regexps}. Its value is a list of regular 373variables @code{dabbrev-ignored-buffer-names} and
371expressions. If a buffer's name matches any of these regular 374@code{dabbrev-ignored-buffer-regexps}. The value of the former is a
375list of buffer names to skip. The value of the latter is a list of
376regular expressions; if a buffer's name matches any of these regular
372expressions, dynamic abbrev expansion skips that buffer. 377expressions, dynamic abbrev expansion skips that buffer.
373 378
374 A negative argument to @kbd{M-/}, as in @kbd{C-u - M-/}, says to 379 A negative argument to @kbd{M-/}, as in @kbd{C-u - M-/}, says to
diff --git a/doc/emacs/cmdargs.texi b/doc/emacs/cmdargs.texi
index 8d3d936b7b3..524cd8dd268 100644
--- a/doc/emacs/cmdargs.texi
+++ b/doc/emacs/cmdargs.texi
@@ -558,11 +558,11 @@ variables is not set, the category defaults to the value of the
558@env{LANG} is not set. But if @env{LC_ALL} is specified, it overrides 558@env{LANG} is not set. But if @env{LC_ALL} is specified, it overrides
559the settings of all the other locale environment variables. 559the settings of all the other locale environment variables.
560 560
561On MS-Windows and OS X, if @env{LANG} is not already set in the 561On MS-Windows and macOS, if @env{LANG} is not already set in the
562environment, Emacs sets it based on the system-wide default. You can 562environment, Emacs sets it based on the system-wide default. You can
563set this in the ``Regional Settings'' Control Panel on some versions 563set this in the ``Regional Settings'' Control Panel on some versions
564of MS-Windows, and in the ``Language and Region'' System Preference on 564of MS-Windows, and in the ``Language and Region'' System Preference on
565OS X. 565macOS.
566 566
567The value of the @env{LC_CTYPE} category is 567The value of the @env{LC_CTYPE} category is
568matched against entries in @code{locale-language-names}, 568matched against entries in @code{locale-language-names},
diff --git a/doc/emacs/entering.texi b/doc/emacs/entering.texi
index 09331e80fb1..7f186cfafe5 100644
--- a/doc/emacs/entering.texi
+++ b/doc/emacs/entering.texi
@@ -100,7 +100,7 @@ display them initially.
100Kill Emacs (@code{save-buffers-kill-terminal}). 100Kill Emacs (@code{save-buffers-kill-terminal}).
101@item C-z 101@item C-z
102On a text terminal, suspend Emacs; on a graphical display, 102On a text terminal, suspend Emacs; on a graphical display,
103iconify (or ``minimize'') the selected frame (@code{suspend-emacs}). 103iconify (or ``minimize'') the selected frame (@code{suspend-frame}).
104@end table 104@end table
105 105
106@kindex C-x C-c 106@kindex C-x C-c
diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi
index 4b7b7fc6315..64da8907172 100644
--- a/doc/emacs/help.texi
+++ b/doc/emacs/help.texi
@@ -411,8 +411,10 @@ Follow a hyperlink that you click on.
411Show all documentation about the symbol at point 411Show all documentation about the symbol at point
412(@code{help-follow-symbol}). 412(@code{help-follow-symbol}).
413@item C-c C-f 413@item C-c C-f
414@itemx r
414Go forward to the next help topic (@code{help-go-forward}). 415Go forward to the next help topic (@code{help-go-forward}).
415@item C-c C-b 416@item C-c C-b
417@itemx l
416Go back to the previous help topic (@code{help-go-back}). 418Go back to the previous help topic (@code{help-go-back}).
417@end table 419@end table
418 420
@@ -422,15 +424,18 @@ Go back to the previous help topic (@code{help-go-back}).
422@findex help-go-forward 424@findex help-go-forward
423@kindex RET @r{(Help mode)} 425@kindex RET @r{(Help mode)}
424@kindex C-c C-b @r{(Help mode)} 426@kindex C-c C-b @r{(Help mode)}
427@kindex l @r{(Help mode)}
425@kindex C-c C-f @r{(Help mode)} 428@kindex C-c C-f @r{(Help mode)}
429@kindex r @r{(Help mode)}
426 When a function name, variable name, or face name (@pxref{Faces}) 430 When a function name, variable name, or face name (@pxref{Faces})
427appears in the documentation in the help buffer, it is normally an 431appears in the documentation in the help buffer, it is normally an
428underlined @dfn{hyperlink}. To view the associated documentation, 432underlined @dfn{hyperlink}. To view the associated documentation,
429move point there and type @key{RET} (@code{help-follow}), or click on 433move point there and type @key{RET} (@code{help-follow}), or click on
430the hyperlink with @kbd{mouse-1} or @kbd{mouse-2}. Doing so replaces 434the hyperlink with @kbd{mouse-1} or @kbd{mouse-2}. Doing so replaces
431the contents of the help buffer; to retrace your steps, type @kbd{C-c 435the contents of the help buffer; to retrace your steps, type @kbd{C-c
432C-b} (@code{help-go-back}). While retracing your steps, you can go 436C-b} or @kbd{l} (@code{help-go-back}). While retracing your steps,
433forward by using @kbd{C-c C-b} (@code{help-go-forward}). 437you can go forward by using @kbd{C-c C-f} or @kbd{r}
438(@code{help-go-forward}).
434 439
435@cindex URL, viewing in help 440@cindex URL, viewing in help
436@cindex help, viewing web pages 441@cindex help, viewing web pages
@@ -556,7 +561,8 @@ commands that you are not familiar with, you can use @kbd{C-h k} or
556 Each Emacs major mode typically redefines a few keys and makes other 561 Each Emacs major mode typically redefines a few keys and makes other
557changes in how editing works. @kbd{C-h m} (@code{describe-mode}) 562changes in how editing works. @kbd{C-h m} (@code{describe-mode})
558displays documentation on the current major mode, which normally 563displays documentation on the current major mode, which normally
559describes the commands and features that are changed in this mode. 564describes the commands and features that are changed in this mode, and
565also its key bindings.
560 566
561@kindex C-h b 567@kindex C-h b
562@findex describe-bindings 568@findex describe-bindings
diff --git a/doc/emacs/macos.texi b/doc/emacs/macos.texi
index b0597dc2499..6e6520b60bc 100644
--- a/doc/emacs/macos.texi
+++ b/doc/emacs/macos.texi
@@ -3,19 +3,19 @@
3@c See file emacs.texi for copying conditions. 3@c See file emacs.texi for copying conditions.
4@node Mac OS / GNUstep 4@node Mac OS / GNUstep
5@appendix Emacs and Mac OS / GNUstep 5@appendix Emacs and Mac OS / GNUstep
6@cindex Mac OS X 6@cindex macOS
7@cindex Macintosh 7@cindex Macintosh
8@cindex GNUstep 8@cindex GNUstep
9 9
10 This section describes the peculiarities of using Emacs built with 10 This section describes the peculiarities of using Emacs built with
11the GNUstep libraries on GNU/Linux or other operating systems, or on 11the GNUstep libraries on GNU/Linux or other operating systems, or on
12Mac OS X with native window system support. On Mac OS X, Emacs can be 12macOS with native window system support. On macOS, Emacs can be
13built either without window system support, with X11, or with the 13built either without window system support, with X11, or with the
14Cocoa interface; this section only applies to the Cocoa build. This 14Cocoa interface; this section only applies to the Cocoa build. This
15does not support versions of Mac OS X earlier than 10.6. 15does not support versions before Mac OS X 10.6.
16 16
17 For various historical and technical reasons, Emacs uses the term 17 For various historical and technical reasons, Emacs uses the term
18@samp{Nextstep} internally, instead of ``Cocoa'' or ``Mac OS X''; for 18@samp{Nextstep} internally, instead of ``Cocoa'' or ``macOS''; for
19instance, most of the commands and variables described in this section 19instance, most of the commands and variables described in this section
20begin with @samp{ns-}, which is short for @samp{Nextstep}. NeXTstep 20begin with @samp{ns-}, which is short for @samp{Nextstep}. NeXTstep
21was an application interface released by NeXT Inc during the 1980s, of 21was an application interface released by NeXT Inc during the 1980s, of
@@ -84,7 +84,7 @@ set, which often causes the subprocesses it launches to behave differently than
84they would when launched from the shell. 84they would when launched from the shell.
85 85
86For the PATH and MANPATH variables, a system-wide method 86For the PATH and MANPATH variables, a system-wide method
87of setting PATH is recommended on Mac OS X, using the 87of setting PATH is recommended on macOS, using the
88@file{/etc/paths} files and the @file{/etc/paths.d} directory. 88@file{/etc/paths} files and the @file{/etc/paths.d} directory.
89 89
90@node Mac / GNUstep Customization 90@node Mac / GNUstep Customization
@@ -117,8 +117,8 @@ close the altered one.
117Useful in this context is the listing of all faces obtained by 117Useful in this context is the listing of all faces obtained by
118@kbd{M-x list-faces-display}. 118@kbd{M-x list-faces-display}.
119 119
120@cindex Core Text, on Mac OS X 120@cindex Core Text, on macOS
121In Mac OS X, Emacs uses a Core Text based font backend 121In macOS, Emacs uses a Core Text based font backend
122by default. If you prefer the older font style, enter the following 122by default. If you prefer the older font style, enter the following
123at the command-line before starting Emacs: 123at the command-line before starting Emacs:
124 124
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi
index be4206cb60c..7c97e425713 100644
--- a/doc/emacs/mini.texi
+++ b/doc/emacs/mini.texi
@@ -469,8 +469,8 @@ separately. (For example, when completing command names,
469@samp{em-l-m} completes to @samp{emacs-lisp-mode}.) 469@samp{em-l-m} completes to @samp{emacs-lisp-mode}.)
470 470
471Furthermore, a @samp{*} in the minibuffer text is treated as a 471Furthermore, a @samp{*} in the minibuffer text is treated as a
472@dfn{wildcard}---it matches any character at the corresponding 472@dfn{wildcard}---it matches any string of characters at the
473position in the completion alternative. 473corresponding position in the completion alternative.
474 474
475@item emacs22 475@item emacs22
476This completion style is similar to @code{basic}, except that it 476This completion style is similar to @code{basic}, except that it
@@ -788,8 +788,8 @@ File ‘foo.el’ exists; overwrite? (y or n)
788Because this query does not actually use the minibuffer, the usual 788Because this query does not actually use the minibuffer, the usual
789minibuffer editing commands cannot be used. However, you can perform 789minibuffer editing commands cannot be used. However, you can perform
790some window scrolling operations while the query is active: @kbd{C-l} 790some window scrolling operations while the query is active: @kbd{C-l}
791recenters the selected window; @kbd{M-v} (or @key{PageDown} or 791recenters the selected window; @kbd{C-v} (or @key{PageDown} or
792@key{next}) scrolls forward; @kbd{C-v} (or @key{PageUp}, or 792@key{next}) scrolls forward; @kbd{M-v} (or @key{PageUp}, or
793@key{prior}) scrolls backward; @kbd{C-M-v} scrolls forward in the next 793@key{prior}) scrolls backward; @kbd{C-M-v} scrolls forward in the next
794window; and @kbd{C-M-S-v} scrolls backward in the next window. Typing 794window; and @kbd{C-M-S-v} scrolls backward in the next window. Typing
795@kbd{C-g} dismisses the query, and quits the command that issued it 795@kbd{C-g} dismisses the query, and quits the command that issued it
@@ -811,5 +811,5 @@ Buffer foo.el modified; kill anyway? (yes or no)
811To answer, you must type @samp{yes} or @samp{no} into the minibuffer, 811To answer, you must type @samp{yes} or @samp{no} into the minibuffer,
812followed by @key{RET}. The minibuffer behaves as described in the 812followed by @key{RET}. The minibuffer behaves as described in the
813previous sections; you can switch to another window with @kbd{C-x o}, 813previous sections; you can switch to another window with @kbd{C-x o},
814use the history commands @kbd{M-p} and @kbd{M-f}, etc. Type @kbd{C-g} 814use the history commands @kbd{M-p} and @kbd{M-n}, etc. Type @kbd{C-g}
815to quit the minibuffer and the querying command. 815to quit the minibuffer and the querying command.
diff --git a/doc/emacs/modes.texi b/doc/emacs/modes.texi
index c1564e9299b..63e31ab568c 100644
--- a/doc/emacs/modes.texi
+++ b/doc/emacs/modes.texi
@@ -113,10 +113,13 @@ hook}, a customizable list of Lisp functions to run each time the mode
113is enabled in a buffer. @xref{Hooks}, for more information about 113is enabled in a buffer. @xref{Hooks}, for more information about
114hooks. Each mode hook is named after its major mode, e.g., Fortran 114hooks. Each mode hook is named after its major mode, e.g., Fortran
115mode has @code{fortran-mode-hook}. Furthermore, all text-based major 115mode has @code{fortran-mode-hook}. Furthermore, all text-based major
116modes run @code{text-mode-hook}, and all programming language modes 116modes run @code{text-mode-hook}, and many programming language modes
117run @code{prog-mode-hook}, prior to running their own mode hooks. 117@footnote{More specifically, the modes which are ''derived'' from
118Hook functions can look at the value of the variable @code{major-mode} 118@code{prog-mode} (@pxref{Derived Modes,,, elisp, The Emacs Lisp
119to see which mode is actually being entered. 119Reference Manual}).} (including all those distributed with Emacs) run
120@code{prog-mode-hook}, prior to running their own mode hooks. Hook
121functions can look at the value of the variable @code{major-mode} to
122see which mode is actually being entered.
120 123
121 Mode hooks are commonly used to enable minor modes (@pxref{Minor 124 Mode hooks are commonly used to enable minor modes (@pxref{Minor
122Modes}). For example, you can put the following lines in your init 125Modes}). For example, you can put the following lines in your init
diff --git a/doc/emacs/msdos.texi b/doc/emacs/msdos.texi
index a87561ccf18..2793bb944bc 100644
--- a/doc/emacs/msdos.texi
+++ b/doc/emacs/msdos.texi
@@ -366,7 +366,7 @@ Emulate @sc{gnu} systems; this is the default. This sets
366Emulate Unix systems. Like @code{GNU}, but sets 366Emulate Unix systems. Like @code{GNU}, but sets
367@code{ls-lisp-verbosity} to @code{(links uid)}. 367@code{ls-lisp-verbosity} to @code{(links uid)}.
368@item MacOS 368@item MacOS
369Emulate MacOS@. Sets @code{ls-lisp-ignore-case} to @code{t}, and 369Emulate macOS@. Sets @code{ls-lisp-ignore-case} to @code{t}, and
370@code{ls-lisp-dirs-first} and @code{ls-lisp-verbosity} to @code{nil}. 370@code{ls-lisp-dirs-first} and @code{ls-lisp-verbosity} to @code{nil}.
371@item MS-Windows 371@item MS-Windows
372Emulate MS-Windows. Sets @code{ls-lisp-ignore-case} and 372Emulate MS-Windows. Sets @code{ls-lisp-ignore-case} and
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi
index e735343cc75..882d75f5e61 100644
--- a/doc/emacs/mule.texi
+++ b/doc/emacs/mule.texi
@@ -745,7 +745,7 @@ exactly what to do for end-of-line conversion:
745@item @dots{}-unix 745@item @dots{}-unix
746Don't do any end-of-line conversion; assume the file uses 746Don't do any end-of-line conversion; assume the file uses
747newline to separate lines. (This is the convention normally used 747newline to separate lines. (This is the convention normally used
748on Unix and GNU systems, and Mac OS X.) 748on Unix and GNU systems, and macOS.)
749 749
750@item @dots{}-dos 750@item @dots{}-dos
751Assume the file uses carriage-return linefeed to separate lines, and do 751Assume the file uses carriage-return linefeed to separate lines, and do
@@ -757,8 +757,8 @@ Emacs doesn't support directly.})
757 757
758@item @dots{}-mac 758@item @dots{}-mac
759Assume the file uses carriage-return to separate lines, and do the 759Assume the file uses carriage-return to separate lines, and do the
760appropriate conversion. (This was the convention used on the 760appropriate conversion. (This was the convention used in Classic Mac
761Macintosh system prior to OS X.) 761OS.)
762@end table 762@end table
763 763
764 These variant coding systems are omitted from the 764 These variant coding systems are omitted from the
@@ -1393,7 +1393,7 @@ of @code{standard-fontset-spec}. This fontset's name is
1393@noindent 1393@noindent
1394or just @samp{fontset-standard} for short. 1394or just @samp{fontset-standard} for short.
1395 1395
1396 On GNUstep and Mac OS X, the standard fontset is created using the value of 1396 On GNUstep and macOS, the standard fontset is created using the value of
1397@code{ns-standard-fontset-spec}, and on MS Windows it is 1397@code{ns-standard-fontset-spec}, and on MS Windows it is
1398created using the value of @code{w32-standard-fontset-spec}. 1398created using the value of @code{w32-standard-fontset-spec}.
1399 1399
diff --git a/doc/emacs/rmail.texi b/doc/emacs/rmail.texi
index a8cf5e4a512..84f1296484a 100644
--- a/doc/emacs/rmail.texi
+++ b/doc/emacs/rmail.texi
@@ -1425,7 +1425,7 @@ local mailbox.
1425@end table 1425@end table
1426 1426
1427@noindent 1427@noindent
1428@var{Proto} can be one of: 1428@var{proto} can be one of:
1429 1429
1430@table @code 1430@table @code
1431@item mbox 1431@item mbox
@@ -1434,12 +1434,12 @@ Usual Unix mailbox format. In this case, neither @var{user} nor
1434of the mailbox file, e.g., @code{mbox://var/spool/mail/smith}. 1434of the mailbox file, e.g., @code{mbox://var/spool/mail/smith}.
1435 1435
1436@item mh 1436@item mh
1437A local mailbox in the @acronym{MH} format. @var{User} and 1437A local mailbox in the @acronym{MH} format. @var{user} and
1438@var{pass} are not used. @var{Host-or-file-name} denotes the name of 1438@var{pass} are not used. @var{host-or-file-name} denotes the name of
1439@acronym{MH} folder, e.g., @code{mh://Mail/inbox}. 1439@acronym{MH} folder, e.g., @code{mh://Mail/inbox}.
1440 1440
1441@item maildir 1441@item maildir
1442A local mailbox in the @acronym{maildir} format. @var{User} and 1442A local mailbox in the @acronym{maildir} format. @var{user} and
1443@var{pass} are not used, and @var{host-or-file-name} denotes the name of 1443@var{pass} are not used, and @var{host-or-file-name} denotes the name of
1444@code{maildir} mailbox, e.g., @code{maildir://mail/inbox}. 1444@code{maildir} mailbox, e.g., @code{maildir://mail/inbox}.
1445 1445
@@ -1448,14 +1448,14 @@ Any local mailbox format. Its actual format is detected automatically
1448by @code{movemail}. 1448by @code{movemail}.
1449 1449
1450@item pop 1450@item pop
1451A remote mailbox to be accessed via POP3 protocol. @var{User} 1451A remote mailbox to be accessed via POP3 protocol. @var{user}
1452specifies the remote user name to use, @var{pass} may be used to 1452specifies the remote user name to use, @var{pass} may be used to
1453specify the user password, @var{host-or-file-name} is the name or IP 1453specify the user password, @var{host-or-file-name} is the name or IP
1454address of the remote mail server to connect to; e.g., 1454address of the remote mail server to connect to; e.g.,
1455@code{pop://smith:guessme@@remote.server.net}. 1455@code{pop://smith:guessme@@remote.server.net}.
1456 1456
1457@item imap 1457@item imap
1458A remote mailbox to be accessed via IMAP4 protocol. @var{User} 1458A remote mailbox to be accessed via IMAP4 protocol. @var{user}
1459specifies the remote user name to use, @var{pass} may be used to 1459specifies the remote user name to use, @var{pass} may be used to
1460specify the user password, @var{host-or-file-name} is the name or IP 1460specify the user password, @var{host-or-file-name} is the name or IP
1461address of the remote mail server to connect to; 1461address of the remote mail server to connect to;
diff --git a/doc/emacs/screen.texi b/doc/emacs/screen.texi
index 716575706cf..46ccca52aa8 100644
--- a/doc/emacs/screen.texi
+++ b/doc/emacs/screen.texi
@@ -216,6 +216,11 @@ changes to either a forward slash (@samp{/}) or @samp{(Mac)}. On some
216systems, Emacs displays @samp{(Unix)} instead of the colon for files 216systems, Emacs displays @samp{(Unix)} instead of the colon for files
217that use newline as the line separator. 217that use newline as the line separator.
218 218
219 On frames created for @command{emacsclient} (@pxref{Invoking
220emacsclient}), the next character is @samp{@@}. This indication is
221typical for frames of an Emacs process running as a daemon
222(@pxref{Emacs Server}).
223
219 The next element on the mode line is the string indicated by 224 The next element on the mode line is the string indicated by
220@var{ch}. This shows two dashes (@samp{--}) if the buffer displayed 225@var{ch}. This shows two dashes (@samp{--}) if the buffer displayed
221in the window has the same contents as the corresponding file on the 226in the window has the same contents as the corresponding file on the
@@ -225,7 +230,7 @@ shows @samp{%*} if the buffer is modified, and @samp{%%} otherwise.
225 230
226 The character after @var{ch} is normally a dash (@samp{-}). 231 The character after @var{ch} is normally a dash (@samp{-}).
227However, if the default-directory for the current buffer is on a 232However, if the default-directory for the current buffer is on a
228remote machine, @samp{@@} is displayed instead (@pxref{File Names}). 233remote machine (@pxref{File Names}), @samp{@@} is displayed instead.
229 234
230 @var{fr} gives the selected frame name (@pxref{Frames}). It appears 235 @var{fr} gives the selected frame name (@pxref{Frames}). It appears
231only on text terminals. The initial frame's name is @samp{F1}. 236only on text terminals. The initial frame's name is @samp{F1}.
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index b41214df1ae..543d5470046 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -1714,15 +1714,21 @@ a multi-file incremental search is activated automatically.
1714@cindex mode, Occur 1714@cindex mode, Occur
1715@cindex match (face name) 1715@cindex match (face name)
1716@vindex list-matching-lines-default-context-lines 1716@vindex list-matching-lines-default-context-lines
1717@kindex M-s o
1717@item M-x occur 1718@item M-x occur
1719@itemx M-s o
1718Prompt for a regexp, and display a list showing each line in the 1720Prompt for a regexp, and display a list showing each line in the
1719buffer that contains a match for it. The text that matched is 1721buffer that contains a match for it. If you type @kbd{M-n} at the
1720highlighted using the @code{match} face. To limit the search to part 1722prompt, you can reuse search strings from previous incremental
1721of the buffer, narrow to that part (@pxref{Narrowing}). A numeric 1723searches. The text that matched is highlighted using the @code{match}
1722argument @var{n} specifies that @var{n} lines of context are to be 1724face. To limit the search to part of the buffer, narrow to that part
1723displayed before and after each matching line. The default number of 1725(@pxref{Narrowing}). A numeric argument @var{n} specifies that
1724context lines is specified by the variable 1726@var{n} lines of context are to be displayed before and after each
1725@code{list-matching-lines-default-context-lines}. 1727matching line. The default number of context lines is specified by
1728the variable @code{list-matching-lines-default-context-lines}.
1729
1730You can also run @kbd{M-s o} when an incremental search is active;
1731this uses the current search string.
1726 1732
1727@kindex RET @r{(Occur mode)} 1733@kindex RET @r{(Occur mode)}
1728@kindex o @r{(Occur mode)} 1734@kindex o @r{(Occur mode)}
@@ -1744,12 +1750,6 @@ mode.
1744The command @kbd{M-x list-matching-lines} is a synonym for @kbd{M-x 1750The command @kbd{M-x list-matching-lines} is a synonym for @kbd{M-x
1745occur}. 1751occur}.
1746 1752
1747@kindex M-s o
1748@item M-s o
1749Run @code{occur} using the search string of the last incremental
1750string search. You can also run @kbd{M-s o} when an incremental
1751search is active; this uses the current search string.
1752
1753@item M-x multi-occur 1753@item M-x multi-occur
1754This command is just like @code{occur}, except it is able to search 1754This command is just like @code{occur}, except it is able to search
1755through multiple buffers. It asks you to specify the buffer names one 1755through multiple buffers. It asks you to specify the buffer names one
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi
index 4c6a1ffbdd2..6c513c9a607 100644
--- a/doc/emacs/text.texi
+++ b/doc/emacs/text.texi
@@ -1088,92 +1088,101 @@ header line.
1088 1088
1089@table @kbd 1089@table @kbd
1090@item C-c C-c 1090@item C-c C-c
1091Make the current heading line's body invisible (@code{hide-entry}). 1091Make the current heading line's body invisible
1092(@code{outline-hide-entry}).
1092@item C-c C-e 1093@item C-c C-e
1093Make the current heading line's body visible (@code{show-entry}). 1094Make the current heading line's body visible
1095(@code{outline-show-entry}).
1094@item C-c C-d 1096@item C-c C-d
1095Make everything under the current heading invisible, not including the 1097Make everything under the current heading invisible, not including the
1096heading itself (@code{hide-subtree}). 1098heading itself (@code{outline-hide-subtree}).
1097@item C-c C-s 1099@item C-c C-s
1098Make everything under the current heading visible, including body, 1100Make everything under the current heading visible, including body,
1099subheadings, and their bodies (@code{show-subtree}). 1101subheadings, and their bodies (@code{outline-show-subtree}).
1100@item C-c C-l 1102@item C-c C-l
1101Make the body of the current heading line, and of all its subheadings, 1103Make the body of the current heading line, and of all its subheadings,
1102invisible (@code{hide-leaves}). 1104invisible (@code{outline-hide-leaves}).
1103@item C-c C-k 1105@item C-c C-k
1104Make all subheadings of the current heading line, at all levels, 1106Make all subheadings of the current heading line, at all levels,
1105visible (@code{show-branches}). 1107visible (@code{outline-show-branches}).
1106@item C-c C-i 1108@item C-c C-i
1107Make immediate subheadings (one level down) of the current heading 1109Make immediate subheadings (one level down) of the current heading
1108line visible (@code{show-children}). 1110line visible (@code{outline-show-children}).
1109@item C-c C-t 1111@item C-c C-t
1110Make all body lines in the buffer invisible (@code{hide-body}). 1112Make all body lines in the buffer invisible
1113(@code{outline-hide-body}).
1111@item C-c C-a 1114@item C-c C-a
1112Make all lines in the buffer visible (@code{show-all}). 1115Make all lines in the buffer visible (@code{outline-show-all}).
1113@item C-c C-q 1116@item C-c C-q
1114Hide everything except the top @var{n} levels of heading lines 1117Hide everything except the top @var{n} levels of heading lines
1115(@code{hide-sublevels}). 1118(@code{outline-hide-sublevels}).
1116@item C-c C-o 1119@item C-c C-o
1117Hide everything except for the heading or body that point is in, plus 1120Hide everything except for the heading or body that point is in, plus
1118the headings leading up from there to the top level of the outline 1121the headings leading up from there to the top level of the outline
1119(@code{hide-other}). 1122(@code{outline-hide-other}).
1120@end table 1123@end table
1121 1124
1122@findex hide-entry 1125@findex outline-hide-entry
1123@findex show-entry 1126@findex outline-show-entry
1124@kindex C-c C-c @r{(Outline mode)} 1127@kindex C-c C-c @r{(Outline mode)}
1125@kindex C-c C-e @r{(Outline mode)} 1128@kindex C-c C-e @r{(Outline mode)}
1126 The simplest of these commands are @kbd{C-c C-c} 1129 The simplest of these commands are @kbd{C-c C-c}
1127(@code{hide-entry}), which hides the body lines directly following the 1130(@code{outline-hide-entry}), which hides the body lines directly
1128current heading line, and @kbd{C-c C-e} (@code{show-entry}), which 1131following the current heading line, and @kbd{C-c C-e}
1129reveals them. Subheadings and their bodies are not affected. 1132(@code{outline-show-entry}), which reveals them. Subheadings and
1133their bodies are not affected.
1130 1134
1131@findex hide-subtree 1135@findex outline-hide-subtree
1132@findex show-subtree 1136@findex outline-show-subtree
1133@kindex C-c C-s @r{(Outline mode)} 1137@kindex C-c C-s @r{(Outline mode)}
1134@kindex C-c C-d @r{(Outline mode)} 1138@kindex C-c C-d @r{(Outline mode)}
1135@cindex subtree (Outline mode) 1139@cindex subtree (Outline mode)
1136 The commands @kbd{C-c C-d} (@code{hide-subtree}) and @kbd{C-c C-s} 1140 The commands @kbd{C-c C-d} (@code{outline-hide-subtree}) and
1137(@code{show-subtree}) are more powerful. They apply to the current 1141@kbd{C-c C-s} (@code{outline-show-subtree}) are more powerful. They
1138heading line's @dfn{subtree}: its body, all of its subheadings, both 1142apply to the current heading line's @dfn{subtree}: its body, all of
1139direct and indirect, and all of their bodies. 1143its subheadings, both direct and indirect, and all of their bodies.
1140 1144
1141@findex hide-leaves 1145@findex outline-hide-leaves
1142@findex show-branches 1146@findex outline-show-branches
1143@findex show-children 1147@findex outline-show-children
1144@kindex C-c C-l @r{(Outline mode)} 1148@kindex C-c C-l @r{(Outline mode)}
1145@kindex C-c C-k @r{(Outline mode)} 1149@kindex C-c C-k @r{(Outline mode)}
1146@kindex C-c C-i @r{(Outline mode)} 1150@kindex C-c C-i @r{(Outline mode)}
1147 The command @kbd{C-c C-l} (@code{hide-leaves}) hides the body of the 1151 The command @kbd{C-c C-l} (@code{outline-hide-leaves}) hides the
1148current heading line as well as all the bodies in its subtree; the 1152body of the current heading line as well as all the bodies in its
1149subheadings themselves are left visible. The command @kbd{C-c C-k} 1153subtree; the subheadings themselves are left visible. The command
1150(@code{show-branches}) reveals the subheadings, if they had previously 1154@kbd{C-c C-k} (@code{outline-show-branches}) reveals the subheadings,
1151been hidden (e.g., by @kbd{C-c C-d}). The command @kbd{C-c C-i} 1155if they had previously been hidden (e.g., by @kbd{C-c C-d}). The
1152(@code{show-children}) is a weaker version of this; it reveals just 1156command @kbd{C-c C-i} (@code{outline-show-children}) is a weaker
1153the direct subheadings, i.e., those one level down. 1157version of this; it reveals just the direct subheadings, i.e., those
1154 1158one level down.
1155@findex hide-other 1159
1160@findex outline-hide-other
1156@kindex C-c C-o @r{(Outline mode)} 1161@kindex C-c C-o @r{(Outline mode)}
1157 The command @kbd{C-c C-o} (@code{hide-other}) hides everything 1162 The command @kbd{C-c C-o} (@code{outline-hide-other}) hides
1158except the entry that point is in, plus its parents (the headers 1163everything except the entry that point is in, plus its parents (the
1159leading up from there to top level in the outline) and the top level 1164headers leading up from there to top level in the outline) and the top
1160headings. 1165level headings. It also reveals body lines preceding the first
1161 1166heading in the buffer.
1162@findex hide-body 1167
1163@findex show-all 1168@findex outline-hide-body
1169@findex outline-show-all
1164@kindex C-c C-t @r{(Outline mode)} 1170@kindex C-c C-t @r{(Outline mode)}
1165@kindex C-c C-a @r{(Outline mode)} 1171@kindex C-c C-a @r{(Outline mode)}
1166@findex hide-sublevels 1172@findex hide-sublevels
1167@kindex C-c C-q @r{(Outline mode)} 1173@kindex C-c C-q @r{(Outline mode)}
1168 The remaining commands affect the whole buffer. @kbd{C-c C-t} 1174 The remaining commands affect the whole buffer. @kbd{C-c C-t}
1169(@code{hide-body}) makes all body lines invisible, so that you see 1175(@code{outline-hide-body}) makes all body lines invisible, so that you
1170just the outline structure (as a special exception, it will not hide 1176see just the outline structure (as a special exception, it will not
1171lines at the top of the file, preceding the first header line, even 1177hide lines at the top of the file, preceding the first header line,
1172though these are technically body lines). @kbd{C-c C-a} 1178even though these are technically body lines). @kbd{C-c C-a}
1173(@code{show-all}) makes all lines visible. @kbd{C-c C-q} 1179(@code{outline-show-all}) makes all lines visible. @kbd{C-c C-q}
1174(@code{hide-sublevels}) hides all but the top level headings; with a 1180(@code{outline-hide-sublevels}) hides all but the top level headings
1175numeric argument @var{n}, it hides everything except the top @var{n} 1181at and above the level of the current heading line (defaulting to 1 if
1176levels of heading lines. 1182point is not on a heading); with a numeric argument @var{n}, it hides
1183everything except the top @var{n} levels of heading lines. Note that
1184it completely reveals all the @var{n} top levels and the body lines
1185before the first heading.
1177 1186
1178@anchor{Outline Search} 1187@anchor{Outline Search}
1179@findex reveal-mode 1188@findex reveal-mode
@@ -1219,8 +1228,9 @@ levels.
1219 1228
1220 Consider an Outline mode buffer with all the text and subheadings under 1229 Consider an Outline mode buffer with all the text and subheadings under
1221level-1 headings hidden. To look at what is hidden under one of these 1230level-1 headings hidden. To look at what is hidden under one of these
1222headings, you could use @kbd{C-c C-e} (@kbd{M-x show-entry}) to expose 1231headings, you could use @kbd{C-c C-e} (@kbd{M-x outline-show-entry})
1223the body, or @kbd{C-c C-i} to expose the child (level-2) headings. 1232to expose the body, or @kbd{C-c C-i} to expose the child (level-2)
1233headings.
1224 1234
1225@kindex C-c C-z 1235@kindex C-c C-z
1226@findex foldout-zoom-subtree 1236@findex foldout-zoom-subtree
@@ -1235,11 +1245,12 @@ in the mode line shows how deep you've gone.
1235 1245
1236 When zooming in on a heading, to see only the child subheadings specify 1246 When zooming in on a heading, to see only the child subheadings specify
1237a numeric argument: @kbd{C-u C-c C-z}. The number of levels of children 1247a numeric argument: @kbd{C-u C-c C-z}. The number of levels of children
1238can be specified too (compare @kbd{M-x show-children}), e.g., @kbd{M-2 1248can be specified too (compare @kbd{M-x outline-show-children}), e.g.,
1239C-c C-z} exposes two levels of child subheadings. Alternatively, the 1249@w{@kbd{M-2 C-c C-z}} exposes two levels of child subheadings.
1240body can be specified with a negative argument: @kbd{M-- C-c C-z}. The 1250Alternatively, the body can be specified with a negative argument:
1241whole subtree can be expanded, similarly to @kbd{C-c C-s} (@kbd{M-x 1251@w{@kbd{M-- C-c C-z}}. The whole subtree can be expanded, similarly to
1242show-subtree}), by specifying a zero argument: @kbd{M-0 C-c C-z}. 1252@kbd{C-c C-s} (@kbd{M-x outline-show-subtree}), by specifying a zero
1253argument: @w{@kbd{M-0 C-c C-z}}.
1243 1254
1244 While you're zoomed in, you can still use Outline mode's exposure and 1255 While you're zoomed in, you can still use Outline mode's exposure and
1245hiding functions without disturbing Foldout. Also, since the buffer is 1256hiding functions without disturbing Foldout. Also, since the buffer is
@@ -1256,8 +1267,8 @@ argument exits that many levels of folds. Specifying a zero argument
1256exits all folds. 1267exits all folds.
1257 1268
1258 To cancel the narrowing of a fold without hiding the text and 1269 To cancel the narrowing of a fold without hiding the text and
1259subheadings, specify a negative argument. For example, @kbd{M--2 C-c 1270subheadings, specify a negative argument. For example, @w{@kbd{M--2 C-c
1260C-x} exits two folds and leaves the text and subheadings exposed. 1271C-x}} exits two folds and leaves the text and subheadings exposed.
1261 1272
1262 Foldout mode also provides mouse commands for entering and exiting 1273 Foldout mode also provides mouse commands for entering and exiting
1263folds, and for showing and hiding text: 1274folds, and for showing and hiding text:
diff --git a/doc/lispref/control.texi b/doc/lispref/control.texi
index 0c0827909a3..947c54f9c35 100644
--- a/doc/lispref/control.texi
+++ b/doc/lispref/control.texi
@@ -368,7 +368,7 @@ UPattern. For example:
368@item (app @var{function} @var{upattern}) 368@item (app @var{function} @var{upattern})
369Matches if @var{function} applied to the value being matched returns a 369Matches if @var{function} applied to the value being matched returns a
370value that matches @var{upattern}. This is like the @code{pred} 370value that matches @var{upattern}. This is like the @code{pred}
371UPattern, except that it tests the result against @var{UPattern}, 371UPattern, except that it tests the result against @var{upattern},
372rather than against a boolean truth value. The @var{function} call can 372rather than against a boolean truth value. The @var{function} call can
373use one of the forms described below. 373use one of the forms described below.
374@item (or @var{upattern1} @var{upattern2}@dots{}) 374@item (or @var{upattern1} @var{upattern2}@dots{})
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index d050738d80f..851baa31f30 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -2548,7 +2548,7 @@ modifying the attributes of a named face.
2548This function returns the value of the @var{attribute} attribute for 2548This function returns the value of the @var{attribute} attribute for
2549@var{face} on @var{frame}. 2549@var{face} on @var{frame}.
2550 2550
2551If @var{frame} is @code{nil}, that means the selected frame 2551If @var{frame} is omitted or @code{nil}, that means the selected frame
2552(@pxref{Input Focus}). If @var{frame} is @code{t}, this function 2552(@pxref{Input Focus}). If @var{frame} is @code{t}, this function
2553returns the value of the specified attribute for newly-created frames 2553returns the value of the specified attribute for newly-created frames
2554(this is normally @code{unspecified}, unless you have specified some 2554(this is normally @code{unspecified}, unless you have specified some
@@ -2644,8 +2644,8 @@ created frames.
2644 2644
2645 The following commands and functions mostly provide compatibility 2645 The following commands and functions mostly provide compatibility
2646with old versions of Emacs. They work by calling 2646with old versions of Emacs. They work by calling
2647@code{set-face-attribute}. Values of @code{t} and @code{nil} for 2647@code{set-face-attribute}. Values of @code{t} and @code{nil} (or
2648their @var{frame} argument are handled just like 2648omitted) for their @var{frame} argument are handled just like
2649@code{set-face-attribute} and @code{face-attribute}. The commands 2649@code{set-face-attribute} and @code{face-attribute}. The commands
2650read their arguments using the minibuffer, if called interactively. 2650read their arguments using the minibuffer, if called interactively.
2651 2651
@@ -2714,7 +2714,8 @@ name used for @var{character}.
2714@defun face-foreground face &optional frame inherit 2714@defun face-foreground face &optional frame inherit
2715@defunx face-background face &optional frame inherit 2715@defunx face-background face &optional frame inherit
2716These functions return the foreground color (or background color, 2716These functions return the foreground color (or background color,
2717respectively) of face @var{face}, as a string. 2717respectively) of face @var{face}, as a string. If the color is
2718unspecified, they return @code{nil}.
2718@end defun 2719@end defun
2719 2720
2720@defun face-stipple face &optional frame inherit 2721@defun face-stipple face &optional frame inherit
@@ -4178,12 +4179,12 @@ bar.) @var{horizontal-type} is either @code{bottom} or @code{nil}
4178(which means no horizontal scroll bar). 4179(which means no horizontal scroll bar).
4179@end defun 4180@end defun
4180 4181
4181@defun frame-scroll-bar-width &optional Lisp_Object &optional frame 4182@defun frame-scroll-bar-width &optional frame
4182This function returns the width of vertical scroll bars of @var{frame} 4183This function returns the width of vertical scroll bars of @var{frame}
4183in pixels. 4184in pixels.
4184@end defun 4185@end defun
4185 4186
4186@defun frame-scroll-bar-height &optional Lisp_Object &optional frame 4187@defun frame-scroll-bar-height &optional frame
4187This function returns the height of horizontal scroll bars of 4188This function returns the height of horizontal scroll bars of
4188@var{frame} in pixels. 4189@var{frame} in pixels.
4189@end defun 4190@end defun
@@ -7155,7 +7156,7 @@ Emacs is displaying the frame using X.
7155Emacs is displaying the frame using native MS-Windows GUI. 7156Emacs is displaying the frame using native MS-Windows GUI.
7156@item ns 7157@item ns
7157Emacs is displaying the frame using the Nextstep interface (used on 7158Emacs is displaying the frame using the Nextstep interface (used on
7158GNUstep and Mac OS X). 7159GNUstep and macOS).
7159@item pc 7160@item pc
7160Emacs is displaying the frame using MS-DOS direct screen writes. 7161Emacs is displaying the frame using MS-DOS direct screen writes.
7161@item nil 7162@item nil
diff --git a/doc/lispref/frames.texi b/doc/lispref/frames.texi
index 90f8e3501b2..dc1c524653d 100644
--- a/doc/lispref/frames.texi
+++ b/doc/lispref/frames.texi
@@ -764,7 +764,7 @@ its size using the @code{height} and @code{width} parameters
764with sizes and positions. For all of these functions the argument 764with sizes and positions. For all of these functions the argument
765@var{frame} must denote a live frame and defaults to the selected frame. 765@var{frame} must denote a live frame and defaults to the selected frame.
766 766
767@defun frame-position &optional Lisp_Object &optional frame 767@defun frame-position &optional frame
768This function returns the outer position (@pxref{Frame Layout}) of 768This function returns the outer position (@pxref{Frame Layout}) of
769@var{frame} in pixels. The value is a cons giving the coordinates of 769@var{frame} in pixels. The value is a cons giving the coordinates of
770the top left corner of the outer frame of @var{frame} relative to an 770the top left corner of the outer frame of @var{frame} relative to an
@@ -772,9 +772,9 @@ origin at the position (0, 0) of the frame's display. On a text
772terminal frame both values are zero. 772terminal frame both values are zero.
773@end defun 773@end defun
774 774
775@defun set-frame-position frame X Y 775@defun set-frame-position frame x y
776This function sets the outer frame position of @var{frame} to @var{X} 776This function sets the outer frame position of @var{frame} to @var{x}
777and @var{Y}. The latter arguments specify pixels and normally count 777and @var{y}. The latter arguments specify pixels and normally count
778from an origin at the position (0, 0) of @var{frame}'s display. 778from an origin at the position (0, 0) of @var{frame}'s display.
779 779
780A negative parameter value positions the right edge of the outer frame 780A negative parameter value positions the right edge of the outer frame
diff --git a/doc/lispref/loading.texi b/doc/lispref/loading.texi
index a73ae596e0d..44ce719bc1f 100644
--- a/doc/lispref/loading.texi
+++ b/doc/lispref/loading.texi
@@ -610,8 +610,8 @@ and @code{define-global-minor-mode}.
610 610
611@item Other definition types: 611@item Other definition types:
612@code{defcustom}, @code{defgroup}, @code{defclass} 612@code{defcustom}, @code{defgroup}, @code{defclass}
613(@pxref{Top,EIEIO,,eieio,EIEIO}), and @code{define-skeleton} (see the 613(@pxref{Top,EIEIO,,eieio,EIEIO}), and @code{define-skeleton}
614commentary in @file{skeleton.el}). 614(@pxref{Top,Autotyping,,autotype,Autotyping}).
615@end table 615@end table
616 616
617 You can also use a magic comment to execute a form at build time 617 You can also use a magic comment to execute a form at build time
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index fd2ce3248fd..9f805c2c1d9 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -1049,8 +1049,7 @@ Unix convention, used on GNU and Unix systems, is to use the linefeed
1049character (also called newline). The DOS convention, used on 1049character (also called newline). The DOS convention, used on
1050MS-Windows and MS-DOS systems, is to use a carriage-return and a 1050MS-Windows and MS-DOS systems, is to use a carriage-return and a
1051linefeed at the end of a line. The Mac convention is to use just 1051linefeed at the end of a line. The Mac convention is to use just
1052carriage-return. (This was the convention used on the Macintosh 1052carriage-return. (This was the convention used in Classic Mac OS.)
1053system prior to OS X.)
1054 1053
1055@cindex base coding system 1054@cindex base coding system
1056@cindex variant coding system 1055@cindex variant coding system
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 3312705e167..903bad3b9c5 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -891,7 +891,7 @@ Berkeley BSD and its variants.
891Cygwin, a Posix layer on top of MS-Windows. 891Cygwin, a Posix layer on top of MS-Windows.
892 892
893@item darwin 893@item darwin
894Darwin (Mac OS X). 894Darwin (macOS).
895 895
896@item gnu 896@item gnu
897The GNU system (using the GNU kernel, which consists of the HURD and Mach). 897The GNU system (using the GNU kernel, which consists of the HURD and Mach).
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi
index 87c0b5c7687..21e1429f59d 100644
--- a/doc/lispref/processes.texi
+++ b/doc/lispref/processes.texi
@@ -648,7 +648,7 @@ I/O, file-name-coding-system}).
648If @var{coding} is @code{nil}, the default rules for finding the 648If @var{coding} is @code{nil}, the default rules for finding the
649coding system will apply. @xref{Default Coding Systems}. 649coding system will apply. @xref{Default Coding Systems}.
650 650
651@item :connection-type @var{TYPE} 651@item :connection-type @var{type}
652Initialize the type of device used to communicate with the subprocess. 652Initialize the type of device used to communicate with the subprocess.
653Possible values are @code{pty} to use a pty, @code{pipe} to use a 653Possible values are @code{pty} to use a pty, @code{pipe} to use a
654pipe, or @code{nil} to use the default derived from the value of the 654pipe, or @code{nil} to use the default derived from the value of the
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index c6a3eb035ad..0da34d14f24 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -4666,7 +4666,7 @@ Return all nodes in @var{dom} that have IDs that match @var{match},
4666which is a regular expression. 4666which is a regular expression.
4667 4667
4668@item dom-strings @var{dom} 4668@item dom-strings @var{dom}
4669Return all strings in @var{DOM}. 4669Return all strings in @var{dom}.
4670 4670
4671@end table 4671@end table
4672 4672
diff --git a/doc/lispref/tips.texi b/doc/lispref/tips.texi
index a8589df031c..b45e68d0d56 100644
--- a/doc/lispref/tips.texi
+++ b/doc/lispref/tips.texi
@@ -165,10 +165,10 @@ follow the naming conventions for hooks. @xref{Hooks}.
165@item 165@item
166@cindex unloading packages, preparing for 166@cindex unloading packages, preparing for
167If loading the file adds functions to hooks, define a function 167If loading the file adds functions to hooks, define a function
168@code{@var{feature}-unload-hook}, where @var{feature} is the name of 168@code{@var{feature}-unload-function}, where @var{feature} is the name
169the feature the package provides, and make it undo any such changes. 169of the feature the package provides, and make it undo any such
170Using @code{unload-feature} to unload the file will run this function. 170changes. Using @code{unload-feature} to unload the file will run this
171@xref{Unloading}. 171function. @xref{Unloading}.
172 172
173@item 173@item
174It is a bad idea to define aliases for the Emacs primitives. Normally 174It is a bad idea to define aliases for the Emacs primitives. Normally
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index d66a9448e63..2823cc55214 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -557,7 +557,7 @@ time @code{window-size-change-functions} was run for the last time on
557@cindex pixel width of a window 557@cindex pixel width of a window
558@cindex total pixel width of a window 558@cindex total pixel width of a window
559 559
560@defun window-pixel-width &optional Lisp_Object &optional window 560@defun window-pixel-width &optional window
561This function returns the width of window @var{window} in pixels. 561This function returns the width of window @var{window} in pixels.
562@var{window} must be a valid window and defaults to the selected one. 562@var{window} must be a valid window and defaults to the selected one.
563 563
@@ -4469,14 +4469,14 @@ This function returns the pixel edges of @var{window}'s body. Calling
4469the origin of the display screen rather than that of the frame: 4469the origin of the display screen rather than that of the frame:
4470 4470
4471@defun window-absolute-pixel-edges &optional window 4471@defun window-absolute-pixel-edges &optional window
4472This function returns the pixel coordinates of @var{WINDOW} relative to 4472This function returns the pixel coordinates of @var{window} relative to
4473an origin at (0, 0) of the display of @var{window}'s frame. Calling 4473an origin at (0, 0) of the display of @var{window}'s frame. Calling
4474@code{(window-absolute-pixel-edges)} is equivalent to calling 4474@code{(window-absolute-pixel-edges)} is equivalent to calling
4475@code{(window-edges window nil t t)}, see above. 4475@code{(window-edges window nil t t)}, see above.
4476@end defun 4476@end defun
4477 4477
4478@defun window-absolute-body-pixel-edges &optional window 4478@defun window-absolute-body-pixel-edges &optional window
4479This function returns the pixel coordinates of @var{WINDOW}'s body 4479This function returns the pixel coordinates of @var{window}'s body
4480relative to an origin at (0, 0) of the display of @var{window}'s frame. 4480relative to an origin at (0, 0) of the display of @var{window}'s frame.
4481Calling @code{(window-absolute-body-pixel-edges window)} is equivalent 4481Calling @code{(window-absolute-body-pixel-edges window)} is equivalent
4482to calling @code{(window-edges window t t t)}, see above. 4482to calling @code{(window-edges window t t t)}, see above.
diff --git a/doc/misc/efaq.texi b/doc/misc/efaq.texi
index 72a90a1ff21..9efe0e73c5c 100644
--- a/doc/misc/efaq.texi
+++ b/doc/misc/efaq.texi
@@ -1206,7 +1206,7 @@ Emacs can be started as a daemon in the background.
1206 1206
1207@cindex NeXTstep port 1207@cindex NeXTstep port
1208@cindex GNUstep port 1208@cindex GNUstep port
1209@cindex Mac OS X Cocoa 1209@cindex macOS Cocoa
1210@item 1210@item
1211There is a new NeXTstep port of Emacs. This supports GNUstep and Mac OS 1211There is a new NeXTstep port of Emacs. This supports GNUstep and Mac OS
1212X (via the Cocoa libraries). The Carbon port of Emacs, which supported 1212X (via the Cocoa libraries). The Carbon port of Emacs, which supported
@@ -3341,7 +3341,7 @@ problem (@pxref{Reporting bugs}).
3341* Emacs for MS-DOS:: 3341* Emacs for MS-DOS::
3342* Emacs for MS-Windows:: 3342* Emacs for MS-Windows::
3343* Emacs for GNUstep:: 3343* Emacs for GNUstep::
3344* Emacs for Mac OS X:: 3344* Emacs for macOS::
3345@end menu 3345@end menu
3346 3346
3347@node Finding Emacs on the Internet 3347@node Finding Emacs on the Internet
@@ -3561,13 +3561,13 @@ For MS-DOS, @pxref{Emacs for MS-DOS}.
3561Beginning with version 23.1, Emacs supports GNUstep natively. 3561Beginning with version 23.1, Emacs supports GNUstep natively.
3562See the file @file{nextstep/INSTALL} in the distribution. 3562See the file @file{nextstep/INSTALL} in the distribution.
3563 3563
3564@node Emacs for Mac OS X 3564@node Emacs for macOS
3565@section Where can I get Emacs for Mac OS X? 3565@section Where can I get Emacs for macOS?
3566@cindex Apple computers, Emacs for 3566@cindex Apple computers, Emacs for
3567@cindex Macintosh, Emacs for 3567@cindex Macintosh, Emacs for
3568@cindex Mac OS X, Emacs for 3568@cindex macOS, Emacs for
3569 3569
3570Beginning with version 22.1, Emacs supports Mac OS X natively. 3570Beginning with version 22.1, Emacs supports macOS natively.
3571See the file @file{nextstep/INSTALL} in the distribution. 3571See the file @file{nextstep/INSTALL} in the distribution.
3572 3572
3573@c ------------------------------------------------------------ 3573@c ------------------------------------------------------------
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi
index 2473d26cc15..c34dd7caf08 100644
--- a/doc/misc/gnus.texi
+++ b/doc/misc/gnus.texi
@@ -21522,7 +21522,7 @@ bound to mairix searches and are automatically updated.
21522Mairix is a tool for indexing and searching words in locally stored 21522Mairix is a tool for indexing and searching words in locally stored
21523mail. It was written by Richard Curnow and is licensed under the 21523mail. It was written by Richard Curnow and is licensed under the
21524GPL@. Mairix comes with most popular GNU/Linux distributions, but it also 21524GPL@. Mairix comes with most popular GNU/Linux distributions, but it also
21525runs under Windows (with cygwin), Mac OS X and Solaris. The homepage can 21525runs under Windows (with cygwin), macOS and Solaris. The homepage can
21526be found at 21526be found at
21527@uref{http://www.rpcurnow.force9.co.uk/mairix/index.html} 21527@uref{http://www.rpcurnow.force9.co.uk/mairix/index.html}
21528 21528
diff --git a/doc/misc/idlwave.texi b/doc/misc/idlwave.texi
index 26c81d65948..32b33641656 100644
--- a/doc/misc/idlwave.texi
+++ b/doc/misc/idlwave.texi
@@ -75,7 +75,7 @@ Interactive Data Language (IDL), and running IDL as an inferior shell.
75* Sources of Routine Info:: How does IDLWAVE know about routine XYZ 75* Sources of Routine Info:: How does IDLWAVE know about routine XYZ
76* HTML Help Browser Tips:: 76* HTML Help Browser Tips::
77* Configuration Examples:: The user is king 77* Configuration Examples:: The user is king
78* Windows and MacOS:: What still works, and how 78* Windows and macOS:: What still works, and how
79* Troubleshooting:: When good computers turn bad 79* Troubleshooting:: When good computers turn bad
80* GNU Free Documentation License:: The license for this documentation. 80* GNU Free Documentation License:: The license for this documentation.
81* Index:: Fast access 81* Index:: Fast access
@@ -2372,7 +2372,7 @@ Normal hook. Executed when @file{idlwave.el} is loaded.
2372@cindex Subprocess of Emacs, IDL 2372@cindex Subprocess of Emacs, IDL
2373@cindex Comint, Emacs package 2373@cindex Comint, Emacs package
2374@cindex Windows 2374@cindex Windows
2375@cindex MacOS 2375@cindex macOS
2376 2376
2377The IDLWAVE shell is an Emacs major mode which permits running the IDL 2377The IDLWAVE shell is an Emacs major mode which permits running the IDL
2378program as an inferior process of Emacs, and works closely with the 2378program as an inferior process of Emacs, and works closely with the
@@ -2382,7 +2382,7 @@ debug these programs. The IDLWAVE shell is built on @file{comint}, an
2382Emacs packages which handles the communication with the IDL program. 2382Emacs packages which handles the communication with the IDL program.
2383Unfortunately, IDL for Windows does not have command-prompt versions and 2383Unfortunately, IDL for Windows does not have command-prompt versions and
2384thus do not allow the interaction with Emacs, so the IDLWAVE shell 2384thus do not allow the interaction with Emacs, so the IDLWAVE shell
2385currently only works under Unix and MacOSX. 2385currently works under only Unix and macOS.
2386 2386
2387@menu 2387@menu
2388* Starting the Shell:: How to launch IDL as a subprocess 2388* Starting the Shell:: How to launch IDL as a subprocess
@@ -3533,14 +3533,14 @@ to locate library catalogs.
3533@end defopt 3533@end defopt
3534 3534
3535@defopt idlwave-library-path 3535@defopt idlwave-library-path
3536IDL library path for Windows and MacOS@. Under Unix/MacOSX, will be 3536IDL library path for Windows and macOS@. Under Unix/macOS, will be
3537obtained from the Shell when run. 3537obtained from the Shell when run.
3538@end defopt 3538@end defopt
3539 3539
3540@defopt idlwave-system-directory 3540@defopt idlwave-system-directory
3541The IDL system directory for Windows and MacOS@. Also needed for 3541The IDL system directory for Windows and macOS@. Also needed for
3542locating HTML help and the IDL Assistant for IDL v6.2 and later. Under 3542locating HTML help and the IDL Assistant for IDL v6.2 and later. Under
3543Unix/MacOSX, will be obtained from the Shell and recorded, if run. 3543Unix/macOS, will be obtained from the Shell and recorded, if run.
3544@end defopt 3544@end defopt
3545 3545
3546@defopt idlwave-config-directory (@file{~/.emacs.d/idlwave}) 3546@defopt idlwave-config-directory (@file{~/.emacs.d/idlwave})
@@ -3626,7 +3626,7 @@ performance is a problem and/or the catalogs are not needed.
3626@cindex User catalog 3626@cindex User catalog
3627@cindex IDL library routine info 3627@cindex IDL library routine info
3628@cindex Windows 3628@cindex Windows
3629@cindex MacOS 3629@cindex macOS
3630@cindex IDL variable @code{!DIR} 3630@cindex IDL variable @code{!DIR}
3631@cindex @code{!DIR}, IDL variable 3631@cindex @code{!DIR}, IDL variable
3632 3632
@@ -3651,7 +3651,7 @@ catalog must be rescanned to update it. Creating the user catalog is
3651also much slower than scanning library catalogs. 3651also much slower than scanning library catalogs.
3652 3652
3653You can scan any of the directories on the currently known path. Under 3653You can scan any of the directories on the currently known path. Under
3654Windows and MacOS (not OSX), you need to specify the IDL search path in 3654Windows, you need to specify the IDL search path in
3655the variable @code{idlwave-library-path}, and the location of the IDL 3655the variable @code{idlwave-library-path}, and the location of the IDL
3656directory (the value of the @code{!DIR} system variable) in the variable 3656directory (the value of the @code{!DIR} system variable) in the variable
3657@code{idlwave-system-directory}, like this@footnote{The initial @samp{+} 3657@code{idlwave-system-directory}, like this@footnote{The initial @samp{+}
@@ -3742,10 +3742,9 @@ files. Therefore, such local files should not be installed inside the
3742many other reasons. 3742many other reasons.
3743 3743
3744@cindex Windows 3744@cindex Windows
3745@cindex MacOS
3746@cindex IDL variable @code{!DIR} 3745@cindex IDL variable @code{!DIR}
3747@cindex @code{!DIR}, IDL variable 3746@cindex @code{!DIR}, IDL variable
3748Users of Windows and MacOS (not X) also must set the variable 3747Users of Windows also must set the variable
3749@code{idlwave-system-directory} to the value of the @code{!DIR} system 3748@code{idlwave-system-directory} to the value of the @code{!DIR} system
3750variable in IDL@. IDLWAVE appends @file{lib} to the value of this 3749variable in IDL@. IDLWAVE appends @file{lib} to the value of this
3751variable and assumes that all files found on that path are system 3750variable and assumes that all files found on that path are system
@@ -3822,7 +3821,7 @@ etc.).
3822@noindent Individual platform recommendations: 3821@noindent Individual platform recommendations:
3823 3822
3824@itemize @bullet 3823@itemize @bullet
3825@item Unix/MacOSX: The @uref{http://www.w3m.org,@code{w3m}} browser 3824@item Unix/macOS: The @uref{http://www.w3m.org,@code{w3m}} browser
3826and its associated 3825and its associated
3827@uref{http://emacs-w3m.namazu.org/,@code{emacs-w3m}} emacs mode 3826@uref{http://emacs-w3m.namazu.org/,@code{emacs-w3m}} emacs mode
3828provide in-buffer browsing with image display, and excellent speed and 3827provide in-buffer browsing with image display, and excellent speed and
@@ -4020,18 +4019,17 @@ user is King!
4020@html 4019@html
4021<A NAME="WINDOWS_MAC"></A> 4020<A NAME="WINDOWS_MAC"></A>
4022@end html 4021@end html
4023@node Windows and MacOS 4022@node Windows and macOS
4024@appendix Windows and MacOS 4023@appendix Windows and macOS
4025@cindex Windows 4024@cindex Windows
4026@cindex MacOS 4025@cindex macOS
4027@cindex MacOSX
4028 4026
4029IDLWAVE was developed on a UNIX system. However, thanks to the 4027IDLWAVE was developed on a UNIX system. However, thanks to the
4030portability of Emacs, much of IDLWAVE does also work under different 4028portability of Emacs, much of IDLWAVE does also work under different
4031operating systems like Windows (with NTEmacs or NTXEmacs) or MacOS. 4029operating systems like Windows (with NTEmacs or NTXEmacs).
4032 4030
4033The only real problem is that there is no command-line version of IDL 4031The only real problem is that there is no command-line version of IDL
4034for Windows or MacOS(<=9) with which IDLWAVE can interact. As a 4032for Windows with which IDLWAVE can interact. As a
4035result, the IDLWAVE Shell does not work and you have to rely on IDLDE 4033result, the IDLWAVE Shell does not work and you have to rely on IDLDE
4036to run and debug your programs. However, editing IDL source files 4034to run and debug your programs. However, editing IDL source files
4037with Emacs/IDLWAVE works with all bells and whistles, including 4035with Emacs/IDLWAVE works with all bells and whistles, including
@@ -4112,10 +4110,10 @@ ensure @samp{idl} is on your @samp{$PATH}, or specify the full
4112pathname to the idl program with the variable 4110pathname to the idl program with the variable
4113@code{idlwave-shell-explicit-file-name}. Note that you may need to 4111@code{idlwave-shell-explicit-file-name}. Note that you may need to
4114set your shell search path in two places when running Emacs as an Aqua 4112set your shell search path in two places when running Emacs as an Aqua
4115application with MacOSX; see the next topic. 4113application with macOS; see the next topic.
4116 4114
4117@item @strong{IDLWAVE is disregarding my @samp{IDL_PATH} which I set 4115@item @strong{IDLWAVE is disregarding my @samp{IDL_PATH} which I set
4118under MacOSX} 4116under macOS}
4119 4117
4120If you run Emacs directly as an Aqua application, rather than from the 4118If you run Emacs directly as an Aqua application, rather than from the
4121console shell, the environment is set not from your usual shell 4119console shell, the environment is set not from your usual shell
diff --git a/doc/misc/mairix-el.texi b/doc/misc/mairix-el.texi
index 8deead52dc6..69d3fc42277 100644
--- a/doc/misc/mairix-el.texi
+++ b/doc/misc/mairix-el.texi
@@ -68,7 +68,7 @@ database.
68Mairix is a tool for indexing and searching words in locally stored 68Mairix is a tool for indexing and searching words in locally stored
69mail. It was written by Richard Curnow and is licensed under the 69mail. It was written by Richard Curnow and is licensed under the
70GPL@. Mairix comes with most popular GNU/Linux distributions, but it also 70GPL@. Mairix comes with most popular GNU/Linux distributions, but it also
71runs under Windows (with cygwin), Mac OS X and Solaris. The homepage can 71runs under Windows (with cygwin), macOS and Solaris. The homepage can
72be found at 72be found at
73@uref{http://www.rpcurnow.force9.co.uk/mairix/index.html} 73@uref{http://www.rpcurnow.force9.co.uk/mairix/index.html}
74 74
diff --git a/doc/misc/org.texi b/doc/misc/org.texi
index a5239acb59f..a6f9dbde7cb 100644
--- a/doc/misc/org.texi
+++ b/doc/misc/org.texi
@@ -6616,7 +6616,7 @@ applying it to another one.
6616@vindex org-clock-idle-time 6616@vindex org-clock-idle-time
6617By customizing the variable @code{org-clock-idle-time} to some integer, such 6617By customizing the variable @code{org-clock-idle-time} to some integer, such
6618as 10 or 15, Emacs can alert you when you get back to your computer after 6618as 10 or 15, Emacs can alert you when you get back to your computer after
6619being idle for that many minutes@footnote{On computers using Mac OS X, 6619being idle for that many minutes@footnote{On computers using macOS,
6620idleness is based on actual user idleness, not just Emacs' idle time. For 6620idleness is based on actual user idleness, not just Emacs' idle time. For
6621X11, you can install a utility program @file{x11idle.c}, available in the 6621X11, you can install a utility program @file{x11idle.c}, available in the
6622@code{contrib/scripts} directory of the Org git distribution, or install the 6622@code{contrib/scripts} directory of the Org git distribution, or install the
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 0e09cf7e7bb..955a13e477a 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -933,7 +933,7 @@ D-Bus, dbus}.
933@cindex afp method 933@cindex afp method
934 934
935This method is for connecting to remote hosts with the Apple Filing 935This method is for connecting to remote hosts with the Apple Filing
936Protocol for accessing files on Mac OS X volumes. @value{tramp} access 936Protocol for accessing files on macOS volumes. @value{tramp} access
937syntax requires a leading volume (share) name, for example: 937syntax requires a leading volume (share) name, for example:
938@file{@trampfn{afp,user@@host,/volume}}. 938@file{@trampfn{afp,user@@host,/volume}}.
939 939