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