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