comparison man/lispref/display.texi @ 398:74fd4e045ea6 r21-2-29

Import from CVS: tag r21-2-29
author cvs
date Mon, 13 Aug 2007 11:13:30 +0200
parents 6240c7796c7a
children 501cfd01ee6d
comparison
equal deleted inserted replaced
397:f4aeb21a5bad 398:74fd4e045ea6
872 872
873 @item 873 @item
874 All other codes in the range 0 through 31, and code 127, display in one 874 All other codes in the range 0 through 31, and code 127, display in one
875 of two ways according to the value of @code{ctl-arrow}. If it is 875 of two ways according to the value of @code{ctl-arrow}. If it is
876 non-@code{nil}, these codes map to sequences of two glyphs, where the 876 non-@code{nil}, these codes map to sequences of two glyphs, where the
877 first glyph is the @sc{ASCII} code for @samp{^}. (A display table can 877 first glyph is the @sc{ascii} code for @samp{^}. (A display table can
878 specify a glyph to use instead of @samp{^}.) Otherwise, these codes map 878 specify a glyph to use instead of @samp{^}.) Otherwise, these codes map
879 just like the codes in the range 128 to 255. 879 just like the codes in the range 128 to 255.
880 880
881 @item 881 @item
882 Character codes 128 through 255 map to sequences of four glyphs, where 882 Character codes 128 through 255 map to sequences of four glyphs, where
883 the first glyph is the @sc{ASCII} code for @samp{\}, and the others are 883 the first glyph is the @sc{ascii} code for @samp{\}, and the others are
884 digit characters representing the code in octal. (A display table can 884 digit characters representing the code in octal. (A display table can
885 specify a glyph to use instead of @samp{\}.) 885 specify a glyph to use instead of @samp{\}.)
886 @end itemize 886 @end itemize
887 887
888 The usual display conventions apply even when there is a display 888 The usual display conventions apply even when there is a display
919 @section Display Tables 919 @section Display Tables
920 920
921 @cindex display table 921 @cindex display table
922 You can use the @dfn{display table} feature to control how all 256 922 You can use the @dfn{display table} feature to control how all 256
923 possible character codes display on the screen. This is useful for 923 possible character codes display on the screen. This is useful for
924 displaying European languages that have letters not in the @sc{ASCII} 924 displaying European languages that have letters not in the @sc{ascii}
925 character set. 925 character set.
926 926
927 The display table maps each character code into a sequence of 927 The display table maps each character code into a sequence of
928 @dfn{runes}, each rune being an image that takes up one character 928 @dfn{runes}, each rune being an image that takes up one character
929 position on the screen. You can also define how to display each rune 929 position on the screen. You can also define how to display each rune
1038 ;; @r{(Codes 128--159 are the additional control characters.)} 1038 ;; @r{(Codes 128--159 are the additional control characters.)}
1039 (standard-display-8bit 160 255) 1039 (standard-display-8bit 160 255)
1040 @end example 1040 @end example
1041 1041
1042 If you are editing buffers written in the ISO Latin 1 character set and 1042 If you are editing buffers written in the ISO Latin 1 character set and
1043 your terminal doesn't handle anything but @sc{ASCII}, you can load the 1043 your terminal doesn't handle anything but @sc{ascii}, you can load the
1044 file @file{iso-ascii} to set up a display table that displays the other 1044 file @file{iso-ascii} to set up a display table that displays the other
1045 ISO characters as explanatory sequences of @sc{ASCII} characters. For 1045 ISO characters as explanatory sequences of @sc{ascii} characters. For
1046 example, the character ``o with umlaut'' displays as @samp{@{"o@}}. 1046 example, the character ``o with umlaut'' displays as @samp{@{"o@}}.
1047 1047
1048 Some European countries have terminals that don't support ISO Latin 1 1048 Some European countries have terminals that don't support ISO Latin 1
1049 but do support the special characters for that country's language. You 1049 but do support the special characters for that country's language. You
1050 can define a display table to work one language using such terminals. 1050 can define a display table to work one language using such terminals.