Next: , Previous: , Up: Using Glyphs   [Contents][Index]

50.3.3 Redisplay Glyphs

To use a glyph to control the shape of miscellaneous redisplay effects such as the truncation and continuation markers, set the appropriate existing glyph variables with set-glyph-image. See continuation-glyph, control-arrow-glyph, hscroll-glyph, invisible-text-glyph, octal-escape-glyph, and truncation-glyph. See also overlay-arrow-string, an odd redisplay leftover which can be set to a glyph you created, and will cause the glyph to be displayed on top of the text position specified in the marker stored in overlay-arrow-position.

To use a glyph in a display table (i.e. to control the appearance of any individual character), create the appropriate character glyphs and then set a specification for the specifier current-display-table, which controls the appearance of characters. You can also set an overriding display table for use with text displayed in a particular face; see set-face-display-table and make-display-table. #### Note: Display tables do not currently support general Mule characters. They will be overhauled at some point to support this and to provide other features required under Mule. Display Tables.

Glyphs are not actually used as the background pixmaps of faces, but the API is similar. The background pixmap of a face is actually an image specifier – probably the only place in SXEmacs where an image specifier occurs outside of a glyph. If you would like to use a glyph’s image as a background pixmap, you can extract it with glyph-image, and then add it to a face. See Face Convenience Functions.

Glyph: truncation-glyph

This variable specifies what is displayed at the end of truncated lines.

Glyph: continuation-glyph

This variable specifies what is displayed at the end of wrapped lines.

Glyph: octal-escape-glyph

This variable specifies what to prefix character codes displayed in octal with.

Glyph: hscroll-glyph

This variable specifies what to display at the beginning of horizontally scrolled lines.

Glyph: invisible-text-glyph

This variable specifies what to use to indicate the presence of invisible text. This is the glyph that is displayed when an ellipsis is called for, according to selective-display-ellipses or buffer-invisibility-spec). Normally this is three dots (“...”).

Glyph: control-arrow-glyph

This variable specifies what to use as an arrow for control characters.

Next: , Previous: , Up: Using Glyphs   [Contents][Index]