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