aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2019-06-07 22:06:01 +0300
committerEli Zaretskii2019-06-07 22:06:01 +0300
commit77f96e2cc1da30730f79d5935eaf5d23e53f37ad (patch)
tree3def25baacae463f3e48d7b233f26a44a71aef1d
parentdec525017013b448f23eb645b11068862c1038d6 (diff)
parent9f4c945b5cfb2e26a65ca10453591536c8fb0ff4 (diff)
downloademacs-77f96e2cc1da30730f79d5935eaf5d23e53f37ad.tar.gz
emacs-77f96e2cc1da30730f79d5935eaf5d23e53f37ad.zip
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
-rw-r--r--doc/emacs/basic.texi16
-rw-r--r--doc/emacs/display.texi23
-rw-r--r--doc/emacs/kmacro.texi4
-rw-r--r--doc/emacs/mark.texi6
-rw-r--r--doc/emacs/regs.texi4
-rw-r--r--doc/emacs/search.texi18
-rw-r--r--doc/emacs/text.texi12
-rw-r--r--doc/lispref/display.texi10
-rw-r--r--doc/lispref/nonascii.texi23
-rw-r--r--doc/lispref/processes.texi9
-rw-r--r--doc/lispref/windows.texi83
-rw-r--r--lisp/display-line-numbers.el4
-rw-r--r--lisp/emacs-lisp/bytecomp.el4
-rw-r--r--lisp/linum.el4
-rw-r--r--lisp/term/ns-win.el4
-rw-r--r--lisp/term/w32-win.el9
-rw-r--r--nt/README.W322
-rw-r--r--src/fns.c8
18 files changed, 139 insertions, 104 deletions
diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi
index 86403b7a23d..d0bd46c35fc 100644
--- a/doc/emacs/basic.texi
+++ b/doc/emacs/basic.texi
@@ -113,13 +113,13 @@ just like digits. Case is ignored.
113@cindex curved quotes, inserting 113@cindex curved quotes, inserting
114 A few common Unicode characters can be inserted via a command 114 A few common Unicode characters can be inserted via a command
115starting with @kbd{C-x 8}. For example, @kbd{C-x 8 [} inserts @t{‘} 115starting with @kbd{C-x 8}. For example, @kbd{C-x 8 [} inserts @t{‘}
116which is Unicode code-point @code{U+2018} LEFT SINGLE QUOTATION MARK, 116which is Unicode code-point U+2018 @sc{left single quotation mark},
117sometimes called a left single ``curved quote'' or ``curly quote''. 117sometimes called a left single ``curved quote'' or ``curly quote''.
118Similarly, @kbd{C-x 8 ]}, @kbd{C-x 8 @{} and @kbd{C-x 8 @}} insert the 118Similarly, @kbd{C-x 8 ]}, @kbd{C-x 8 @{} and @kbd{C-x 8 @}} insert the
119curved quotes @t{’}, @t{“} and @t{”}, respectively. Also, a working 119curved quotes @t{’}, @t{“} and @t{”}, respectively. Also, a working
120Alt key acts like @kbd{C-x 8}; e.g., @kbd{A-[} acts like @kbd{C-x 8 [} 120Alt key acts like @kbd{C-x 8}; e.g., @kbd{A-[} acts like @kbd{C-x 8 [}
121and inserts `. To see which characters have @kbd{C-x 8} shorthands, 121and inserts @t{‘}. To see which characters have @kbd{C-x 8}
122type @kbd{C-x 8 C-h}. 122shorthands, type @kbd{C-x 8 C-h}.
123 123
124 Alternatively, you can use the command @kbd{C-x 8 @key{RET}} 124 Alternatively, you can use the command @kbd{C-x 8 @key{RET}}
125(@code{insert-char}). This prompts for the Unicode name or code-point 125(@code{insert-char}). This prompts for the Unicode name or code-point
@@ -146,9 +146,9 @@ the buffer.
146how many copies of the character to insert (@pxref{Arguments}). 146how many copies of the character to insert (@pxref{Arguments}).
147 147
148 In addition, in some contexts, if you type a quotation using grave 148 In addition, in some contexts, if you type a quotation using grave
149accent and apostrophe @t{`like this'}, it is converted to a form 149accent and apostrophe @kbd{`like this'}, it is converted to a form
150@t{‘like this’} using single quotation marks, even without @kbd{C-x 8} 150@t{‘like this’} using single quotation marks, even without @kbd{C-x 8}
151commands. Similarly, typing a quotation @t{``like this''} using 151commands. Similarly, typing a quotation @kbd{``like this''} using
152double grave accent and apostrophe converts it to a form @t{“like 152double grave accent and apostrophe converts it to a form @t{“like
153this”} using double quotation marks. @xref{Quotation Marks}. 153this”} using double quotation marks. @xref{Quotation Marks}.
154 154
@@ -816,9 +816,9 @@ more convenient, and they are documented in that command's
816documentation string. 816documentation string.
817 817
818 We use the term @dfn{prefix argument} to emphasize that you type 818 We use the term @dfn{prefix argument} to emphasize that you type
819such arguments before the command, and to distinguish them from 819such arguments @emph{before} the command, and to distinguish them from
820minibuffer arguments (@pxref{Minibuffer}), which are entered after 820minibuffer arguments (@pxref{Minibuffer}), which are entered
821invoking the command. 821@emph{after} invoking the command.
822 822
823 On graphical displays, @kbd{C-0}, @kbd{C-1}, etc.@ act the same as 823 On graphical displays, @kbd{C-0}, @kbd{C-1}, etc.@ act the same as
824@kbd{M-0}, @kbd{M-1}, etc. 824@kbd{M-0}, @kbd{M-1}, etc.
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi
index 4985fabd541..b9449f812a2 100644
--- a/doc/emacs/display.texi
+++ b/doc/emacs/display.texi
@@ -199,12 +199,13 @@ screen lines between point and the top or bottom of the window
199(@pxref{Auto Scrolling}). 199(@pxref{Auto Scrolling}).
200 200
201 You can also give @kbd{C-l} a prefix argument. A plain prefix 201 You can also give @kbd{C-l} a prefix argument. A plain prefix
202argument, @kbd{C-u C-l}, simply recenters point. A positive argument 202argument, @kbd{C-u C-l}, simply recenters the line showing point. A
203@var{n} puts point @var{n} lines down from the top of the window. An 203positive argument @var{n} moves line showing point @var{n} lines down
204argument of zero puts point on the topmost line. A negative argument 204from the top of the window. An argument of zero moves point's line to
205@var{-n} puts point @var{n} lines from the bottom of the window. When 205the top of the window. A negative argument @var{-n} moves point's
206given an argument, @kbd{C-l} does not clear the screen or cycle 206line @var{n} lines from the bottom of the window. When given an
207through different screen positions. 207argument, @kbd{C-l} does not clear the screen or cycle through
208different screen positions.
208 209
209@vindex recenter-redisplay 210@vindex recenter-redisplay
210 If the variable @code{recenter-redisplay} has a non-@code{nil} 211 If the variable @code{recenter-redisplay} has a non-@code{nil}
@@ -1535,9 +1536,9 @@ a new line, while the tab character (@code{U+0009}) is displayed as a
1535space that extends to the next tab stop column (normally every 8 1536space that extends to the next tab stop column (normally every 8
1536columns). The number of spaces per tab is controlled by the 1537columns). The number of spaces per tab is controlled by the
1537buffer-local variable @code{tab-width}, which must have an integer 1538buffer-local variable @code{tab-width}, which must have an integer
1538value between 1 and 1000, inclusive. Note that how the tab character 1539value between 1 and 1000, inclusive. Note that the way the tab
1539in the buffer is displayed has nothing to do with the definition of 1540character in the buffer is displayed has nothing to do with the
1540@key{TAB} as a command. 1541definition of @key{TAB} as a command.
1541 1542
1542 Other @acronym{ASCII} control characters, whose codes are below 1543 Other @acronym{ASCII} control characters, whose codes are below
1543@code{U+0020} (octal 40, decimal 32), are displayed as a caret 1544@code{U+0020} (octal 40, decimal 32), are displayed as a caret
@@ -1607,11 +1608,11 @@ curved quotes. You can influence or inhibit this translation by
1607customizing the user option @code{text-quoting-style} (@pxref{Keys in 1608customizing the user option @code{text-quoting-style} (@pxref{Keys in
1608Documentation,,, elisp, The Emacs Lisp Reference Manual}). 1609Documentation,,, elisp, The Emacs Lisp Reference Manual}).
1609 1610
1610 If the curved quotes @samp{‘}, @samp{’}, @samp{“}, and @samp{”} are 1611 If the curved quotes @t{‘}, @t{’}, @t{“}, and @t{”} are
1611known to look just like @acronym{ASCII} characters, they are shown 1612known to look just like @acronym{ASCII} characters, they are shown
1612with the @code{homoglyph} face. Curved quotes that are known not to 1613with the @code{homoglyph} face. Curved quotes that are known not to
1613be displayable are shown as their @acronym{ASCII} approximations 1614be displayable are shown as their @acronym{ASCII} approximations
1614@samp{`}, @samp{'}, and @samp{"} with the @code{homoglyph} face. 1615@t{`}, @t{'}, and @t{"} with the @code{homoglyph} face.
1615 1616
1616@node Cursor Display 1617@node Cursor Display
1617@section Displaying the Cursor 1618@section Displaying the Cursor
diff --git a/doc/emacs/kmacro.texi b/doc/emacs/kmacro.texi
index 65387ae783c..3710611c763 100644
--- a/doc/emacs/kmacro.texi
+++ b/doc/emacs/kmacro.texi
@@ -391,7 +391,7 @@ macro definition is executed. It is up to you to leave point and the
391text in a state such that the rest of the macro will do what you want. 391text in a state such that the rest of the macro will do what you want.
392@end table 392@end table
393 393
394 @kbd{C-u C-x q}, which is @kbd{C-x q} with a numeric argument, 394 @kbd{C-u C-x q}, which is @kbd{C-x q} with a prefix argument,
395performs a completely different function. It enters a recursive edit 395performs a completely different function. It enters a recursive edit
396reading input from the keyboard, both when you type it during the 396reading input from the keyboard, both when you type it during the
397definition of the macro, and when it is executed from the macro. During 397definition of the macro, and when it is executed from the macro. During
@@ -472,7 +472,7 @@ later with @code{load-file} (@pxref{Lisp Libraries}). If the file you
472save in is your init file @file{~/.emacs} (@pxref{Init File}) then the 472save in is your init file @file{~/.emacs} (@pxref{Init File}) then the
473macro will be defined each time you run Emacs. 473macro will be defined each time you run Emacs.
474 474
475 If you give @code{insert-kbd-macro} a numeric argument, it makes 475 If you give @code{insert-kbd-macro} a prefix argument, it makes
476additional Lisp code to record the keys (if any) that you have bound 476additional Lisp code to record the keys (if any) that you have bound
477to @var{macroname}, so that the macro will be reassigned the same keys 477to @var{macroname}, so that the macro will be reassigned the same keys
478when you load the file. 478when you load the file.
diff --git a/doc/emacs/mark.texi b/doc/emacs/mark.texi
index 5ffe7264a35..8ad5fc7c9e4 100644
--- a/doc/emacs/mark.texi
+++ b/doc/emacs/mark.texi
@@ -420,9 +420,9 @@ commands.
420 The default behavior of the mark and region, in which setting the 420 The default behavior of the mark and region, in which setting the
421mark activates it and highlights the region, is called Transient Mark 421mark activates it and highlights the region, is called Transient Mark
422mode. This is a minor mode that is enabled by default. It can be 422mode. This is a minor mode that is enabled by default. It can be
423toggled with @kbd{M-x transient-mark-mode}, or with the @samp{Active 423toggled with @kbd{M-x transient-mark-mode}, or with the
424Region Highlighting} menu item in the @samp{Options} menu. Turning it 424@samp{Highlight Active Region} menu item in the @samp{Options} menu.
425off switches Emacs to an alternative mode of operation: 425Turning it off switches Emacs to an alternative mode of operation:
426 426
427@itemize @bullet 427@itemize @bullet
428@item 428@item
diff --git a/doc/emacs/regs.texi b/doc/emacs/regs.texi
index 1881b49627e..37026946477 100644
--- a/doc/emacs/regs.texi
+++ b/doc/emacs/regs.texi
@@ -154,7 +154,7 @@ during the collection process, you can use the following setting.
154@findex insert-register 154@findex insert-register
155 @kbd{C-x r i @var{r}} inserts in the buffer the text from register 155 @kbd{C-x r i @var{r}} inserts in the buffer the text from register
156@var{r}. Normally it leaves point after the text and sets the mark 156@var{r}. Normally it leaves point after the text and sets the mark
157before, without activating it. With a numeric argument, it instead 157before, without activating it. With a prefix argument, it instead
158puts point before the text and the mark after. 158puts point before the text and the mark after.
159 159
160@node Rectangle Registers 160@node Rectangle Registers
@@ -170,7 +170,7 @@ in the buffer.
170@kindex C-x r r 170@kindex C-x r r
171@item C-x r r @var{r} 171@item C-x r r @var{r}
172Copy the region-rectangle into register @var{r} 172Copy the region-rectangle into register @var{r}
173(@code{copy-rectangle-to-register}). With numeric argument, delete it as 173(@code{copy-rectangle-to-register}). With prefix argument, delete it as
174well. 174well.
175@item C-x r i @var{r} 175@item C-x r i @var{r}
176Insert the rectangle stored in register @var{r} (if it contains a 176Insert the rectangle stored in register @var{r} (if it contains a
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi
index a1c987c1252..c61578bab76 100644
--- a/doc/emacs/search.texi
+++ b/doc/emacs/search.texi
@@ -847,7 +847,7 @@ Expressions,,, elisp, The Emacs Lisp Reference Manual}, for additional
847features used mainly in Lisp programs. 847features used mainly in Lisp programs.
848 848
849 Regular expressions have a syntax in which a few characters are 849 Regular expressions have a syntax in which a few characters are
850special constructs and the rest are @dfn{ordinary}. An ordinary 850@dfn{special constructs} and the rest are @dfn{ordinary}. An ordinary
851character matches that same character and nothing else. The special 851character matches that same character and nothing else. The special
852characters are @samp{$^.*+?[\}. The character @samp{]} is special if 852characters are @samp{$^.*+?[\}. The character @samp{]} is special if
853it ends a character alternative (see below). The character @samp{-} 853it ends a character alternative (see below). The character @samp{-}
@@ -1328,14 +1328,14 @@ of its accented cousins like @code{@"a} and @code{@'a}, i.e., the
1328match disregards the diacritics that distinguish these 1328match disregards the diacritics that distinguish these
1329variants. In addition, @code{a} matches other characters that 1329variants. In addition, @code{a} matches other characters that
1330resemble it, or have it as part of their graphical representation, 1330resemble it, or have it as part of their graphical representation,
1331such as @sc{u+249c parenthesized latin small letter a} and @sc{u+2100 1331such as U+249C @sc{parenthesized latin small letter a} and U+2100
1332account of} (which looks like a small @code{a} over @code{c}). 1332@sc{account of} (which looks like a small @code{a} over @code{c}).
1333Similarly, the @acronym{ASCII} double-quote character @code{"} matches 1333Similarly, the @acronym{ASCII} double-quote character @code{"} matches
1334all the other variants of double quotes defined by the Unicode 1334all the other variants of double quotes defined by the Unicode
1335standard. Finally, character folding can make a sequence of one or 1335standard. Finally, character folding can make a sequence of one or
1336more characters match another sequence of a different length: for 1336more characters match another sequence of a different length: for
1337example, the sequence of two characters @code{ff} matches @sc{u+fb00 1337example, the sequence of two characters @code{ff} matches U+FB00
1338latin small ligature ff}. Character sequences that are not identical, 1338@sc{latin small ligature ff}. Character sequences that are not identical,
1339but match under character folding are known as @dfn{equivalent 1339but match under character folding are known as @dfn{equivalent
1340character sequences}. 1340character sequences}.
1341 1341
@@ -1483,8 +1483,7 @@ multiple digits, and the value of @samp{\@var{d}} is @code{nil} if the
1483@samp{\#} here too stands for the number of already-completed 1483@samp{\#} here too stands for the number of already-completed
1484replacements. 1484replacements.
1485 1485
1486 Repeating our example to exchange @samp{x} and @samp{y}, we can thus 1486 For example, we can exchange @samp{x} and @samp{y} this way:
1487do it also this way:
1488 1487
1489@example 1488@example
1490M-x replace-regexp @key{RET} \(x\)\|y @key{RET} 1489M-x replace-regexp @key{RET} \(x\)\|y @key{RET}
@@ -1661,8 +1660,9 @@ replacement has already been made, @key{DEL} and @key{SPC} are
1661equivalent in this situation; both move to the next occurrence. 1660equivalent in this situation; both move to the next occurrence.
1662 1661
1663You can type @kbd{C-r} at this point (see below) to alter the replaced 1662You can type @kbd{C-r} at this point (see below) to alter the replaced
1664text. You can also type @kbd{C-x u} to undo the replacement; this exits 1663text. You can also undo the replacement with the @code{undo} command
1665the @code{query-replace}, so if you want to do further replacement you 1664(e.g., type @kbd{C-x u}; @pxref{Undo}); this exits the
1665@code{query-replace}, so if you want to do further replacement you
1666must use @kbd{C-x @key{ESC} @key{ESC} @key{RET}} to restart 1666must use @kbd{C-x @key{ESC} @key{ESC} @key{RET}} to restart
1667(@pxref{Repetition}). 1667(@pxref{Repetition}).
1668 1668
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi
index 7892b346d2a..1928240a878 100644
--- a/doc/emacs/text.texi
+++ b/doc/emacs/text.texi
@@ -428,10 +428,10 @@ using straight apostrophes @t{'like this'} or double-quotes @t{"like
428this"}. Another common way is the curved quote convention, which uses 428this"}. Another common way is the curved quote convention, which uses
429left and right single or double quotation marks `@t{like this}' or 429left and right single or double quotation marks `@t{like this}' or
430``@t{like this}''@footnote{ 430``@t{like this}''@footnote{
431The curved single quote characters are U+2018 LEFT SINGLE QUOTATION 431The curved single quote characters are U+2018 @sc{left single quotation
432MARK and U+2018 RIGHT SINGLE QUOTATION MARK; the curved double quotes 432mark} and U+2018 @sc{right single quotation mark}; the curved double quotes
433are U+201C LEFT DOUBLE QUOTATION MARK and U+201D RIGHT DOUBLE 433are U+201C @sc{left double quotation mark} and U+201D @sc{right double
434QUOTATION MARK. On text terminals which cannot display these 434quotation mark}. On text terminals which cannot display these
435characters, the Info reader might show them as the typewriter ASCII 435characters, the Info reader might show them as the typewriter ASCII
436quote characters. 436quote characters.
437}. In text files, typewriter quotes are simple and 437}. In text files, typewriter quotes are simple and
@@ -439,8 +439,8 @@ portable; curved quotes are less ambiguous and typically look nicer.
439 439
440@vindex electric-quote-chars 440@vindex electric-quote-chars
441 Electric Quote mode makes it easier to type curved quotes. As you 441 Electric Quote mode makes it easier to type curved quotes. As you
442type characters it optionally converts @t{`} to ‘, @t{'} to ', 442type characters it optionally converts @kbd{`} to @t{}, @kbd{'} to @t{’},
443@t{``} to ``, and @t{''} to ''. It's possible to change the 443@kbd{``} to @t{“}, and @kbd{''} to @t{”}. It's possible to change the
444default quotes listed above, by customizing the variable 444default quotes listed above, by customizing the variable
445@code{electric-quote-chars}, a list of four characters, where the 445@code{electric-quote-chars}, a list of four characters, where the
446items correspond to the left single quote, the right single quote, the 446items correspond to the left single quote, the right single quote, the
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index 82af02fc384..93c5217c362 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -7328,9 +7328,9 @@ Non-@acronym{ASCII}, non-printing characters @code{U+0080} to
7328@samp{\230}). 7328@samp{\230}).
7329 7329
7330@item format-control 7330@item format-control
7331Characters of Unicode General Category [Cf], such as @samp{U+200E} 7331Characters of Unicode General Category [Cf], such as U+200E
7332(Left-to-Right Mark), but excluding characters that have graphic 7332@sc{left-to-right mark}, but excluding characters that have graphic
7333images, such as @samp{U+00AD} (Soft Hyphen). 7333images, such as U+00AD @sc{soft hyphen}.
7334 7334
7335@item no-font 7335@item no-font
7336Characters for which there is no suitable font, or which cannot be 7336Characters for which there is no suitable font, or which cannot be
@@ -7713,12 +7713,12 @@ problem:
7713 7713
7714@itemize @minus 7714@itemize @minus
7715@item 7715@item
7716Append the special character @code{U+200E}, LEFT-TO-RIGHT MARK, or 7716Append the special character U+200E @sc{left-to-right mark}, or
7717@acronym{LRM}, to the end of each field that may have bidirectional 7717@acronym{LRM}, to the end of each field that may have bidirectional
7718content, or prepend it to the beginning of the following field. The 7718content, or prepend it to the beginning of the following field. The
7719function @code{bidi-string-mark-left-to-right}, described below, comes 7719function @code{bidi-string-mark-left-to-right}, described below, comes
7720in handy for this purpose. (In a right-to-left paragraph, use 7720in handy for this purpose. (In a right-to-left paragraph, use
7721@code{U+200F}, RIGHT-TO-LEFT MARK, or @acronym{RLM}, instead.) This 7721U+200F @sc{right-to-left mark}, or @acronym{RLM}, instead.) This
7722is one of the solutions recommended by the UBA. 7722is one of the solutions recommended by the UBA.
7723 7723
7724@item 7724@item
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index 8b0750abbf6..a56a365e9ea 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -550,8 +550,8 @@ characters whose @code{Numeric_Type} is @samp{Numeric}. The value of
550this property is a number. Examples of characters that have this 550this property is a number. Examples of characters that have this
551property include fractions, subscripts, superscripts, Roman numerals, 551property include fractions, subscripts, superscripts, Roman numerals,
552currency numerators, and encircled numbers. For example, the value of 552currency numerators, and encircled numbers. For example, the value of
553this property for the character @code{U+2155} (@sc{vulgar fraction one 553this property for the character U+2155 @sc{vulgar fraction one
554fifth}) is @code{0.2}. For characters that don't have any numeric 554fifth} is @code{0.2}. For characters that don't have any numeric
555value, and for unassigned codepoints, the value is @code{nil}, which 555value, and for unassigned codepoints, the value is @code{nil}, which
556means @acronym{NaN}. 556means @acronym{NaN}.
557 557
@@ -622,23 +622,24 @@ is @code{nil}, which means the character itself.
622@item special-uppercase 622@item special-uppercase
623Corresponds to Unicode language- and context-independent special upper-casing 623Corresponds to Unicode language- and context-independent special upper-casing
624rules. The value of this property is a string (which may be empty). For 624rules. The value of this property is a string (which may be empty). For
625example mapping for @code{U+00DF} (@sc{latin small letter sharp s}) is 625example mapping for U+00DF @sc{latin small letter sharp s} is
626@code{"SS"}. For characters with no special mapping, the value is @code{nil} 626@code{"SS"}. For characters with no special mapping, the value is @code{nil}
627which means @code{uppercase} property needs to be consulted instead. 627which means @code{uppercase} property needs to be consulted instead.
628 628
629@item special-lowercase 629@item special-lowercase
630Corresponds to Unicode language- and context-independent special lower-casing 630Corresponds to Unicode language- and context-independent special
631rules. The value of this property is a string (which may be empty). For 631lower-casing rules. The value of this property is a string (which may
632example mapping for @code{U+0130} (@sc{latin capital letter i with dot above}) 632be empty). For example mapping for U+0130 @sc{latin capital letter i
633the value is @code{"i\u0307"} (i.e. 2-character string consisting of @sc{latin 633with dot above} the value is @code{"i\u0307"} (i.e. 2-character string
634small letter i} followed by @sc{combining dot above}). For characters with no 634consisting of @sc{latin small letter i} followed by U+0307
635special mapping, the value is @code{nil} which means @code{lowercase} property 635@sc{combining dot above}). For characters with no special mapping,
636needs to be consulted instead. 636the value is @code{nil} which means @code{lowercase} property needs to
637be consulted instead.
637 638
638@item special-titlecase 639@item special-titlecase
639Corresponds to Unicode unconditional special title-casing rules. The value of 640Corresponds to Unicode unconditional special title-casing rules. The value of
640this property is a string (which may be empty). For example mapping for 641this property is a string (which may be empty). For example mapping for
641@code{U+FB01} (@sc{latin small ligature fi}) the value is @code{"Fi"}. For 642U+FB01 @sc{latin small ligature fi} the value is @code{"Fi"}. For
642characters with no special mapping, the value is @code{nil} which means 643characters with no special mapping, the value is @code{nil} which means
643@code{titlecase} property needs to be consulted instead. 644@code{titlecase} property needs to be consulted instead.
644@end table 645@end table
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi
index b73401a62a2..ebc31c597e6 100644
--- a/doc/lispref/processes.texi
+++ b/doc/lispref/processes.texi
@@ -1688,7 +1688,7 @@ how to do these things:
1688 (save-excursion 1688 (save-excursion
1689 ;; @r{Insert the text, advancing the process marker.} 1689 ;; @r{Insert the text, advancing the process marker.}
1690 (goto-char (process-mark proc)) 1690 (goto-char (process-mark proc))
1691 (insert-before-markers string) 1691 (insert string)
1692 (set-marker (process-mark proc) (point))) 1692 (set-marker (process-mark proc) (point)))
1693 (if moving (goto-char (process-mark proc))))))) 1693 (if moving (goto-char (process-mark proc)))))))
1694@end group 1694@end group
@@ -1704,7 +1704,12 @@ text arrives, you could insert a line like the following just before the
1704 1704
1705 To force point to the end of the new output, no matter where it was 1705 To force point to the end of the new output, no matter where it was
1706previously, eliminate the variable @code{moving} from the example and 1706previously, eliminate the variable @code{moving} from the example and
1707call @code{goto-char} unconditionally. 1707call @code{goto-char} unconditionally. Note that this doesn't
1708necessarily move the window point. The default filter actually uses
1709@code{insert-before-markers} which moves all markers, including the
1710window point. This may move unrelated markers, so it's generally
1711better to move the window point explicitly, or set its insertion type
1712to @code{t} (@pxref{Window Point}).
1708 1713
1709@ignore 1714@ignore
1710 In earlier Emacs versions, every filter function that did regular 1715 In earlier Emacs versions, every filter function that did regular
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index 96e42a148c5..5e644138109 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -1295,8 +1295,10 @@ the selected window.
1295 1295
1296If deleting the window would leave no more windows in the window tree 1296If deleting the window would leave no more windows in the window tree
1297(e.g., if it is the only live window in the frame) or all remaining 1297(e.g., if it is the only live window in the frame) or all remaining
1298windows on @var{window}'s frame are side windows (@pxref{Side Windows}), 1298windows on @var{window}'s frame are side windows (@pxref{Side
1299an error is signaled. 1299Windows}), an error is signaled. If @var{window} is part of an atomic
1300window (@pxref{Atomic Windows}), this function tries to delete the
1301root of that atomic window instead.
1300 1302
1301By default, the space taken up by @var{window} is given to one of its 1303By default, the space taken up by @var{window} is given to one of its
1302adjacent sibling windows, if any. However, if the variable 1304adjacent sibling windows, if any. However, if the variable
@@ -1315,10 +1317,13 @@ Parameters}.
1315@end deffn 1317@end deffn
1316 1318
1317@deffn Command delete-other-windows &optional window 1319@deffn Command delete-other-windows &optional window
1318This function makes @var{window} fill its frame, deleting other windows 1320This function makes @var{window} fill its frame, deleting other
1319as necessary. If @var{window} is omitted or @code{nil}, it defaults to 1321windows as necessary. If @var{window} is omitted or @code{nil}, it
1320the selected window. An error is signaled if @var{window} is a side 1322defaults to the selected window. An error is signaled if @var{window}
1321window (@pxref{Side Windows}). The return value is @code{nil}. 1323is a side window (@pxref{Side Windows}). If @var{window} is part of
1324an atomic window (@pxref{Atomic Windows}), this function tries to make
1325the root of that atomic window fill its frame. The return
1326value is @code{nil}.
1322 1327
1323The behavior of this function may be altered by the window parameters of 1328The behavior of this function may be altered by the window parameters of
1324@var{window}, so long as the variable @code{ignore-window-parameters} is 1329@var{window}, so long as the variable @code{ignore-window-parameters} is
@@ -4007,9 +4012,8 @@ described next to deal with the window and its buffer.
4007This function handles @var{window} and its buffer after quitting. The 4012This function handles @var{window} and its buffer after quitting. The
4008optional argument @var{window} must be a live window and defaults to 4013optional argument @var{window} must be a live window and defaults to
4009the selected one. The function's behavior is determined by the four 4014the selected one. The function's behavior is determined by the four
4010elements of the list specified by the @code{quit-restore} window 4015elements of the list specified by @var{window}'s @code{quit-restore}
4011parameter (@pxref{Window Parameters}), which is set to @code{nil} 4016parameter (@pxref{Window Parameters}).
4012afterwards.
4013 4017
4014The first element of the @code{quit-restore} parameter is one of the 4018The first element of the @code{quit-restore} parameter is one of the
4015symbols @code{window}, meaning that the window has been specially 4019symbols @code{window}, meaning that the window has been specially
@@ -4018,35 +4022,40 @@ been created; @code{same}, the window has only ever displayed this
4018buffer; or @code{other}, the window showed another buffer before. 4022buffer; or @code{other}, the window showed another buffer before.
4019@code{frame} and @code{window} affect how the window is quit, while 4023@code{frame} and @code{window} affect how the window is quit, while
4020@code{same} and @code{other} affect the redisplay of buffers 4024@code{same} and @code{other} affect the redisplay of buffers
4021previously shown in this window. 4025previously shown in @var{window}.
4022 4026
4023The second element is either one of the symbols @code{window} or 4027The parameter's second element is either one of the symbols
4024@code{frame}, or a list whose elements are the buffer shown in the 4028@code{window} or @code{frame}, or a list whose elements are the buffer
4025window before, that buffer's window start and window point positions, 4029shown in @var{window} before, that buffer's window start and window
4026and the window's height at that time. If that buffer is still live 4030point positions, and @var{window}'s height at that time. If that
4027when the window is quit, then the function @code{quit-restore-window} 4031buffer is still live when @var{window} is quit, then this function may
4028reuses the window to display the buffer. 4032reuse @var{window} to display it.
4029 4033
4030The third element is the window selected at the time the parameter was 4034The third element is the window selected at the time the parameter was
4031created. If @code{quit-restore-window} deletes the window passed to 4035created. If this function deletes @var{window}, it subsequently tries
4032it as argument, it then tries to reselect this window. 4036to reselect the window named by that element.
4033 4037
4034The fourth element is the buffer whose display caused the creation of 4038The fourth element is the buffer whose display caused the creation of
4035this parameter. @code{quit-restore-window} deletes the specified window 4039this parameter. This function may delete @var{window} if and only if
4036only if it still shows that buffer. 4040it still shows that buffer.
4037 4041
4038The window is deleted entirely if: 1) the first element of the 4042This function will try to delete @var{window} if and only if (1) the
4039@code{quit-restore} parameter is one of 'window or 'frame, 2) the 4043first element of its @code{quit-restore} parameter is either
4040window has no history of previously-displayed buffers, and 3) the 4044@code{window} or @code{frame}, (2) the window has no history of
4041displayed buffer matches the one in the fourth element of the 4045previously-displayed buffers and (3) the fourth element of the
4042@code{quit-restore} parameter. If @var{window} is the 4046@code{quit-restore} parameter specifies the buffer currently displayed
4043only window on its frame and there are other frames on the frame's 4047in @var{window}. If @var{window} is part of an atomic window
4044terminal, the value of the optional argument @var{bury-or-kill} 4048(@pxref{Atomic Windows}), it will try to delete the root of that
4045determines how to proceed with the window. If @var{bury-or-kill} 4049atomic window instead. In either case, it tries to avoid signaling an
4046equals @code{kill}, the frame is deleted unconditionally. Otherwise, 4050error when @var{window} cannot be deleted.
4047the fate of the frame is determined by calling 4051
4048@code{frame-auto-hide-function} (see below) with that frame as sole 4052If @var{window} shall be deleted, is the only window on its frame and
4049argument. 4053there are other frames on that frame's terminal, the value of the
4054optional argument @var{bury-or-kill} determines how to proceed with
4055the window. If @var{bury-or-kill} equals @code{kill}, the frame is
4056deleted unconditionally. Otherwise, the fate of the frame is
4057determined by calling @code{frame-auto-hide-function} (see below) with
4058that frame as sole argument.
4050 4059
4051If the third element of the @code{quit-restore} parameter is a list of 4060If the third element of the @code{quit-restore} parameter is a list of
4052buffer, window start (@pxref{Window Start and End}), and point 4061buffer, window start (@pxref{Window Start and End}), and point
@@ -4057,7 +4066,8 @@ try to restore the original height of @var{window}.
4057 4066
4058Otherwise, if @var{window} was previously used for displaying other 4067Otherwise, if @var{window} was previously used for displaying other
4059buffers (@pxref{Window History}), the most recent buffer in that 4068buffers (@pxref{Window History}), the most recent buffer in that
4060history will be displayed. 4069history will be displayed. In either case, if @var{window} is not
4070deleted, its @code{quit-restore} parameter is reset to @code{nil}.
4061 4071
4062The optional argument @var{bury-or-kill} specifies how to deal with 4072The optional argument @var{bury-or-kill} specifies how to deal with
4063@var{window}'s buffer. The following values are handled: 4073@var{window}'s buffer. The following values are handled:
@@ -4538,6 +4548,11 @@ parameter assigned by @code{display-buffer-in-atom-window}. Further
4538parameters have to be set by the application explicitly via a 4548parameters have to be set by the application explicitly via a
4539@code{window-parameters} entry in @var{alist}. 4549@code{window-parameters} entry in @var{alist}.
4540 4550
4551 Atomic windows automatically cease to exist when one of their
4552constituents gets deleted. To dissolve an atomic window manually,
4553reset the @code{window-atom} parameter of its constituents---the root
4554of the atomic window and all its descendants.
4555
4541 The following code snippet, when applied to a single-window frame, 4556 The following code snippet, when applied to a single-window frame,
4542first splits the selected window and makes the selected and the new 4557first splits the selected window and makes the selected and the new
4543window constituents of an atomic window with their parent as root. It 4558window constituents of an atomic window with their parent as root. It
diff --git a/lisp/display-line-numbers.el b/lisp/display-line-numbers.el
index d38f2e69635..f17f8e5ca18 100644
--- a/lisp/display-line-numbers.el
+++ b/lisp/display-line-numbers.el
@@ -92,9 +92,7 @@ the mode is on, set `display-line-numbers' directly."
92 92
93(defun display-line-numbers--turn-on () 93(defun display-line-numbers--turn-on ()
94 "Turn on `display-line-numbers-mode'." 94 "Turn on `display-line-numbers-mode'."
95 (unless (or (minibufferp) 95 (unless (minibufferp)
96 ;; taken from linum.el
97 (and (daemonp) (null (frame-parameter nil 'client))))
98 (display-line-numbers-mode))) 96 (display-line-numbers-mode)))
99 97
100;;;###autoload 98;;;###autoload
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index dfbda8d43e3..38cce14fd62 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1401,7 +1401,9 @@ when printing the error message."
1401(defun byte-compile-callargs-warn (form) 1401(defun byte-compile-callargs-warn (form)
1402 (let* ((def (or (byte-compile-fdefinition (car form) nil) 1402 (let* ((def (or (byte-compile-fdefinition (car form) nil)
1403 (byte-compile-fdefinition (car form) t))) 1403 (byte-compile-fdefinition (car form) t)))
1404 (sig (byte-compile--function-signature (or def (car form)))) 1404 (sig (cond (def (byte-compile--function-signature def))
1405 ((subrp (symbol-function (car form)))
1406 (subr-arity (symbol-function (car form))))))
1405 (ncall (length (cdr form)))) 1407 (ncall (length (cdr form))))
1406 ;; Check many or unevalled from subr-arity. 1408 ;; Check many or unevalled from subr-arity.
1407 (if (and (cdr-safe sig) 1409 (if (and (cdr-safe sig)
diff --git a/lisp/linum.el b/lisp/linum.el
index 0b4b0083ed6..0a5d8bb2c0b 100644
--- a/lisp/linum.el
+++ b/lisp/linum.el
@@ -119,6 +119,10 @@ Linum mode is a buffer-local minor mode."
119 ;; if some large buffer was under linum-mode when 119 ;; if some large buffer was under linum-mode when
120 ;; desktop was saved. So we disable linum-mode for 120 ;; desktop was saved. So we disable linum-mode for
121 ;; non-client frames in a daemon session. 121 ;; non-client frames in a daemon session.
122
123 ;; Note that nowadays, this actually doesn't show line
124 ;; numbers in client frames at all, because we visit the
125 ;; file before creating the client frame. See bug#35726.
122 (and (daemonp) (null (frame-parameter nil 'client)))) 126 (and (daemonp) (null (frame-parameter nil 'client))))
123 (linum-mode 1))) 127 (linum-mode 1)))
124 128
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index 6a668b213dd..83b845b1a5a 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -745,10 +745,6 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
745 (string-to-number (match-string 1 ns-version-string))))) 745 (string-to-number (match-string 1 ns-version-string)))))
746 ;; Appkit 1138 ~= macOS 10.7. 746 ;; Appkit 1138 ~= macOS 10.7.
747 (when (>= appkit-version 1138) 747 (when (>= appkit-version 1138)
748 (setq mouse-wheel-scroll-amount '(1 ((shift) . 5) ((control))))
749 (put 'mouse-wheel-scroll-amount 'customized-value
750 (list (custom-quote (symbol-value 'mouse-wheel-scroll-amount))))
751
752 (setq mouse-wheel-progressive-speed nil) 748 (setq mouse-wheel-progressive-speed nil)
753 (put 'mouse-wheel-progressive-speed 'customized-value 749 (put 'mouse-wheel-progressive-speed 'customized-value
754 (list (custom-quote 750 (list (custom-quote
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index beb7425ce55..044b82ed1e0 100644
--- a/lisp/term/w32-win.el
+++ b/lisp/term/w32-win.el
@@ -170,6 +170,15 @@ the last file dropped is selected."
170;; new layout/language selected by the user. 170;; new layout/language selected by the user.
171(global-set-key [language-change] 'ignore) 171(global-set-key [language-change] 'ignore)
172 172
173;; Some Windows applications send the 'noname' (VK_NONAME) pseudo-key
174;; to prevent Windows from sleeping. We want to ignore these key
175;; events, to avoid annoying users by ringing the bell and announcing
176;; that the key is not bound.
177(global-set-key [noname] 'ignore)
178(global-set-key [C-noname] 'ignore)
179(global-set-key [M-noname] 'ignore)
180
181
173(defvar x-resource-name) 182(defvar x-resource-name)
174 183
175 184
diff --git a/nt/README.W32 b/nt/README.W32
index c04f1a6d64c..64b35f68eb5 100644
--- a/nt/README.W32
+++ b/nt/README.W32
@@ -153,7 +153,7 @@ See the end of the file for license conditions.
153 instance, or you want the smallest possible Emacs), then you may use 153 instance, or you want the smallest possible Emacs), then you may use
154 the files emacs-VER-x86_64-no-deps.zip or 154 the files emacs-VER-x86_64-no-deps.zip or
155 emacs-VER-i686-no-deps.zip. The dependency files are also available 155 emacs-VER-i686-no-deps.zip. The dependency files are also available
156 as emacs-MVER-x86_64-no-deps.zip and emacs-MVER-i686-deps.zip. Source 156 as emacs-MVER-x86_64-deps.zip and emacs-MVER-i686-deps.zip. Source
157 code for these dependencies is available as 157 code for these dependencies is available as
158 emacs-26-deps-mingw-w64-src.zip. 158 emacs-26-deps-mingw-w64-src.zip.
159 159
diff --git a/src/fns.c b/src/fns.c
index cb47b818f17..4bb525b89e9 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2681,8 +2681,12 @@ mapcar1 (EMACS_INT leni, Lisp_Object *vals, Lisp_Object fn, Lisp_Object seq)
2681DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0, 2681DEFUN ("mapconcat", Fmapconcat, Smapconcat, 3, 3, 0,
2682 doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings. 2682 doc: /* Apply FUNCTION to each element of SEQUENCE, and concat the results as strings.
2683In between each pair of results, stick in SEPARATOR. Thus, " " as 2683In between each pair of results, stick in SEPARATOR. Thus, " " as
2684SEPARATOR results in spaces between the values returned by FUNCTION. 2684 SEPARATOR results in spaces between the values returned by FUNCTION.
2685SEQUENCE may be a list, a vector, a bool-vector, or a string. */) 2685SEQUENCE may be a list, a vector, a bool-vector, or a string.
2686SEPARATOR must be a string.
2687FUNCTION must be a function of one argument, and must return a value
2688 that is a sequence of characters: either a string, or a vector or
2689 list of numbers that are valid character codepoints. */)
2686 (Lisp_Object function, Lisp_Object sequence, Lisp_Object separator) 2690 (Lisp_Object function, Lisp_Object sequence, Lisp_Object separator)
2687{ 2691{
2688 USE_SAFE_ALLOCA; 2692 USE_SAFE_ALLOCA;