diff options
| author | Eli Zaretskii | 2019-06-05 19:52:00 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-06-05 19:52:00 +0300 |
| commit | f68b33f50299339a36da29cd1913d19fd5f288e0 (patch) | |
| tree | 8c5d92a7de588a712eede5fb05c9d5e00b43c187 | |
| parent | ff7ec6ff3322ed38e35342e960b6af5a36c9e51d (diff) | |
| download | emacs-f68b33f50299339a36da29cd1913d19fd5f288e0.tar.gz emacs-f68b33f50299339a36da29cd1913d19fd5f288e0.zip | |
Fix styling of Unicode codepoints in manuals
* doc/lispref/nonascii.texi (Character Properties):
* doc/lispref/display.texi (Glyphless Chars)
(Bidirectional Display):
* doc/emacs/search.texi (Lax Search):
* doc/emacs/text.texi (Quotation Marks):
* doc/emacs/basic.texi (Inserting Text): Canonicalize the
style of "U+NNNN CHARACTER NAME". (Bug#35885)
| -rw-r--r-- | doc/emacs/basic.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/search.texi | 13 | ||||
| -rw-r--r-- | doc/emacs/text.texi | 8 | ||||
| -rw-r--r-- | doc/lispref/display.texi | 10 | ||||
| -rw-r--r-- | doc/lispref/nonascii.texi | 23 |
5 files changed, 29 insertions, 27 deletions
diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi index 7144490cda7..d0bd46c35fc 100644 --- a/doc/emacs/basic.texi +++ b/doc/emacs/basic.texi | |||
| @@ -113,7 +113,7 @@ 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 |
| 115 | starting with @kbd{C-x 8}. For example, @kbd{C-x 8 [} inserts @t{‘} | 115 | starting with @kbd{C-x 8}. For example, @kbd{C-x 8 [} inserts @t{‘} |
| 116 | which is Unicode code-point @code{U+2018} LEFT SINGLE QUOTATION MARK, | 116 | which is Unicode code-point U+2018 @sc{left single quotation mark}, |
| 117 | sometimes called a left single ``curved quote'' or ``curly quote''. | 117 | sometimes called a left single ``curved quote'' or ``curly quote''. |
| 118 | Similarly, @kbd{C-x 8 ]}, @kbd{C-x 8 @{} and @kbd{C-x 8 @}} insert the | 118 | Similarly, @kbd{C-x 8 ]}, @kbd{C-x 8 @{} and @kbd{C-x 8 @}} insert the |
| 119 | curved quotes @t{’}, @t{“} and @t{”}, respectively. Also, a working | 119 | curved quotes @t{’}, @t{“} and @t{”}, respectively. Also, a working |
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 004280cc64b..0da037330d4 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi | |||
| @@ -1310,14 +1310,14 @@ of its accented cousins like @code{@"a} and @code{@'a}, i.e., the | |||
| 1310 | match disregards the diacritics that distinguish these | 1310 | match disregards the diacritics that distinguish these |
| 1311 | variants. In addition, @code{a} matches other characters that | 1311 | variants. In addition, @code{a} matches other characters that |
| 1312 | resemble it, or have it as part of their graphical representation, | 1312 | resemble it, or have it as part of their graphical representation, |
| 1313 | such as @sc{u+249c parenthesized latin small letter a} and @sc{u+2100 | 1313 | such as U+249C @sc{parenthesized latin small letter a} and U+2100 |
| 1314 | account of} (which looks like a small @code{a} over @code{c}). | 1314 | @sc{account of} (which looks like a small @code{a} over @code{c}). |
| 1315 | Similarly, the @acronym{ASCII} double-quote character @code{"} matches | 1315 | Similarly, the @acronym{ASCII} double-quote character @code{"} matches |
| 1316 | all the other variants of double quotes defined by the Unicode | 1316 | all the other variants of double quotes defined by the Unicode |
| 1317 | standard. Finally, character folding can make a sequence of one or | 1317 | standard. Finally, character folding can make a sequence of one or |
| 1318 | more characters match another sequence of a different length: for | 1318 | more characters match another sequence of a different length: for |
| 1319 | example, the sequence of two characters @code{ff} matches @sc{u+fb00 | 1319 | example, the sequence of two characters @code{ff} matches U+FB00 |
| 1320 | latin small ligature ff}. Character sequences that are not identical, | 1320 | @sc{latin small ligature ff}. Character sequences that are not identical, |
| 1321 | but match under character folding are known as @dfn{equivalent | 1321 | but match under character folding are known as @dfn{equivalent |
| 1322 | character sequences}. | 1322 | character sequences}. |
| 1323 | 1323 | ||
| @@ -1642,8 +1642,9 @@ replacement has already been made, @key{DEL} and @key{SPC} are | |||
| 1642 | equivalent in this situation; both move to the next occurrence. | 1642 | equivalent in this situation; both move to the next occurrence. |
| 1643 | 1643 | ||
| 1644 | You can type @kbd{C-r} at this point (see below) to alter the replaced | 1644 | You can type @kbd{C-r} at this point (see below) to alter the replaced |
| 1645 | text. You can also type @kbd{C-x u} to undo the replacement; this exits | 1645 | text. You can also undo the replacement with the @code{undo} command |
| 1646 | the @code{query-replace}, so if you want to do further replacement you | 1646 | (e.g., type @kbd{C-x u}; @pxref{Undo}); this exits the |
| 1647 | @code{query-replace}, so if you want to do further replacement you | ||
| 1647 | must use @kbd{C-x @key{ESC} @key{ESC} @key{RET}} to restart | 1648 | must use @kbd{C-x @key{ESC} @key{ESC} @key{RET}} to restart |
| 1648 | (@pxref{Repetition}). | 1649 | (@pxref{Repetition}). |
| 1649 | 1650 | ||
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index db55feeb665..bd8a1f59acc 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 | |||
| 428 | this"}. Another common way is the curved quote convention, which uses | 428 | this"}. Another common way is the curved quote convention, which uses |
| 429 | left and right single or double quotation marks `@t{like this}' or | 429 | left and right single or double quotation marks `@t{like this}' or |
| 430 | ``@t{like this}''@footnote{ | 430 | ``@t{like this}''@footnote{ |
| 431 | The curved single quote characters are U+2018 LEFT SINGLE QUOTATION | 431 | The curved single quote characters are U+2018 @sc{left single quotation |
| 432 | MARK and U+2018 RIGHT SINGLE QUOTATION MARK; the curved double quotes | 432 | mark} and U+2018 @sc{right single quotation mark}; the curved double quotes |
| 433 | are U+201C LEFT DOUBLE QUOTATION MARK and U+201D RIGHT DOUBLE | 433 | are U+201C @sc{left double quotation mark} and U+201D @sc{right double |
| 434 | QUOTATION MARK. On text terminals which cannot display these | 434 | quotation mark}. On text terminals which cannot display these |
| 435 | characters, the Info reader might show them as the typewriter ASCII | 435 | characters, the Info reader might show them as the typewriter ASCII |
| 436 | quote characters. | 436 | quote characters. |
| 437 | }. In text files, typewriter quotes are simple and | 437 | }. In text files, typewriter quotes are simple and |
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index b07999432ce..2ff73b08bdb 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi | |||
| @@ -7269,9 +7269,9 @@ Non-@acronym{ASCII}, non-printing characters @code{U+0080} to | |||
| 7269 | @samp{\230}). | 7269 | @samp{\230}). |
| 7270 | 7270 | ||
| 7271 | @item format-control | 7271 | @item format-control |
| 7272 | Characters of Unicode General Category [Cf], such as @samp{U+200E} | 7272 | Characters of Unicode General Category [Cf], such as U+200E |
| 7273 | (Left-to-Right Mark), but excluding characters that have graphic | 7273 | @sc{left-to-right mark}, but excluding characters that have graphic |
| 7274 | images, such as @samp{U+00AD} (Soft Hyphen). | 7274 | images, such as U+00AD @sc{soft hyphen}. |
| 7275 | 7275 | ||
| 7276 | @item no-font | 7276 | @item no-font |
| 7277 | Characters for which there is no suitable font, or which cannot be | 7277 | Characters for which there is no suitable font, or which cannot be |
| @@ -7654,12 +7654,12 @@ problem: | |||
| 7654 | 7654 | ||
| 7655 | @itemize @minus | 7655 | @itemize @minus |
| 7656 | @item | 7656 | @item |
| 7657 | Append the special character @code{U+200E}, LEFT-TO-RIGHT MARK, or | 7657 | Append the special character U+200E @sc{left-to-right mark}, or |
| 7658 | @acronym{LRM}, to the end of each field that may have bidirectional | 7658 | @acronym{LRM}, to the end of each field that may have bidirectional |
| 7659 | content, or prepend it to the beginning of the following field. The | 7659 | content, or prepend it to the beginning of the following field. The |
| 7660 | function @code{bidi-string-mark-left-to-right}, described below, comes | 7660 | function @code{bidi-string-mark-left-to-right}, described below, comes |
| 7661 | in handy for this purpose. (In a right-to-left paragraph, use | 7661 | in handy for this purpose. (In a right-to-left paragraph, use |
| 7662 | @code{U+200F}, RIGHT-TO-LEFT MARK, or @acronym{RLM}, instead.) This | 7662 | U+200F @sc{right-to-left mark}, or @acronym{RLM}, instead.) This |
| 7663 | is one of the solutions recommended by the UBA. | 7663 | is one of the solutions recommended by the UBA. |
| 7664 | 7664 | ||
| 7665 | @item | 7665 | @item |
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi index d2eb2cb0728..ca99cbfcde3 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 | |||
| 550 | this property is a number. Examples of characters that have this | 550 | this property is a number. Examples of characters that have this |
| 551 | property include fractions, subscripts, superscripts, Roman numerals, | 551 | property include fractions, subscripts, superscripts, Roman numerals, |
| 552 | currency numerators, and encircled numbers. For example, the value of | 552 | currency numerators, and encircled numbers. For example, the value of |
| 553 | this property for the character @code{U+2155} (@sc{vulgar fraction one | 553 | this property for the character U+2155 @sc{vulgar fraction one |
| 554 | fifth}) is @code{0.2}. For characters that don't have any numeric | 554 | fifth} is @code{0.2}. For characters that don't have any numeric |
| 555 | value, and for unassigned codepoints, the value is @code{nil}, which | 555 | value, and for unassigned codepoints, the value is @code{nil}, which |
| 556 | means @acronym{NaN}. | 556 | means @acronym{NaN}. |
| 557 | 557 | ||
| @@ -622,23 +622,24 @@ is @code{nil}, which means the character itself. | |||
| 622 | @item special-uppercase | 622 | @item special-uppercase |
| 623 | Corresponds to Unicode language- and context-independent special upper-casing | 623 | Corresponds to Unicode language- and context-independent special upper-casing |
| 624 | rules. The value of this property is a string (which may be empty). For | 624 | rules. The value of this property is a string (which may be empty). For |
| 625 | example mapping for @code{U+00DF} (@sc{latin small letter sharp s}) is | 625 | example 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} |
| 627 | which means @code{uppercase} property needs to be consulted instead. | 627 | which means @code{uppercase} property needs to be consulted instead. |
| 628 | 628 | ||
| 629 | @item special-lowercase | 629 | @item special-lowercase |
| 630 | Corresponds to Unicode language- and context-independent special lower-casing | 630 | Corresponds to Unicode language- and context-independent special |
| 631 | rules. The value of this property is a string (which may be empty). For | 631 | lower-casing rules. The value of this property is a string (which may |
| 632 | example mapping for @code{U+0130} (@sc{latin capital letter i with dot above}) | 632 | be empty). For example mapping for U+0130 @sc{latin capital letter i |
| 633 | the value is @code{"i\u0307"} (i.e. 2-character string consisting of @sc{latin | 633 | with dot above} the value is @code{"i\u0307"} (i.e. 2-character string |
| 634 | small letter i} followed by @sc{combining dot above}). For characters with no | 634 | consisting of @sc{latin small letter i} followed by U+0307 |
| 635 | special mapping, the value is @code{nil} which means @code{lowercase} property | 635 | @sc{combining dot above}). For characters with no special mapping, |
| 636 | needs to be consulted instead. | 636 | the value is @code{nil} which means @code{lowercase} property needs to |
| 637 | be consulted instead. | ||
| 637 | 638 | ||
| 638 | @item special-titlecase | 639 | @item special-titlecase |
| 639 | Corresponds to Unicode unconditional special title-casing rules. The value of | 640 | Corresponds to Unicode unconditional special title-casing rules. The value of |
| 640 | this property is a string (which may be empty). For example mapping for | 641 | this 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 | 642 | U+FB01 @sc{latin small ligature fi} the value is @code{"Fi"}. For |
| 642 | characters with no special mapping, the value is @code{nil} which means | 643 | characters 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 |