[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 6927841: Fix recent changes related to 'glyphless-display-mode'

From: Eli Zaretskii
Subject: master 6927841: Fix recent changes related to 'glyphless-display-mode'
Date: Thu, 2 Dec 2021 05:33:57 -0500 (EST)

branch: master
commit 6927841ecba6494858cc3af7c0500e6cd3c4923a
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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 80ef24b..b82473f 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 c7d5431..c9fc8c7 100644
--- a/lisp/international/characters.el
+++ b/lisp/international/characters.el
@@ -1493,8 +1493,8 @@ Setup `char-width-table' appropriate for non-CJK language 
 (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).
                     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 9751b9f..177ba42 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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]