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