diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-08-27 11:56:00 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-08-27 11:56:00 +0300 |
commit | 56aa52c346d5317a9f228ca12d52d4c860c458b0 (patch) | |
tree | 486d6b0080ee5956b05d5803c669ad4ef0baa5e2 /etc | |
parent | 4015d561c39d29200bf1ac542844fd5f3ba99426 (diff) | |
download | emacs-56aa52c346d5317a9f228ca12d52d4c860c458b0.tar.gz |
Support "replacement characters" on TTY frames
* src/nsterm.m (ns_draw_glyphless_glyph_string_foreground):
* src/pgtkterm.c (pgtk_draw_glyphless_glyph_string_foreground):
* src/haikuterm.c (haiku_draw_glyphless_glyph_string_foreground):
* src/xterm.c (x_draw_glyphless_glyph_string_foreground):
* src/w32term.c (w32_draw_glyphless_glyph_string_foreground):
* src/xdisp.c (lookup_glyphless_char_display): Handle extra-slot
of 'glyphless-char-display' that is a cons cell.
(syms_of_xdisp) <glyphless-char-display>: Update doc string.
* etc/NEWS:
* doc/lispref/display.texi (Glyphless Chars): Document the new
feature.
* lisp/faces.el (glyphless-char): Make the face stand out on TTY
frames that don't support the underline attribute.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -1512,7 +1512,7 @@ non-nil, the text will now be added to the Isearch instead. *** Changes for values 'no' and 'no-ding' of 'isearch-wrap-pause'. Now with these values the search will wrap around not only on repeating with 'C-s C-s', but also after typing a character. - +1 +++ *** New user option 'char-fold-override'. Non-nil means that the default definitions of equivalent characters @@ -1525,11 +1525,24 @@ command accepts the Unicode name of an Emoji (for example, "smiling face" or "heart with arrow"), like 'C-x 8 e e', with minibuffer completion, and adds the Emoji into the search string. +** Glyphless characters + +++ -** New minor mode 'glyphless-display-mode'. +*** New minor mode 'glyphless-display-mode'. This allows an easy way to toggle seeing all glyphless characters in the current buffer. +*** The extra slot of 'glyphless-char-display' can now have cons values. +The extra slot of the 'glyphless-char-display' char-table can now have +values that are cons cells, specifying separate values for text-mode +and GUI terminals. + +*** "Replacement character" feature for undisplayable characters on TTYs. +The 'acronym' method of displaying glyphless characters on text-mode +frames treats single-character acronyms specially: they are displayed +without the surrounding [..] "box", thus in effect treating such +"acronyms" as replacement characters. + ** Registers +++ |