From 6927841ecba6494858cc3af7c0500e6cd3c4923a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 2 Dec 2021 12:32:17 +0200 Subject: [PATCH] Fix recent changes related to 'glyphless-display-mode' * lisp/textmodes/glyphless-mode.el (glyphless-mode-types): Fix spelling of "bidirectional". * lisp/international/characters.el (char-acronym-table): Fix acronyms for LRI and RLI: use their accepted shorthands. (glyphless-char-display-control): Fix spelling of doc string. * doc/lispref/display.texi (Glyphless Chars): Fix spelling and add a cross-reference. --- doc/lispref/display.texi | 5 +++-- lisp/international/characters.el | 8 ++++---- lisp/textmodes/glyphless-mode.el | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi index 80ef24b270d..b82473f9c20 100644 --- a/doc/lispref/display.texi +++ b/doc/lispref/display.texi @@ -8282,8 +8282,9 @@ images, such as U+00AD @sc{soft hyphen}. @item bidi-control This is a subset of @code{format-control}, but only includes -characters that are related to bi-directional control, like U+2069 -@sc{pop directional isolate} and U+202A @sc{left-to-right embedding}. +characters that are related to bidirectional formatting control, like +U+2069 @sc{pop directional isolate} and U+202A @sc{left-to-right +embedding}. @xref{Bidirectional Display}. Characters of Unicode General Category [Cf], such as U+200E @sc{left-to-right mark}, but excluding characters that have graphic diff --git a/lisp/international/characters.el b/lisp/international/characters.el index c7d54318efd..c9fc8c76a53 100644 --- a/lisp/international/characters.el +++ b/lisp/international/characters.el @@ -1493,8 +1493,8 @@ Setup `char-width-table' appropriate for non-CJK language environment." (aset char-acronym-table #x202D "LRO") ; LEFT-TO-RIGHT OVERRIDE (aset char-acronym-table #x202E "RLO") ; RIGHT-TO-LEFT OVERRIDE (aset char-acronym-table #x2060 "WJ") ; WORD JOINER -(aset char-acronym-table #x2066 "LTRI") ; LEFT-TO-RIGHT ISOLATE -(aset char-acronym-table #x2067 "RTLI") ; RIGHT-TO-LEFT ISOLATE +(aset char-acronym-table #x2066 "LRI") ; LEFT-TO-RIGHT ISOLATE +(aset char-acronym-table #x2067 "RLI") ; RIGHT-TO-LEFT ISOLATE (aset char-acronym-table #x2069 "PDI") ; POP DIRECTIONAL ISOLATE (aset char-acronym-table #x206A "ISS") ; INHIBIT SYMMETRIC SWAPPING (aset char-acronym-table #x206B "ASS") ; ACTIVATE SYMMETRIC SWAPPING @@ -1628,8 +1628,8 @@ GROUP must be one of these symbols: excluding characters that have graphic images, such as U+00AD (SHY). `bidi-control': A subset of `format-control', but only characters - that are relevant for bi-directional control, like - U+2069 (PDI) and U+202B (RLE). + that are relevant for bidirectional formatting controls, + like U+2069 (PDI) and U+202B (RLE). `variation-selectors': Characters in the range U+FE00..U+FE0F, used for selecting alternate glyph presentations, such as diff --git a/lisp/textmodes/glyphless-mode.el b/lisp/textmodes/glyphless-mode.el index 9751b9f143e..177ba42c9c8 100644 --- a/lisp/textmodes/glyphless-mode.el +++ b/lisp/textmodes/glyphless-mode.el @@ -34,7 +34,7 @@ The value can be any of the groups supported by (const :tag "C0 Control" c0-control) (const :tag "C1 Control" c1-control) (const :tag "Format Control" format-control) - (const :tag "Bi-directional Control" bidi-control) + (const :tag "Bidirectional Control" bidi-control) (const :tag "Variation Selectors" variation-selectors) (const :tag "No Font" no-font))) :group 'display) -- 2.39.2