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