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