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