egg-980703.
[elisp/egg.git] / ChangeLog
1 1998-07-03  KATAYAMA Yoshio <kate@pfu.co.jp>
2
3         * its/erpin.el, its/hangul.el, its/hankata.el, its/hira.el,
4         its/jeonkak.el, its/kata.el, its/pinyin.el, its/quanjiao.el,
5         its/thai.el, its/zenkaku.el: Updated using new its-*.
6
7         * its.el (define-its-state-machine): Rewritten.
8         (define-its-compiled-map): Deleted.
9         (define-its-state-machine-append): Rewritten.
10         (its-defrule): Rewritten.
11         (its-defrule*): Rewritten.
12         (its-parent-states): New Variable.
13         (its-goto-state): Remove 2nd optional argument INITIAL-STATE.
14         (its-set-interim-terminal-state): New Function.
15         (its-make-next-state): Remove 2nd argument KEYSEQ.
16
17 1998-07-01  NIIBE Yutaka  <gniibe@mri.co.jp>
18
19         * egg-mlh.el (mlh-hira-to-kata): Removed.  Doesn't work any more.
20         (mlh-katakana): Use japanese-katakana-region.
21
22         * egg-cnv.el (egg-conversion-map): Add again mapping for "/".
23
24 1998-06-27  KATAYAMA Yoshio <kate@pfu.co.jp>
25
26         * egg-cnv.el (egg-abort-conversion): Bug fix.
27
28 1998-06-27  NIIBE Yutaka  <gniibe@akebono>
29
30         * egg/wnn.el (wnn-dictionary-specification-list): Don' specify
31         for gerodic/g-jinmei.
32         Suggested by SAKAI Kiyotaka <ksakai@netwk.ntt-at.co.jp>.
33
34 1998-06-26  KATAYAMA Yoshio <kate@pfu.co.jp>
35
36         * its.el (its-cancel-input): Bug fix.
37
38 1998-06-26  SAKAI Kiyotaka <ksakai@netwk.ntt-at.co.jp>
39
40         * egg-cnv.el (egg-conversion-mode, egg-help-command): New
41         functions for help string.
42         * its.el (its-mode, its-mode-help-command): Likewise.
43
44 1998-06-26  KATAYAMA Yoshio <kate@pfu.co.jp>
45
46         * egg-cnv.el (egg-convert-region): Bug fix.
47         * egg.el (egg-default-language): Don't use string.
48
49         * its/hankata.el (its-han-kata-enable-double-n, and others):
50         Variable name change (-han-) to distingush kata.el.
51
52         * its/erpin.el (its-erpin-tw-enable-quanjioao-alphabet,
53         its-erpin-cn-enable-quanjioao-alphabet): 
54         See its-enable-fullwidth-alphabet.
55         * its/kata.el (its-kata-enable-zenkaku-alphabet): Likewise.
56         * its/pinyin.el (its-pinyin-cn-enable-quanjioao-alphabet): Likewise.
57         * its/zenkaku.el (its-zenkaku-down-map): Likewise.
58
59         * its/erpin.el (its-erpin-tw-map): Bug fix for "\\", "{", "}", and
60         "/".
61         * its/pinyin.el (its-pinyin-cn-map): Ditto.
62         * its/quanjiao.el (its-quanjiao-down-tw-map): Ditto.
63         * its/zhuyin.el (its-zhuyin-cn-enable-quanjioao-alphabet): Ditto.
64
65         * its/hira.el (its-hira-enable-zenkaku-alphabet): Follow changes
66         of its.el.
67         * its/ascii.el (its-up-map, its-down-map): Ditto.
68         * its/jeonkak.el (its-jeonkak-up-map): Ditto.
69
70         * its/hira.el (its-hira-enable-zenkaku-alphabet): 
71         See its-enable-fullwidth-alphabet.
72
73         * egg/wnn.el (wnn-save-dictionaries): Rewritten.
74
75         * egg/canna.el (egg-edep): Required.
76         (canna-support-languages): Use symbol.
77         * egg/sj3.el (egg-edep): Likewise.
78
79         * egg/wnn.el (egg-edep): Likewise.      
80         * egg/wnnrpc.el: Use symbol.
81
82         * menudiag.el (menudiag-mode-map): Bug fix for boundary conditions.
83         (menudiag-make-selection-list): Bug fix in case of many items.
84
85         (menudiag-forward-item, menudiag-backward-item,
86         menudiag-goto-line): Change so that it wraps.
87
88         * its.el (egg-edep): Required.
89         (its-keydef): Require unconditioanlly.
90         (its-mode-map): Don't call its-define-select-keys here.
91         (its-mode-map): Use of symbol as keymap.
92         (its-fence-invisible): New variable.
93         (its-put-cursor): Don't call its-define-select-keys.
94         (its-setup-fence-mode): invisible handling and its-define-select-keys.
95         (its-keyseq-acceptable-p): if (CDR SYL) is number, return NIL.
96         (define-its-state-machine): Introduce its-temporaly-map.
97         (define-its-state-machine-append): Likewise.
98
99         (its-goto-state): Use symbol as keymap, not directly.
100
101         (its-set-part-1,its-set-part-2): New function.
102         (its-delete-backward-within-SYL): Conditionalize.
103
104         * egg.el (egg-edep): Required.
105         (egg-mode): Add remove-hook call.
106         Supply NIL as first argument to egg-set-conversion-backend.
107         make-local-hook for input-method-activate-hook.
108         (egg-set-face): Add optional argument OBJECT.
109         (egg-redraw-face): Bind inhibit-point-motion-hooks.
110
111         * egg.el (set-buffer-multibyte): Move to egg-edep.el.
112
113         * egg-mlh.el (mlh-space-bar-backward-henkan): Use assq.
114
115         * egg-com.el (egg-zhuyin-syllable): compatibility change.
116         (encode-fixed-euc-china-region): Removed maxlen.
117
118         Really Needed? -- gN.
119         * egg-com.el (egg-pinyin-syllable): Check exact match.
120         (egg-zhuyin-syllable): Likewise.
121
122         * egg-cnv.el (egg-edep): Required.
123         (its-keydef): Not required.
124         (egg-conversion-map): Don't call its-define-select-keys here.
125         Fset it to use symbol instead of the map directly.
126
127         (egg-get-bunsetsu-info): Add new optional argument for getting
128         property.
129         (egg-start-conversion-other-languages): set egg-conversion-backend.
130         (egg-set-current-backend): Use assq instead of assoc.
131         (egg-get-conversion-face): Likewise.
132         (egg-conversion-invisible): New variable.
133         (egg-convert-region): Change for open/close delimiter.
134         (egg-chinese-sisheng-regexp): New function.
135         (egg-separate-languages): Use egg-chinese-sisheng-regexp,
136         use symbol for language specifier (instead of string).
137
138         (egg-charset-to-language): Use symbol for language specifier
139         (instead of string).
140         (egg-next-chinese-lang): Likewise.
141
142         (egg-next-part-lang): Change the arguments.
143
144         (egg-make-bunsetsu): New function changing egg-insert-bunsetsu.
145
146         (egg-separate-characters): compatibility changes.
147
148         (egg-conversion-wrap-select): New Variable.
149
150         (egg-next-candidate): Can wrap around.
151
152         (egg-decide-before-point): Rewritten.
153         (egg-abort-conversion): Back to previous one.
154         (egg-select-candidate): Use egg-make-bunsetsu.
155
156         * egg-edep.el: New File for handling differences between Emacs version.
157         * its/thai.el: New File.
158         * its/hangul.el: Updated.
159
160 1998-06-26  NIIBE Yutaka  <gniibe@mri.co.jp>
161
162         * Makefile (install): Don't touch .emacs and leim-list.el
163         directly.  User should do it by her hand.
164         Reported by SAKAI Kiyotaka <ksakai@netwk.ntt-at.co.jp>
165
166 1998-06-25  NIIBE Yutaka  <gniibe@mri.co.jp>
167
168         * egg/canna.el (canna-dictionary-specification): "user" instead of
169         ("user").  Should chnage canna-filename later.
170         Reported by Akio Morita <amorita@bird.scphys.kyoto-u.ac.jp>.
171
172 1998-04-02  NIIBE Yutaka  <gniibe@mri.co.jp>
173
174         * egg-com.el (comm-unpack-u16-string): Call string-as-multibyte.
175         (comm-unpack-mb-string): Likewise.
176
177         * egg.el (set-buffer-multibyte): Function for Emacs 20.2.
178
179         * egg/wnn.el (wnn-open): Call set-buffer-multibyte.
180         * egg/sj3.el (sj3-open): Ditto.
181         * egg/canna.el (canna-open): Ditto.
182
183 1998-04-02  KATAYAMA Yoshio <kate@pfu.co.jp>
184
185         Implement hilight.
186         * egg.el (egg-mark-list, egg-suppress-marking): New Variables.
187         (egg-set-face, egg-mark-modification, egg-redraw-face): New
188         Functions.
189         * its.el (its-buffer-ins/del-SYL): Call egg-set-face.
190         (its-setup-yanked-portion): Likewise.
191         * egg-cnv.el (egg-insert-bunsetsu): Call egg-set-face.
192
193         * egg.el (egg-mode): set default backend.
194         * egg-mlh.el (mlh-space-bar-backward-henkan): activate input
195         method.
196
197 1998-04-02  NIIBE Yutaka  <gniibe@mri.co.jp>
198
199         * egg-cnv.el (egg-decide-bunsetsu): Undo changes of 03-16.
200         (egg-abort-conversion): Call egg-end-conversion.
201         (egg-decide-before-point): Call egg-end-conversion widh ABORT=NIL.
202
203 1998-03-16  NIIBE Yutaka  <gniibe@mri.co.jp>
204
205         CANNA Support.
206         * egg/canna.el, egg/cannarpc.el: New file.
207         * Makefile (SRCS): Added.
208
209         * egg-cnv.el (egg-end-conversion): Add argument ABORT.
210
211         * egg/wnn.el (wnn-end-conversion): Follow the change of 
212         EGG-END-CONVERSION.
213         * egg/sj3.el (sj3-end-conversion): Likewise.
214
215 1998-03-15  NIIBE Yutaka  <gniibe@mri.co.jp>
216
217         * Makefile: Add dependencies for its-keydef.elc.
218         * egg/sj3rpc.el (sj3-open): Don't support list of hosts.
219         * its.el (its-exit-mode, its-kick-convert-region): Bug fix.  Call
220         its-input-end and its-put-cursor.
221         (its-exit-mode-off-input-method): Removed. 
222
223 1998-03-14  KATAYAMA Yoshio <kate@pfu.co.jp>
224
225         * docomp.el (its-keydef): Undo the changes of 03-09.  its.el
226         is fixed.
227
228         * egg-cnv.el (egg-current-language): New valiable.
229         (egg-bunsetsu-info): Separate bunsetsu-info and lunguage.
230         (egg-conversion-backend-other-languages
231         egg-init-other-languages
232         egg-start-conversion-other-languages
233         egg-get-bunsetsu-converted-other-languages
234         egg-get-bunsetsu-source-other-languages
235         egg-list-candidates-other-languages
236         egg-get-number-of-candidates-other-languages
237         egg-get-current-candidate-number-other-languages
238         egg-get-all-candidates-other-languages
239         egg-decide-candidate-other-languages
240         egg-change-bunsetsu-length-other-languages
241         egg-end-conversion-other-languages
242         egg-fini-other-languages): New valiable and functions for
243         handling unknown language.
244         (egg-set-current-backend): Set egg-conversion-backend-other-languages
245         when backend for specified language isn't found.
246         (egg-start-reverse-conversion): New function for reverse conversion.
247         (egg-set-conversion-backend-internal): Removed.
248         (egg-set-conversion-backend): Args are changed.
249         (egg-get-conversion-face): New function for different face for
250         every language.
251         (egg-convert-region): Make converting text read-only. Handle
252         unknown laguages and backend opening error. Rename its-lang to
253         egg-lang.
254         (egg-separate-languages): Argument use-context is added to
255         utilize context when called by its-yank. Rename its-lang to
256         egg-lang Improve speed.
257         (egg-charset-to-language): Renamed from egg-char-to-language.
258         (egg-next-part-lang egg-next-chinese-lang): Rename its-lang to
259         egg-lang.
260         (egg-conversion-map): Unbind C-\ and /. Bind C-X RET XXX to
261         its-select-XXX.
262         (egg-insert-bunsetsu): Make conversion text read-only. Separate
263         bunsetsu-info and conversion-backend. 
264         (egg-insert-bunsetsu-list): Remove redundant variables.
265         (egg-beginning-of-conversion-buffer): New function.
266         (egg-end-of-conversion-buffer): New function.
267         (egg-enlarge-bunsetsu): Handle read-only text.
268         (egg-next-candidate): Handle read-only text. Bug on no candidate
269         bunsetsu is fiexed.
270         (egg-reconvert-bunsetsu-internal egg-reverse-convert-bunsetu
271         egg-reconvert-bunsetsu): New functions for reverse conversion and
272         re-conversion.
273         (egg-decide-before-point egg-abort-conversion): Handle read-only
274         text. Bug on pinyin and zhuyin mixed conversion is fixed. Allow
275         long fence.
276         (egg-select-candidate): Handle read-only text. Bug on no candidate
277         bunsetsu is fiexed.
278
279         * egg-com.el: Change coding-system from internal to iso-2022-7bit.
280
281         * egg-mlh.el (mlh-space-bar-backward-henkan): Disable temporally
282         mode selection.
283
284         * egg.el (egg-mode): Set cureent lang to conversion backend.
285         (egg-set-mode-line-title): Renamed to its-set-mode-line-title
286         and moved to its.el.
287         (egg-check-language): Removed.
288
289         * egg/sj3.el (sj3-server-port): Change from defconst to defver for
290         user customization.
291         (sj3-open sj3-get-environment): Try opening alternate servers.
292         (sj3-start-conversion): Make second argument LANGUAGE optional.
293         (egg-activate-sj3): Parameters of egg-set-conversion-backend is
294         changed.
295
296         * egg/sj3rpc.el (sj3rpc-error-message): New constant (Not yet
297         completed).
298         (sj3rpc-get-error-message): Check range of errno to avoid
299         args-out-ou-range error.
300
301         * egg/wnn.el (wnn-jport wnn-cport wnn-tport wnn-kport): New
302         variables for user customization.
303         (wnn-server-info-list wnn-server-port): Type of fourth element
304         is changed from integer to symbol.
305         (wnn-start-reverse-conversion): New function.
306         (wnn-open wnn-get-environment): Try opening alternate servers.
307         (egg-activate-wnn): Parameters of egg-set-conversion-backend is
308         changed.
309
310         * its-keydef.el (its-current-language): Moved to its.el.
311         (its-make-select-func): Remove language check (egg-check-language).
312         Add temporally mode selection.
313         (its-do-list-make-select-func): Binding of zhuyin-tw is changed to
314         `C' because conflicting zenkaku-upcase.
315
316         * its.el (its-current-select-func its-previous-select-func): New
317         variables for temporally mode selection.
318         (its-keydef requiring): Use eval-when to avoid error on using
319         compiled file.
320         (its-get-fence-face): New function for different face for
321         every language.
322         (its-put-cursor its-setup-fence-mode): Make fence read-only.
323         (its-start): Remove force-mode-line-update calling.
324         (its-restart): Add optional argument set-prop.
325         (its-self-insert-char its-backward-SYL its-forward-SYL
326         its-delete-SYL its-delete-backward-SYL its-exit-mode
327         its-delete-backward-SYL-by-keystroke its-transpose-chars
328         its-kick-convert-region its-end-of-input-buffer): Handle read-only
329         fence.
330         (its-state-machine): Accept special actions to handle temporally
331         mode selection.
332         (its-buffer-ins/del-SYL its-ins/del-SYL-batch): Handle read-only
333         fence. Property its-lang is renamed to egg-lang.
334         (its-get-next-state its-make-next-state): Add type check to avoid
335         wrong-type-argument error.
336         (its-keyseq-acceptable-p): Save informations of its-map to avoid
337         confusing on temporally mode selection.
338         (its-defrule-select-mode-temporally): New macro.
339         (its-kill-line its-cancel-input): New function.
340         (its-delete-backward-within-SYL): Bind its-current-language to
341         avoid confusing when undo is done beyond language change.
342         (its-yank its-yank-pop its-setup-yanked-portion): New functions.
343         (its-exit-mode-internal): Reset temporally selected mode. Allow
344         long fence.
345         (its-kick-convert-region-or-self-insert): New function.
346         (its-translate-region): Remove text properties completly.
347         (its-set-mode-line-title): Moved from egg.el and renamed.
348         (its-select-mode-temporally its-select-previous-mode): New functions
349         for temporally mode selection.
350
351         * leim-list-egg.el: Secondary argument for egg-activate-sj3/wnn
352         is no longer needed.
353
354         * its/hira.el: Remove the rule for "~" which destroies the rules
355         with its-hankaku-escape.
356
357         * its/pinyin.el: Implement its-pinyin-cn-enable-quanjioao-alphabet
358         and its-pinyin-tw-enable-quanjioao-alphabet.
359
360         * its/hangul.el: Implement its-hangul-enable-quanjioao-alphabet.
361
362         * its/ascii.el: New file.
363         * its/erpin.el: New file.
364         * its/hankata.el: New file.
365         * its/jeonkak.el: New file.
366         * its/kata.el: New file.
367         * its/quanjiao.el: New file.
368         * its/zenkaku.el: New file.
369         * its/zhuyin.el: New file.
370
371 1998-03-14  NIIBE Yutaka  <gniibe@mri.co.jp>
372
373         * egg/sj3rpc.el (sj3rpc-close): New function.
374
375         * egg/sj3.el (sj3bunsetsu-[sg]et-kugiri-changed): Rename from
376         sj3bunsetsu-get-stdy-down.
377         (sj3-end-conversion): Implement CLSTDY.
378         (sj3-fini): Implemented.
379
380 1998-03-10  NIIBE Yutaka  <gniibe@mri.co.jp>
381
382         * egg/sj3.el (sj3-end-conversion): Implement bunsetsu study.
383         CLSTDY not yet.
384
385         * egg/sj3rpc.el (sj3rpc-get-bunsetsu-candidates-sub): Bug fix.
386         Always add hiragana and katakana candidates.
387         (sj3-const: CLSTDY, CLSTDY_EUC): Renamed from END and END_EUC
388         according to "sj3cmd.h" of SJ3 distribution.
389         (sj3rpc-bunsetsu-stdy, sj3rpc-kugiri-stdy): New functions.
390
391         * egg-com.el (comm-format-u8-vector): New substitution.
392         (comm-format): New format 'v'.
393
394 1998-03-09  NIIBE Yutaka  <gniibe@mri.co.jp>
395
396         * docomp.el (its-keydef): Require its-keydef when compile.
397         Not so good.  Just a work around.
398         (its-mode-map): Undo the changes of 03-04.
399         
400 1998-03-09  KATAYAMA Yoshio <kate@pfu.co.jp>
401
402         * its.el (its-translate-region): Make it command.
403         (its-translate-region-internal): Make it function.
404
405 1998-03-04  NIIBE Yutaka  <gniibe@mri.co.jp>
406
407         * its.el (its-define-select-keys of its-mode-map): Comment it out.
408         * its-keydef.el (its-make-select-func): Add eval-when to compile this.
409
410         * egg-cnv.el (egg-decide-bunsetsu): Deleted.
411         * its.el (its-restart): Call its-setup-fence-mode with no argument.
412
413         * its.el (its-keyseq-acceptable-p): Bug fix.
414
415 1998-03-03  KATAYAMA Yoshio <kate@pfu.co.jp>
416
417         *its.el (its-get-keyseq-syl): Compensate when DSYL has back.
418         (its-DSYL-with-back-p): New function. Return t when DSYL has back.
419         (its-concrete-DSYL-p): New function. Return t when DSYL is cons
420         form which means input is not continued after DSYL was created.
421         (its-make-concrete-DSYL): New function.
422         (its-self-insert-char): Make DSYL to ``concrete-DSYL'' if cursor
423         is t which means input is not continued.
424         (its-input): Test input key is whether acceptable or not when
425         its-barf-on-invalid-keyseq is non-nil.
426         (its-input-to-vsyl): Set cursor status, not just returning it.
427         (its-state-machine its-state-machine-keyseq): Make sure to issue
428         ``DSYL-with-back'' when syllable is decided by the rule with back.
429         ``test mode'' is added.
430         (its-keyseq-acceptable-p): New function.
431         (its-forward-SYL): The args order of put-text-property was wrong.
432         (its-delete-backward-SYL-by-keystroke): New function.
433         (its-delete-backward-within-SYL): ``delete-by-keystroke'' mode
434         did not work when syllable is decided by the rule with back.
435         Deletion limit is extended to outside of SYL (meaning of
436         ``within-SYL'' is changed to ``deletion starts within SYL).
437         (its-transpose-chars): Fixed up.
438         (its-in-fence-p): Confuse at openning fence.
439
440 1998-02-25  KATAYAMA Yoshio <kate@pfu.co.jp>
441
442         * its.el (its-put-cursor): Enable its-map change in fence mode.
443
444         * its-keydef.el (its-make-select-func): Same as above.
445
446 1998-02-25  KATAYAMA Yoshio <kate@pfu.co.jp>
447
448         * its.el (its-set-cursor-status): New function.
449         (its-setup-fence-mode): New function.
450         (its-insert-fence-open its-insert-fence-close): Deleted.
451         (its-start, its-restart, its-self-insert-char): Avoid fence
452         destruction on its-barf.
453         (its-input-to-vsyl, its-state-machine, its-state-machine-keyseq,
454         its-buffer-ins/del-SYL, its-ins/del-SYL-batch): Update cursor
455         status on updating syllables.
456         (its-input-error): New function to realize doc-string of
457         its-barf-on-invalid-keyseq.
458
459         * egg.el (egg-mode): Don't use egg-mode-line-title which cause
460         wrong-type-argument at isearch.  Bind its-select-XXX to key only
461         when modefull is select.
462
463         * egg-mlh.el (mlh-hangul, mlh-zhongwen, mlh-zhongwen-tw): Same
464         as above.
465
466         * its-keydef.el (its-make-select-func): Same as above.
467
468         * leim-list-egg.el: Same as above.
469
470 1998-02-24  KATAYAMA Yoshio <kate@pfu.co.jp>
471
472         * its.el (its-state-machine-keyseq): Remove binding
473         its-barf-on-invalid-keyseq to nil.
474         (its-ins/del-SYL-batch): Avoide altering its-XXX-map.
475         (its-translate-region-internal): its-translation-result's data
476         type is changed to string.
477
478         * egg-cnv.el (egg-convert-region): Gather contiguous same
479         language part.
480
481 1998-02-21  KATAYAMA Yoshio <kate@pfu.co.jp>
482
483         * its.el (its-ins/del-SYL-batch): Set its-lang property.
484         (its-translate-region): Remove its-lang property from translated
485         text.
486         (its-translate-region-internal): New function.  Retain its-lang
487         property on translated text.
488
489         * egg-mlh.el (mlh-space-bar-backward-henkan): Force base language
490         to Japanese.
491
492         (mlh-hangul mlh-zhongwen-tw mlh-zhongwen): New functions for
493         conversion functions.
494
495 1998-02-20  KATAYAMA Yoshio <kate@pfu.co.jp>
496
497         * its.el (its-restart): New function.
498         (its-insert-fence-open, its-insert-fence-close): New function.
499         (its-start): Rewritten.  Use its-insert-fence-open and
500         its-insert-fence-close.
501         (its-exit-mode-internal): Leave its-syl property.
502         (its-exit-mode-internal): Delete the property in this case.
503         (its-keydef): Require it.
504
505         * its-keydef.el: Provide the feature.
506
507         * egg-cnv.el (egg-convert-region): Add egg-source property to save 
508         the source string.
509         (egg-conversion-map, \C-c): New keybind.
510         (egg-get-previous-bunsetsu): Bug fix.
511         (egg-decide-before-point): New implementation.
512         (egg-exit-conversion): Use gg-decide-before-point.
513         (egg-abort-conversion): New command.
514
515 1998-02-20  NIIBE Yutaka  <gniibe@akebono>
516
517         * Makefile (SRCS), Egg.prj: Remove euc-china.el.
518         * egg-com.el: Include egg-china.el.
519         * egg-china.el: Removed.
520
521 1998-02-18  NIIBE Yutaka  <gniibe@mri.co.jp>
522
523         * Egg.prj: Use PRCS.
524
525         * Makefile (SRCS): Rename euc-cn.el to euc-china.el
526         * egg-mlh.el (mlh-space-bar-backward-henkan): Put "Japanese"
527         language property for text.
528
529 1998-02-18  KATAYAMA Yoshio <kate@pfu.co.jp>
530
531         * euc-china.el: Rename from euc-cn.el.  Update.
532
533         * egg.el (egg-mode): Bug fix.  Call get-exit-conversion.
534         * leim-list-egg.el ("japanese-egg-wnn", "japanese-egg-sj3"): 
535         Use new definition (with language argument).
536         * egg/wnn.el (egg-activate-wnn): 
537         * egg/sj3.el (egg-activate-sj3): 
538         
539 1998-02-17  NIIBE Yutaka  <gniibe@mri.co.jp>
540
541         * Makefile (SRCS): Add its/pinyin.el, its/hangul.el and
542         its-keydef.el.
543
544         * egg-com.el (ccl-encode-fixed-euc-kr): Fixed the name.
545         
546 1998-02-17  KATAYAMA Yoshio <kate@pfu.co.jp>
547         
548         * its-keydef.el: New file.
549         * its/hangul.el, its/pinyin.el: New version.
550
551         * egg/wnnrpc.el (load-library "egg/wnn"): Comment it out.
552         (wnnrpc-get-error-message): Support multiple languages.
553         (wnnrpc-call-with-environment): Chinese support.
554
555         * egg/wnn.el (wnn-support-languages): New const.
556         (<env>): Add <server-type>, <dic-set>, and <rev-flag>.
557         (wnnenv-get-server-type, wnnenv-get-dictionary-set,
558          wnnenv-get-reverse-flag): New substs.
559         (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Changed.
560         (wnn-server): Removed.
561         (wnn-jserver, wnn-cserver, wnn-tserver, wnn-kserver): New custom.
562         (wnn-server-info-list): New const.
563         (wnn-get-server-info): New function.
564         (wnn-server-locale, wnn-server-type, wnn-server-port,
565          wnn-server-stream-name, wnn-server-buffer-name,
566          wnn-server-coding-system, wnn-server-hostname): New substs.
567         (wnn-start-conversion): Add new arguments.
568         (wnn-uniq-candidates): Initialize 'n'.
569         (wnn-change-bunsetsu-length): Simplefied.
570         (wnn-change-bunsetsu-length): Call renbunsetsu-conversion,
571         instead.
572         (wnn-fini, wnn-comm-sentinel): back to 971009 version.
573         (wnn-jserver-port): Removed.
574         (wnn-open): Argument change.  Support languages.
575
576         (wnn-dictionary-specification): Removed.
577         (wnn-dictionary-specification-list): New variable.
578         (wnn-get-dic-spec, wnn-dic-spec-dic-set, wnn-dic-spec-reverse,
579         wnn-dic-spec-name, wnn-dic-spec-param, wnn-dic-spec-fuzokugo,
580          wnn-dic-spec-dic-list): New substs.
581         (wnn-get-environment): Rewrite.
582         (wnn-create-environment): Rewrite.
583
584         (egg-activate-wnn): Support languages.
585
586         * egg/sj3rpc.el (load-library "egg/sj3"): Don't load it.
587
588         * egg/sj3.el (sj3-support-languages): New const.
589         (sj3-start-conversion, sj3-fini): Add lang.
590         (sj3-change-bunsetsu-length): Simplified.
591         (egg-activate-sj3): Support language.
592
593         * its/hira.el (its/hira): Packagefy. (?)
594         (its-hira-map): Add language spec.  Move here the escape keys
595         ("Z", "~").
596
597         * leim-list-egg.el ("chinese-gb-egg-wnn-py", "chinese-gb-egg-wnn-zy",
598          "chinese-cns-egg-wnn-py", "chinese-cns-egg-wnn-zy",
599          "korean-egg-wnn"): New input methods.
600
601         * its.el (its-current-language): New Local Variables.
602         <map>: Change the structure.  Add <language>.
603         (its-get-language): New substitution.
604         (its-set-indicator): Removed.
605         (its-get-indicator, its-get-start-state): New implementation.
606         (its-reset-start-state): Removed.
607         (its-buffer-ins/del-SYL): Add new properties, its-map and its-lang.
608         (its-exit-mode-internal): Change for its-map and its-lang.
609         (its-in-fence-p): New function.
610
611         ("its-keydef.el"): Load it.
612
613         (its-select-map-menu): Removed.
614         (its-select-map-from-menu): Removed.
615         (its-select-hiragana, its-select-katakana, its-select-downcase,
616         its-select-upcase, its-select-zenkaku-downcase,
617         its-select-zenkaku-upcase, its-select-map, its-zenkaku-escape,
618         its-hankaku-escape): Removed.
619
620         (define-its-state-machine): Rewrite.
621         (define-its-compiled-map): New macro.
622         (its-define-state-machine): Removed.
623
624         (its-forward-SYL): Cleanup.
625
626         (its-beginning-of-input-buffer): Fix.
627         (its-end-of-input-buffer): Likewise.
628
629         * egg-com.el (egg-fixed-euc, egg-mb-euc): New Local Variables.
630         (ccl-decode-fixed-euc-kr, ccl-encode-fixed-euc-kr): New CCLs.
631         (fixed-euc-kr): New coding system.
632         (comm-format-mb-string, comm-format-u16-string): Support EUC-KR.
633         (comm-unpack-u16-string, comm-unpack-mb-string): Likewise.
634
635         * egg-cnv.el (egg-get-bunsetsu-info): New function.
636         (egg-conversion-backend-alist, egg-finalize-backend-alist): 
637         New Variables.
638         Make egg-conversion-backend buffer local.
639         (egg-set-current-backend): New function.
640         (egg-initialize-backend): Call egg-set-current-backend.
641         (egg-start-conversion): Add new argument LANGUAGE.
642         (egg-finalize-backend): Finalize for all backend(s).
643         (egg-set-conversion-backend-internal): New Macro.
644         (egg-convert-region): Support multiple languages in the region.
645         (egg-separate-languages, egg-char-to-language, egg-next-part-lang,
646         egg-next-chinese-lang): New functions.
647         (egg-insert-bunsetsu-list): Change the meaning of last argument.
648         (egg-shrink-bunsetsu): Simplified.  Just call egg-enlarge-bunsetsu.
649         (egg-enlarge-bunsetsu): Support shrink.
650
651         (egg-decide-bunsetsu, egg-next-candidate, egg-select-candidate): 
652         Use egg-get-bunsetsu-info.
653
654         (egg-insert-bunsetsu): The property now includes
655         egg-conversion-backend.
656
657         * egg.el: Don't load its/hira and don't set its-current-map.
658
659         * egg.el (egg-default-language, egg-support-languages): New Variables.
660         (egg-last-method-name, egg-mode-line-title): New Local Variables.
661         (egg-set-mode-line-title, egg-check-language): New functions.
662         (egg-set-support-languages): New function.
663         (egg-mode): Final processing: call its-exit-mode, call
664         egg-exit-conversion.
665         Changing the arguments, remember last input method.
666
667         Bug fix. Don't set its-hira-period and its-hira-comma.
668
669 1998-02-17  KAWABATA, Taichi
670
671         * menudiag.el (menudiag-mode-map): New binds for new commands.
672         (menudiag-beginning-of-items, menudiag-end-of-items): New commands.
673         (menudiag-make-menu-formatted-string): Bug fix.  Use 
674         menudiag-item-num-to-char.
675         (menudiag-goto-item): Rewrite.  Better user interface.
676         (menudiag-char-to-item-num, menudiag-item-num-to-char): New
677         functions.
678
679 1998-02-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
680
681         * leim-list-egg.el: Delete autoload setting for `egg-mode'.
682         Delete input method registration for "japanese-egg".
683
684         * egg.el: Comment out setting for Wnn.
685
686         * leim-list-egg.el: Add autoload setting for
687         `egg-activate-{wnn|sj3}'.
688
689         * egg/sj3.el (egg-activate-sj3): Add DOC-string.
690
691         * egg/sj3.el (egg-activate-sj3): New function.
692         Require egg.
693         Load egg/sj3rpc.el.
694
695         * egg/wnn.el (egg-activate-wnn): New function.
696         Require egg.
697         Load egg/wnnrpc.el.
698
699 1998-02-07  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
700
701         * leim-list-egg.el (japanese-egg-wnn): New input method.
702         (japanese-egg-sj3): New input method.
703
704 1997-11-20  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
705
706         * leim-list-egg.el: Rename `egg-ja' -> `japanese-egg'.
707
708 1997-11-20  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
709
710         * egg/wnn.el (wnn): New group.
711         (wnn-server): Use `defcustom'.
712         (wnn-usr-dic-dir): Use `defcustom'.
713
714         * egg.el (egg): New group.
715
716 1997-11-20  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
717
718         * menudiag.el (menudiag-mode-map): Swap binding for left and
719         right.
720
721         * egg.el (egg-toroku-region): `wnn-get-environment' requires
722         dictionary-specification.
723
724         * leim-list-egg.el: add autoload setting for egg-mode.
725
726 1997-11-03  KATAYAMA Yoshio <kate@pfu.co.jp>
727
728         * euc-cn.el: New file.  Original name was yincoding.el.
729         Adopted by NIIBE Yutaka  <gniibe@mri.co.jp>.
730         
731 1997-11-03  NIIBE Yutaka  <gniibe@mri.co.jp>
732
733         * its.el (its-start): Add INVISIBLE property if ITS-FENCE-FACE.
734         * egg-cnv.el (egg-decide-before-point): Ditto.
735         Based on patch by Kenichi HANDA <handa@etl.go.jp>.
736
737         Once, I thought that we need many environments which correspond to
738         outstanding CONVERSION buffre.  However, I've learned that WNN4
739         protocol is completely independent.  It's no use to maintain each
740         environment.  Share the one environment.
741         * egg/wnn.el (wnn-environments): Removed.  
742         (wnn-environment): New variable.
743         (wnn-comm-sentinel): Follow the change.  Let users know the close.
744         (wnn-fini): Likewise.
745
746         <env>: Remove the member <in-use>.
747         (wnnenv-create): Follow the structure change.
748         (wnn-end-conversion): Likewise.
749         (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Removed.
750         (wnn-find-env-not-in-use): Removed.
751         (wnn-get-environment): Use wnn-environment instead of wnn-environments.
752         Take one argument.
753
754         * egg-cnv.el (egg-decide-before-point): Signal error on first SYL.
755         Reported by KATAYAMA Yoshio <kate@pfu.co.jp>.  Changes of 1997-09-07
756         was not enough.
757         Set-marker M to NIL after PUT-TEXT-PROPERTY.
758
759         Because the name of identifier begins egg-*, change the file names.
760         * tamago: Rename from tamago.
761         * egg.el, egg-mlh.el, egg-com.el, egg-cnv.el: Rename from tamago-*.el
762         * Makefile: Follow the changes.
763
764 1997-10-05  NIIBE Yutaka  <gniibe@mri.co.jp>
765
766         * tamago/wnn.el (wnn-uniq-candidates): Add new argument BUNSETSU.
767         Call WNN-BUNSETSU-SET-ZENKOUHO-POS, WNN-BUNSETSU-SET-ZENKOUHO in
768         this function.  Handle the case where BUNSETSU is not the first
769         element of BUNSETSU-LIST.
770         (wnn-list-candidates): Use new API of WNN-UNIQ-CANDIDATES.
771
772         * tamago-cnv.el (egg-next-candidate): Handle the case where
773         EGG-LIST-CANDIDATES returns non zero value.
774
775 1997-10-04  NIIBE Yutaka  <gniibe@mri.co.jp>
776
777         * Makefile (install): Install to SITEDIR.
778
779 1997-09-26  NIIBE Yutaka  <gniibe@mri.co.jp>
780
781         * its/hira.el (its-hira-enable-zenkaku-alphabet): New variable.
782         (its-hira-map): Use it.
783
784 1997-09-19  NIIBE Yutaka  <gniibe@mri.co.jp>
785
786         Arrange for LEIM.  Use tamago/ subdirectory.
787         * tamago/: Rename from tamago-lib.
788
789 1997-09-18  NIIBE Yutaka  <gniibe@mri.co.jp>
790
791         * tamago-cnv.el (egg-select-candidate): menu-select -->
792         menudiag-select. 
793         * tamago.el (egg-toroku-region, egg-hinshi-select): Likewise.
794
795         * tamago-cnv.el (egg-exit-conversion): Run hook of
796         input-method-after-insert-chunk-hook.
797         * its.el (its-exit-mode-internal): Ditto.
798
799         * tamago-mlh.el (mlh-comma-period-style): Deleted.
800
801         * its/, tamago-lib/: New directory.
802         * its/: Move its-*.el files here.
803         * tamago-lib/: Move sj3.el, sj3rpc.el, wnn.el and wnnrpc.el here.
804
805         * tamago-com.el: Rename from comm.el.
806         * tamago-mlh.el: Rename from mlh.el.
807         * tamago-cnv.el: Rename from convert.el.
808
809         * menudiag.el: Rename from menu.el.
810         (Throughout): Rename menu-* to menudiag-*.
811
812 1997-09-07  NIIBE Yutaka  <gniibe@mri.co.jp>
813
814         * egg.el (egg-insert-after-hook, egg-exit-hook): Removed.
815         (egg-sai-henkan-start, egg-sai-henkan-end, egg-old-bunsetu-suu):
816         Removed.
817
818         * wnn.el (WNN-const): New macro.
819         (wnn-start-conversion, wnn-open-dictionary, wnn-open-frequency,
820         wnn-set-dictionary-sub, wnn-update-frequency): Use it.
821
822         * wnnrpc.el (wnn-const): New macro.
823         Throughout: Use wnn-const.
824
825         * convert.el (egg-decide-before-point): Bug fix.  Handle the case
826         where all bunsetsu are decided.
827         Reported by KATAYAMA Yoshio <kate@pfu.co.jp>.
828
829         * convert.el (egg-exit-conversion): Call egg-end-conversion at end.
830         (egg-decide-before-point): Ditto.
831
832         * wnn.el (wnn-environments): Change the structure of enviromnents.
833         (wnn-fini): Handle errors.
834         (wnn-open): Set sentinel.  Delete buffer on failure.
835         (wnn-comm-sentinel): New function.
836         (wnn-find-env-not-in-use): Return nil when not found.
837
838         (wnn-create-environment): Take username as argument.
839         (wnn-get-environment): Follow the change.
840
841         (wnnenv-create): Remove useless serial no.
842         (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Follow the change.
843         (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Likewise.
844         (wnn-create-environment, wnn-get-environment): Likewise.
845
846 1997-09-04  NIIBE Yutaka  <gniibe@mri.co.jp>
847
848         * its.el (its-state-machine-keyseq): Bug fix.  Handle VSYL.
849
850         * sj3.el, sj3rpc.el: New files.
851
852         * comm.el (comm-call-with-proc, comm-call-with-proc-1): New macros.
853         * wnnrpc.el (wnnrpc-call-with-proc, wnnrpc-call-with-proc-1): Deleted.
854         Throughout: Use comm-call-with-proc and comm-call-with-proc-1.
855
856 1997-09-03  NIIBE Yutaka  <gniibe@mri.co.jp>
857
858         * wnnrpc.el (wnnrpc-call-with-proc-1): Bug fix.  let --> progn.
859
860         * convert.el (egg-conversion-backend): Initail value is NIL.
861
862         * wnn.el (wnn-conversion-backend): New constant.
863
864         * comm.el (comm-format,comm-unpack): Support multibyte string.
865         (comm-format-mb-string): New substitution.
866         (comm-unpack-mb-string): New substitution.
867
868         * wnn.el (wnn-fini): Handle the case where wnn-environments is nil.
869         Reported by Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>.
870
871 1997-09-03  Hiroshi Ogata <hiroshi@nereid.rim.or.jp>
872
873         * mlh.el (mlh-zenkaku): Use new API of Emacs-20,
874         japanese-zenkaku-region.
875
876 1997-09-02  NIIBE Yutaka  <gniibe@mri.co.jp>
877
878         * egg.el (egg-toroku-region): New function.
879
880         * wnn.el (wnn-list-dictionaries): New function.
881         (wnnenv-get-proc): New function.
882
883         * wnnrpc.el (wnndic-get-id, wnndic-get-comment, wnndic-get-dictname): 
884         New substitution.
885         (wnnrpc-get-writable-dictionary-id-list): Rename from
886         wnnrpc-get-writable-dictionary-list.
887
888 1997-09-01  NIIBE Yutaka  <gniibe@mri.co.jp>
889
890         * convert.el (egg-decide-bunsetsu): New function.
891         (egg-decide-before-point): New command.
892         (egg-exit-conversion): Use egg-decide-bunsetsu.
893
894         * its.el (its-start): Divide the fence buffer into two parts and
895         make them intangible, so that point goes appropriate position.
896         (its-put-cursor): The cursor belongs to part-2.
897         (its-buffer-ins/del-SYL): The new SYL belongs to part-1.
898         (its-exit-mode-internal): Remove the property on exit.
899         (its-beginning-of-input-buffer): Make SYLs have property of "part 2".
900         (its-backward-SYL): Likewise.
901         (its-forward-SYL): Make SYLs have property of "part 1".
902         (its-end-of-input-buffer): Likewise.
903
904         (its-input-end): Delete useless argument.
905         (its-beginning-of-input-buffer, its-exit-mode,
906         its-exit-mode-off-input-method, its-kick-convert-region,
907         its-end-of-input-buffer, its-backward-SYL, its-forward-SYL,
908         its-delete-SYL): Follow the change.
909
910 1997-08-31  NIIBE Yutaka  <gniibe@mri.co.jp>
911
912         For egg-mode, don't use minor mode, override local map instead.
913         For its-mode and egg-conversion-mode, don't use minor mode,
914         instead use local-map of text property.
915
916         Although overriding local map is not good, using local-map of
917         property is natural thing.  Besides, point-left/point-entered
918         don't work as I expected (yet).
919
920         * egg.el (egg-mode: variable): Removed.
921         * egg.el (egg-modefull-map, egg-modeless-map): Make them functions.
922         Generate overriding local map.
923         * egg.el (egg-mode): use overriding local map.
924
925         * its.el, convert.el: Undo changes of 1997-08-28 for minor mode
926         and local map of text properties.
927
928         * its.el (its-exit-mode-off-input-method): New function.
929
930 1997-08-29  NIIBE Yutaka  <gniibe@mri.co.jp>
931
932         Let Undo work correctly.
933         * its.el (its-self-insert-char): Delete/Insert cursor.
934
935         * its.el (its-put-cursor): Remove useless first argument.
936         (its-start, its-beginning-of-input-buffer, its-end-of-input-buffer,
937         its-backward-SYL, its-forward-SYL, its-delete-SYL, its-delete-SYL,
938         its-delete-backward-SYL-internal, its-delete-backward-within-SYL): 
939         Follow the change.
940
941 1997-08-28  KATAYAMA Yoshio <kate@pfu.co.jp>
942
943         * its-erpin.el: New file.
944         * its-pinyin.el: New file.
945         * its-zhuyin.el: New file.
946
947 1997-08-28  NIIBE Yutaka  <gniibe@mri.co.jp>
948
949         * its.el (its-exit-mode-no-egg): Removed.
950         (its-exit-mode-internal): Remove first argument.
951         (its-kick-convert-region, its-delete-SYL,
952         its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
953         Follow the change.
954
955         Don't use local map of text properties, instead use minor mode.
956         * convert.el (egg-conversion-mode): New minor mode.
957         (egg-conversion-left, egg-conversion-enter): New functions.
958         (egg-insert-bunsetsu): remove local-map, add point-entered and
959         point-left properties.
960         (egg-exit-conversion): Likewise.
961         (egg-exit-conversion): Exit minor mode.
962
963         * its.el (its-put-cursor): remove local-map, add point-entered and
964         point-left properties.
965         (its-enter, its-left): New functions.
966         (its-mode): New variable.  New minor mode.
967
968 1997-08-27  NIIBE Yutaka  <gniibe@mri.co.jp>
969
970         * convert.el (egg-exit-conversion-no-egg): Removed.
971         (egg-exit-conversion): No argument, no egg-mode.
972
973         * convert.el (egg-convert-region): No egg-flag.
974         * its.el (its-exit-mode-internal): Follow it.
975         * mlh.el (mlh-space-bar-backward-henkan): Ditto.
976
977 1997-08-26  NIIBE Yutaka  <gniibe@mri.co.jp>
978
979         * wnn.el (wnn-change-bunsetsu-length): Don't use magic #3.
980
981         * convert.el (egg-insert-bunsetsu-list): Add optional argument
982         CONTIN.
983
984 1997-08-25  NIIBE Yutaka  <gniibe@mri.co.jp>
985
986         * convert.el (egg-insert-bunsetsu): Include seperator.  Add
987         intangible property to bunsetsu.
988         (egg-insert-bunsetsu-list): Follow the change.
989         (egg-backward-bunsetsu, egg-forward-bunsetsu, 
990         egg-select-candidate, egg-next-candidate, 
991         egg-shrink-bunsetsu, egg-enlarge-bunsetsu, 
992         egg-exit-conversion): Ditto.
993
994         * mlh.el (mlh-space-bar-backward-henkan): Call egg-convert-region
995         with last argument t.  Turn of egg-mode.
996
997 1997-08-24  NIIBE Yutaka  <gniibe@mri.co.jp>
998
999         * its.el (its-exit-mode-internal): Inactivate input method.
1000
1001         * wnn.el (wnn-end-conversion): Change the interface.
1002         (wnn-update-frequency): Follow the change.
1003         * convert.el (egg-exit-conversion): Follow the change.
1004
1005         * wnn.el (wnn-start-conversion): Change the return value interface.
1006         * convert.el (egg-convert-region): Follow the change.
1007
1008         * wnn.el (wnnenv-get-bunsetsu-pos, wnnenv-set-bunsetsu-pos): Removed.
1009         (wnn-get-bunsetsu-source-afterwards): Removed.
1010         (wnn-get-number-of-bunsetsu, wnn-get-bunsetsu-info): Removed.
1011         (wnnenv-get-bunsetsu-list, wnnenv-set-bunsetsu-list): Removed.
1012         (wnn-start-conversion): Don't call wnnenv-set-bunsetsu-list.
1013         (wnn-end-conversion): Ditto.
1014
1015 1997-08-23  NIIBE Yutaka  <gniibe@mri.co.jp>
1016
1017         * convert.el (egg-change-bunsetsu-length): Change the interface.
1018         (egg-shrink-bunsetsu,egg-enlarge-bunsetsu): Follow it.
1019
1020         (egg-source-maxlen-from-here): Removed.
1021         (egg-get-previous-bunsetsu): New function.
1022         (egg-select-candidate, egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
1023         egg-next-candidate): Use egg-get-previous-bunsetsu.
1024
1025 1997-08-20  NIIBE Yutaka  <gniibe@mri.co.jp>
1026
1027         * egg.el (minor-mode-alist): Don't show " EGG" in mode line.
1028         (egg-mode): Use input method indicator instead.
1029
1030 1997-07-20  NIIBE Yutaka  <gniibe@mri.co.jp>
1031
1032         * convert.el (egg-next-candidate): Rename from egg-next-conversion.
1033         (egg-previous-candidate): Rename from egg-previous-conversion.
1034         (egg-select-candidate): Follow the change of new interface.
1035         (egg-source-maxlen-from-here): Likewise.
1036
1037 1997-07-19  NIIBE Yutaka  <gniibe@mri.co.jp>
1038
1039         * wnn.el (wnn-start-conversion): Change the interface.  Return ENV
1040         and the list of bunsetsu.  Fix the documentation string too.
1041         * convert.el (egg-convert-region): Follow the change.
1042         (egg-insert-converted-result): Change the argument.
1043         (egg-insert-bunsetsu-list): Rename from egg-insert-converted-result.
1044         (egg-insert-bunsetsu): New function.
1045         (egg-get-number-of-bunsetsu,egg-get-bunsetsu-info): Removed.
1046         (egg-backward-bunsetsu): Don't use bunsetsu-pos.
1047
1048         * wnn.el (wnn-get-bunsetsu-converted): Change the interface.  Take
1049         BUNSETSU as the argument instead of ENV and POS.
1050         * convert.el (egg-get-bunsetsu-converted): Follow the change.
1051
1052         * wnn.el (wnn-bunsetsu-create): Take ENV as the first argument.
1053         (wnn-list-candidates): Dont take ENV.
1054         (wnn-bunsetsu-get-env): New substitution.
1055
1056         * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub): Take the argument
1057         for ENV, and use it for the argument of wnn-bunsetsu-create.
1058         (wnnrpc-receive-sho-bunsetsu-list): Take ENV as the first argument.
1059         (wnnrpc-renbunsetsu-conversion): Follow the change.
1060
1061 1997-07-17  NIIBE Yutaka  <gniibe@mri.co.jp>
1062
1063         * convert.el (egg-decide-candidate):  Change the interface.
1064         Take the argument bunsetsu-info instead of conversion-engine.
1065
1066         * wnn.el (wnn-get-candidate): Deleted.
1067
1068         * convert.el (egg-get-all-candidates): Change the interface.
1069         Take an argument bunsetsu-info instead of conversion-engine.
1070         (egg-select-candidate): Follow the change.
1071
1072         * convert.el (egg-set-bunsetsu-pos,egg-get-bunsetsu-pos): Deleted.
1073         (egg-list-candidates,egg-get-current-candidate-number): New stub.
1074         * wnn.el (wnn-bunsetsu-create): Add new member zenkouho-pos.
1075         (wnn-bunsetsu-get-zenkouho-pos,wnn-bunsetsu-set-zenkouho-pos): New
1076         functions.
1077         (wnn-list-candidates,wnn-get-current-candidate-number): New functions.
1078         (wnn-set-bunsetsu-pos,wnn-get-bunsetsu-pos): Deleted.
1079
1080         * convert.el (egg-get-number-of-candidates): Change the interface.
1081         Take an argument bunsetsu-info instead of conversion-engine.
1082         (egg-next-conversion,egg-select-candidate): Follow the change.
1083         * wnn.el (wnn-get-number-of-candidates): Follow the change.
1084
1085         * wnn.el (wnn-get-bunsetsu-source-afterwards): New function.
1086         (wnn-change-bunsetsu-length): Use it.
1087
1088         * convert.el (egg-get-bunsetsu-source): Change the interface.
1089         Take an argument bunsetsu-info instead of conversion-engine.
1090         (egg-enlarge-bunsetsu,egg-shrink-bunsetsu,egg-source-maxlen-from-here):
1091         Follow the change.
1092         * wnn.el (wnn-get-bunsetsu-source): Follow the change.
1093
1094         Put bunsetsu information on text property.
1095         * wnn.el (wnn-get-bunsetsu-info): New function.
1096
1097         * convert.el (egg-insert-converted-result): Put it on text property.
1098         (egg-conversion-backend): Add new interface
1099         wnn-get-bunsetsu-info.
1100         (egg-get-bunsetsu-info): New stub.
1101
1102 1997-07-17  KATAYAMA Yoshio <kate@pfu.co.jp>
1103
1104         * its.el (its-state-machine-keyseq, its-state-machine): Handle
1105         end-of-input correctly when going backward.
1106
1107 1997-07-16  NIIBE Yutaka  <gniibe@mri.co.jp>
1108
1109         * wnn.el (wnn-create-directory): Bug fix.  Really make directory.
1110
1111 1997-07-15  NIIBE Yutaka  <gniibe@mri.co.jp>
1112
1113         * its-hangul.el (its-define-hangul): Use its-defrule-otherwise.
1114
1115 1997-07-15  KATAYAMA Yoshio <kate@pfu.co.jp>
1116
1117         * its-hangul.el: Updated.
1118
1119 1997-06-19  NIIBE Yutaka  <gniibe@akebono.etl.go.jp>
1120
1121         * its-hira.el: its-hira-hankaku-escape --> its-hankaku-escape.
1122         its-hira-zenkaku-escape --> its-zenkaku-escape.
1123
1124 1997-06-14  NIIBE Yutaka  <gniibe@mri.co.jp>
1125
1126         * its.el: Change the data structure of <expr-output-back-list> so
1127         that it can encourage sharing same structure and it can use same
1128         structure of SYL.
1129         (its-ins/del-SYL-batch): Follow the change of data structure.
1130         (its-define-otherwise): Change the argument.
1131         (its-defrule-otherwise): New function.
1132         (its-eob-keyexpr, its-eob-back, its-make-class+back,
1133         its-make-otherwise): New substitutions.
1134
1135 1997-06-13  NIIBE Yutaka  <gniibe@mri.co.jp>
1136
1137         * its-kana.el: New file.  Taken from its/kanainput.el of Mule-2.3.
1138
1139         * its-hira.el: Use `define-its-state-machine'.
1140
1141         * its.el (its-zenkaku-escape, its-hankaku-escape): Make them
1142         defconst.
1143         (define-its-state-machine, define-its-state-machine-append): New
1144         macro.
1145
1146 1997-06-13  NIIBE Yutaka  <gniibe@akebono.etl.go.jp>
1147
1148         * its-hira.el ("n'"): Added.
1149
1150 1997-06-12  NIIBE Yutaka  <gniibe@akebono.etl.go.jp>
1151
1152         its-zenkaku-escape and its-hankaku-escape are also used in hangul.
1153         * its.el (its-zenkaku-escape, its-hankaku-escape): Moved to here
1154         and rename them.
1155         * its-hira.el (its-hira-hankaku-escape, its-hira-zenkaku-escape): 
1156         Removed.
1157
1158         * its.el (its-read-current-its-string): Removed.  There's the
1159         function `read-multilingual-string' already.
1160
1161 1997-06-12  KATAYAMA Yoshio <kate@pfu.co.jp>
1162
1163         * its-hangul.el: New file.
1164
1165 1997-06-10  NIIBE Yutaka  <gniibe@mri.co.jp>
1166
1167         Miscellaneous cosmetic changes.
1168         * comm.el: New file.  Move communication related funcitons from
1169         wnnrpc.el.
1170         (comm-format-u32c, and others): Rename from wnnrpc-*.
1171         * wnnrpc.el (Throughout): Follow the rename.
1172
1173         * wnn.el (wnnenv-get-in-use-flag): Rename from wnn-e-get-in-use.
1174         (wnnenv-set-in-use-flag): Rename from wnn-e-set-in-use.
1175         (Others): Rename from wnn-e-*.
1176         (wnn-bunsetsu-*): Rename from wnnrpc-b-*, and moved from wnnrpc.el.
1177
1178         * convert.el (egg-exit-conversion): Call egg-do-auto-fill.
1179
1180         * its.el (its-translate-region): Bug fix.  End of input.
1181         (its-state-machine): Bug fix.  Generate error if
1182         its-barf-on-invalid-keyseq.
1183         (its-exit-mode-internal): Call egg-do-auto-fill.
1184
1185         * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for ASCII.
1186
1187         * mlh.el (mlh-space-bar-backward-henkan): Call egg-do-auto-fill.
1188
1189         * egg.el: Comment out definition of C-\ in global-map.
1190
1191 1997-06-09  NIIBE Yutaka  <gniibe@mri.co.jp>
1192
1193         * its.el (its-kick-convert-region): Rename from its-convert-region.
1194         (its-mode-map): Follow the change.
1195
1196         (its-make-next-state): Use list instead of cons.
1197
1198         (its-get-kst/t): Make it substitution.
1199         (its-set-kst, its-get-keyseq, its-set-keyseq, its-kst-p, 
1200         its-get-output, its-set-output, its-get-keyseq-syl): Likewise.
1201         (its-new-state, its-new-map, its-get-indicator, its-set-indicator,  
1202         its-get-start-state, its-reset-start-state): Likewise.
1203
1204         (its-get-next-state): Use assq instead of assoc.
1205
1206         (its-goto-state): Tune up.
1207
1208 1997-06-08  NIIBE Yutaka  <gniibe@mri.co.jp>
1209
1210         * mlh.el: Merge mlh-nihongo.el.
1211         * mlh-nihongo.el: Removed.
1212
1213         * its-hira.el: Moved from its/hira.el.  Move comments to HISTORY.
1214         (its-hira-enable-double-n, its-hira-period, its-hira-comma,
1215         its-hira-open-bracket, its-hira-close-bracket,
1216         its-hira-horizontal): New variables.
1217         Use the variables to define the state-machine.
1218
1219         Implement non-interactive translation in ITS.
1220         * its.el (its-translate-region): New function.
1221         (its-latest-SYL): New Variable.
1222         (its-state-machine-keyseq): Use it.
1223         (its-update-latest-SYL): New function.
1224         (its-buffer-ins/del-SYL): Use it.
1225         (its-translation-result): New variable.
1226         (its-ins/del-SYL-batch): New function.
1227         (its-enable-double-n-syntax, its-use-kuten-for-period,
1228         its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
1229         Removed.
1230
1231         Use ITS, delete mlh's own implementation of automata.
1232         * mlh.el (mlh-start-state, mlh-set-of-chars, mlh-start-state-sym,
1233         mlh-set-of-chars-sym, mlh-define-automata, mlh-end-of-definition,
1234         mlh-defrule, mlh-next-state, mlh-roma-kana-backward): Removed.
1235         (mlh-cause-error-when-unknown-romaji-sequence): Removed.
1236         (mlh-atoi): Removed.
1237         (mlh-white-space, mlh-zenkaku-white): Use string-to-int.
1238         * mlh-nihongo.el (mlh-hira-start-state, mlh-hira-chars, and all
1239         rules of definition which defines the automaton): Removed.
1240         (mlh-kanji-with-henkan-region-function): Use its-translate-region.
1241         (mlh-hiragana, mlh-katakana): Likewise.
1242
1243         Fix of CCL.
1244         * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for jisx0212.
1245         Add missing parens.
1246
1247         Speed up of unpacking.
1248         * wnnrpc.el (wnnrpc-following-char-or-wait): Tune up.
1249         (wnnrpc-following+forward-char): New function.
1250         (wnnrpc-unpack-u32c, wnnrpc-unpack-u32, wnnrpc-unpack-u16,
1251         wnnrpc-unpack-u8): Use it.
1252         (wnnrpc-accept-process-output): New function.
1253         (wnnrpc-unpack-u16-string, wnnrpc-unpack-u8-string,
1254         wnnrpc-unpack-bytes): Use it.  Use search-forward.
1255         (wnnrpc-unpack-u16-string): Use decode-coding-region.
1256
1257 1997-06-07  NIIBE Yutaka  <gniibe@mri.co.jp>
1258
1259         * wnn.el (wnn-get-all-candidates): New function.
1260         (wnn-set-bunsetsu-pos): Return 0 (instead of -1).
1261
1262         * convert.el (egg-get-candidate): Removed.
1263         (egg-get-all-candidates): New entry function.
1264         (egg-conversion-backend): Entry for egg-get-all-candidates.
1265         (egg-select-candidate): New function.
1266         (egg-conversion-map): Bind "\M-s" and egg-select-candidate.
1267
1268 1997-06-05  NIIBE Yutaka  <gniibe@mri.co.jp>
1269
1270         * bushu.el: Renamed from busyu.el.
1271         (bushu-break-string, etc): Renamed from busyu*.
1272
1273         * menu.el: Completely rewritten.
1274
1275 1997-06-03  NIIBE Yutaka  <gniibe@akebono.etl.go.jp>
1276
1277         * its.el (its-reset-start-state): Bug fix.  Delete a CDR.
1278
1279         Implement "class of key" transition.
1280         Change the structure of <state>, the last member is
1281         <key-state-table/terminal> instead of <key-state-alist/terminal>.
1282         * its.el (its-kst-p): Rename from its-ksa-p.
1283         (its-get-next-state): Follow the change of the data structure.
1284         (its-state-machine): Likewise.
1285         (its-make-next-state): Likewise.
1286         (its-set-kst): New function.
1287         (its-get-otherwise): New function.
1288         (its-otherwise-match): New function.
1289         (its-define-otherwise-terminate-here): Removed.
1290         (its-define-otherwise): New function.
1291         (its-defrule*): Use its-define-otherwise.
1292
1293         * its/hira.el (n): Use its-define-otherwise.
1294
1295 1997-06-02  NIIBE Yutaka  <gniibe@mri.co.jp>
1296
1297         * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub,
1298         wnnrpc-receive-sho-bunsetsu-list-sub-2): Splited from
1299         wnnrpc-receive-sho-bunsetsu-list.
1300         (wnnrpc-receive-dai-bunsetsu-list): New function.
1301         (wnnrpc-daibunsetsu-conversion, wnnrpc-get-daibunsetsu-candidate): 
1302         New function.
1303
1304 1997-06-01  NIIBE Yutaka  <gniibe@mri.co.jp>
1305
1306         * wnnrpc.el (ccl-decode-fixed-euc-jp): Clean it up.
1307         (wnnrpc-file-attribute): Rename from wnnrpc-stat-file.
1308         (wnnrpc-get-dictionary-list-with-environment): Rename from
1309         wnnrpc-get-dictionary-list-with-environment.
1310
1311         Implement RPC more.
1312         * wnnrpc.el (wnnrpc-who, wnnrpc-get-env-list, wnnrpc-kill,
1313         wnnrpc-delete-dictionary, wnnrpc-set-flag-on-dictionary,
1314         wnnrpc-get-dictionary-list, wnnrpc-delete-word,
1315         wnnrpc-receive-word, wnnrpc-search-word,
1316         wnnrpc-search-word-in-dictionary, wnnrpc-get-word-info,
1317         wnnrpc-set-comment-on-word, wnnrpc-get-dictionary-info,
1318         wnnrpc-set-file-comment, wnnrpc-hinshi-name,
1319         wnnrpc-set-file-password, wnnrpc-set-hinshi-table): New functions.
1320
1321 1997-05-31  NIIBE Yutaka  <gniibe@mri.co.jp>
1322
1323         * wnnrpc.el (wnnrpc-format-u32c, wnnrpc-unpack-u32c): New
1324         substitutions.  Support 32-bit number represented in cons cell of
1325         a pair of 16-bit integer.
1326         (wnnrpc-format, wnnrpc-unpack): Handle u32c (U).
1327
1328         (wnnrpc-format-bytes, wnnrpc-unpack-bytes): New substitutions.
1329         Support byte stream end with 255(-1).
1330         (wnnrpc-format, wnnrpc-unpack):  Handle bytes (B).
1331
1332         (wnnrpc-local-file-loaded): New function.
1333         (wnnrpc-call-with-proc-1): New macro.  Assume the buffer is the one
1334         of process.
1335
1336 1997-05-29  NIIBE Yutaka  <gniibe@mri.co.jp>
1337
1338         * wnnrpc.el (wnnrpc-get-conversion-parameters, wnnrpc-file-loaded,
1339         wnnrpc-write-file, wnnrpc-get-fuzokugo-file, wnnrpc-get-file-list,
1340         wnnrpc-get-file-list-with-env, wnnrpc-stat-file,
1341         wnnrpc-get-file-info): New functions.
1342         wnnrpc-receive-file-list): New subst.
1343
1344 1997-05-29  Kenichi Handa  <handa@etl.go.jp>
1345
1346         * wnnrpc.el (ccl-decode-fixed-euc-jp): Tune it up.
1347
1348 1997-05-29  Hisashi Miyashita  <himi@bird.scphys.kyoto-u.ac.jp>
1349
1350         * wnnrpc.el (fixed-euc-jp, ccl-decode-fixed-euc-jp,
1351         ccl-encode-fixed-euc): New private coding system.  Encode/decode
1352         CCL for it.
1353
1354 1997-05-27  NIIBE Yutaka  <gniibe@mri.co.jp>
1355
1356         * wnnrpc.el (wnnrpc-tanbunsetsu-conversion): Change the argument.
1357         (wnnrpc-get-bunsetsu-candidates): Likewise.
1358         (wnnrpc-renbunsetsu-conversion): Likewise.
1359
1360         * wnn.el (wnn-change-bunsetsu-length): Follow the change.
1361         (wnn-set-bunsetsu-pos): Likewise.
1362         (wnn-change-bunsetsu-length, wnn-start-conversion): Likewise.
1363
1364 1997-05-25  NIIBE Yutaka  <gniibe@mri.co.jp>
1365
1366         * wnnrpc.el (wnnrpc-add-word, wnnrpc-get-dictionary-list,
1367         wnnrpc-receive-dictionary-list, wnnrpc-get-writable-dictionary-list,
1368         wnnrpc-get-hinshi-list, wnnrpc-hinshi-number): New functions.
1369         (wnnrpc-unpack-u16-string): Bug fix for the case of ASCII string.
1370
1371         * wnn.el (wnn-dictionary-specification): Add dictionaries of
1372         gerodic and ones of WNN consortium.
1373
1374         Implement a false path.
1375         * wnnrpc.el (wnnrpc-renbunsetsu-conversion): Generate an error on
1376         failure.
1377         (wnnrpc-get-bunsetsu-candidates): Ditto.
1378         (wnnrpc-tanbunsetsu-conversion): Ditto.
1379
1380         Implement a false path.  Error recovery.
1381         * wnn.el (wnn-create-directory, wnn-open-dictionary,
1382         wnn-open-frequency, wnn-query-del/create-frequency): New function.
1383         (wnn-set-dictionary-sub): New function.
1384
1385 1997-05-24  NIIBE Yutaka  <gniibe@mri.co.jp>
1386
1387         * wnnrpc.el (wnnrpc-version, wnnrpc-access, wnnrpc-mkdir,
1388         wnnrpc-create-dictionary, wnnrpc-create-frequency, 
1389         wnnrpc-discard-file, wnnrpc-remove-file): New functions.
1390         (wnnrpc-test-result-and-get-error): New subst.
1391
1392         Implement a false path from wnnrpc-set-fuzokugo-file.
1393         * wnnrpc.el (wnnrpc-set-fuzokugo-file): Return negate-encoded
1394         error code on failure.
1395         * wnn.el (wnn-create-environment): Generate an error message.
1396
1397         Implement a false path from wnnrpc-open-file.
1398         * wnnrpc.el (wnnrpc-open-file): Change the interface.  Return
1399         negate-encoded error code on failure.
1400         * wnn.el (wnn-open-file): New function.
1401         (wnn-create-environment): Handle return value, and generate
1402         an error message for wnnrpc-set-fuzokugo-file on failure.
1403         (wnn-set-dictionary): Handle return value.
1404
1405 1997-05-17  NIIBE Yutaka  <gniibe@mri.co.jp>
1406
1407         * wnnrpc.el (wnnrpc-error-message): Error strings taken from
1408         Wnn-4.2 distribution.
1409         (wnnrpc-errono): Removed.
1410
1411         Implement a false path from wnnrpc-open.
1412         * wnnrpc.el (wnnrpc-open): Change the interface.  Return NIL on
1413         success, error code on failure.
1414         * wnn.el (wnn-open): Delete process and buffer.
1415         Generate an error on failure.
1416         (wnn-get-environment): Follow the change (none).
1417         (wnn-start-conversion): Follow the change (none).
1418         * convert.el (egg-convert-region): Follow the change.  Call
1419         delete-region after egg-start-conversion.
1420
1421         Implement a false path from wnnrpc-connect.
1422         * wnnrpc.el (wnnrpc-connect): Change the interface.  Return
1423         negate-encoded error code on failure.
1424         * wnn.el (wnn-create-environment): Generate an error on failure.
1425         (wnn-get-environment): Follow the change.  On failure, don't
1426         register the environment to wnn-environments.
1427
1428 1997-05-16  NIIBE Yutaka  <gniibe@akebono.etl.go.jp>
1429
1430         Dynamically allocate environment arbitrarily.
1431         * wnn.el (wnn-create-environment): Change the structure of ENV.
1432         (wnn-e-get-in-use, wnn-e-set-in-use): New subst.
1433         (wnn-end-conversion): Call wnn-e-set-in-use.
1434         (wnn-get-environment, wnn-find-env-not-in-use): New function.
1435         (wnn-start-conversion): Call wnn-get-environment.
1436
1437         * wnn.el (wnn-fini): Implemented.
1438
1439 1997-05-15  NIIBE Yutaka  <gniibe@mri.co.jp>
1440
1441         * convert.el (egg-start-conversion): Change the interface.
1442         (egg-convert-region): Follow the change.
1443         (egg-open-if-not): Removed.
1444         * wnn.el (wnn-start-conversion): Follow the change.
1445
1446         * wnn.el (wnn-environment-list): Removed.
1447         (wnn-environment-serial): Removed.
1448         (wnn-connect-and-init): Removed.
1449         (wnn-environments): New variable which holds all environments.
1450
1451 1997-05-15  NIIBE Yutaka  <gniibe@akebono.etl.go.jp>
1452
1453         * wnn.el (wnn-change-bunsetsu-length): Bug fix.  Last argument to
1454         wnnrpc-b-set-freq-down is list of bunsetsu.
1455
1456         * mlh.el (mlh-do-spacing): Emacs 20 related changes.  
1457         Use category-set-mnemonics, and char-category-set.
1458         According to suggestion by Kenichi Handa <handa@etl.go.jp>.
1459
1460 1997-05-15  MORIOKA Tomohiko <morioka@jaist.ac.jp>
1461
1462         * wnn.el (wnn-usr-dic-dir): New variable.
1463         (wnn-filename): Use wnn-usr-dic-dir.
1464
1465         * its.el (its-defrule): New argument `enable-overwrite'.
1466
1467 1997-05-14  NIIBE Yutaka  <gniibe@mri.co.jp>
1468
1469         * convert.el (egg-exit-conversion-unread-char): Use newer variable
1470         unread-command-events, as unread-command-char is obsolete.
1471         (egg-shrink-bunsetsu, egg-source-maxlen-from-here,
1472         egg-enlarge-bunsetsu, egg-next-conversion, egg-exit-conversion,
1473         egg-exit-conversion, egg-insert-converted-result): New property
1474         EGG-CONVERSION-ENGINE, which specifis backend.
1475
1476         (egg-start-conversion, egg-get-number-of-bunsetsu,
1477         egg-get-bunsetsu-converted, egg-set-bunsetsu-pos,
1478         egg-get-bunsetsu-pos, egg-get-number-of-candidates,
1479         egg-get-candidate, egg-decide-candidate,
1480         egg-change-bunsetsu-length, egg-get-bunsetsu-source,
1481         egg-end-conversion): Change the interface, new argument c.
1482         * wnn.el (wnn-start-conversion, wnn-get-number-of-bunsetsu,
1483         wnn-get-bunsetsu-converted, wnn-set-bunsetsu-pos, 
1484         wnn-get-bunsetsu-pos, wnn-get-number-of-candidates, 
1485         wnn-get-candidate, wnn-decide-candidate, 
1486         wnn-change-bunsetsu-length, wnn-get-bunsetsu-source, 
1487         wnn-end-conversion): Likewise.
1488
1489         * convert.el (egg-open-if-not): Change the interface.  Return
1490         conversion backend.
1491
1492         * wnnrpc.el (wnnrpc-following-char-or-wait, wnnrpc-unpack-u32,
1493         wnnrpc-unpack-u16, wnnrpc-unpack-u8, wnnrpc-unpack-u16-string,
1494         wnnrpc-unpack-u8-string): Change the interface to avoid
1495         compilation warnings.
1496         (wnnrpc-unpack): Use new interface.
1497
1498         * wnn.el (wnn-open): Change the name of WNN buffer as debug has
1499         been done.
1500
1501 1997-05-11  NIIBE Yutaka  <gniibe@mri.co.jp>
1502
1503         * wnnrpc.el (wnnrpc-following-char-or-wait): Rename from
1504         wnn-following-char-or-wait.
1505         (wnnrpc-following-char-or-wait): Declare with DEFUN instead of
1506         DEFSUBST.
1507
1508 1997-05-10  NIIBE Yutaka  <gniibe@mri.co.jp>
1509
1510         * Throughout: Use JUNET coding system for file format.
1511
1512         * mlh.el: Move some comments to HISTORY.
1513         (mlh-version): Removed.
1514         Remove all autoload entries.
1515         (henkan-region-function): Removed.
1516         (member): Don't need any more.
1517
1518         * mlh-nihongo.el: Renamed from nihongo.el.
1519
1520         * mlh.el (mlh-space-bar-backward-henkan): call egg-convert-region
1521         directly.
1522         (mlh-space-bar-backward-henkan): Fix for Emacs 20.
1523         Don't call egg:do-auto-fill.
1524         (mlh-backward-henkan): Use set-marker-insertion-type.
1525         (mlh-do-spacing): Char-category.
1526
1527         * mlh.el, nihongo.el: Taken from mlh-1.002 distribution.
1528
1529 1997-05-07  NIIBE Yutaka  <gniibe@mri.co.jp>
1530
1531         * convert.el (egg-update-frequency): Removed.
1532         (egg-conversion-backend): Remove entry for update-frequency.
1533
1534         * wnn.el (wnn-dictionary-specification): Change parameters
1535         according to suggestion by Tomoko Yoshida in mule-jp@etl.go.jp.
1536         Original had been taken from wnn-4.2.
1537
1538 1997-05-06  NIIBE Yutaka  <gniibe@mri.co.jp>
1539
1540         * convert.el (egg-next-conversion): Bug fix.  It's max+ instead of n.
1541
1542 1997-05-05  NIIBE Yutaka  <gniibe@mri.co.jp>
1543
1544         * wnnfns.c (Fwnn_get_bunsetsu_converted): Rename from
1545         get-converted-bunsetsu.
1546         (Fwnn_get_bunsetsu_source): Ditto.
1547         * convert.el (egg-get-bunsetsu-converted): Ditto.
1548         (egg-get-bunsetsu-source): Ditto.
1549
1550         * wnn.el (wnn-create-environment): New file which mimics API of
1551         wnnfns.c.
1552
1553 1997-04-29  NIIBE Yutaka  <gniibe@mri.co.jp>
1554
1555         * wnnrpc.el: New file which implements Remote Procedure Calls of WNN.
1556
1557 1997-04-16  NIIBE Yutaka  <gniibe@mri.co.jp>
1558
1559         * its/kanainput.el (normal-pair): Use its-defrule*.
1560
1561         * its.el (its-defrule*): Rewritten.
1562
1563         * its/hira.el ("n"): Alternative implementation using 'otherwise'.
1564
1565         * its.el (its-processing-map): Removed.
1566         (its-register-map): Rename from its-set-map.
1567         (its-register-map): Remove first argumet NAME.
1568         (its-defrule): Remove last optional argument END.
1569         (its-define-otherwise-terminate-here): New function.
1570         (its-goto-state): New function.
1571         (its-defrule, its-defoutput): Use its-goto-state.
1572
1573 1997-04-12  NIIBE Yutaka  <gniibe@mri.co.jp>
1574
1575         * its.el: Enhance meaning of ITS state machine.  Now, <key>
1576         includes representation of "ANY of key stroke" (-2).
1577         (its-defrule): New feature end=='otherwise.
1578         (its-defrule*): New function.
1579         (its-state-machine): Implement otherwise-terminate-before-this-key.
1580
1581         * its/kanainput.el (its-k-zenkaku-escape, its-k-hankaku-escape,
1582         its-k-symbols-escape): Add prefix its-.  Let them defconst.
1583         "W": Move the definition beginning to avoid error.
1584
1585 1997-03-26  NIIBE Yutaka  <gniibe@mri.co.jp>
1586
1587         * convert.el (egg-next-conversion): -1 goes to end of bunsetsu.
1588
1589 1997-03-25  NIIBE Yutaka  <gniibe@mri.co.jp>
1590
1591         * egg.el (egg-mode-on, egg-input-mode, egg-in-fence-mode): Deleted.
1592         (egg-fence-face-on, egg-fence-face-off): Deleted.
1593         (egg-region-start, egg-region-end): Deleted.
1594
1595 1997-03-24  NIIBE Yutaka  <gniibe@mri.co.jp>
1596
1597         * its/hira.el ("n"): Add "z" and "?" for prefetch char of "n".
1598
1599         Implement conversion mode.
1600         * convert.el: New file.
1601
1602 1997-03-23  NIIBE Yutaka  <gniibe@mri.co.jp>
1603
1604         * its.el (its-mode-map): As "\C-g" is used in global-map, use
1605         "\C-]" instead (for its-cancel-input).
1606
1607 1997-03-22  NIIBE Yutaka  <gniibe@mri.co.jp>
1608
1609         Introduce new scheme to specify server.
1610         * wnnfns.c (Qjserver, Qcserver, Qtserver, Qkserver): Removed.
1611         (Vwnn_server_type): Integer variable.
1612         (wnn_get_server_type): Renamed from wnn_check_server_type.
1613         (charset_wnn_server_type): Renamed from lc_wnn_server_type.
1614
1615         Introduce new scheme to specify uniqueness.
1616         * wnnfns.c (Qwnn_no_uniq, Qwnn_uniq, Qwnn_uniq_kanji): Removed.
1617         (Vwnn_uniqueness_specifier): Integer variable.  Renamed from
1618         wnn_uniq_level.
1619
1620 1997-03-21  NIIBE Yutaka  <gniibe@mri.co.jp>
1621
1622         Cosmetic changes.
1623         * wnnfnc.c (Throughout): Change Lisp function name to follow the
1624         format of wnn-VERB-OBJECT.
1625         Use XFASTINT instead of XINT, if appropriate.
1626         
1627         * wnnfns.c (Fwnn_fuzokugo_set): Merged with wnn-set-fuzokugo of
1628         wnn-egg.el.
1629
1630         * wnn-egg.el (wnn-set-fuzokugo): Deleted.
1631
1632         * wnnfns.c (Fwnn_dict_add): Merged with wnn-add-dict of wnn-egg.el.
1633         * wnn-egg.el (wnn-add-dict): Deleted.
1634
1635         * wnn-egg-msg.el (wnn-msg-get): Renamed from egg-msg-get.
1636         (wnn-message-alist): Renamed from egg-message-alist.
1637         Use defconst.
1638
1639         * wnnfns.c (wnn_check_server_type): Renemed from
1640         check_wnn_server_type.
1641
1642         * wnn-egg-msg.el (egg-error): Deleted.  Not useful enough.
1643         * wnn-egg.el (Throughout): Replace egg-error by error.
1644
1645         * egg.el (egg-sai-henkan-start, egg-sai-henkan-end,
1646         egg-old-bunsetu-suu): Moved from wnn-egg.el.
1647
1648         * wnn-egg.el (Throughout): Change variable name and function name.
1649         Added wnn- prefix, egg- prefix.
1650         * wnn-egg.el: Delete historical defaliases.  Only support 
1651         wnn-set-[cjk]server-hostname.
1652
1653         * wnn6.el: New file.  Discriminate Wnn6 related functions.
1654         * eggrc-wnn6: New file.  Discriminate Wnn6 related setting.
1655
1656         * egg-fence.el: Removed.
1657
1658 1997-03-20  NIIBE Yutaka  <gniibe@mri.co.jp>
1659
1660         Distingush continuation of egg-mode and turn off of egg-mode.
1661         * its.el (its-mode-map): Bind "\C-\\" to its-exit-mode-no-egg.
1662         (its-exit-mode-internal): New argument egg-mode-flag.
1663         (its-exit-mode-no-egg): New Function.
1664
1665         Rethink about keymap.  Once, the intention of egg-mode-map has
1666         been to override ALL of the keymap.  That's so selfish, and not
1667         friendly to other parts of Emacs.  This implementation intend to
1668         be more friendly with other keymaps.
1669         * its.el (its-mode-map): Remove definition of "\C-c" for
1670         its-cancel-input, as C-c has special meaning in Emacs.  We should
1671         not re-define it.  
1672         Remove definition of "\C-q" for its-select-previous-map.  
1673         Remove definition of "\C-_" for egg-jis-code-input.  
1674         Remove definition of "\C-w", "\C-@", [?\C-\ ] for
1675         egg-henkan-fence-region.
1676
1677         Implement START/CURSOR/END scheme.
1678         * its.el (its-input-to-vsyl): New function.
1679         (its-beginning-of-input-buffer): New function.
1680         (its-end-of-input-buffer): New function.
1681         (its-backward-SYL): New function.
1682         (its-forward-SYL): New function.
1683         (its-delete-SYL): New function.
1684         (its-delete-backward-SYL): New function.
1685         (its-delete-backward-SYL-internal): New function.
1686         (its-delete-backward-within-SYL): New function.
1687         (its-delete-by-keystroke): New Variable.
1688         (its-exit-mode): New function.
1689         (its-exit-mode-internal): New function.
1690
1691         * its.el (its-standard-map-list, its-find, its-next-map,
1692         its-previous-map): Deleted.
1693         (its-get-indicator): Delete duplicated definition.  Leave one which
1694         takes <map> argument.
1695         (its-input): Rename from its-input-subsubsub.
1696
1697         * egg.el (egg-mode-map): Don't include SPACE.
1698
1699         Introduce CURSOR.
1700         * its.el (its-state-machine): Add new argument EMIT.  Return CURSOR.
1701         (its-state-machine-keyseq): Likewise.
1702         (its-input-subsubsub): Return CURSOR.
1703         (its-input-subsub): Deleted.
1704         (its-DSYL-p): Deleted.
1705         (its-buffer-insert-SYL-list): Deleted.
1706         (its-buffer-ins/del-SYL): New function.
1707         (its-input-end): Change the argument to P of point, and return VOID.
1708
1709         Change structure of <map>.  <start-state> is normal <state>.
1710         (its-new-map): Follow the change of structure.
1711         (its-get-indicator, its-set-indicator, its-reset-start-state): 
1712         Likewise.
1713         (its-reset-start-state): Renamed from its-reset-start.
1714
1715         Don't use <input-buffer>, but introduce new scheme of SYL property.
1716         (its-change-t-to-nil, its-nil-index, its-bytes-between,
1717         its-delete-between, its-move-nil--->, its-move-nil-<--,
1718         its-move-nil-<--sub, its-move-nil-to-last, its-move-nil-to-first):
1719         Deleted.
1720
1721 1997-03-19  NIIBE Yutaka  <gniibe@mri.co.jp>
1722
1723         * its.el: Change the structure of DSYL.  Same as <state>.
1724         (its-input-subsub): Follow the change of structure.
1725         (its-make-DSYL): Deleted.
1726         (its-get-keyseq-cooked): New function.
1727
1728         Swap the meaning of T/NIL of <SYL>.
1729
1730         Delete the structure of <input-buffer>.
1731         (its-new-input-buffer): Deleted.
1732         (its-input-subsub): Remove the argument SYLP.
1733         (its-input, its-input-sub, its-init-text-properties): Deleted.
1734
1735         Introduce START, END and CURSOR.
1736
1737 1997-03-19  NIIBE Yutaka  <gniibe@akebono.etl.go.jp>
1738
1739         Global-map should be used, for key sequence not defined by
1740         its-mode-map and/or egg-mode-map.   Don't mask other maps.
1741         * its.el (its-mode-esc-map): Deleted.
1742         (its-mode-map): Include define-key of the esc-map here.
1743         * egg.el (egg-mode-esc-map): Deleted.
1744         (egg-mode-map): Include define-key of the esc-map here.
1745         
1746 1997-03-18  NIIBE Yutaka  <gniibe@mri.co.jp>
1747
1748         * its.el (its-input): Rename from its-input-input-buffer.
1749         (its-state-machine): Handle END of input (key == -1).
1750
1751         ITS minor mode deleted.  It's implemented by local-map of text
1752         properties.
1753         (its-mode): Remove the variable.
1754         (its-mode): Remove the function.
1755
1756         * its.el (<input-buffer>): Change the order of <SYL> list.  
1757         (car sylp) is last entry of the list.
1758         (its-input-buffer): Deleted.  It's now a member of text
1759         properties.
1760         (<map>): Change the structure.  Start state should have "" for keyseq.
1761         (its-get-start-state): Follow chage of the <map> structure.
1762         (its-reset-start, its-set-indicator, its-get-indicator): Likewise.
1763         (its-new-state, its-new-map): Split from its-new-state/map.
1764         (its-make-map): Deleted.
1765
1766 1997-03-17  NIIBE Yutaka  <gniibe@mri.co.jp>
1767
1768         * its.el (its-buffer-insert-SYL-list): Use insert-and-inherit to
1769         inherit properties.
1770         (its-fence-overlay): Removed. Don't use overlay, as it has no
1771         information in undo-list.
1772
1773 1997-03-16  NIIBE Yutaka  <gniibe@mri.co.jp>
1774
1775         * its/hira.el ("n"): Use new feature END.
1776         ("ppy", "bby", "ddy", "jjy", "zzy", "ggy", "lly", "rry", "hhy",
1777         "cch", "tts", "tty", "ssh", "ssy", "kky"): its-defoutput.
1778
1779         * its.el (its-defrule): Add argument END.
1780         (its-buffer-delete-SYL): Bug fix. Use length instead of string-width.
1781
1782 1997-03-15  NIIBE Yutaka  <gniibe@mri.co.jp>
1783
1784         * its.el (its-input-input-buffer): Implement the case of DSYL.
1785
1786 1997-03-14  NIIBE Yutaka  <gniibe@mri.co.jp>
1787
1788         * its.el (its-buffer-delete-SYL): Handle the case of NIL.
1789
1790         * its/hira.el: Implement "kka" and others.  Implemlement "N".
1791         (digit-characters, symbol-characters, downcase-alphabets,
1792         upcase-alphabets): Delete useless defvar-s.  
1793
1794 1997-03-14  NIIBE Yutaka  <gniibe@akebono.etl.go.jp>
1795
1796         * its/hira.el ("roma-kana"): Follow change of implementation of
1797         state machine.
1798
1799         Correct the abuse of the word "MODE".  It seems that it's direct
1800         influence of "mode" in Emacs, but it's not mode at all.
1801         * its.el (its-map-alist): Renamed from its-mode-alist.
1802         (its-get-map): Renamed from its-get-mode-map.
1803         (its-set-map): Renamed from its-set-mode-map.
1804         (its-define-state-machine): Renamed from its-define-mode.
1805         (its-select-map-menu): Renamed from its-select-mode-menu.
1806         (its-select-map-from-menu): Renamed from its-select-mode-from-menu.
1807         (its-standard-map-list): Renamed from its-standard-modes.
1808         (its-next-map): Renamed from its-next-mode.
1809         (its-previous-map): Renamed from its-previous-mode.
1810         (its-select-map): Renamed from its-select-mode.
1811         (its-get-indicator): Renamed from its-get-mode-indicator.
1812
1813         (its-select-map-from-menu): As it's not mode, don't need offer hooks.
1814         (its-next-map): Likewise.
1815         (its-previous-map): Likewise.
1816         (its-select-map): Likewise.
1817
1818         Change the implementation of its-mode-alist.  Name is in <map> now.
1819         * its.el (its-get-mode-map): Just do assoc.
1820         (its-set-mode-map): Simplified.
1821
1822         * its.el (its-get-indicator): Renamed from its-map-indicator.
1823         (its-set-indicator): Renamed from its-map-set-indicator.
1824         (its-get-start-state): Renamed from its-map-start.
1825         (its-new-state): Change the argunents.
1826         (its-map-set-start): Removed.
1827         (its-reset-start): New function.
1828
1829         Remove old implemantation of translator.
1830         * its.el (its-resize, its-maps, its-actions, its-inputs,
1831         its-level, its-maxlevel, its-char-from-buff, its-interactive):
1832         Removed.
1833         (its-make-action, its-reset-maps, its-current-map,
1834         its-previous-map, its-level, its-enter-newlevel, its-reset-input,
1835         its-flush-input-before-point, its-peek-char, its-read-char):
1836         Removed.
1837         (its-push-char, its-ordinal-charp, its-delete-charp): Removed.
1838         (its-translate-region): Removed.
1839         (its-buff-s, its-buff-e): Removed.
1840         (its-state-terminalp): Removed.
1841
1842         Remove selection of candidates in map, it's questionable to
1843         implement this feature with SYL.  Might rethink in future.
1844         (its-make-menu-from-map-result, its-make-alist-from-map-result):
1845         Removed.
1846         (its-make-menu-from-map, its-make-menu-from-map*): Removed.
1847         (its-make-alist-from-map, its-make-alist-from-map*): Removed.
1848         (its-completing-read): Removed.
1849         (its-minibuffer-local-must-match-map,
1850         its-minibuffer-local-completion-map): Removed.
1851         (its-minibuffer-completion-help, car-string-lessp,
1852         its-temp-echo-area-contents): Removed.
1853
1854         Implement SYL-based state machine.
1855         * its.el (its-input-buffer, its-barf-on-invalid-keyseq): New variables.
1856         (its-new-input-buffer): New function.
1857         (its-self-insert-char): New command.
1858         (its-initial-ISYL, its-make-DSYL, its-make-VSYL,
1859         its-input-input-buffer, its-input-input-buffer-sub,
1860         its-state-machine, its-state-machine-keyseq, 
1861         its-buffer-delete-SYL, its-buffer-insert-SYL-list,
1862         its-get-next-state, its-get-ksa/b, its-get-keyseq, its-ksa-p,
1863         its-get-output): New function.
1864         (its-get-KAS): Removed.
1865         (its-get-state, its-get-action, its-set-action): Removed.
1866         (its-make-KAS, its-get-KAS): Removed.
1867
1868         * its.el (its-defrule-sub): Merged into its-defrule.
1869
1870 1997-03-13  NIIBE Yutaka  <gniibe@akebono.etl.go.jp>
1871
1872         * its.el: (its-define-mode): Change the arguments.
1873         * its/zhuyin.el ("zhuyin"): Follow the changes of its-define-mode.
1874         * its/zenkaku.el ("zenkaku-downcase"): Likewise.
1875         * its/pinyin.el ("PinYin"): Likewise.
1876         * its/kata.el ("roma-kata"): Likewise.
1877         * its/kanainput.el ("kanainput"): Likewise.
1878         * its/hira.el ("roma-kana"): Likewise.
1879         * its/hankaku.el ("downcase"): Likewise.
1880         * its/hangul.el ("hangul"): Likewise.
1881         * its/han-kata.el ("roma-han-kata"): Likewise.
1882
1883         * its.el (its-action-output, its-action-next, its-get-next-map,
1884         its-set-next-map): Removed.
1885         (its-make-next-state): New function.
1886         (its-make-state): Removed.
1887
1888         * its.el (its-defrule-sub): Renamed from `its-defrule**'.
1889
1890         * wnnfns.h: New file.  Macros for WNN6 are defined here.
1891         * wnn6fns.c: New file.  Moved from wnnfns.c for WNN6 specific
1892         functions.
1893
1894 1997-03-12  NIIBE Yutaka  <gniibe@mri.co.jp>
1895
1896         * wnnfns.c: cosmetic changes (indentation, commenting-out-style,
1897         and compare to Qnil, etc).
1898         Get rid of "register" qualifier.
1899
1900 1997-03-05  NIIBE Yutaka  <gniibe@mri.co.jp>
1901
1902         * its.el (its-define-mode): Change internal structure.  Completely
1903         rewritten.
1904         (its-make-map): Function to make map.
1905         (its-make-state): New function.  Make new state.
1906         (its-make-KAS): New function.  Make Key-Action-State triad.
1907         (its-state-terminalp): New function.  True when the state is
1908         terminal.
1909         (its-map-indicator, its-map-set-indicator,): Changed.
1910         (its-map-terminalp, its-map-incrementalp,
1911         its-map-set-incrementalp, its-map-alist, its-map-set-alist,
1912         its-map-action, its-map-set-action): Removed.
1913
1914         (its-defrule-verbose): Deleted.  Seems debug purpose variable.
1915
1916         (its-make-map): Removed <state>.  It was useless space eater.
1917         (its-map-indicator, its-map-set-indicator, its-map-alist,
1918         its-map-set-alist, its-map-action, its-map-set-action): Follow the
1919         change.
1920         (its-define-mode): Likewise.
1921         (its-defrule**): Change the argument.  Delete STATE.
1922         (its-defrule): Likewise.
1923         (its-map-state, its-map-set-state): Removed.
1924
1925         <topmap>: Changed the structure.  Introduce <incrementalp>, which
1926         is t on hangul-map, zhuyin-map, and kanainput-map.
1927         (its-define-mode): Change the arguments.  INDICATOR and RESET is 
1928         always required.  Add new argument INCREMENTALP.
1929         * its/kanainput.el ("kanainput"): Use new API of its-define-mode.
1930         * its/hangul.el ("hangul"): Likewise.
1931         * its/zhuyin.el ("zhuyin"): Likewise.
1932         * its.el (its-make-terminal-state-sofar): Removed.
1933         (its-default-make-terminal-state): Removed.
1934         (its-make-terminal-state): Removed
1935         (its-make-non-terminal-state): Removed.  Not used.
1936         (its-map-incrementalp, its-map-set-incrementalp): New functions.
1937         
1938 1997-03-04  NIIBE Yutaka  <gniibe@mri.co.jp>
1939
1940         * its.el (its-defrule-conditional, its-defrule-conditional*):
1941         Removed.  Evaluating cond clause at runtime is stupid.  Rules
1942         should be determined at compile time, not at run time.
1943         (its-get-action): Simplified.  It's always standard.
1944         (its-make-terminal-state-sofar): Likewise.
1945         (its-make-action): Renamed from its-make-standard-action.
1946         (its-standard-actionp): Removed.  No use.
1947         (its-translate-region): Simplified.
1948
1949         (its-map-topmap-p): Removed.  No use.
1950
1951         (its-simple-actionp, its-collect-simple-action): Removed. No use.
1952
1953         (its-insert-output-string, its-display-status-string): Removed.
1954         It seemd these variables is to debug ITS itself.
1955         (its-translate-region): Simplified.
1956         
1957         * its/hira.el (".", ",", "n", "nn"): Rules should be determined at
1958         compile time.
1959         * its/han-kata.el: Likewise.
1960         * its/kata.el: Likewise.
1961
1962         * its.el (its-make-standard-action): Simplified.
1963         (its-make-standard-action): Remove alternative output.
1964         (its-standard-actionp): Simplified.
1965         (its-action-next): Simplified.
1966         (its-select-alternative-output-menu): Removed.  Not used at all.
1967         (its-select-alternative-output): Ditto.
1968
1969         * its/han-kata.el, its/zenkaku.el, its/kata.el, its/kanainput.el,
1970         its/hira.el, its/hankaku.el: Add (require cl).
1971
1972         * its.el (its-enable-double-n-syntax, its-use-kuten-for-period,
1973         its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
1974         Declare here.  Add prefix `its-'.  ):
1975
1976         (its-defrule, its-defrule*): Remove MAP argument.
1977         Merged into its-defrule.
1978
1979 1997-03-04  NIIBE Yutaka  <gniibe@akebono.etl.go.jp>
1980
1981         * its.el (its-completing-input-menu): Removed.  Not used.
1982         (its-completing-input): Ditto.
1983         (its-translate-region): Remove (null action) clause.  It's identical
1984         to 't' case.
1985
1986         (its-map-supers): Deleted.
1987         (its-map-set-supers): Ditto.
1988         (its-get-next-map-locally): Deleted.
1989
1990         (its-define-mode): Remove supers.
1991         (its-make-map): Likewise.
1992
1993         (its-simulate-input): sref -> aref. add char-bytes -> +1.
1994         (its-defrule**): Likewise.
1995
1996         (its-flush-input-before-point): Delete useless save-excursion.
1997         (its-push-char): Likewise.
1998         (its-translate-region): Likewise.
1999
2000         * its/zhuyin.el (its-make-terminal-state):
2001         * its/kanainput.el (its-make-terminal-state):
2002         * its/hangul.el (its-make-terminal-state):
2003         Use its-make-terminal-state-sofar.
2004
2005         * its/kanainput.el (its-make-terminal-state-kanainput): Removed.
2006
2007         * its.el (its-make-terminal-state-sofar): Renamed.
2008         (was: its-make-terminal-state-hangul)
2009
2010         * its/han-kata.el (its-select-hankaku-katakana): Renamed.
2011         (was: its:select-hankaku-katakana).
2012
2013         * its.el (its-map-topmap-p, its-map-supers, its-map-set-supers,
2014         its-map-terminalp, its-map-state, its-map-set-state,
2015         its-map-indicator, its-map-set-indicator, its-map-action,
2016         its-map-set-action, its-map-alist, its-map-set-alist,
2017         its-get-action, its-action-output, its-action-next,
2018         its-get-next-map, its-get-next-map-locally, its-set-next-map,
2019         its-collect-simple-action, its-read-current-its-string,
2020         its-make-map): Add prefix 'its-'.
2021
2022         * its.el (its-defrule-select-mode-temporally): Deleted.
2023         (its-select-mode-temporally): Deleted.
2024         (its-select-previous-mode): Deleted.
2025
2026         * its/hira.el ("q", "Q"): Removed.
2027
2028         * its.el (its-defrule**): Don't call coerce-internal-string.
2029         (map-state-string): Removed.
2030         (its-default-make-standard-non-terminal-state): Don't call
2031         map-state-string.
2032
2033         * egg.el (characterp, coerce-internal-string, coerce-string): Removed.
2034
2035         * its.el (its-insert-char): Deleted.
2036         (its-internal-mode-alist): Removed.
2037         (its-set-mode-map, its-define-mode): Remove internalp.
2038         (its-set-mode-indicator): Removed.
2039
2040         * egg-fence.el (egg-fence-self-insert-command): Add prefix 'egg-'.
2041
2042         * its.el (fence-self-insert-command): Move to egg-fence.el.
2043
2044         * egg-fence.el (egg-exit-fence-mode): Renamed (egg-fence-exit-mode).
2045         (egg-enter-fence-mode-and-self-insert): Deleted.
2046
2047         * egg.el (egg-quit-egg-mode): Deleted.
2048
2049         * egg-misc.el (egg-fence-toggle-egg-mode): Add prefix 'egg-'.
2050         (egg-fence-toggle-egg-mode): beep -> ding.
2051         (global-map): bind C-\ to egg-enter-fence-mode.
2052
2053 1997-03-02  NIIBE Yutaka  <gniibe@mri.co.jp>
2054
2055         * egg-henkan.el: New file.
2056
2057         Use new API (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi,
2058         egg-is-dai-bunsetu, bunsetu-suu, egg-hindo-update,
2059         egg-get-bunsetu-end).
2060
2061         * wnn-egg.el: Move egg-henkan-* to egg-henkan.el.
2062
2063         * wnn-egg.el (egg-startup-file-search-path): Remove current
2064         directory.
2065         (egg-open-wnn): Renamed from EGG-open-wnn.
2066         (bunsetu-suu): New function.
2067         (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi): New function.
2068         (egg-is-dai-bunsetu): New function.
2069         (egg-hindo-update): New function.
2070         (egg-get-bunsetu-end): New function.
2071         
2072         (egg-henkan-region, egg-gyaku-henkan-region,
2073         egg-henkan-region-internal, egg-henkan-paragraph,
2074         egg-gyaku-henkan-paragraph, egg-henkan-sentence,
2075         egg-gyaku-henkan-sentence, egg-henkan-word, egg-gyaku-henkan-word,
2076         egg-henkan-insert-kouho, egg-henkan-kakutei,
2077         egg-henkan-kakutei-first-char, egg-henkan-kakutei-before-point,
2078         egg-sai-henkan, egg-henkan-goto-bunsetu,
2079         egg-henkan-forward-bunsetu, egg-henkan-backward-bunsetu,
2080         egg-henkan-first-bunsetu, egg-henkan-last-bunsetu,
2081         egg-henkan-hiragana, egg-henkan-katakana, egg-henkan-next-kouho,
2082         egg-henkan-next-kouho-dai, egg-henkan-next-kouho-sho,
2083         egg-henkan-previous-kouho, egg-henkan-previous-kouho-dai,
2084         egg-henkan-previous-kouho-sho, egg-henkan-goto-kouho,
2085         egg-henkan-bunsetu-chijime-dai, egg-henkan-bunsetu-chijime-sho,
2086         egg-henkan-bunsetu-nobasi-dai, egg-henkan-saishou-bunsetu,
2087         egg-henkan-saichou-bunsetu, egg-bunsetu-length-henko,
2088         egg-henkan-quit, egg-henkan-select-kouho,
2089         egg-henkan-select-kouho-dai, egg-henkan-select-kouho-sho,
2090         egg-henkan-word-off, egg-henkan-kakutei-and-self-insert,
2091         egg-henkan-mode-map, egg-henkan-mode-esc-prefix,
2092         egg-henkan-help-command, egg-henkan-inspect-bunsetu):
2093         Add prefix `egg-'.
2094
2095         (egg-henkan-mode-in-use): Deleted.
2096         (set-egg-henkan-mode-format): Deleted.  Don't need.
2097
2098         (disconnect-wnn): Let it be normal function, instead of command.
2099         (close-wnn): Ditto.
2100
2101         (set-jserver-host-name, set-kserver-host-name,
2102         set-cserver-host-name): Use defalias.
2103
2104         (close-wnn): Take an argument of wnn-server-type.
2105         (wnn-egg-kill-emacs-function, set-wnn-host-name,
2106         set-cwnn-host-name, set-kwnn-host-name): Likewise.
2107
2108         * egg.el (egg-global-map-backup): Deleted.
2109         (egg-local-map-backup): Deleted.
2110         (egg-insert-after-hook): it's global variable, nod buffer-local.
2111
2112         * egg-fence.el (egg-henkan-fence-region, egg-enter-fence-mode,
2113         egg-fence-katakana, egg-fence-hiragana, egg-fence-hankaku,
2114         egg-fence-zenkaku, egg-fence-backward-char,
2115         egg-fence-forward-char, egg-fence-beginning-of-line,
2116         egg-fence-end-of-line, egg-fence-transpose-chars,
2117         egg-fence-delete-char, egg-fence-backward-delete-char,
2118         egg-fence-kill-line, egg-fence-exit-mode, egg-fence-cancel-input,
2119         egg-fence-mode-help-command): Add Prefix `egg-'.
2120
2121         (egg-fence-mode-map): Remove binding to eval-expression (C-z).
2122
2123         (egg-self-insert-non-undo-count): Removed.
2124         (egg-self-insert-command): Removed.
2125
2126         (egg-fence-backward-char, egg-fence-forward-char,
2127         egg-fence-transpose-chars, egg-fence-delete-char,
2128         egg-fence-backward-delete-char): beep -> ding.
2129         wnn-egg.el (egg-henkan-select-kouho): Likewise.
2130
2131 1997-02-27  NIIBE Yutaka  <gniibe@mri.co.jp>
2132
2133         * wnn-egg.el (push-end, push-end-internal): Removed.
2134
2135         * its.el (dolist): Removed.  It's in CL package.
2136         (for-each, for-each*): Removed.
2137
2138         * egg-keymap.el: Removed.  I guess noone use it.
2139
2140         * egg-jsymbol.el (*-alist): Declare by defconst.
2141
2142         * egg-misc.el (toggle-egg-mode): Removed.
2143
2144         * All files: Change the identifier XXX:YYYY --> XXX-YYYY,
2145         and *YYY* ---> YYY.
2146
2147         * egg-fence.el (enter-fence-mode): Use new API for marker
2148         insertion `set-marker-insertion-type'.
2149         * its.el (its-*buff-e*): Likewise.
2150
2151         * egg-jsymbol.el: lc-jp --> (charset-id 'japanese-jisx0208)
2152         lc-jp2 --> (charset-id 'japanese-jisx0212).
2153
2154 1997-02-26  NIIBE Yutaka  <gniibe@akebono.etl.go.jp>
2155
2156         * egg-fence.el (egg:fence-mode-map): Renamed from fence-mode-map.
2157         (egg:fence-mode-esc-prefix): Renamed from egg:fence-mode-esc-map.
2158         (henkan-fence-region-or-single-space): Removed.
2159
2160         * egg-misc.el (toggle-egg-mode): mc-flag
2161                 -> enable-multibyte-characters.
2162
2163         * its.el (read-current-its-string): New function.  Moved from
2164         wnn-egg-misc.el.
2165         (In meny functions): beep --> ding.
2166
2167         * egg-misc.el (read-hiragana-string): Removed.
2168         (read-kanji-string): Removed.
2169         (egg:special-symbol-input): Renamed from special-symbol-input.
2170         (egg:special-symbol-input-point): Renamed from
2171         special-symbol-input-point.
2172         (si:*global-map*): Remeved.
2173         Removed 'Changes on Global map'.
2174         (its-mode-map): Renamed from mule-keymap.
2175
2176         * wnn-egg.el (henkan-region-internal): Use new API for undo.
2177         (henkan-kakutei): Likewise.
2178         (henkan-kakutei-first-char): Likewise.
2179         (henkan-kakutei-before-point): Likewise.
2180         (sai-henkan): Likewise.
2181         * egg.el (egg:quit-egg-mode): Likewise.
2182
2183         * egg-fence.el (egg:*fence-open*, egg:*fence-close*,
2184         egg:*fence-face*): Let them be declared by defvar.
2185         (egg:*fence-open-in-cont*, egg:*fence-close-in-cont*,
2186         egg:*fence-face-in-cont*): Likewise.
2187
2188         (set-egg-fence-mode-format): Removed.  Useless.  Don't need to be
2189         interactive.
2190         (set-egg-fence-mode-format-in-cont): Removed.
2191         (egg:*face-alist*): Removed.
2192
2193         * wnn-egg-misc.el (its:select-mode, its:select-mode-from-menu,
2194         its:next-mode, its:previous-mode): 
2195         Removed (Merged into its.el).  
2196
2197         * its.el (its:select-mode, its:select-mode-from-menu,
2198         its:next-mode, its:previous-mode): Call hook of
2199         `its:select-mode-hook'.
2200
2201         * diced.el: Removed.  This depends on wnn.  Functions are moved to
2202         wnn-egg-dict.el.
2203
2204         * wnn-egg-dict.el (remove-regexp-in-string): Removed.
2205         (toroku-region): Don't call `remove-regexp-in-string'.  Removing
2206         invalid sequence (TAB?) automatically is not good idea.  It should
2207         notify user.  Currently, just don't remove.
2208
2209         * busyu.el (busyu-table): defconst instead of defvar.
2210         (busyu-kaku-alist): defconst instead of defvar.
2211
2212         * its.el (egg:member): Removed.  Not used.
2213
2214         * wnn-egg-msg.el (*egg-message-alist*): Include asking string in
2215         register-notify and remove-notify.  Should also change Korean and
2216         Chinese.
2217
2218         * egg.el: Removed "Tamago Notification System".
2219         It is useless, as we have *Messages* buffer in GNU Emacs 19.
2220
2221         * diced.el (diced-execute): Don't use `notify' but `message'.
2222         (set-dict-comment): Likewise.
2223         * its.el (its-defrule**): Likewise.
2224         * wnn-egg-dict.el (egg:toroku-word): Likewise.
2225         * wnn-egg-msg.el (egg:error): Likewise.
2226         * wnn-egg.el (set-wnn-param): Likewise.
2227         (EGG:open-wnn): Likewise.
2228         (close-wnn): Likewise.
2229         (henkan-word-off): Likewise.
2230         (henkan-inspect-bunsetu): Likewise.
2231
2232         * diced.el (diced-execute): Don't use `notify-yes-or-no-p' but use
2233         plain `yes-or-no-p' and format.
2234         * wnn-egg-dict.el (egg:toroku-word): Likewise.
2235
2236         * egg.el (notify-yes-or-no-p-internal): IIDESUKA is not good.
2237         it should get the message through egg:get-msg.  Currently, use
2238         "OK?".
2239         (notify-y-or-n-p-internal): Likewise.
2240
2241         * wnn-egg.el: Split into wnn-egg-dict.el, wnn-egg-misc.el, and
2242         wnn-egg-msg.el.
2243         (many functions): remove commented out line of
2244                 (open-wnn-if-disconnected).
2245
2246         * egg.el: Split into egg.el, egg-fence.el, egg-misc.el,
2247         jis-input.el, and modeline.el.
2248
2249         * wnn-egg.el (egg-default-startup-file): change to eggrc-wnn from
2250         eggrc.
2251         (henkan-region-internal): Use new API for marker insertion
2252         `set-marker-insertion-type'.
2253
2254 1997-02-13  NIIBE Yutaka  <gniibe@akebono.etl.go.jp>
2255
2256         * menu.el (menu:select-from-menu): Rewritten.