• Eli Zaretskii's avatar
    Fix and document display of glyphless characters. · 0eb025fb
    Eli Zaretskii authored
     src/xdisp.c (set_cursor_from_row): Fix cursor positioning on
     zero-width characters.
     (syms_of_xdisp) <glyphless-char-display>: Doc fix.
     src/.gdbinit (pgx): Adapt to latest changes in `struct glyph'.
     src/w32term.c (x_draw_glyphless_glyph_string_foreground): Draw the
     box before drawing the glyphs inside it.
     src/dispextern.h (enum glyphless_display_method): Rename
     GLYPHLESS_DISPLAY_HEXA_CODE to GLYPHLESS_DISPLAY_HEX_CODE.  All
     users changed.
     src/term.c (append_glyphless_glyph, produce_glyphless_glyph): Fix
     comments.
     (produce_glyphless_glyph): Enclose "U+nnnn" and "empty box"
     whitespace in "[]", to simulate a box.  Don't use uninitialized
     variable `width'.
     lisp/international/characters.el (glyphless-char-display-control):
     Renamed from glyphless-char-control; all users changed.  Doc fix.
     Signal an error if display method is not one of the recognized
     symbols.
     doc/emacs/rmail.texi (Rmail Coding): Characters with no fonts are not
     necessarily displayed as empty boxes.
     doc/emacs/mule.texi (Language Environments, Fontsets): Characters with no
     fonts are not necessarily displayed as empty boxes.
     doc/emacs/display.texi (Text Display): Document display of glyphless
     characters.
     doc/lispref/display.texi (Usual Display): Characters with no fonts are not
     necessarily displayed as empty boxes.
     etc/NEWS: Document display of glyphless characters.
    0eb025fb
term.c 108 KB