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