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