Mercurial > hg > xemacs-beta
comparison man/xemacs-faq.texi @ 745:4aa6e26cd8ba
[xemacs-hg @ 2002-02-06 16:27:05 by stephent]
Unicode FAQs <87lme6pxac.fsf@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Wed, 06 Feb 2002 16:27:06 +0000 |
parents | ececdfb867ce |
children | 943eaba38521 |
comparison
equal
deleted
inserted
replaced
744:8ae895c67ce7 | 745:4aa6e26cd8ba |
---|---|
5 @setchapternewpage off | 5 @setchapternewpage off |
6 @c %**end of header | 6 @c %**end of header |
7 @finalout | 7 @finalout |
8 @titlepage | 8 @titlepage |
9 @title XEmacs FAQ | 9 @title XEmacs FAQ |
10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2002/02/04 10:57:02 $ | 10 @subtitle Frequently asked questions about XEmacs @* Last Modified: $Date: 2002/02/06 16:27:06 $ |
11 @sp 1 | 11 @sp 1 |
12 @author Tony Rossini <rossini@@biostat.washington.edu> | 12 @author Tony Rossini <rossini@@biostat.washington.edu> |
13 @author Ben Wing <ben@@xemacs.org> | 13 @author Ben Wing <ben@@xemacs.org> |
14 @author Chuck Thompson <cthomp@@xemacs.org> | 14 @author Chuck Thompson <cthomp@@xemacs.org> |
15 @author Steve Baur <steve@@xemacs.org> | 15 @author Steve Baur <steve@@xemacs.org> |
122 * Q1.3.3:: How do I type non-ASCII characters? | 122 * Q1.3.3:: How do I type non-ASCII characters? |
123 * Q1.3.4:: Can XEmacs messages come out in a different language? | 123 * Q1.3.4:: Can XEmacs messages come out in a different language? |
124 * Q1.3.5:: Please explain the various input methods in MULE/XEmacs | 124 * Q1.3.5:: Please explain the various input methods in MULE/XEmacs |
125 * Q1.3.6:: How do I portably code for MULE/XEmacs? | 125 * Q1.3.6:: How do I portably code for MULE/XEmacs? |
126 * Q1.3.7:: How about Cyrillic Modes? | 126 * Q1.3.7:: How about Cyrillic Modes? |
127 * Q1.3.8:: Does XEmacs support Unicode? | |
128 * Q1.3.9:: How does XEmacs display Unicode? | |
127 | 129 |
128 Getting Started: | 130 Getting Started: |
129 * Q1.4.1:: What is an @file{init.el} or @file{.emacs} and is there a sample one? | 131 * Q1.4.1:: What is an @file{init.el} or @file{.emacs} and is there a sample one? |
130 * Q1.4.2:: Can I use the same @file{init.el}/@file{.emacs} with the other Emacs? | 132 * Q1.4.2:: Can I use the same @file{init.el}/@file{.emacs} with the other Emacs? |
131 * Q1.4.3:: Any good XEmacs tutorials around? | 133 * Q1.4.3:: Any good XEmacs tutorials around? |
484 * Q1.3.3:: How do I type non-ASCII characters? | 486 * Q1.3.3:: How do I type non-ASCII characters? |
485 * Q1.3.4:: Can XEmacs messages come out in a different language? | 487 * Q1.3.4:: Can XEmacs messages come out in a different language? |
486 * Q1.3.5:: Please explain the various input methods in MULE/XEmacs | 488 * Q1.3.5:: Please explain the various input methods in MULE/XEmacs |
487 * Q1.3.6:: How do I portably code for MULE/XEmacs? | 489 * Q1.3.6:: How do I portably code for MULE/XEmacs? |
488 * Q1.3.7:: How about Cyrillic Modes? | 490 * Q1.3.7:: How about Cyrillic Modes? |
491 * Q1.3.8:: Does XEmacs support Unicode? | |
492 * Q1.3.9:: How does XEmacs display Unicode? | |
489 | 493 |
490 Getting Started: | 494 Getting Started: |
491 * Q1.4.1:: What is an @file{init.el} or @file{.emacs} and is there a sample one? | 495 * Q1.4.1:: What is an @file{init.el} or @file{.emacs} and is there a sample one? |
492 * Q1.4.2:: Can I use the same @file{init.el}/@file{.emacs} with the other Emacs? | 496 * Q1.4.2:: Can I use the same @file{init.el}/@file{.emacs} with the other Emacs? |
493 * Q1.4.3:: Any good XEmacs tutorials around? | 497 * Q1.4.3:: Any good XEmacs tutorials around? |
1040 ;; for old emacs variants | 1044 ;; for old emacs variants |
1041 ) | 1045 ) |
1042 @end lisp | 1046 @end lisp |
1043 @end quotation | 1047 @end quotation |
1044 | 1048 |
1045 @node Q1.3.7, Q1.4.1, Q1.3.6, Introduction | 1049 @node Q1.3.7, Q1.3.8, Q1.3.6, Introduction |
1046 @unnumberedsubsec Q1.3.7: How about Cyrillic Modes? | 1050 @unnumberedsubsec Q1.3.7: How about Cyrillic Modes? |
1047 | 1051 |
1048 @email{ilya@@math.ohio-state.edu, Ilya Zakharevich} writes: | 1052 @email{ilya@@math.ohio-state.edu, Ilya Zakharevich} writes: |
1049 | 1053 |
1050 @quotation | 1054 @quotation |
1078 @quotation | 1082 @quotation |
1079 The fullest resource I found on Russian language use (in and out of | 1083 The fullest resource I found on Russian language use (in and out of |
1080 XEmacs) is @uref{http://www.ibiblio.org/sergei/Software/Software.html} | 1084 XEmacs) is @uref{http://www.ibiblio.org/sergei/Software/Software.html} |
1081 @end quotation | 1085 @end quotation |
1082 | 1086 |
1083 @node Q1.4.1, Q1.4.2, Q1.3.7, Introduction | 1087 @node Q1.3.8, Q1.3.9, Q1.3.7, Introduction |
1088 @unnumberedsubsec Q1.3.8: Does XEmacs support Unicode? | |
1089 | |
1090 Partially, as an external encoding for files, processes, and terminals. | |
1091 It does not yet support Unicode fonts @ref{Q1.3.9, Does XEmacs support | |
1092 Unicode Fonts?} | |
1093 | |
1094 To get Unicode support, you need a Mule-enabled XEmacs. Install | |
1095 Mule-UCS from packages in the usual way. Put | |
1096 | |
1097 (require 'un-define) | |
1098 (set-coding-priority-list '(utf-8)) | |
1099 (set-coding-category-system 'utf-8 utf-8) | |
1100 | |
1101 Install standard national fonts (not Unicode fonts) for all | |
1102 character sets you use. | |
1103 | |
1104 Mule-UCS also supports 16-bit forms of Unicode (UTF-16). It does not | |
1105 support 31-bit forms of Unicode (UTF-32 or UCS-4). | |
1106 | |
1107 @node Q1.3.9, Q1.4.1, Q1.3.8, Introduction | |
1108 @unnumberedsubsec Q1.3.9: How does XEmacs display Unicode? | |
1109 | |
1110 Mule doesn't have a Unicode charset internally, so there's nothing to | |
1111 bind a Unicode registry to. It would not be straightforward to create, | |
1112 either, because Unicode is not ISO 2022-compatible. You'd have to | |
1113 translate it to multiple 96x96 pages. | |
1114 | |
1115 This means that Mule-UCS uses ordinary national fonts for display. This | |
1116 is not really a problem, except for those languages that use the Unified | |
1117 Han characters. The problem here is that Mule-UCS maps from Unicode | |
1118 code points to national character sets in a deterministic way. By | |
1119 default, this means that Japanese fonts are tried first, then Chinese, | |
1120 then Korean. To change the priority ordering, use the command | |
1121 `un-define-change-charset-order'. | |
1122 | |
1123 It also means you can't use Unicode fonts directly, at least not without | |
1124 extreme hackery. You can run -nw with (set-terminal-coding-system | |
1125 'utf-8) if you really want a Unicode font for some reason. | |
1126 | |
1127 Real Unicode support will be introduced in XEmacs 22.0. | |
1128 | |
1129 @node Q1.4.1, Q1.4.2, Q1.3.9, Introduction | |
1084 @unnumberedsec 1.4: Getting Started, Backing up & Recovery | 1130 @unnumberedsec 1.4: Getting Started, Backing up & Recovery |
1085 @unnumberedsubsec Q1.4.1: What is an @file{init.el} or @file{.emacs} and is there a sample one? | 1131 @unnumberedsubsec Q1.4.1: What is an @file{init.el} or @file{.emacs} and is there a sample one? |
1086 | 1132 |
1087 The @file{init.el} or @file{.emacs} file is used to customize XEmacs to | 1133 The @file{init.el} or @file{.emacs} file is used to customize XEmacs to |
1088 your tastes. Starting in 21.4, the preferred location for the init file | 1134 your tastes. Starting in 21.4, the preferred location for the init file |