annotate etc/mule/FAQ-Mule @ 84:ac0620f6398e r20-0b92

Import from CVS: tag r20-0b92
author cvs
date Mon, 13 Aug 2007 09:08:29 +0200
parents 131b0175ea99
children 28f395d8dc7a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
70
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1 -*- Indented-Text -*-
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
3 Frequently Asked Questions and Answers for Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
4 1994/8/30
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
5
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
6 ----------------------------------------------------------------------
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
7
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
8 This FAQ list was made to summarise some frequently asked questions
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
9 and their answers in a convenient form. The structure of this FAQ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
10 list has drastically changed since the last version. For the detail
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
11 of the new structure, see the entry of `How to read this FAQ and its
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
12 structure'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
13
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
14 We believe that the contents are fairly correct, but please let us
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
15 know if you find any mistakes. New information is always welcome.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
16
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
17 To get the latest FAQ, see A-12.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
18
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
19 Many people gave us advice in making this list. We would like to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
20 thank those who have contributed.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
21
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
22 --
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
23 Takahiro Maebashi <maebashi@mcs.meitetsu.co.jp>
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
24 (translated by TAKAHASHI Naoto <ntakahas@etl.go.jp>)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
25
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
26 ----------------------------------------------------------------------
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
27
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
28 WARNING!!
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
29 This FAQ list contains Japanese, Chinese and Latin-1 characters. If
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
30 you read this list on a terminal which is not capable of displaying
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
31 those characters, your terminal might be set in a strange state.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
32 ----------------------------------------------------------------------
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
33
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
34 If you are viewing this text in a Mule Buffer, you can type "M-2 C-x
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
35 $" to get an overview of just the questions. Then, when you want to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
36 look at the text of the answers, just type "C-x $".
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
37
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
38 To search for a question numbered X-XX, type "M-C-s ^X-XX:", followed
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
39 by a C-r if that doesn't work, then type ESC to end the search.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
40
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
41 This Mule FAQ is divided into two parts:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
42
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
43 Part 1: Questions common to all languages
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
44 Part 2: Questions specific to each language
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
45
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
46 Each part consists of several sections. Questions in Part 1 are
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
47 grouped by their fields, and questions in Part 2 are grouped by
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
48 languages. You may find almost the same questions in different
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
49 sections, but this is for the convenience of readers.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
50
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
51 ----------------------------------------------------------------------
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
52
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
53 FAQ Part 1: Questions common to all languages
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
54
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
55 GENERAL QUESTIONS
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
56
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
57 A-1: What is Mule?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
58
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
59 Mule is a multi-lingual enhancement of GNU Emacs. Mule Ver.1 was
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
60 based on GNU Emacs Ver.18 and Mule Ver.2 is based on GNU Emacs
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
61 Ver.19. Mule Ver.1 will not be supported anymore.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
62
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
63 Mule has the following features:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
64 * It can handle not only ASCII characters (7 bit) and ISO Latin-1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
65 characters (8 bit), but also 16 bit characters like Japanese,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
66 Chinese, and Korean. Furthermore Mule can have a mixture of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
67 languages in a single buffer.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
68 * You can set different coding systems for file input/output,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
69 keyboard input, and inter-process communication.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
70 * When not in the multi-lingual mode, it behaves almost exactly like GNU
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
71 Emacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
72
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
73 A-2: How can I get Mule?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
74
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
75 Mule is available via anonymous FTP from:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
76
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
77 etlport.etl.go.jp [192.31.197.99]: /pub/mule
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
78 ftp.mei.co.jp [132.182.49.2]: /public/free/gnu/emacs/Mule
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
79 ftp.iij.ad.jp [192.244.176.50]: /pub/misc/mule
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
80 sh.wide.ad.jp [133.4.11.11]: /JAPAN/mule
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
81 ftp.funet.fi [128.214.6.100]: /pub/gnu/emacs/mule
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
82
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
83 Please use one of the last three sites unless you are in Japan. It
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
84 should be better to use ftp.funet.fi for European sites.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
85
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
86 Both the complete tar file of Mule (mule-2.0.tar.gz) and the diff
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
87 file to GNU Emacs 19.25 (diff-19.25-2.0.gz) are available. Please
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
88 take the diff file if you already have GNU Emacs. If you find patch
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
89 files there (patch-2.0-*.gz), get them too and apply the patches.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
90 Various fonts and ELISP libraries are also available from the same
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
91 sites.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
92
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
93 See $MULE/README.Mule for further details.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
94
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
95 A-3: What is the latest version of Mule?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
96
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
97 The current version is 2.2 (WAKAMURASAKI), and is based on
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
98 GNU Emacs 19.28.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
99
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
100 A-4: Will Mule be integrated into GNU Emacs in the future?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
101
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
102 We have just started the work of merging Mule to GNU Emacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
103
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
104 A-5: Are there any plans to introduce the features of Mule to Epoch
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
105 (or Nepoch)?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
106
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
107 Mule Ver.2 (actually GNU Emacs 19) can make a independent frame for
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
108 each buffer, and can draw coloured strings.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
109
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
110 A-6: Are there any plans to introduce the features of Mule to Demacs?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
111
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
112 Mule Ver.1.x contains Demacs. Read the install manual
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
113 "INSTALL.dos".
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
114
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
115 A-7: What are the advantages of using Mule Ver.2 instead of Mule Ver.1?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
116
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
117 To summarise, it is possible to use the new features added to GNU
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
118 Emacs 19. There are so many new features and we cannot list them
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
119 here, but the multi-frame functions a la Epoch and face functions
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
120 (see F-5 below) are examples.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
121
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
122 A-8: Are there any mailing lists for Mule?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
123
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
124 There are two lists for discussion in English:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
125
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
126 mule@etl.go.jp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
127 Main language is English.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
128 mule-vn@etl.go.jp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
129 To discuss handling of Vietnamese. Main language is English.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
130
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
131 The following is for various pre-release tests:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
132
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
133 mule-jp@etl.go.jp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
134 Main language is Japanese.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
135
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
136 To discuss general topics in Japanese, please use the newsgroup
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
137 fj.editor.mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
138
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
139 If you want to join these lists, contact the address
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
140 mule-request@etl.go.jp. Note that mule-jp-request does not exist.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
141
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
142 A-9: Where should I send bug-reports of Mule?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
143
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
144 If you write bug-reports and/or propositions for improvement in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
145 Japanese, post them to fj.editor.mule. If you do not have access to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
146 this newsgroup, send them to mule@etl.go.jp in English.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
147
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
148 A-10: Does Mule have manuals written in Japanese/English/Chinese/
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
149 Korean/etc.?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
150
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
151 There are five kinds of manuals:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
152
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
153 * on-line manual,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
154 * texinfo manual,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
155 * FAQ,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
156 * tutorial, and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
157 * various documents under the "doc" directory.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
158
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
159 The current version of Mule is 2.0, but some manuals have not been
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
160 rewritten since Ver.1 (sorry).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
161
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
162 * on-line manual
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
163
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
164 An on-line manual written in English is included. Usually you can
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
165 read it with the man command. If your sys-admin did not make it
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
166 readable, you will have to copy $MULE/etc/mule.1 to your man
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
167 directory.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
168
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
169 * texinfo manual
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
170
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
171 A texinfo manual, which explains the functions and terminology of Mule,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
172 is also available. You will find the source in texinfo format
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
173 under $MULE/man and the formatted text under $MULE/info.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
174
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
175 * FAQ
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
176
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
177 This is what you are reading now. The following versions are
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
178 available in $MULE/etc:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
179
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
180 FAQ-Mule English version
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
181 FAQ-Mule.jp Japanese version
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
182 FAQ-Mule.kr Korean version
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
183 FAQ-Mule.cn Chinese version
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
184
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
185 * tutorial
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
186
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
187 The tutorial is available in Japanese and Korean. When you type
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
188 C-h T (M-x help-with-tutorial-for-mule), Mule asks you in what
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
189 language you want the tutorial. (Hitting space bar shows the list
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
190 of available languages.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
191
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
192 * documents under the `doc' directory
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
193
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
194 There are some sample texts and documentation of functions of Mule in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
195 $MULE/doc. Most of the documents that were there in Ver.1 have
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
196 been texinfonised. $MULE/doc/viet contains documents written in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
197 Vietnamese.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
198
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
199 A-11: What does the name "Mule" stand for?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
200
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
201 Quoted from UNIX dictionary :-)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
202
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
203 [Mule] (UNIX command) [mju:l]
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
204 Stands for "MUlti-Lingual Enhancement to GNU Emacs". Corresponding
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
205 to the animal series of GNU, and also to the convention of giving
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
206 an antonym to its name, like gawk. (cf. Demacs, Emacs, gawk,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
207 Nemacs)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
208
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
209 Hironobu SUZUKI <hironobu@sra.co.jp> first suggested this name.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
210
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
211 A-12: Where can I get the latest Mule FAQ list?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
212
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
213 There are four versions of Mule FAQ, i.e. in English, in Japanese,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
214 in Korean and in Chinese. In the distribution set, they are named:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
215
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
216 FAQ-Mule English version
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
217 FAQ-Mule.jp Japanese version
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
218 FAQ-Mule.kr Korean version
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
219 FAQ-Mule.cn Chinese version.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
220
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
221 The original is the Japanese version. The others are
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
222 translations and may or may not be slightly obsolete.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
223
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
224 You can get Mule FAQ from:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
225
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
226 * network news. Mule FAQ is posted to fj.editor.mule at irregular
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
227 intervals.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
228
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
229 * anonymous FTP sites. It is available via anonymous FTP from the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
230 following sites.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
231
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
232 etlport.etl.go.jp: /pub/mule/READMEDIR
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
233 sh.wide.ad.jp: /JAPAN/mule/READMEDIR
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
234
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
235 * the distribution set of Mule. Each distribution set contains the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
236 latest FAQ (at that time) as etc/FAQ-Mule{,.jp,.kr}.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
237
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
238 A-13: What functions are not implemented in Mule 2.0?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
239
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
240 The following functions are not available in Mule 2.0. Wait for the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
241 next version:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
242
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
243 o Multi-lingual version of lisp/picture.el and lisp/rect.el
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
244 o Multi-lingual version of XMENU
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
245 o Displaying on Sun console
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
246
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
247
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
248 BUILDING AND INSTALLING
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
249
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
250 B-1: What options does configure accept?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
251
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
252 You can get the list by `configure --help'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
253
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
254 B-2: How can I build Mule for X Window System under SunOS 4.1.x?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
255
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
256 To make Mule under SunOS 4.1.x, static linking is necessary. If there
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
257 are no libraries for static linking, you have to create libX11.a by
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
258 adding
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
259
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
260 #define ForceNormalLib YES
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
261
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
262 to the site.def file when you build X.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
263
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
264 B-3: How can I use Wnn or Canna in Mule?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
265
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
266 Specify --wnn or --canna to configure. If the libraries are not in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
267 the standard directories, you may need to specify --wnn-include=XXXX,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
268 too.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
269
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
270 B-4: During the building of Mule, a message "Pure Lisp storage
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
271 exhausted" was displayed, and the compilation stopped.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
272
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
273 Ken'ichi HANDA <handa@etl.go.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
274
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
275 This happens when the value of PURESIZE in puresize.h is too
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
276 small. Some systems seem to require a larger value. Loading many
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
277 language specific files (e.g. japanese.el, chinese.el) in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
278 site-init.el requires a larger value, too. First, try again with
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
279 the value doubled. If that works, you can adjust PURESIZE to a
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
280 value a little greater than the value displayed in the message
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
281 "Pre Bytes Used XXXXX" (which is displayed when temacs has loaded
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
282 mule-init.el). After that you have to remake Mule with this
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
283 adjusted PURESIZE value.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
284
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
285 B-5: When I was building Mule the compilation stopped with a message
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
286 saying "Undefined Symbol: __des_crypt". What can I do?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
287
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
288 Masato Minda <minmin@astec.co.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
289
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
290 I think this happens when you use static link under SunOS with
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
291 JLE1.1.1.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
292
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
293 Solutions:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
294 Apply the patch(es) for JLE (I forgot the patch ID).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
295 Use JLE1.1.1 rev B or later.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
296 Throw away JLE :-)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
297
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
298 I think making an empty _des_crypt function and linking it
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
299 together might work, though I've never tried it.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
300
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
301 B-6: Why does Mule, which is compiled with GCC, add a ^M at the end of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
302 each line in shell mode?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
303
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
304 Ishikawa Ichiro <ichiro@ccsr.u-tokyo.ac.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
305
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
306 I have had the same problem in Emacs 19. (At that time Mule did
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
307 not work at all if compiled with gcc.) The cause was incomplete
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
308 installation of gcc. (I used the JLE version of sed.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
309
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
310 Sed in JLE has bug and cannot install the header files (fixincludes)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
311 well. Use sed of GNU instead.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
312
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
313 B-7: I succeeded in compiling Mule, but I cannot input any language except
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
314 English.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
315
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
316 If you want to use foreign languages in Mule, you have to load the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
317 language specific files by specifying them in the site-init.el file.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
318 By default there is no site-init.el file, and this means that you
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
319 can input only English.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
320
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
321 If you want to use Japanese and Chinese, include the following lines
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
322 in the lisp/site-init.el file when you build Mule:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
323 (load "japanese")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
324 (load "chinese")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
325
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
326 When the necessary files have not been loaded, you can load them by
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
327 hand, for example, as follows:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
328 M-x load-library RET japanese RET
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
329
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
330 The lastly loaded language will be the default. To change this,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
331 execute
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
332 M-x its:select-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
333 to specify the mode. Completion of the mode name is available.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
334
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
335 Loading too many language specific files may cause the "Pure Lisp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
336 storage exhausted" error during the compile. In this case, refer
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
337 B-4.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
338
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
339 B-8: I want to save the result of configure to compile on other
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
340 machines.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
341
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
342 Rename config.status to save the result. Or, you can compile the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
343 source in a different directory.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
344
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
345 B-9: I configured on the first machine. Then I configured on the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
346 second machine. I want to make it on the first machine again. Do I
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
347 have to rerun configure?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
348
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
349 No. All you have to do is executing the previously saved
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
350 config.status file.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
351
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
352 B-10: How can I compile in a directory other than the source directory?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
353
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
354 Specify the --srcdir=(_the_name_of_source_directory_) option to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
355 configure. In this case, if you have ever run configure in the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
356 source directory, you must execute `make clean' first in that
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
357 directory.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
358
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
359 B-11: I have to rerun configure for some reason. Do I have to type
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
360 all command line options again?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
361
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
362 No. All you have to do is `./config.status --recheck'. As
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
363 `config.status' is a sh script, you can edit this file directly to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
364 modify the arguments. You can also give the argument to configure
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
365 by using the cut & past function of terminal emulator.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
366
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
367 B-12: I tried to run configure, but the options are not recognised at
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
368 all.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
369
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
370 Are you using the JLE OS on Sun? It seems that JLE has problems
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
371 because of bugs and differences of features in the commands and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
372 libraries. They say that the installation of GCC may fail under
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
373 JLE.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
374
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
375 In the current situation, `tr - _' does not work well. The
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
376 workaround is to change `tr - _' in configure to `tr \- _', or, if
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
377 you are using csh, execute
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
378 setenv LANG C
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
379 or
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
380 unsetenv LANG
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
381
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
382 B-13: Making Mule under Solaris2 + X11R6 dumps core.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
383
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
384 Mule 2.0 and GNU Emacs 19.25 cannot cope with multi-threading. This
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
385 means that you have to either:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
386
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
387 1) include
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
388 #define ThreadedX NO
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
389 in site.def when you build X11R6. The resulting X11R6 does not
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
390 cope with multi-thread.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
391
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
392 or
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
393
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
394 2) link with libX11.a, not with libX11so.6. Then it will not be
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
395 linked with libthread.so.1, either.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
396
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
397
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
398 HANDLING FOREIGN LANGUAGES
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
399
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
400 C-1: What languages are supported in Mule?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
401
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
402 Except from $MULE/README.Mule:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
403
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
404 0. English
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
405
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
406 Just type it. :-)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
407
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
408 1. Japanese
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
409
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
410 We strongly recommend you to install Wnn4.108 or later. (Some
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
411 machine requires Wnn4.109p1, not Wnn4.108.) The `TAMAGO (EGG)'
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
412 system, which is bundled to Mule, communicates with Wnn's jserver
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
413 to provide a very convenient Japanese input method. For the usage
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
414 of `TAMAGO', see $MULE/info/egg.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
415
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
416 Mule runs as a client of the X Window System, or runs under a Japanese
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
417 terminal (including terminal emulators like kterm and exterm). In
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
418 the latter case, you can use the Japanese input system that is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
419 provided by the terminal. Other input systems are:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
420 * sj3-egg, CANNA bundled with Mule
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
421 * SKK, boiled-egg included in the contrib directory
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
422
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
423 2. Chinese
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
424 We strongly recommend you to install Wnn4.108 or later. (Some
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
425 machines require Wnn4.109p1, not Wnn4.108.) The `TAMAGO (EGG)'
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
426 system, which is bundled to Mule, communicates with cWnn's cserver
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
427 to provide a very convenient Chinese (GB) input method. For
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
428 the usage of `TAMAGO', see $MULE/info/egg.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
429
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
430 Mule runs as a client of the X Window System, or runs under a Chinese
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
431 terminal (including terminal emulators like cxterm and exterm).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
432 In the latter case, you can use the Chinese input system that is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
433 provided by the terminal.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
434
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
435 Furthermore, the QUAIL system (bundled to Mule) provides the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
436 following input methods:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
437 GB: PINYIN, PINYIN_with_TONE, CCDOSPY, SW
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
438 Big5: PINYIN, ETZY, ZOZY
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
439 For the usage of this system, see $MULE/info/quail.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
440
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
441 Readers of alt.chinese.text or alt.chinese.text.big5 will find it
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
442 very convenient to use GNUS (a newsreader written in emacs lisp)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
443 with gnusutil.el (bundled to Mule Ver.2). The program gnusutil
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
444 automatically converts Hz/zW encoding and BIG5 from/to the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
445 internal code of Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
446
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
447 3. Korean
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
448
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
449 For hangul input, quail/hangul.el is provided. See `info/quail'
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
450 for the usage. Mule runs as a client of the X Window System, or runs
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
451 under a hangul terminal (including terminal emulators like
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
452 exterm).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
453
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
454 4. European languages
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
455
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
456 The QUAIL system provides many input methods for European
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
457 languages. Currently supported characters are:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
458 Latin1, Latin2,.. Latin5, Greek (ISO8859-7),
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
459 Hebrew (ISO8859-8), Cyrillic (ISO8859-5).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
460 See `$MULE/info/quail' for the usage. Languages that write from
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
461 right to left (Hebrew, for example) are supported, too. See
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
462 `$MULE/info/R2L'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
463
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
464 5. Thai
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
465
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
466 Thai is supported based on the TIS620 character set. The QUAIL
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
467 system (bundled to Mule) provides a Thai input method, too. See
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
468 `$MULE/info/quail' for the usage. The name of the quail package
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
469 for Thai is `thai'. A free font (12x29 pixels) is included in the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
470 `fonts/ETL.tar.gz' file. You should widen Mule's line spaces
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
471 with `-lsp 5+' option if you use this font with a 12x24 ASCII
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
472 font.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
473
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
474 6. Vietnamese
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
475
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
476 Vietnamese support is based on the two-table-VISCII method,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
477 which divides the code table of VISCII into upper and lower
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
478 case. Mule can read and write VISCII, VIQR and VSCII. Use the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
479 QUAIL system (bundled to Mule) for Vietnamese input. See
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
480 `$MULE/info/quail' for the usage of this system. The name of the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
481 quail package for Vietnamese is `viet'. You can use both VISCII
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
482 font and VSCII font under the X Window System. A free VISCII font is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
483 included in `fonts/ETL.tar.gz', too. It was designed to be used
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
484 with the other ETL fonts.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
485
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
486 C-2: Some languages are written from right to left. Does Mule
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
487 support such languages?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
488
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
489 Hebrew and Arabic are supported in this version. quail/hebrew.el can
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
490 be used to input Hebrew texts. See also the documents of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
491 highlight-reverse-direction, r2l-double-cursor, etc. We are also
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
492 planning to support Persian, etc. in the future.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
493
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
494 C-3: What kinds of coding systems are related to Mule? And when are
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
495 they used?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
496
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
497 Mule supports the following coding systems:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
498
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
499 * the internal code used in Mule's buffers.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
500 * MS kanji code or SHIFT-JIS (Japanese only)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
501 * a subset of ISO 2022 (including JIS [JUNET], EUC, CTEXT)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
502 * Big5 (Chinese only)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
503
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
504 You can specify any combination of these coding systems for file
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
505 input/output, key input, screen display, and interprocess
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
506 communication.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
507
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
508 C-4: Why does the buffer size displayed in *Buffer List* differ so
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
509 much from the actual file size?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
510
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
511 Mule allocates a unique "leading character" to each coding system.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
512 The internal representation of a character other than an ASCII
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
513 character begins with a leading character. Therefore inside of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
514 Mule, 8 bit characters like Latin-1 are represented in 2 bytes, and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
515 16 bit characters like kanji are represented in 3 bytes. When you
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
516 save the contents of a buffer with the internal representation, the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
517 size of the buffer and the file will be the same. If another
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
518 encoding is used for file output, they will be different.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
519
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
520 C-5: I set (setq keyboard-coding-system *euc-japan*), but it does not
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
521 work.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
522
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
523 Do not use `setq' to bind a value to `keyboard-coding-system'. Use
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
524 the function `set-keyboard-coding-system' instead. This comment
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
525 also applies to `display-coding-system', `file-coding-system', etc.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
526
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
527 C-6: Why doesn't `set-keyboard-coding-system' accept *autoconv*,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
528 *big5-hku*, *big5-eten* and *internal*?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
529
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
530 This is a feature.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
531
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
532 C-7: I want to use EUC for displaying Japanese, Chinese, Korean, EC,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
533 etc. simultaneously.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
534
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
535 This is impossible, because EUC for each language is the same
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
536 coding system. Use *junet* or *ctext* to display multi-lingual texts.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
537
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
538 C-8: Where can I find documentation for the coding system used in Mule?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
539
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
540 The coding system is ISO 2022 (or JIS X0202 in the case of JIS).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
541 You will find a brief explanation in the texinfo manuals and in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
542 `$MULE/info/ISO2022'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
543
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
544 C-9: How can I input characters other than ASCII in isearch?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
545
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
546 Load `isearch-ext.el' first, then you will be able to input
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
547 characters other than ASCII in isearch (incremental search). You
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
548 can invoke `TAMAGO' with `C-\' and `quail' with `C-]' to input
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
549 foreign languages.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
550
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
551 C-10: Where can I get various fonts for various languages?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
552
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
553 You can get them via anonymous FTP from the following sites:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
554
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
555 etlport.etl.go.jp: /pub/mule/fonts
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
556 sh.wide.ad.jp: /JAPAN/mule/fonts
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
557
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
558 You will find the following fonts there:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
559
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
560 ./Chinese/ or Chinese.tar.gz
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
561 gb16fs.bdf -- 16x16 pixels GB font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
562 gb24st.bdf -- 24x24 pixels GB font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
563 taipei16.bdf -- 16x16 pixels BIG5 (ETen) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
564 taipei24.bdf -- 24x24 pixels BIG5 (ETen) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
565
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
566 ./Japanese/ or Japanese.tar.gz
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
567 k14.bdf -- 14x14 pixels JISX0208.1983 font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
568 k16.bdf -- 16x16 pixels JISX0208.1990 font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
569 jiskan16.bdf -- 16x16 pixels JISX0208.1983 font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
570 jiskan24.bdf -- 24x24 pixels JISX0208.1983 font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
571 min-1-16.bdf -- 16x16 pixels JISX0212.1990 (HojoKanji) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
572 min-1-24.bdf -- 24x24 pixels JISX0212.1990 (HojoKanji) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
573 8x16rk.bdf -- 8x16 pixels JISX0201.1976 (Kana) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
574 12x24rk.bdf -- 12x24 pixels JISX0201.1976 (Kana) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
575
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
576 ./Korean/ or Korean.tar.gz
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
577 hanglm16.bdf -- 16x16 pixels KSC5601.1987 font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
578 hanglm24.bdf -- 24x24 pixels KSC5601.1987 font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
579
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
580 ./ETL/ or ETL.tar.gz
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
581 etl{14,16,24}-latin1.bdf -- ISO8859-1 (Latin-1) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
582 etl{14,16,24}-latin2.bdf -- ISO8859-2 (Latin-2) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
583 etl{14,16,24}-latin3.bdf -- ISO8859-3 (Latin-3) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
584 etl{14,16,24}-latin4.bdf -- ISO8859-4 (Latin-4) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
585 etl{14,16,24}-cyrillic.bdf -- ISO8859-5 (Cyrillic) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
586 etl{14,16,24}-greek.bdf -- ISO8859-7 (Greek) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
587 etl{14,16,24}-hebrew.bdf -- ISO8859-8 (Hebrew) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
588 etl{14,16,24}-latin5.bdf -- ISO8859-9 (Latin-5) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
589 etl{14,16,24}-swedish.bdf -- SEN850200 (Swedish) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
590 etl{14,16,24}-ipa.bdf -- IPA font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
591 etl{14,16,24}-sisheng.bdf -- SiSheng (Chinese Radical) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
592 etl{16,24}-viscii.bdf -- VISCII 1.1 (Vietnamese) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
593 etl{14,24}-koi.bdf -- KOI (Cyrillic) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
594 etl{16,24}-arabic{0,1,2}.bdf -- Arabic font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
595 etl24-thai.bdf -- TIS620 (Thai) font
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
596
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
597 X11R6 also contains most of the JIS, KSC, GB fonts.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
598
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
599 Besides the above Japanese.tar.gz, another JISX0212.1990 font was
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
600 posted to fj.sources:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
601
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
602 From: yasuoka@kudpc.kyoto-u.ac.jp (Koichi Yasuoka)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
603 Newsgroups: fj.sources
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
604 Subject: 16x16 JIS Supplementary Kanji Font (1/6)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
605 Date: 28 Jul 1994 00:06:12 +0900
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
606 Organization: Data Processing Center, Kyoto University, Kyoto, Japan.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
607 Message-ID: <315t54$et5@kudpc.kudpc.kyoto-u.ac.jp>
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
608
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
609 This posting was followed by some patches, so you'd better apply them.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
610
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
611 C-11: Some foreign language characters are different from what
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
612 quail-help displays on the screen. Is this a known bug?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
613
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
614 Make sure that *quail-keyboard-translate-table* is correctly set.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
615
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
616 If this variable is left unchanged, Mule assumes your keyboard
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
617 layout is same as vt100 and displays the layout for vt100.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
618 Especially if you are using a JIS keyboard, you have to put the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
619 following in your .emacs:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
620
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
621 (setq *quail-keyboard-translate-table*
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
622 *quail-keyboard-translate-table-jis*)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
623
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
624 See doc/keyboard-translation.text for more information.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
625
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
626 C-12: How can I get hardcopy of texts made with Mule?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
627
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
628 A program called m2ps is included in the directory `lis-src' of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
629 Mule. It converts multi-lingual files into PostScript format.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
630 Note that m2ps accepts only *internal* encoding of Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
631
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
632 m2ps uses X's BDF files as fonts. Characters are sent to printer
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
633 as bitmaps, so you can get hardcopy of multi-language texts even if
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
634 your printer does not support multi-lingual fonts. For further
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
635 information, see the on-line manual (m2ps.1).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
636
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
637 C-13: Mule fails to handle filenames which contain two byte characters
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
638 like Japanese, Chinese, or Korean.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
639
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
640 You must specify `--mcpath' to `configure' when you compile Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
641 You also have to specify what coding system will be used in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
642 filenames. Adding the following lines in `site-init.el' may
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
643 help. (Note that *autoconv* cannot be specified).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
644
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
645 ;;; example: To use Korean EUC for filenames
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
646 (if (fboundp 'set-pathname-coding-system)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
647 (set-pathname-coding-system *euc-korea*))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
648
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
649 C-14: Mule wrongly determines the eol-type when it reads a file in.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
650
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
651 The current version of Mule guesses the eol-type when it first
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
652 encounters a CR/LF/CR+LF. This means if a CR is placed at the end
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
653 of a `LF terminated' line, that file is regarded as ....*dos.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
654 Similarly, if a CR is placed at the end of a `CR+LF terminated'
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
655 line, that file is regarded as ....*mac. You should explicitly
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
656 specify the eol-type by `\C-u\C-x\C-f (\C-u M-x find-file)' when you
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
657 read such ambiguous files.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
658
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
659 There are three possible reasons when the eol-type is wrongly
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
660 determined:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
661
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
662 1) The file contains more than one coding-system / eol-type.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
663 2) Some sequences are unfortunately placed at the boundary of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
664 reading blocks.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
665 3) The priority of coding-system is wrong.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
666
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
667
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
668 PERSONAL ENVIRONMENT
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
669
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
670 D-1: I do not want a new line inserted even if I execute `next-line'
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
671 at the end of a buffer.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
672
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
673 (setq next-line-add-newlines nil) does what you want.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
674
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
675 D-2: How can I stop Mule from beeping and displaying
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
676 `beginning-of-buffer !' when I execute `previous-line' at the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
677 beginning of a buffer?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
678
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
679 Include the following lines in your .emacs file. (Note that this
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
680 works only in Emacs 19.26 or later.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
681
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
682 (defun previous-line (arg)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
683 (interactive "p")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
684 (condition-case nil
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
685 (line-move (- arg))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
686 (beginning-of-buffer)))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
687
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
688 D-3: I don't want the menu-bar and the scroll-bar.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
689
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
690 You can make them invisible by (menu-bar-mode 0) and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
691 (scroll-bar-mode -1), respectively. To make the scroll bar only of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
692 the current frame invisible, execute (toggle-scroll-bar -1).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
693
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
694 D-4: I cannot set a hook by (setq xxx-hook yyy).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
695
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
696 Maybe other hooks are overriding it. To avoid such a trouble, use
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
697 `add-hook' instead of `setq' when you set a hook.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
698
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
699 (example)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
700 (add-hook 'c-mode-hook '(lambda () (setq tab-width 4)))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
701
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
702 By default, `add-hook' appends the new function at the top of the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
703 hook. However, if you specify a `t` as the third argument to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
704 `add-hook', it will be added at the end of the hook.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
705
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
706 D-5: Is it possible to use the same .emacs file for Mule-1.x and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
707 Mule-2.x?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
708
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
709 Sometimes this causes a trouble because of the difference of the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
710 versions of the original emacs. To make a commonly usable .emacs
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
711 file, adopt the following structure:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
712
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
713 (if (eq (string-to-int emacs-version) 18)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
714 (_programs_for_Mule-1.x_))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
715 (if (eq (string-to-int emacs-version) 19)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
716 (_programs_for_Mule-2.x_))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
717
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
718 D-6: Why does the BS key execute the same command as the DEL key when
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
719 I use Mule under the X Window System? How can I change it as if I am
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
720 using it on a terminal?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
721
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
722 On terminals, the BS key generates ^H and the DEL key generates ^?.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
723 This means that Mule cannot distinguish BS from ^H nor DEL from ^?.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
724 Under X, however, these keys are distinguishable. So, taking account
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
725 of the fact that the BS key is often used for what the DEL key does,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
726 the BS key executes what the DEL key does.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
727
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
728 If you prefer the behaviour on terminals, include the following
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
729 lines in your .emacs file:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
730
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
731 (if (eq window-system 'x)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
732 (progn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
733 (define-key function-key-map [backspace] [8])
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
734 (put 'backspace 'ascii-character 8)))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
735
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
736 The `term/bobcat' file, which exchanges the two keys on terminals,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
737 does not under X. Include the following code in you .emacs file if
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
738 you want to exchange the keys:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
739
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
740 (cond ((eq window-system 'x)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
741 (define-key function-key-map [delete] [8])
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
742 (put 'delete 'ascii-character 8))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
743 ((null window-system)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
744 (load "term/bobcat")))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
745
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
746
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
747 MAIL & NEWS
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
748
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
749 E-1: When I am writing mail or news, typing C-c C-y quotes original
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
750 text with " " at the beginning of line. How can I change this
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
751 citation mark to "> " ?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
752
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
753 Use Supercite. Supercite has many functions and you can customise
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
754 your own citation mark. See E-2 through E-4 for detail.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
755
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
756 E-2: How can I include the name of the sender in a citation mark?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
757
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
758 The following configuration, by ksakai@mtl.t.u-tokyo.ac.jp, should
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
759 work. Some lines may be omitted according to your configuration.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
760 You can change the last three lines according to your taste. (See
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
761 the documents of Supercite for detail.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
762
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
763 ;; sc
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
764 (autoload 'sc-cite-original "supercite" "Supercite 3.1" t)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
765 (autoload 'sc-submit-bug-report "supercite" "Supercite 3.1" t)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
766 (autoload 'sc-perform-overloads "sc-oloads" "Supercite 3.1" t)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
767 (setq mail-citation-hook 'sc-cite-original)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
768 (setq mail-yank-hooks 'sc-cite-original) ; for all but MH-E
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
769 (setq mh-yank-hooks 'sc-cite-original) ; for MH-E (3.7 or later)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
770 (setq news-reply-mode-hook 'sc-perform-overloads) ; for RNEWS,GNEWS,GNUS
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
771 (setq mail-setup-hook 'sc-perform-overloads) ; for RMAIL,PCMAIL,GNUS
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
772 (setq gnews-ready-hook 'sc-perform-overloads) ; for GNEWS
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
773
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
774 (setq sc-electric-references-p nil)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
775 (setq sc-preferred-header-style 1)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
776 (setq sc-citation-leader "")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
777
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
778 E-3: How can I change the citation mark to "> " with Supercite?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
779
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
780 Add the following line in addition to what has been done in E-2:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
781
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
782 (setq sc-nested-citation-p t)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
783
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
784 Note that if you add the above line, you cannot include the senders'
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
785 names anymore.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
786
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
787 E-4: How can I customise citation mark with Supercite?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
788
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
789 Use sc-register-2.3.1 written by yoichi@s5g.ksp.fujixerox.co.jp.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
790 You can use it by installing sc-register and adding the following
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
791 configuration:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
792
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
793 (setq sc-load-hook '(lambda () (require 'sc-register)))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
794 (setq sc-preferred-attribution 'registeredname)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
795
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
796 You will find it convenient when `selection by completion' is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
797 tiresome, e.g., when you include Japanese characters.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
798
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
799 Note that sc-register does not work with Supercite 3.0 or later. It
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
800 is said that sc-register will be integrated to Supercite in future.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
801
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
802 E-5: I moved from Supercite 2.3 from 3.1, then it automatically does
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
803 `fill-paragraph' whenever I use `sc-yank-original'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
804
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
805 This is a bad feature, isn't it? We do not see the reason why
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
806 backward compatibility is not kept by default. Anyway, adding the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
807 following line in your .emacs file suppresses `fill-paragraph'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
808
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
809 E-6: RMAIL does not work.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
810
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
811 Takeshi Shigehara <takeki@nalgo.snet.or.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
812
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
813 On NEW EWS4800 EWX-UX/V(Rel 4.2), include the following lines in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
814 `site-init.el'. (It is possible that all SVR4 machines require
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
815 the same lines.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
816
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
817 (setq rmail-spool-directory "/var/mail/")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
818 (setq sendmail-program "/usr/ucblib/sendmail")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
819 (setq manual-program "/usr/ucb/man")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
820
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
821 In addition to that, make the directory `/var/mail' readable and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
822 writable by all users:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
823
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
824 chmod 777 /var/mail
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
825
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
826 E-7: I am using GNUS. When I post to, say, fj.test, the default value
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
827 of distribution is not set to fj.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
828
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
829 That is a new feature. The default is the first element of the list
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
830 `gnus-local-distributions', which holds the candidates of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
831 completion.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
832
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
833
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
834 Display
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
835
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
836 F-1: Japanese (Chinese, Korean) text are not displayed in Mule under
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
837 the X Window System.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
838
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
839 You must set the resource like the following. Do not forget to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
840 include the specification of `FontSet-xxx' that is set as
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
841 `FontSetList'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
842
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
843 ! Mule-2.0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
844 *FontSetList: 16,24
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
845 *FontSet-16:\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
846 -*-fixed-medium-r-*--16-*-iso8859-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
847 -*-fixed-medium-r-*--16-*-iso8859-2,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
848 -*-fixed-medium-r-*--16-*-iso8859-3,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
849 -*-fixed-medium-r-*--16-*-iso8859-4,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
850 -*-fixed-medium-r-*--16-*-iso8859-5,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
851 -*-fixed-medium-r-*--16-*-iso8859-7,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
852 -*-fixed-medium-r-*--16-*-iso8859-8,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
853 -*-fixed-medium-r-*--16-*-iso8859-9,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
854 -*-fixed-medium-r-*--16-*-viscii1.1-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
855 -*-fixed-medium-r-*--16-*-mulearabic-0,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
856 -*-fixed-medium-r-*--16-*-mulearabic-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
857 -*-fixed-medium-r-*--16-*-mulearabic-2,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
858 -*-fixed-medium-r-*--16-*-muleipa-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
859 -*-fixed-medium-r-*--16-*-jisx0201.1976-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
860 -*-fixed-medium-r-*--16-*-jisx0208.1983-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
861 -*-fixed-medium-r-*--16-*-jisx0212.1990-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
862 -*-medium-r-*--16-*-gb2312.1980-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
863 -*-mincho-medium-r-*--16-*-ksc5601.1987-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
864 -*-fixed-medium-r-*--16-*-tis620.2529-1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
865 *FontSet-24:\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
866 -*-fixed-medium-r-*--24-*-iso8859-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
867 -*-fixed-medium-r-*--24-*-iso8859-2,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
868 -*-fixed-medium-r-*--24-*-iso8859-3,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
869 -*-fixed-medium-r-*--24-*-iso8859-4,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
870 -*-fixed-medium-r-*--24-*-iso8859-5,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
871 -*-fixed-medium-r-*--24-*-iso8859-7,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
872 -*-fixed-medium-r-*--24-*-iso8859-8,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
873 -*-fixed-medium-r-*--24-*-iso8859-9,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
874 -*-fixed-medium-r-*--24-*-viscii1.1-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
875 -*-fixed-medium-r-*--24-*-mulearabic-0,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
876 -*-fixed-medium-r-*--24-*-mulearabic-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
877 -*-fixed-medium-r-*--24-*-mulearabic-2,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
878 -*-fixed-medium-r-*--24-*-muleipa-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
879 -*-fixed-medium-r-*--24-*-jisx0201.1976-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
880 -*-fixed-medium-r-*--24-*-jisx0208.1983-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
881 -*-fixed-medium-r-*--24-*-jisx0212.1990-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
882 -*-medium-r-*--24-*-gb2312.1980-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
883 -*-mincho-medium-r-*--24-*-ksc5601.1987-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
884 -*-fixed-medium-r-*--24-*-tis620.2529-1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
885
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
886 F-2: Why does Mule appear with dirty fonts when I use it under X?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
887
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
888 TAKAHASHI Naoto <ntakahas@etl.go.jp> and Ken'ichi Handa
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
889 <handa@etl.go.jp> write:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
890
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
891 Mule creates a window whose size is based on the width of the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
892 ASCII font. If the width of the ASCII font and that of the other
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
893 fonts do not match, then some characters will not be displayed
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
894 completely. The width of Japanese, Chinese, and Korean fonts must
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
895 be exactly twice as wide as that of ASCII fonts; the width of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
896 other fonts must be the same as that of ASCII fonts.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
897
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
898 If you see dirty characters on your screen, it may be caused by
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
899 the auto-scaling function of X. If an X server receives a request
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
900 of a font which does not exist but whose specification is LFD
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
901 compliant, it tries to expand of reduce what is available. For
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
902 example, a specification
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
903 "-*-fixed-medium-r-*--*-*-*-*-*-*-jisx0208.1983-*"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
904 is LFD compliant, so it may be resized. On the other hand, a
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
905 specification in mule-init.el:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
906 "-*-fixed-medium-r-*--*-*-jisx0208.1983-*"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
907 is not LFD compliant (the number of columns are less than it
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
908 should to be), so auto-scaling is inhibited. (What is described
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
909 here is what we have learned from experience, not from X documentation.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
910
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
911 F-3: How can I set the default font size to 14 pixels under X?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
912
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
913 The first FontSet in the `Emacs*FontSetList:' field in your X
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
914 resource will be used as default. So if you want the default to be
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
915 14 pixels, put `14' as the first element of `Emacs*FontSetList:', and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
916 include the specification of FontSet-14. See F-1 for examples of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
917 FontSet specification.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
918
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
919 Note that `emacs*FontSetList:' or `Mule*FontSetList:' are invalid
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
920 for resource specification. SANETO Takanori <sanewo@cep.sony.co.jp>
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
921 writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
922
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
923 You can think of `Emacs' as the class name and `mule' as the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
924 instance name.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
925
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
926 `Emacs' is used for all Emacs family programs: mule, nemacs,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
927 epoch, nepoch, and of course the original GNU emacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
928
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
929 On the other hand, the instance name is used to distinguish each
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
930 entities. If you rename mule to hoge, the specification
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
931 `Emacs*...' still has effect but `mule*...' is of no effect. When
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
932 both specification by instance name and specification by class
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
933 name are valid, the instance name has priority.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
934
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
935 You can explicitly specify the instance name by `-rn name'
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
936 option. Or if the environment variable `WM_RES_NAME' is set, it
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
937 will be used. If neither the option nor the environment variable
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
938 is available, the command name will be used.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
939
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
940 F-4: I turned on visible-bell with (set visible-bell t), but the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
941 flashing area is limited to a quarter in the centre.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
942
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
943 This is a feature. It has changed since GNU Emacs 18.58.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
944
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
945 F-5: What is a `face'?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
946
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
947 It is a mechanism used by Emacs when running under the X Window
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
948 System that attaches attributes like colours or fonts to the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
949 displayed strings. Mule 2.x uses this mechanism even for displaying
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
950 the mode line in reverse video. `hilit19.el' and `font-lock.el' are
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
951 examples of programs that use face well.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
952
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
953 F-6: What is `terminal face'? How can I use it?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
954
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
955 In the original emacs, faces are only available under the X Window
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
956 System. In Mule, however, you can use face even outside X. We call
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
957 this mechanism `terminal face'. (The biggest reason why we need a
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
958 new name is to use it for a compile switch and configure switch.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
959
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
960 To enable the terminal face facility, specify `--terminal-face' when
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
961 you `configure'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
962
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
963 F-7: Mule under X has wide line spaces. How can I shrink them?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
964
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
965 Include the following line in you X resource file:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
966
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
967 Emacs*lineSpace: 0+0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
968
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
969 Or invoke Mule with the `-lsp 0+0' command line option. The
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
970 function `x-set-linespace', which was provided in Mule Ver.1, is not
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
971 yet available in Mule Ver.2.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
972
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
973
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
974 EMACS LISP PACKAGES
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
975
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
976 G-1: A lisp program `xxx', which worked in Mule 1.x, does not work any
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
977 more. What should I do?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
978
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
979 Mule 1.x is based on GNU Emacs 18.59, but Mule 2.x is based on GNU
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
980 Emacs 19. Many features have been modified. But you do not have to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
981 be pessimistic, as many programs have now been ported. A
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
982 checklist is given below:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
983
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
984 1. The distribution kit of Mule 2.x contains many lisp programs
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
985 that were optional in the previous release. Check the standard
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
986 lisp directory first, as these programs have already ported to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
987 Mule 2.x. If you find an alternative there, use it.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
988
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
989 2. In some cases, the author of the program has already finished
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
990 porting, even though the newer version is not included in the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
991 standard distribution. It is worth searching for the latest
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
992 version with archie or another tool.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
993
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
994 3. For example, shell-mode, which has many different improved
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
995 programs, has become much more convenient in Mule 2.x. So the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
996 standard version would be an alternative.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
997
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
998 4. You can port it yourself as a last resort.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
999
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1000 G-2: How can I display reserved words and comments in C programs in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1001 colour?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1002
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1003 Use `hilit19.el' or `font-lock.el'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1004
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1005 G-3: How can I use `hilit19.el'?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1006
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1007 All you have to do is load the file. If you want to restrict the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1008 modes in which hilit19 is enabled, list the names of the modes in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1009 `hilit-mode-enable-list'. Also, you can specify the modes in which
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1010 hilit19 is disabled like the following:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1011
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1012 (setq hilit-mode-enable-list
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1013 '(not text-mode emacs-lisp-mode sgml-mode c-mode c++-mode)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1014
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1015 A fault of hilit19 is that you must hit `C-S-l' after having entered
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1016 strings to reflect the effect. Because of this feature, you may
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1017 want to use font-lock only in some specific modes.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1018
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1019 G-4: How can I use `font-lock.el'?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1020
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1021 Include lines like the following in your .emacs file for each mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1022 in which you want to enable font-lock:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1023
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1024 (setq emacs-lisp-mode-hook '(lambda () (font-lock-mode 1)))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1025
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1026 By default, font-lock does not display in colour. If you want
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1027 colour strings, specify the face as follows:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1028
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1029 (add-hook 'font-lock-mode-hook
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1030 '(lambda ()
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1031 (make-face 'keyword-face)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1032 (set-face-foreground 'keyword-face "tomato")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1033 (setq font-lock-keyword-face 'keyword-face)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1034
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1035 (make-face 'comment-face)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1036 (set-face-foreground 'comment-face "violetred4")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1037 (setq font-lock-comment-face 'comment-face)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1038
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1039 (make-face 'string-face)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1040 (set-face-foreground 'string-face "darkgreen")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1041 (setq font-lock-string-face 'string-face)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1042
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1043 (make-face 'function-face)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1044 (set-face-foreground 'function-face "blueviolet")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1045 (setq font-lock-function-name-face 'function-face)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1046
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1047 (make-face 'c-type-face)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1048 (set-face-foreground 'c-type-face "darkolivegreen")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1049 (setq font-lock-type-face 'c-type-face)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1050 ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1051
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1052
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1053 There are improved versions of font-lock: face-lock can handle
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1054 colours and grey scales; fast-lock works faster. These programs are
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1055 available via anonymous FTP, and will be integrated into font-lock
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1056 in the future version of emacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1057
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1058 G-5: I want a more convenient c-mode.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1059
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1060 Use cc-mode. It supports, for example, various indent styles and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1061 C++. It is more convenient in many respects.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1062
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1063 G-6: Are there any packages which automatically use RCS?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1064
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1065 `vc.el' is such a one, and can be used in Mule 2.x by default. If
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1066 you find-file a file that is controlled by RCS, vc-mode is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1067 automatically turned on, and C-x C-q does `ci -u' or `co -l'
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1068 depending on the situation. This is already practical enough, but
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1069 if you want to know the detail, refer to info.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1070
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1071 G-7: How can I input codes like `ESC $ B $ "' directly from the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1072 keyboard?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1073
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1074 You can do it by using `keyboard.el'. Give *junet* to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1075 `set-keyboard-coding-system' and type what you want.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1076
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1077 G-8: Why does "M-!" (shell-command) not work when I load my lovely
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1078 ange-ftp?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1079
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1080 Many functions, including `write-region' and `insert-file-contents'
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1081 (which are modified in Mule), will be replaced by loading ange-ftp.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1082
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1083 In Mule, `shell-command' calls the new `write-region' and the new
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1084 `insert-file-contents' with extra arguments, but another
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1085 `write-region' introduced by ange-ftp cannot interpret these extra
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1086 arguments, so the execution fails.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1087
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1088 To fix this problem, Masayuki KUWADA <kuwada@soliton.ee.uec.ac.jp>
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1089 writes as follows:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1090
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1091 Add `&rest coding-system' at the end of parameters of the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1092 definition of `ange-ftp-write-region' and that of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1093 `ange-ftp-insert-file-contents' in `ange-ftp.el', and apply the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1094 following modifications. (The modified ange-ftp can be shared
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1095 with Emacs/Nemacs.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1096
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1097 [Caution] The following changes are for an ange-ftp whose version is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1098 RCS: !Header: ange-ftp.el,v 4.20 92/08/14 17:04:34 ange Exp !
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1099 Other versions may require different modifications.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1100
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1101 In `ange-ftp-write-region', `ange-ftp-real-write-region' is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1102 called twice. Change these occurrences as follows:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1103
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1104 (ange-ftp-real-write-region start end temp nil visit)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1105 -->
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1106 (apply 'ange-ftp-real-write-region start end temp nil
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1107 visit coding-system)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1108
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1109 (ange-ftp-real-write-region start end filename append visit)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1110 -->
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1111 (apply 'ange-ftp-real-write-region start end filename append
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1112 visit coding-system)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1113
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1114 And in `ange-ftp-insert-file-contents',
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1115 `ange-ftp-real-insert-file-contents' is called twice. Change
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1116 these occurrences as follows:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1117
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1118 (ange-ftp-real-insert-file-contents temp visit)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1119 -->
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1120 (apply 'ange-ftp-real-insert-file-contents
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1121 temp visit
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1122 coding-system)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1123
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1124 (ange-ftp-real-insert-file-contents filename visit)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1125 -->
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1126 (apply 'ange-ftp-real-insert-file-contents
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1127 filename visit coding-system)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1128
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1129
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1130 EMACS LISP PROGRAMMING
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1131
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1132 H-1: Is Mule upwards-compatible with Nemacs/Emacs?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1133
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1134 Although Mule is based on GNU Emacs, they are slightly different at
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1135 the level of emacs lisp. Mule is quite different from Nemacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1136
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1137 Enami TSUGUTOMO <enami@sys.ptg.sony.co.jp> points out the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1138 incompatibility between Mule and Nemacs/Emacs as follows:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1139
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1140 * Incompatibility caused by the existence of functions specific to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1141 each program
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1142 * Incompatibility caused by the modifications to function
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1143 definitions (number of arguments, etc.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1144 * Incompatibility of byte compiled files caused by the difference
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1145 of the internal representation between Mule and Nemacs. Their
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1146 byte code is compatible, however. (isn't it? :-)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1147 * Incompatibility of compiled emacs lisp files caused by the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1148 representations of literals between Mule 1.x and Mule 2.x.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1149 * Incompatibility caused by the difference of versions of GNU
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1150 Emacs they are based on.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1151
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1152 H-2: Give me some hints on porting a program for Mule 1.x to Mule 2.x.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1153
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1154 Pay attention to the following points:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1155
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1156 * `auto-fill-hook' has been renamed to `auto-fill-function'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1157 * The structure of keymaps has been changes a little.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1158 * You'd better change obsolete variables:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1159 unread-command-char -> unread-command-event
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1160
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1161 etc.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1162 ----------------------------------------------------------------------
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1163 FAQ Part 2: Questions specific to each language
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1164
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1165 ABOUT CHINESE
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1166
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1167 CH-1: I succeeded in compiling Mule, but I cannot input Chinese.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1168
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1169 If you want to use foreign languages in Mule, you have to load the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1170 language specific files by specifying them in the site-init.el file.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1171 By default there is no site-init.el file, and this means that you
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1172 can input only English.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1173
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1174 If you want to use Chinese, include the following line in the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1175 lisp/site-init.el file when you build Mule:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1176
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1177 (load "chinese")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1178
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1179 CH-2: How can I input Chinese?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1180
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1181 TAMAGO is used to input Chinese. By communicating with cserver
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1182 of cWnn, TAMAGO provides a convenient input method for Chinese(GB).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1183 Type "M-x load-library RET chinese RET" and select PinYin mode to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1184 enable Pin-Yin input.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1185
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1186 Mule also provides quail-system. This system supports all of the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1187 conversion tables included in `cxterm/dict/tit'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1188
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1189 CH-3: I want to use EUC for displaying Japanese, Chinese, Korean, EC,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1190 etc. simultaneously.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1191
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1192 It is impossible, because EUC for each language is the very same
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1193 coding system. Use *junet* or *ctext* to display multi-lingual texts.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1194
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1195
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1196 CH-4: How can I input hanzi in incremental search?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1197
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1198 Load `isearch-ext.el' first, then you will be able to input
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1199 characters other than ASCII in isearch (incremental search). You
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1200 can invoke `TAMAGO' with `C-\' and `quail' with `C-]' to input
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1201 foreign languages.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1202
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1203 CH-5: Mule fails to handle filenames which contain Chinese.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1204
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1205 You must specify `--mcpath' to `configure' when you compile Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1206 You also have to specify what coding system will be used in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1207 filenames. Adding the following lines in `site-init.el' may
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1208 help. (Note that *autoconv* cannot be specified).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1209
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1210 ;;; example: To use Chinese EUC for filenames
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1211 (if (fboundp 'set-pathname-coding-system)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1212 (set-pathname-coding-system *euc-china*))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1213
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1214 CH-6: Can I read a newsgroup alt.chinese.text[.big5] in Chinese?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1215
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1216 In alt.chinese.text ~{ and ~} are used instead of 'ESC $ A' (which
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1217 designates Chinese to G0) and 'ESC ( B' (which designates ASCII to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1218 G0) respectively. This is called Hz encoding. In Mule you can read
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1219 this newsgroup in Chinese with the combination of `chinese.el',
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1220 `gnusutil.el', and GNUS. Load `chinese.el' and `gnusutil.el' in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1221 this order, then invoke GNUS. `gnusutil.el' is included in the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1222 standard distribution kit of Mule Ver.2.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1223
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1224 ABOUT JAPANESE
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1225
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1226 JP-1: What is the advantage of using Mule? Are there any cases in which
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1227 Nemacs is better? If there are, what are they?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1228
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1229 Some advantages of using Mule are:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1230
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1231 * You can use not only English and Japanese, but also Chinese,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1232 Korean, and many other languages. You can use a mixture of these
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1233 languages, too.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1234 * The specified regions in a buffer can have various display
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1235 attributes. Unlike Nemacs, you can display these attributes on a
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1236 normal terminal as long as the terminal supports such functions.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1237 * You can utilise a Japanese input system called "TAKANA" which
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1238 gives better performance than the "TAMAGO" system of Nemacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1239 * Nemacs is based on GNU Emacs 18.55, while Mule Ver.2 is based on
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1240 Emacs 19.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1241 * Mule has a powerful regular expression compiler.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1242
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1243 On the other hand, Mule is much bigger and more complicated than
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1244 Nemacs. So if your computer facility is not powerful and the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1245 languages you want to use are limited to English and Japanese, it
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1246 may be better to use Nemacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1247
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1248 Note that Mule is not fully compatible with Nemacs. Some of the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1249 applications developed for Nemacs do not work well with Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1250
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1251 JP-2: Will Nemacs disappear?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1252
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1253 "Of course not" would be the ideal answer, but Nemacs will not be
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1254 supported any more. This means that the final version of Nemacs is
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1255 3.3.2.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1256
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1257 JP-3: Are there any mailing lists for Mule in which discussion is done
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1258 in Japanese?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1259
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1260 Use news (fj.editor.emacs) for discussion in Japanese. (See A-8.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1261
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1262 JP-4: Does Mule has manuals written in Japanese?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1263
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1264 See also A-10. Mule has the following Japanese manuals and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1265 documents:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1266
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1267 * texinfo manual (in $MULE/man)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1268
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1269 mule-jp.texi texinfo manual for Mule
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1270 egg-jp.texi texinfo manual for TAMAGO
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1271 canna-jp.texi texinfo manual for canna
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1272
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1273
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1274 * FAQ (in $MULE/etc/FAQ-Mule.jp)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1275
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1276 The document you are reading now is the English translation of this.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1277
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1278 * tutorial
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1279
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1280 You can invoke the Japanese tutorial by C-h T (M-x
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1281 help-with-tutorial-for-mule) in Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1282
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1283 * documents under the `doc' directory
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1284
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1285 The directory `$MULE/doc' contains explanations of functions and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1286 sample text. The files whose names end in `.jp' are written in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1287 Japanese.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1288
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1289 JP-5: I succeeded in compiling Mule, but I cannot input Japanese.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1290
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1291 If you want to use foreign languages in Mule, you have to load the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1292 language specific files by specifying them in the site-init.el file.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1293 By default there is no site-init.el file, and this means that you
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1294 can only input English.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1295
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1296 If you want to use Japanese, include the following line in the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1297 lisp/site-init.el file when you build Mule:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1298
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1299 (load "japanese")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1300
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1301 (cf. B-7)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1302
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1303 JP-6: I cannot display Japanese in Mule under the X Window System.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1304
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1305 You must set the resource like the following. Do not forget to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1306 include the specification of `FontSet-xxx' that is set as
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1307 `FontSetList'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1308
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1309 ! Mule-2.0
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1310 *FontSetList: 16,24
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1311 *FontSet-16:\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1312 -*-fixed-medium-r-*--16-*-iso8859-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1313 -*-fixed-medium-r-*--16-*-iso8859-2,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1314 -*-fixed-medium-r-*--16-*-iso8859-3,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1315 -*-fixed-medium-r-*--16-*-iso8859-4,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1316 -*-fixed-medium-r-*--16-*-iso8859-5,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1317 -*-fixed-medium-r-*--16-*-iso8859-7,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1318 -*-fixed-medium-r-*--16-*-iso8859-8,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1319 -*-fixed-medium-r-*--16-*-iso8859-9,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1320 -*-fixed-medium-r-*--16-*-viscii1.1-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1321 -*-fixed-medium-r-*--16-*-mulearabic-0,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1322 -*-fixed-medium-r-*--16-*-mulearabic-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1323 -*-fixed-medium-r-*--16-*-mulearabic-2,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1324 -*-fixed-medium-r-*--16-*-muleipa-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1325 -*-fixed-medium-r-*--16-*-jisx0201.1976-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1326 -*-fixed-medium-r-*--16-*-jisx0208.1983-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1327 -*-fixed-medium-r-*--16-*-jisx0212.1990-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1328 -*-medium-r-*--16-*-gb2312.1980-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1329 -*-mincho-medium-r-*--16-*-ksc5601.1987-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1330 -*-fixed-medium-r-*--16-*-tis620.2529-1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1331 *FontSet-24:\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1332 -*-fixed-medium-r-*--24-*-iso8859-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1333 -*-fixed-medium-r-*--24-*-iso8859-2,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1334 -*-fixed-medium-r-*--24-*-iso8859-3,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1335 -*-fixed-medium-r-*--24-*-iso8859-4,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1336 -*-fixed-medium-r-*--24-*-iso8859-5,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1337 -*-fixed-medium-r-*--24-*-iso8859-7,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1338 -*-fixed-medium-r-*--24-*-iso8859-8,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1339 -*-fixed-medium-r-*--24-*-iso8859-9,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1340 -*-fixed-medium-r-*--24-*-viscii1.1-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1341 -*-fixed-medium-r-*--24-*-mulearabic-0,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1342 -*-fixed-medium-r-*--24-*-mulearabic-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1343 -*-fixed-medium-r-*--24-*-mulearabic-2,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1344 -*-fixed-medium-r-*--24-*-muleipa-1,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1345 -*-fixed-medium-r-*--24-*-jisx0201.1976-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1346 -*-fixed-medium-r-*--24-*-jisx0208.1983-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1347 -*-fixed-medium-r-*--24-*-jisx0212.1990-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1348 -*-medium-r-*--24-*-gb2312.1980-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1349 -*-mincho-medium-r-*--24-*-ksc5601.1987-*,\
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1350 -*-fixed-medium-r-*--24-*-tis620.2529-1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1351
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1352 JP-7: How can I input Japanese?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1353
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1354 The following Japanese input systems are prepared:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1355
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1356 * TAMAGO (aka EGG) version TAKANA
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1357 * sj3-egg
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1358 * Canna
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1359
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1360 All of them offer a Japanese input facility using a romaji-kanji
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1361 conversion method, which utilises a network conversion server. For
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1362 details, refer to the manuals of each system. These systems must be
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1363 set up when building Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1364
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1365 * T-CODE input using quail
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1366
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1367 This requires no conversion server. After loading
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1368 `lisp/quail/tcode.el', you can toggle between ASCII and T-CODE mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1369 by C-]. (CAUTION: `quail/tcode.el' will soon be replaced with
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1370 `tc-mule.el'.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1371
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1372 Japanese can be input with `SKK', too. SKK requires no special
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1373 settings when Mule is built. It can be used both as a closed system
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1374 in Mule and as a system which communicates with a dictionary server.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1375 For Mule Ver.2, use skk7.18.1 or later version.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1376
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1377 JP-8: What is TAMAGO (aka EGG) ?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1378
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1379 TAMAGO is a system which offers a Japanese/Chinese environment
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1380 utilising the network-wide conversion servers (jserver/cserver) of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1381 Wnn. Sometimes TAMAGO is called EGG, which is the translation of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1382 `TAMAGO' in English.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1383
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1384 TAMAGO consists of three parts: 1) a input string conversion system
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1385 (or romaji-kana conversion system), 2) a kana-kanji (and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1386 pinyin-hanzi) conversion system, and 3) a Japanese editing system.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1387 The input string conversion system can be used not only for hiragana
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1388 and katakana but also for pinyin, hangul, and other languages.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1389
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1390 JP-9: What is TAKANA?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1391
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1392 Toshiaki SHINGU <shingu@cpr.canon.co.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1393
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1394 It is a version of TAMAGO made for the Wnn V4 library. The name
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1395 stands for "TAmagoyo KAshikoku NA-re (EGG, be clever)". In
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1396 addition to the conventional TAMAGO, it has the following
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1397 features:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1398
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1399 * dai-bunsetsu / sho-bunsetsu conversion
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1400 * reverse conversion (kanji to kana)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1401 * word registration according to the POS of V4 server (e.g.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1402 proper noun)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1403 * enabling / disabling a word without deleting it from the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1404 dictionary
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1405 * setting words frequency
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1406 * setting comments in the dictionary
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1407
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1408 TAKANA is not an alternative to TAMAGO but rather an enhancement.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1409 TAMAGO will be integrated into a TAKANA version in the future.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1410 Older versions (Wnn V3, and Wnn V4 for V3 library) will not be
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1411 supported.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1412
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1413 JP-10: What is sj3-egg?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1414
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1415 It is another version of TAMAGO which communicates with sj3serv
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1416 included in the contrib part of X11R5/R6. It provides very high
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1417 conversion efficiency.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1418
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1419 JP-11: What is Canna?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1420
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1421 It is a kana-kanji conversion system which follows the server-client
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1422 method. In Mule, it provides almost the same user interface as
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1423 TAMAGO but the conversion server of Canna is used instead.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1424
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1425 JP-12: What is SKK?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1426
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1427 Masahiko SATO <masahiko@sato.riec.tohoku.ac.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1428
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1429 SKK is a system which provides a fast and highly efficient
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1430 Japanese input environment. It allows the user to input the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1431 intended sentence easily and "as is". SKK is fast because it
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1432 performs the conversion without any grammatical analysis. The
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1433 user can let it know his/her intention by specifying the starting
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1434 point of OKURIGANA, and this makes the conversion efficiency high.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1435 When registering words in the dictionary it is not necessary for
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1436 the user to give information about part of speech, etc., and this
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1437 makes it easy to augment the dictionary. You can learn the usage
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1438 of SKK in a short time with its tutorial program.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1439
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1440 JP-13: How can I input Japanese (or Korean/Chinese) characters whose
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1441 shape I am aware of but whose reading I don't know?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1442
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1443 TAMAGO supports both BUSYU input (M-x busyu-input) and KAKUSUU input
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1444 (M-x kakusuu-input). These functions make it possible to input a
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1445 kanji by selecting its busyu or kakusuu from a menu displayed in the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1446 minibuffer.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1447
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1448 JP-14: I am not able to cut & paste using mouse in kterm.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1449
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1450 This happens when 1)Mule is running inside of a kterm, and 2)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1451 keyboard-coding-system of Mule is incompatible with kanji-mode
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1452 of that kterm. Make these two compatible.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1453
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1454 JP-15: Can I input kanji by kinput2?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1455
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1456 You can input kanji by kinput2 when Mule is running in a kterm. Do
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1457 not forget to set keyboard-coding-system of Mule compatible with
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1458 kanji-mode of that kterm.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1459
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1460 JP-16: I set (setq keyboard-coding-system *euc-japan*), but it does not
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1461 work well.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1462
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1463 Do not use `setq' to bind a value to `keyboard-coding-system'. Use
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1464 the function `set-keyboard-coding-system'. This comment also
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1465 applies to `display-coding-system', `file-coding-system', etc.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1466
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1467 JP-17: I want to use EUC for displaying Japanese, Chinese, Korean, EC,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1468 etc. simultaneously.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1469
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1470 This is impossible, because EUC for each language is the very same
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1471 coding system. Use *junet* or *ctext* to display multi-lingual texts.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1472
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1473 JP-18: How can I input kanji in incremental search?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1474
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1475 Type C-k to input kanji in incremental search (isearch). In this
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1476 mode you can type a string in the minibuffer, so Japanese/Chinese
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1477 can also be input by C-\. When the string has been input, hit RET
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1478 to restart incremental search.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1479
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1480 JP-19: How can I input single-width katakana (JIS X0201 katakana)?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1481
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1482 Ken Shibata <shibata@sgi.co.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1483
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1484 To input single-width katakana, Mule provides two emacs lisp
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1485 files, i.e. `jisx0201.el' and `its/han-kata.el'. The file
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1486 `jisx0201.el' defines `fence-hankaku-katakana' (bound to `M-x' in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1487 fence-mode), which converts all double-width katakana and hiragana
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1488 in fence-mode at once. The file `its/han-kata.el' defines
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1489 `its:select-hankaku-katakana' (bound to `M-C-x' in fence-mode;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1490 `C-x C-k x' otherwise), which converts roma-ji into single-width
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1491 katakana.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1492
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1493 Furthermore, `jisx0201.el' defines `hankaku-katakana-region' and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1494 `zenkaku-katakana-region' (or -paragraph/-sentence/-word). These
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1495 functions convert strings all at once. The file `its/han-kata.el'
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1496 loads `jisx0201.el', so you can load either of them in your .emacs
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1497 file. But note that loading these files takes a fairly long time.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1498 If you often input single-width katakana, you should pre-load them
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1499 in site-init.el.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1500
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1501 To summarise,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1502
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1503 1) In fence-mode,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1504 * type M-x to convert kana to single-width.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1505 * type M-h to revert single-width katakana to double-width
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1506 hiragana.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1507 * type M-k to revert single-width katakana to double-width
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1508 katakana.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1509
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1510 2) Outside fence-mode,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1511 * type C-x C-k x to make typed roma-ji be converted to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1512 single-width katakana.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1513 * type C-x C-k h to make typed roma-ji be converted to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1514 double-width hiragana.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1515
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1516 3) In fence-mode,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1517 * type M-C-x to make typed roma-ji be converted to single-width
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1518 katakana.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1519 * type M-C-h to make typed roma-ji be converted to double-width
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1520 hiragana.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1521
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1522 (If you have exchanged BS and DEL by `bobcat.el' or something like
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1523 that, and are using ESC key to input Meta, then M-C-h means ESC
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1524 DEL.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1525
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1526 JP-20: How can I input Japanese hiragana "$B$s(B" by typing "nn" when I am
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1527 using Mule + Egg?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1528
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1529 Include the following line in your .emacs file.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1530
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1531 (setq enable-double-n-syntax t)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1532
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1533 JP-21: Mule fails to handle filenames which contain Japanese.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1534
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1535 You must specify `--mcpath' to `configure' when you compile Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1536 You also have to specify what coding system will be used in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1537 filenames. Adding the following lines in `site-init.el' may
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1538 help. (Note that *autoconv* cannot be specified).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1539
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1540 ;;; example: To use Japanese EUC for filenames
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1541 (if (fboundp 'set-pathname-coding-system)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1542 (set-pathname-coding-system *euc-japan*))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1543
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1544 JP-22: How can I use Wnn and Canna simultaneously?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1545
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1546 Sakai Kiyotaka <ksakai@mtl.t.u-tokyo.ac.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1547
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1548 First, define both `EGG' and `CANNA' in `mconfig.h' when you
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1549 compile Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1550
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1551 Second, if you have set up to use Canna, your should have
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1552 something like the following in your .emacs file:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1553
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1554 (if (and (boundp 'CANNA) CANNA)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1555 (progn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1556 (load-library "canna")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1557 (canna)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1558 ... ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1559
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1560 Change the above like this:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1561
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1562 (if (and (boundp 'CANNA) CANNA)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1563 (progn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1564 (setq canna-server "mercury")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1565 (cond ((boundp 'egg-version)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1566 (require 'can-n-egg)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1567 (can-n-egg))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1568 (t
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1569 (require 'canna)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1570 (canna)))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1571 ... ))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1572
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1573 Now you can activate Wnn with `\C-\' and Canna with `\C-o'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1574
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1575 JP-23: Is Mule upwards-compatible with Nemacs/Emacs?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1576
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1577 Mule is quite different from Nemacs at the level of emacs lisp.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1578
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1579 Enami TSUGUTOMO <enami@sys.ptg.sony.co.jp> points out the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1580 incompatibility between Mule and Nemacs/Emacs as follows:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1581
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1582 * Incompatibility caused by the existence of functions specific to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1583 each program
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1584 * Incompatibility caused by the modification of function
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1585 definitions (number of arguments, etc.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1586 * Incompatibility of byte compiled files caused by the difference
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1587 of the internal representation between Mule and Nemacs. Their
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1588 byte code is compatible, however. (isn't it? :-)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1589 * Incompatibility caused by the difference of versions of GNU
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1590 Emacs they are based on. (only current-column, maybe.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1591
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1592 JP-24: Can Nemacs and Mule share the same .emacs file?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1593
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1594 Mule is not compatible with Nemacs. Sometimes a `.emacs' file made
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1595 for Nemacs causes trouble when used for Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1596
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1597 To share the same .emacs file, you have to divide it into two parts;
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1598 one for Mule and the other for Nemacs:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1599
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1600 (if (boundp 'MULE)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1601 (functions for Mule))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1602 (if (boundp 'NEMACS)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1603 (functions for Nemacs))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1604
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1605 There is a sample shared `.emacs' file in the texinfo manual of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1606 Mule. It may help you.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1607
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1608 Note that some of the byte-compiled files are NOT sharable. Concerning
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1609 about this point, Enami Tsugutomo <enami@sys.ptg.sony.co.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1610
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1611 You should prepare two different files for Mule and Nemacs if you
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1612 want to byte-compile those files.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1613
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1614 As Mule and Nemacs adopt different internal representations of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1615 kanji characters, you must re-byte compile if the files include
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1616 kanji characters.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1617
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1618 JP-25: Some functions work fine with Nemacs, but they show the message
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1619 "Symbol's function definition is void: define-program-kanji-code" and
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1620 abort. How can I fix this?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1621
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1622 Atsushi Furuta <furuta@srarc2.sra.co.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1623
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1624 `define-program-kanji-code' is specific to Nemacs, so you have to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1625 modify it to make such functions run on Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1626 `define-program-coding-system' is the counterpart in Mule. For
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1627 example,
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1628
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1629 (define-program-kanji-code nil ".*inc.*" 2)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1630
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1631 should be replaced by
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1632
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1633 (define-program-coding-system nil ".*inc.*" *junet*)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1634
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1635 Many functions named `kanji-code-xxx' before have been renamed to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1636 `coding-system-xxx' in Mule. The variable `kanji-flag' has been
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1637 renamed to `mc-flag' in Mule.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1638
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1639 Fortunately, a package has been written to make Nemacs oriented
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1640 codes work in Mule. Ken'ichi Handa <handa@etl.go.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1641
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1642 From: handa@etlken.etl.go.jp (Kenichi Handa)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1643 Newsgroups: fj.editor.mule,fj.editor.emacs
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1644 Subject: nemacs -> mule
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1645 Message-ID: <HANDA.93Oct15215300@etlken.etl.go.jp>
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1646 Date: 15 Oct 93 21:53:00 GMT
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1647
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1648 With the help of members of our mailing list, I have written a
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1649 simple package which makes the shift from Nemacs to Mule easier.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1650
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1651 First, install the two elisp files below in your load-path. Then
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1652 modify your .emacs file as follows. Your configuration for Mule
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1653 will be the same as that for Nemacs:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1654
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1655 (load-library "nemacs-pre")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1656 ... your original .emacs comes here ...
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1657 (load-library "nemacs-post")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1658
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1659 The above modification, of course, does not harm the usage of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1660 Nemacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1661
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1662 This package is not yet complete, so please send your requests
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1663 like "how can I modify my Nemacs oriented configuration so and so
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1664 for Mule?"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1665
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1666 Both `nemacs-pre.el' and `nemacs-post.el' are available via
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1667 anonymous FTP from etlport.etl.go.jp:/pub/mule/contrib/lisp.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1668
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1669 JP-26: How can I use Supercite in Japanese environment?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1670
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1671 For those who use only English, the configuration shown in E-2 above
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1672 suffices. But if you want to use Japanese, you have to change your
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1673 `sc-cite-regexp'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1674
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1675 Yoichi HIROSE <yoichi@esasd.ksp.fujixerox.co.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1676
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1677 Some categories match Japanese strings in Nemacs but do not in
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1678 Mule. You do not have to worry if you have not used a category to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1679 specify a regexp.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1680
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1681 See the following regexp. The regexp is very short in Mule, while
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1682 it was quite long in Nemacs. For more information, see the part
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1683 of char-category in info.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1684
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1685 Anyway you have to change sc-cite-regexp as follows if you want to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1686 use Japanese.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1687
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1688 An example of how to set sc-cite-regexp:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1689 (if (boundp 'MULE)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1690 (setq sc-cite-regexp "\\s *\\([a-zA-Z0-9_]\\|\\cj\\)*>+\\s *")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1691 (setq sc-cite-regexp "\\s *\\([a-zA-Z0-9_]\\|\\cc\\|\\cC\\|\\ch\\|\\cH\\|\\ck\\|\\cK\\|\\ca\\|\\cg\\|\\cr\\|\\cu\\)*>+\\s *"))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1692
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1693 JP-27: Why dired does not work?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1694
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1695 Dired scans the output of ls, but the output should not contain
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1696 Japanese.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1697
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1698 Akira Kon <kon@quincy.d1.bs2.mt.nec.co.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1699
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1700 My machine is a SVR4 and ls gives an output like the following
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1701 when LANG is set to Japanese.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1702
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1703 -rw-rw-r-- 1 kon com 1002 10$B7n(B30$BF|(B 00$B;~(B22$BJ,(B .bashrc
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1704 -rw-r--r-- 1 kon com 26387 11$B7n(B18$BF|(B 10$B;~(B06$BJ,(B .emacs
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1705
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1706 (The dates are in Japanese, you know.)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1707
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1708 But `dired.el' has a fragment of codes like:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1709
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1710 (defun dired-get-filename (&optional localp no-error-if-not-filep)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1711 (...deleted...)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1712 (beginning-of-line)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1713 (if (re-search-forward
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1714 "\\(Jan\\|Feb\\|Mar\\|Apr\\|May\\|Jun\\|Jul\\|Aug\\|Sep\\|Oct\\|Nov\\|Dec\\)[ ]+[0-9]+"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1715 eol t)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1716 (progn (skip-chars-forward " ")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1717
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1718 and this means, in short, that dired does not accept the output of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1719 Japanese `ls -l'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1720
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1721 I believe that the following modification works for dired, but I
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1722 am afraid that there are other programs that scan the output of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1723 UNIX commands.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1724
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1725 --- dired.el.orig Mon Nov 22 23:32:13 1993
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1726 +++ dired.el Mon Nov 22 23:33:03 1993
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1727 @@ -42,10 +42,13 @@
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1728 (erase-buffer)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1729 (setq dirname (expand-file-name dirname))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1730 (if (file-directory-p dirname)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1731 - (call-process "ls" nil buffer nil
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1732 - dired-listing-switches dirname)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1733 + (call-process "env" nil buffer nil
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1734 + "LC_MESSAGES=C" "LC_DATE=C" "LANG=C"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1735 + "ls" dired-listing-switches dirname)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1736 (let ((default-directory (file-name-directory dirname)))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1737 - (call-process shell-file-name nil buffer nil
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1738 + (call-process "env" nil buffer nil
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1739 + "LC_MESSAGES=C" "LC_DATE=C" "LANG=C"
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1740 + shell-file-name
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1741 shell-command-option
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1742 (concat "ls " dired-listing-switches " "
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1743 (file-name-nondirectory dirname)))))
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1744
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1745 JP-28: I cannot read the string that follows the single width
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1746 `KONNICHIWA' in the file `$MULE/doc/demo'.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1747
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1748 Azuma OKAMOTO <lfo@sayori.dais.is.tohoku.ac.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1749
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1750 That part contains `ESC $ ( D', so you need a JISX0212 font to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1751 display the characters.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1752
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1753 If you have not installed that font, you cannot read it, of
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1754 course. :-)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1755
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1756 JP-29: Are there any free JIS X0212 (JIS supplemental kanji) fonts?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1757
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1758 Youn can find in:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1759
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1760 etlport.etl.go.jp:/pub/mule/fonts/Japanese.tar.gz
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1761
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1762 Besides the above Japanese.tar.gz, another JISX0212.1990 font was
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1763 posted to fj.sources:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1764
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1765 From: yasuoka@kudpc.kyoto-u.ac.jp (Koichi Yasuoka)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1766 Newsgroups: fj.sources
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1767 Subject: 16x16 JIS Supplementary Kanji Font (1/6)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1768 Date: 28 Jul 1994 00:06:12 +0900
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1769 Organization: Data Processing Center, Kyoto University, Kyoto, Japan.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1770 Message-ID: <315t54$et5@kudpc.kudpc.kyoto-u.ac.jp>
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1771
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1772 This posting is followed by some patches, so you'd better apply them.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1773
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1774
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1775 HANDLING LATIN CHARACTERS
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1776
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1777 LT-1: How can I input ISO 8859 characters?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1778
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1779 Mule supports all the character sets from Latin-1 (ISO 8859-1) to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1780 Latin-5 (ISO 8859-9). The quail system is used to input these
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1781 characters from an ordinary ASCII keyboard.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1782
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1783 Following five files are provided to input ISO 8859 characters:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1784
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1785 * quail/latin.el : languages written in Latin alphabets (for slow typists)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1786
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1787 This file is for naive users. Most of the accented letters are
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1788 input by composing two characters. For example, you will get an ,Ai(B
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1789 (e with acute accent) by typing an e followed by a ' (single
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1790 quote).
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1791
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1792 LANGUAGE PACKAGE NAME
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1793 --------------------------------
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1794 Danish danish
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1795 Esperanto esperanto
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1796 Finnish finnish
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1797 French french
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1798 German german
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1799 Icelandic icelandic
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1800 Italian italian
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1801 Norwegian norwegian
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1802 Spanish spanish
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1803 Swedish swedish
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1804 Turkish turkish
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1805 British british
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1806 ISO 8859-1 latin-1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1807 ISO 8859-2 latin-2
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1808 ISO 8859-3 latin-3
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1809 ISO 8859-4 latin-4
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1810 ISO 8859-9 latin-5
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1811
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1812
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1813 * quail/ltn.el : languages written in Latin alphabets (for quick typists)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1814
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1815 This file was made for those who find quail/latin.el is too awkward.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1816 The principle of this file is "the less strokes, the better". Most
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1817 of the special letters proper to each language are allocated to
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1818 somewhere so that you can type them with a single stroke. You can
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1819 type very quickly once you learn the layout by heart.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1820
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1821 LANGUAGE PACKAGE NAME
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1822 -----------------------------------------------------------
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1823 Danish dnsh
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1824 Finnish fnnsh
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1825 French frnch, azerty
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1826 German grmn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1827 Icelandic iclndc
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1828 Italian itln
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1829 Norwegian nrwgn
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1830 Spanish spnsh
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1831 Swedish swdsh
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1832
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1833
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1834 * quail/cyrillic.el : languages written in Cyrillic alphabets
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1835
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1836 LANGUAGES PACKAGE NAME NOTE
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1837 -----------------------------------------------------------------
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1838 Russian jcuken standard layout for Russian
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1839 jis-russian same as jcuken, but uses
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1840 JIS encoding
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1841 Macedonian macedonian JUS.I.K1.004
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1842 Serbian serbian JUS.I.K1.005
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1843 Byelorussian byelorussian derived from JUS.I.K1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1844 Ukrainian ukrainian derived from JUS.I.K1
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1845 ISO 8859-5 yawerty based on Roman transcription
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1846
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1847
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1848 * quail/greek.el : for Greek
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1849
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1850 LANGUAGE PACKAGE NAME NOTE
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1851 -----------------------------------------------------------------
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1852 Greek greek
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1853 jis-greek same as greek, but uses
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1854 JIS encoding
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1855
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1856
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1857 * quail/hebrew.el : for Hebrew
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1858
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1859 LANGUAGE PACKAGE NAME
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1860 --------------------------------
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1861 Hebrew hebrew
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1862
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1863
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1864 After having loaded the appropriate file(s), you can toggle quail-
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1865 minor-mode with "C-]". In the quail mode you can select a package
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1866 for a particular language either typing "M-s" or evaluating
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1867 (quail-use-package "package-name"). Typing "M-z" shows a brief
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1868 help.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1869
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1870 Examples:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1871
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1872 1) If you are new to German and want to type German texts, include
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1873 the following two lines in your .emacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1874
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1875 (load "quail/latin")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1876 (quail-use-package "german")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1877
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1878 2) If you want to use the azerty layout for French, include the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1879 following two lines in your .emacs.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1880
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1881 (load "quail/ltn")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1882 (quail-use-package "azerty")
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1883
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1884 LT-2: How can I display Latin-1 characters on a character terminal?
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1885
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1886 TAKAHASHI Naoto <ntakahas@etl.go.jp> writes:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1887
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1888 You have to set `display-coding-system' to *ctext* to display
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1889 Latin-1 characters in Mule running on a character terminal.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1890 This can be done either 1) by adding a line which looks like:
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1891
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1892 (setq display-coding-system *ctext*)
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1893
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1894 in your .emacs file, or 2) by answering *ctext* to the prompt
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1895 "Display-coding-system:" which is shown when you type "M-x
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1896 set-display-coding-system".
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1897
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1898 Even under the X Window System, you have to run one of the
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1899 above procedures if you invoke Mule with -nw option.
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1900
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1901 In either case, your character terminal or terminal emulator should
131b0175ea99 Import from CVS: tag r20-0b30
cvs
parents:
diff changeset
1902 be able to support Latin-1 characters.