Mercurial > emacs
comparison man/mule.texi @ 68694:6e0262b41466
(Communication Coding): Say "other applications".
(Fontsets): Not specific to X. Add xref to X Resources.
(Unibyte Mode): Renamed from Single-Byte Character Support.
"Graphical display", not window system.
(International): Update menu.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 08 Feb 2006 00:05:07 +0000 |
parents | dc2d5a6655a3 |
children | 0f8a6f2f46ee |
comparison
equal
deleted
inserted
replaced
68693:f06d0aec15a7 | 68694:6e0262b41466 |
---|---|
70 for your language, or use the default input method set up when you set | 70 for your language, or use the default input method set up when you set |
71 your language environment. If | 71 your language environment. If |
72 your keyboard can produce non-@acronym{ASCII} characters, you can select an | 72 your keyboard can produce non-@acronym{ASCII} characters, you can select an |
73 appropriate keyboard coding system (@pxref{Terminal Coding}), and Emacs | 73 appropriate keyboard coding system (@pxref{Terminal Coding}), and Emacs |
74 will accept those characters. Latin-1 characters can also be input by | 74 will accept those characters. Latin-1 characters can also be input by |
75 using the @kbd{C-x 8} prefix, see @ref{Single-Byte Character Support, | 75 using the @kbd{C-x 8} prefix, see @ref{Unibyte Mode}. |
76 C-x 8}. | 76 C-x 8}. |
77 | 77 |
78 On X Window systems, your locale should be set to an appropriate value | 78 On X Window systems, your locale should be set to an appropriate value |
79 to make sure Emacs interprets keyboard input correctly; see | 79 to make sure Emacs interprets keyboard input correctly; see |
80 @ref{Language Environments, locales}. | 80 @ref{Language Environments, locales}. |
99 terminal input and output. | 99 terminal input and output. |
100 * Fontsets:: Fontsets are collections of fonts | 100 * Fontsets:: Fontsets are collections of fonts |
101 that cover the whole spectrum of characters. | 101 that cover the whole spectrum of characters. |
102 * Defining Fontsets:: Defining a new fontset. | 102 * Defining Fontsets:: Defining a new fontset. |
103 * Undisplayable Characters:: When characters don't display. | 103 * Undisplayable Characters:: When characters don't display. |
104 * Single-Byte Character Support:: You can pick one European character set | 104 * Unibyte Mode:: You can pick one European character set |
105 to use without multibyte characters. | 105 to use without multibyte characters. |
106 * Charsets:: How Emacs groups its internal character codes. | 106 * Charsets:: How Emacs groups its internal character codes. |
107 @end menu | 107 @end menu |
108 | 108 |
109 @node International Chars | 109 @node International Chars |
998 in communication with other processes. | 998 in communication with other processes. |
999 | 999 |
1000 @table @kbd | 1000 @table @kbd |
1001 @item C-x @key{RET} x @var{coding} @key{RET} | 1001 @item C-x @key{RET} x @var{coding} @key{RET} |
1002 Use coding system @var{coding} for transferring selections to and from | 1002 Use coding system @var{coding} for transferring selections to and from |
1003 other programs through the window system. | 1003 other window-based applications. |
1004 | 1004 |
1005 @item C-x @key{RET} X @var{coding} @key{RET} | 1005 @item C-x @key{RET} X @var{coding} @key{RET} |
1006 Use coding system @var{coding} for transferring @emph{one} | 1006 Use coding system @var{coding} for transferring @emph{one} |
1007 selection---the next one---to or from the window system. | 1007 selection---the next one---to or from another window-based application. |
1008 | 1008 |
1009 @item C-x @key{RET} p @var{input-coding} @key{RET} @var{output-coding} @key{RET} | 1009 @item C-x @key{RET} p @var{input-coding} @key{RET} @var{output-coding} @key{RET} |
1010 Use coding systems @var{input-coding} and @var{output-coding} for | 1010 Use coding systems @var{input-coding} and @var{output-coding} for |
1011 subprocess input and output in the current buffer. | 1011 subprocess input and output in the current buffer. |
1012 | 1012 |
1164 | 1164 |
1165 @node Fontsets | 1165 @node Fontsets |
1166 @section Fontsets | 1166 @section Fontsets |
1167 @cindex fontsets | 1167 @cindex fontsets |
1168 | 1168 |
1169 A font for X Windows typically defines shapes for a single alphabet | 1169 A font typically defines shapes for a single alphabet or script. |
1170 or script. Therefore, displaying the entire range of scripts that | 1170 Therefore, displaying the entire range of scripts that Emacs supports |
1171 Emacs supports requires a collection of many fonts. In Emacs, such a | 1171 requires a collection of many fonts. In Emacs, such a collection is |
1172 collection is called a @dfn{fontset}. A fontset is defined by a list | 1172 called a @dfn{fontset}. A fontset is defined by a list of fonts, each |
1173 of fonts, each assigned to handle a range of character codes. | 1173 assigned to handle a range of character codes. |
1174 | 1174 |
1175 Each fontset has a name, like a font. The available X fonts are | 1175 Each fontset has a name, like a font. However, while fonts are |
1176 defined by the X server; fontsets, however, are defined within Emacs | 1176 stored in the system and the available font names are defined by the |
1177 itself. Once you have defined a fontset, you can use it within Emacs by | 1177 system, fontsets are defined within Emacs itself. Once you have |
1178 specifying its name, anywhere that you could use a single font. Of | 1178 defined a fontset, you can use it within Emacs by specifying its name, |
1179 course, Emacs fontsets can use only the fonts that the X server | 1179 anywhere that you could use a single font. Of course, Emacs fontsets |
1180 supports; if certain characters appear on the screen as hollow boxes, | 1180 can use only the fonts that the system supports; if certain characters |
1181 this means that the fontset in use for them has no font for those | 1181 appear on the screen as hollow boxes, this means that the fontset in |
1182 characters.@footnote{The Emacs installation instructions have information on | 1182 use for them has no font for those characters.@footnote{The Emacs |
1183 additional font support.} | 1183 installation instructions have information on additional font |
1184 support.} | |
1184 | 1185 |
1185 Emacs creates two fontsets automatically: the @dfn{standard fontset} | 1186 Emacs creates two fontsets automatically: the @dfn{standard fontset} |
1186 and the @dfn{startup fontset}. The standard fontset is most likely to | 1187 and the @dfn{startup fontset}. The standard fontset is most likely to |
1187 have fonts for a wide variety of non-@acronym{ASCII} characters; | 1188 have fonts for a wide variety of non-@acronym{ASCII} characters; |
1188 however, this is not the default for Emacs to use. (By default, Emacs | 1189 however, this is not the default for Emacs to use. (By default, Emacs |
1189 tries to find a font that has bold and italic variants.) You can | 1190 tries to find a font that has bold and italic variants.) You can |
1190 specify use of the standard fontset with the @samp{-fn} option, or | 1191 specify use of the standard fontset with the @samp{-fn} option. For |
1191 with the @samp{Font} X resource (@pxref{Font X}). For example, | 1192 example, |
1192 | 1193 |
1193 @example | 1194 @example |
1194 emacs -fn fontset-standard | 1195 emacs -fn fontset-standard |
1195 @end example | 1196 @end example |
1197 | |
1198 @noindent | |
1199 You can also specify a fontset with the @samp{Font} resource (@pxref{X | |
1200 Resources}). | |
1196 | 1201 |
1197 A fontset does not necessarily specify a font for every character | 1202 A fontset does not necessarily specify a font for every character |
1198 code. If a fontset specifies no font for a certain character, or if it | 1203 code. If a fontset specifies no font for a certain character, or if it |
1199 specifies a font that does not exist on your system, then it cannot | 1204 specifies a font that does not exist on your system, then it cannot |
1200 display that character properly. It will display that character as an | 1205 display that character properly. It will display that character as an |
1351 from other European character sets using a mixture of equivalent | 1356 from other European character sets using a mixture of equivalent |
1352 Latin-1 characters and @acronym{ASCII} mnemonics. Customize the variable | 1357 Latin-1 characters and @acronym{ASCII} mnemonics. Customize the variable |
1353 @code{latin1-display} to enable this. The mnemonic @acronym{ASCII} | 1358 @code{latin1-display} to enable this. The mnemonic @acronym{ASCII} |
1354 sequences mostly correspond to those of the prefix input methods. | 1359 sequences mostly correspond to those of the prefix input methods. |
1355 | 1360 |
1356 @node Single-Byte Character Support | 1361 @node Unibyte Mode |
1357 @section Single-byte Character Set Support | 1362 @section Unibyte Editing Mode |
1358 | 1363 |
1359 @cindex European character sets | 1364 @cindex European character sets |
1360 @cindex accented characters | 1365 @cindex accented characters |
1361 @cindex ISO Latin character sets | 1366 @cindex ISO Latin character sets |
1362 @cindex Unibyte operation | 1367 @cindex Unibyte operation |
1374 your initialization files are read as unibyte if they contain | 1379 your initialization files are read as unibyte if they contain |
1375 non-@acronym{ASCII} characters. | 1380 non-@acronym{ASCII} characters. |
1376 | 1381 |
1377 @vindex unibyte-display-via-language-environment | 1382 @vindex unibyte-display-via-language-environment |
1378 Emacs can also display those characters, provided the terminal or font | 1383 Emacs can also display those characters, provided the terminal or font |
1379 in use supports them. This works automatically. Alternatively, if you | 1384 in use supports them. This works automatically. Alternatively, on a |
1380 are using a window system, Emacs can also display single-byte characters | 1385 graphical display, Emacs can also display single-byte characters |
1381 through fontsets, in effect by displaying the equivalent multibyte | 1386 through fontsets, in effect by displaying the equivalent multibyte |
1382 characters according to the current language environment. To request | 1387 characters according to the current language environment. To request |
1383 this, set the variable @code{unibyte-display-via-language-environment} | 1388 this, set the variable @code{unibyte-display-via-language-environment} |
1384 to a non-@code{nil} value. | 1389 to a non-@code{nil} value. |
1385 | 1390 |