1 1998-02-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3 * leim-list-egg.el: Delete autoload setting for `egg-mode'.
4 Delete input method registration for "japanese-egg".
6 * egg.el: Comment out setting for Wnn.
8 * leim-list-egg.el: Add autoload setting for
9 `egg-activate-{wnn|sj3}'.
11 * egg/sj3.el (egg-activate-sj3): Add DOC-string.
13 * egg/sj3.el (egg-activate-sj3): New function.
17 * egg/wnn.el (egg-activate-wnn): New function.
21 1998-02-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
23 * leim-list-egg.el (japanese-egg-wnn): New input method.
24 (japanese-egg-sj3): New input method.
26 * egg/sj3rpc.el: Add `(provide 'egg/sj3rpc)'.
28 * egg/sj3.el: Add `(provide 'egg/sj3)'.
30 * egg/wnnrpc.el: Add `(provide 'egg/wnnrpc)'.
32 * egg/wnn.el: Add `(provide 'egg/wnn)'.
34 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
36 * leim-list-egg.el: Rename `egg-ja' -> `japanese-egg'.
38 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
40 * egg/wnn.el (wnn): New group.
41 (wnn-server): Use `defcustom'.
42 (wnn-usr-dic-dir): Use `defcustom'.
44 * egg.el (egg): New group.
46 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
48 * menudiag.el (menudiag-mode-map): Swap binding for left and
51 * egg.el (egg-toroku-region): `wnn-get-environment' requires
52 dictionary-specification.
54 * leim-list-egg.el: add autoload setting for egg-mode.
56 1997-11-03 KATAYAMA Yoshio <kate@pfu.co.jp>
58 * euc-cn.el: New file. Original name was yincoding.el.
59 Adopted by NIIBE Yutaka <gniibe@mri.co.jp>.
61 1997-11-03 NIIBE Yutaka <gniibe@mri.co.jp>
63 * its.el (its-start): Add INVISIBLE property if ITS-FENCE-FACE.
64 * egg-cnv.el (egg-decide-before-point): Ditto.
65 Based on patch by Kenichi HANDA <handa@etl.go.jp>.
67 Once, I thought that we need many environments which correspond to
68 outstanding CONVERSION buffre. However, I've learned that WNN4
69 protocol is completely independent. It's no use to maintain each
70 environment. Share the one environment.
71 * egg/wnn.el (wnn-environments): Removed.
72 (wnn-environment): New variable.
73 (wnn-comm-sentinel): Follow the change. Let users know the close.
76 <env>: Remove the member <in-use>.
77 (wnnenv-create): Follow the structure change.
78 (wnn-end-conversion): Likewise.
79 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Removed.
80 (wnn-find-env-not-in-use): Removed.
81 (wnn-get-environment): Use wnn-environment instead of wnn-environments.
84 * egg-cnv.el (egg-decide-before-point): Signal error on first SYL.
85 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>. Changes of 1997-09-07
87 Set-marker M to NIL after PUT-TEXT-PROPERTY.
89 Because the name of identifier begins egg-*, change the file names.
90 * tamago: Rename from tamago.
91 * egg.el, egg-mlh.el, egg-com.el, egg-cnv.el: Rename from tamago-*.el
92 * Makefile: Follow the changes.
94 1997-10-05 NIIBE Yutaka <gniibe@mri.co.jp>
96 * tamago/wnn.el (wnn-uniq-candidates): Add new argument BUNSETSU.
97 Call WNN-BUNSETSU-SET-ZENKOUHO-POS, WNN-BUNSETSU-SET-ZENKOUHO in
98 this function. Handle the case where BUNSETSU is not the first
99 element of BUNSETSU-LIST.
100 (wnn-list-candidates): Use new API of WNN-UNIQ-CANDIDATES.
102 * tamago-cnv.el (egg-next-candidate): Handle the case where
103 EGG-LIST-CANDIDATES returns non zero value.
105 1997-10-04 NIIBE Yutaka <gniibe@mri.co.jp>
107 * Makefile (install): Install to SITEDIR.
109 1997-09-26 NIIBE Yutaka <gniibe@mri.co.jp>
111 * its/hira.el (its-hira-enable-zenkaku-alphabet): New variable.
112 (its-hira-map): Use it.
114 1997-09-19 NIIBE Yutaka <gniibe@mri.co.jp>
116 Arrange for LEIM. Use tamago/ subdirectory.
117 * tamago/: Rename from tamago-lib.
119 1997-09-18 NIIBE Yutaka <gniibe@mri.co.jp>
121 * tamago-cnv.el (egg-select-candidate): menu-select -->
123 * tamago.el (egg-toroku-region, egg-hinshi-select): Likewise.
125 * tamago-cnv.el (egg-exit-conversion): Run hook of
126 input-method-after-insert-chunk-hook.
127 * its.el (its-exit-mode-internal): Ditto.
129 * tamago-mlh.el (mlh-comma-period-style): Deleted.
131 * its/, tamago-lib/: New directory.
132 * its/: Move its-*.el files here.
133 * tamago-lib/: Move sj3.el, sj3rpc.el, wnn.el and wnnrpc.el here.
135 * tamago-com.el: Rename from comm.el.
136 * tamago-mlh.el: Rename from mlh.el.
137 * tamago-cnv.el: Rename from convert.el.
139 * menudiag.el: Rename from menu.el.
140 (Throughout): Rename menu-* to menudiag-*.
142 1997-09-07 NIIBE Yutaka <gniibe@mri.co.jp>
144 * egg.el (egg-insert-after-hook, egg-exit-hook): Removed.
145 (egg-sai-henkan-start, egg-sai-henkan-end, egg-old-bunsetu-suu):
148 * wnn.el (WNN-const): New macro.
149 (wnn-start-conversion, wnn-open-dictionary, wnn-open-frequency,
150 wnn-set-dictionary-sub, wnn-update-frequency): Use it.
152 * wnnrpc.el (wnn-const): New macro.
153 Throughout: Use wnn-const.
155 * convert.el (egg-decide-before-point): Bug fix. Handle the case
156 where all bunsetsu are decided.
157 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>.
159 * convert.el (egg-exit-conversion): Call egg-end-conversion at end.
160 (egg-decide-before-point): Ditto.
162 * wnn.el (wnn-environments): Change the structure of enviromnents.
163 (wnn-fini): Handle errors.
164 (wnn-open): Set sentinel. Delete buffer on failure.
165 (wnn-comm-sentinel): New function.
166 (wnn-find-env-not-in-use): Return nil when not found.
168 (wnn-create-environment): Take username as argument.
169 (wnn-get-environment): Follow the change.
171 (wnnenv-create): Remove useless serial no.
172 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Follow the change.
173 (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Likewise.
174 (wnn-create-environment, wnn-get-environment): Likewise.
176 1997-09-04 NIIBE Yutaka <gniibe@mri.co.jp>
178 * its.el (its-state-machine-keyseq): Bug fix. Handle VSYL.
180 * sj3.el, sj3rpc.el: New files.
182 * comm.el (comm-call-with-proc, comm-call-with-proc-1): New macros.
183 * wnnrpc.el (wnnrpc-call-with-proc, wnnrpc-call-with-proc-1): Deleted.
184 Throughout: Use comm-call-with-proc and comm-call-with-proc-1.
186 1997-09-03 NIIBE Yutaka <gniibe@mri.co.jp>
188 * wnnrpc.el (wnnrpc-call-with-proc-1): Bug fix. let --> progn.
190 * convert.el (egg-conversion-backend): Initail value is NIL.
192 * wnn.el (wnn-conversion-backend): New constant.
194 * comm.el (comm-format,comm-unpack): Support multibyte string.
195 (comm-format-mb-string): New substitution.
196 (comm-unpack-mb-string): New substitution.
198 * wnn.el (wnn-fini): Handle the case where wnn-environments is nil.
199 Reported by Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>.
201 1997-09-03 Hiroshi Ogata <hiroshi@nereid.rim.or.jp>
203 * mlh.el (mlh-zenkaku): Use new API of Emacs-20,
204 japanese-zenkaku-region.
206 1997-09-02 NIIBE Yutaka <gniibe@mri.co.jp>
208 * egg.el (egg-toroku-region): New function.
210 * wnn.el (wnn-list-dictionaries): New function.
211 (wnnenv-get-proc): New function.
213 * wnnrpc.el (wnndic-get-id, wnndic-get-comment, wnndic-get-dictname):
215 (wnnrpc-get-writable-dictionary-id-list): Rename from
216 wnnrpc-get-writable-dictionary-list.
218 1997-09-01 NIIBE Yutaka <gniibe@mri.co.jp>
220 * convert.el (egg-decide-bunsetsu): New function.
221 (egg-decide-before-point): New command.
222 (egg-exit-conversion): Use egg-decide-bunsetsu.
224 * its.el (its-start): Divide the fence buffer into two parts and
225 make them intangible, so that point goes appropriate position.
226 (its-put-cursor): The cursor belongs to part-2.
227 (its-buffer-ins/del-SYL): The new SYL belongs to part-1.
228 (its-exit-mode-internal): Remove the property on exit.
229 (its-beginning-of-input-buffer): Make SYLs have property of "part 2".
230 (its-backward-SYL): Likewise.
231 (its-forward-SYL): Make SYLs have property of "part 1".
232 (its-end-of-input-buffer): Likewise.
234 (its-input-end): Delete useless argument.
235 (its-beginning-of-input-buffer, its-exit-mode,
236 its-exit-mode-off-input-method, its-kick-convert-region,
237 its-end-of-input-buffer, its-backward-SYL, its-forward-SYL,
238 its-delete-SYL): Follow the change.
240 1997-08-31 NIIBE Yutaka <gniibe@mri.co.jp>
242 For egg-mode, don't use minor mode, override local map instead.
243 For its-mode and egg-conversion-mode, don't use minor mode,
244 instead use local-map of text property.
246 Although overriding local map is not good, using local-map of
247 property is natural thing. Besides, point-left/point-entered
248 don't work as I expected (yet).
250 * egg.el (egg-mode: variable): Removed.
251 * egg.el (egg-modefull-map, egg-modeless-map): Make them functions.
252 Generate overriding local map.
253 * egg.el (egg-mode): use overriding local map.
255 * its.el, convert.el: Undo changes of 1997-08-28 for minor mode
256 and local map of text properties.
258 * its.el (its-exit-mode-off-input-method): New function.
260 1997-08-29 NIIBE Yutaka <gniibe@mri.co.jp>
262 Let Undo work correctly.
263 * its.el (its-self-insert-char): Delete/Insert cursor.
265 * its.el (its-put-cursor): Remove useless first argument.
266 (its-start, its-beginning-of-input-buffer, its-end-of-input-buffer,
267 its-backward-SYL, its-forward-SYL, its-delete-SYL, its-delete-SYL,
268 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
271 1997-08-28 KATAYAMA Yoshio <kate@pfu.co.jp>
273 * its-erpin.el: New file.
274 * its-pinyin.el: New file.
275 * its-zhuyin.el: New file.
277 1997-08-28 NIIBE Yutaka <gniibe@mri.co.jp>
279 * its.el (its-exit-mode-no-egg): Removed.
280 (its-exit-mode-internal): Remove first argument.
281 (its-kick-convert-region, its-delete-SYL,
282 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
285 Don't use local map of text properties, instead use minor mode.
286 * convert.el (egg-conversion-mode): New minor mode.
287 (egg-conversion-left, egg-conversion-enter): New functions.
288 (egg-insert-bunsetsu): remove local-map, add point-entered and
289 point-left properties.
290 (egg-exit-conversion): Likewise.
291 (egg-exit-conversion): Exit minor mode.
293 * its.el (its-put-cursor): remove local-map, add point-entered and
294 point-left properties.
295 (its-enter, its-left): New functions.
296 (its-mode): New variable. New minor mode.
298 1997-08-27 NIIBE Yutaka <gniibe@mri.co.jp>
300 * convert.el (egg-exit-conversion-no-egg): Removed.
301 (egg-exit-conversion): No argument, no egg-mode.
303 * convert.el (egg-convert-region): No egg-flag.
304 * its.el (its-exit-mode-internal): Follow it.
305 * mlh.el (mlh-space-bar-backward-henkan): Ditto.
307 1997-08-26 NIIBE Yutaka <gniibe@mri.co.jp>
309 * wnn.el (wnn-change-bunsetsu-length): Don't use magic #3.
311 * convert.el (egg-insert-bunsetsu-list): Add optional argument
314 1997-08-25 NIIBE Yutaka <gniibe@mri.co.jp>
316 * convert.el (egg-insert-bunsetsu): Include seperator. Add
317 intangible property to bunsetsu.
318 (egg-insert-bunsetsu-list): Follow the change.
319 (egg-backward-bunsetsu, egg-forward-bunsetsu,
320 egg-select-candidate, egg-next-candidate,
321 egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
322 egg-exit-conversion): Ditto.
324 * mlh.el (mlh-space-bar-backward-henkan): Call egg-convert-region
325 with last argument t. Turn of egg-mode.
327 1997-08-24 NIIBE Yutaka <gniibe@mri.co.jp>
329 * its.el (its-exit-mode-internal): Inactivate input method.
331 * wnn.el (wnn-end-conversion): Change the interface.
332 (wnn-update-frequency): Follow the change.
333 * convert.el (egg-exit-conversion): Follow the change.
335 * wnn.el (wnn-start-conversion): Change the return value interface.
336 * convert.el (egg-convert-region): Follow the change.
338 * wnn.el (wnnenv-get-bunsetsu-pos, wnnenv-set-bunsetsu-pos): Removed.
339 (wnn-get-bunsetsu-source-afterwards): Removed.
340 (wnn-get-number-of-bunsetsu, wnn-get-bunsetsu-info): Removed.
341 (wnnenv-get-bunsetsu-list, wnnenv-set-bunsetsu-list): Removed.
342 (wnn-start-conversion): Don't call wnnenv-set-bunsetsu-list.
343 (wnn-end-conversion): Ditto.
345 1997-08-23 NIIBE Yutaka <gniibe@mri.co.jp>
347 * convert.el (egg-change-bunsetsu-length): Change the interface.
348 (egg-shrink-bunsetsu,egg-enlarge-bunsetsu): Follow it.
350 (egg-source-maxlen-from-here): Removed.
351 (egg-get-previous-bunsetsu): New function.
352 (egg-select-candidate, egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
353 egg-next-candidate): Use egg-get-previous-bunsetsu.
355 1997-08-20 NIIBE Yutaka <gniibe@mri.co.jp>
357 * egg.el (minor-mode-alist): Don't show " EGG" in mode line.
358 (egg-mode): Use input method indicator instead.
360 1997-07-20 NIIBE Yutaka <gniibe@mri.co.jp>
362 * convert.el (egg-next-candidate): Rename from egg-next-conversion.
363 (egg-previous-candidate): Rename from egg-previous-conversion.
364 (egg-select-candidate): Follow the change of new interface.
365 (egg-source-maxlen-from-here): Likewise.
367 1997-07-19 NIIBE Yutaka <gniibe@mri.co.jp>
369 * wnn.el (wnn-start-conversion): Change the interface. Return ENV
370 and the list of bunsetsu. Fix the documentation string too.
371 * convert.el (egg-convert-region): Follow the change.
372 (egg-insert-converted-result): Change the argument.
373 (egg-insert-bunsetsu-list): Rename from egg-insert-converted-result.
374 (egg-insert-bunsetsu): New function.
375 (egg-get-number-of-bunsetsu,egg-get-bunsetsu-info): Removed.
376 (egg-backward-bunsetsu): Don't use bunsetsu-pos.
378 * wnn.el (wnn-get-bunsetsu-converted): Change the interface. Take
379 BUNSETSU as the argument instead of ENV and POS.
380 * convert.el (egg-get-bunsetsu-converted): Follow the change.
382 * wnn.el (wnn-bunsetsu-create): Take ENV as the first argument.
383 (wnn-list-candidates): Dont take ENV.
384 (wnn-bunsetsu-get-env): New substitution.
386 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub): Take the argument
387 for ENV, and use it for the argument of wnn-bunsetsu-create.
388 (wnnrpc-receive-sho-bunsetsu-list): Take ENV as the first argument.
389 (wnnrpc-renbunsetsu-conversion): Follow the change.
391 1997-07-17 NIIBE Yutaka <gniibe@mri.co.jp>
393 * convert.el (egg-decide-candidate): Change the interface.
394 Take the argument bunsetsu-info instead of conversion-engine.
396 * wnn.el (wnn-get-candidate): Deleted.
398 * convert.el (egg-get-all-candidates): Change the interface.
399 Take an argument bunsetsu-info instead of conversion-engine.
400 (egg-select-candidate): Follow the change.
402 * convert.el (egg-set-bunsetsu-pos,egg-get-bunsetsu-pos): Deleted.
403 (egg-list-candidates,egg-get-current-candidate-number): New stub.
404 * wnn.el (wnn-bunsetsu-create): Add new member zenkouho-pos.
405 (wnn-bunsetsu-get-zenkouho-pos,wnn-bunsetsu-set-zenkouho-pos): New
407 (wnn-list-candidates,wnn-get-current-candidate-number): New functions.
408 (wnn-set-bunsetsu-pos,wnn-get-bunsetsu-pos): Deleted.
410 * convert.el (egg-get-number-of-candidates): Change the interface.
411 Take an argument bunsetsu-info instead of conversion-engine.
412 (egg-next-conversion,egg-select-candidate): Follow the change.
413 * wnn.el (wnn-get-number-of-candidates): Follow the change.
415 * wnn.el (wnn-get-bunsetsu-source-afterwards): New function.
416 (wnn-change-bunsetsu-length): Use it.
418 * convert.el (egg-get-bunsetsu-source): Change the interface.
419 Take an argument bunsetsu-info instead of conversion-engine.
420 (egg-enlarge-bunsetsu,egg-shrink-bunsetsu,egg-source-maxlen-from-here):
422 * wnn.el (wnn-get-bunsetsu-source): Follow the change.
424 Put bunsetsu information on text property.
425 * wnn.el (wnn-get-bunsetsu-info): New function.
427 * convert.el (egg-insert-converted-result): Put it on text property.
428 (egg-conversion-backend): Add new interface
429 wnn-get-bunsetsu-info.
430 (egg-get-bunsetsu-info): New stub.
432 1997-07-17 KATAYAMA Yoshio <kate@pfu.co.jp>
434 * its.el (its-state-machine-keyseq, its-state-machine): Handle
435 end-of-input correctly when going backward.
437 1997-07-16 NIIBE Yutaka <gniibe@mri.co.jp>
439 * wnn.el (wnn-create-directory): Bug fix. Really make directory.
441 1997-07-15 NIIBE Yutaka <gniibe@mri.co.jp>
443 * its-hangul.el (its-define-hangul): Use its-defrule-otherwise.
445 1997-07-15 KATAYAMA Yoshio <kate@pfu.co.jp>
447 * its-hangul.el: Updated.
449 1997-06-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
451 * its-hira.el: its-hira-hankaku-escape --> its-hankaku-escape.
452 its-hira-zenkaku-escape --> its-zenkaku-escape.
454 1997-06-14 NIIBE Yutaka <gniibe@mri.co.jp>
456 * its.el: Change the data structure of <expr-output-back-list> so
457 that it can encourage sharing same structure and it can use same
459 (its-ins/del-SYL-batch): Follow the change of data structure.
460 (its-define-otherwise): Change the argument.
461 (its-defrule-otherwise): New function.
462 (its-eob-keyexpr, its-eob-back, its-make-class+back,
463 its-make-otherwise): New substitutions.
465 1997-06-13 NIIBE Yutaka <gniibe@mri.co.jp>
467 * its-kana.el: New file. Taken from its/kanainput.el of Mule-2.3.
469 * its-hira.el: Use `define-its-state-machine'.
471 * its.el (its-zenkaku-escape, its-hankaku-escape): Make them
473 (define-its-state-machine, define-its-state-machine-append): New
476 1997-06-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
478 * its-hira.el ("n'"): Added.
480 1997-06-12 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
482 its-zenkaku-escape and its-hankaku-escape are also used in hangul.
483 * its.el (its-zenkaku-escape, its-hankaku-escape): Moved to here
485 * its-hira.el (its-hira-hankaku-escape, its-hira-zenkaku-escape):
488 * its.el (its-read-current-its-string): Removed. There's the
489 function `read-multilingual-string' already.
491 1997-06-12 KATAYAMA Yoshio <kate@pfu.co.jp>
493 * its-hangul.el: New file.
495 1997-06-10 NIIBE Yutaka <gniibe@mri.co.jp>
497 Miscellaneous cosmetic changes.
498 * comm.el: New file. Move communication related funcitons from
500 (comm-format-u32c, and others): Rename from wnnrpc-*.
501 * wnnrpc.el (Throughout): Follow the rename.
503 * wnn.el (wnnenv-get-in-use-flag): Rename from wnn-e-get-in-use.
504 (wnnenv-set-in-use-flag): Rename from wnn-e-set-in-use.
505 (Others): Rename from wnn-e-*.
506 (wnn-bunsetsu-*): Rename from wnnrpc-b-*, and moved from wnnrpc.el.
508 * convert.el (egg-exit-conversion): Call egg-do-auto-fill.
510 * its.el (its-translate-region): Bug fix. End of input.
511 (its-state-machine): Bug fix. Generate error if
512 its-barf-on-invalid-keyseq.
513 (its-exit-mode-internal): Call egg-do-auto-fill.
515 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for ASCII.
517 * mlh.el (mlh-space-bar-backward-henkan): Call egg-do-auto-fill.
519 * egg.el: Comment out definition of C-\ in global-map.
521 1997-06-09 NIIBE Yutaka <gniibe@mri.co.jp>
523 * its.el (its-kick-convert-region): Rename from its-convert-region.
524 (its-mode-map): Follow the change.
526 (its-make-next-state): Use list instead of cons.
528 (its-get-kst/t): Make it substitution.
529 (its-set-kst, its-get-keyseq, its-set-keyseq, its-kst-p,
530 its-get-output, its-set-output, its-get-keyseq-syl): Likewise.
531 (its-new-state, its-new-map, its-get-indicator, its-set-indicator,
532 its-get-start-state, its-reset-start-state): Likewise.
534 (its-get-next-state): Use assq instead of assoc.
536 (its-goto-state): Tune up.
538 1997-06-08 NIIBE Yutaka <gniibe@mri.co.jp>
540 * mlh.el: Merge mlh-nihongo.el.
541 * mlh-nihongo.el: Removed.
543 * its-hira.el: Moved from its/hira.el. Move comments to HISTORY.
544 (its-hira-enable-double-n, its-hira-period, its-hira-comma,
545 its-hira-open-bracket, its-hira-close-bracket,
546 its-hira-horizontal): New variables.
547 Use the variables to define the state-machine.
549 Implement non-interactive translation in ITS.
550 * its.el (its-translate-region): New function.
551 (its-latest-SYL): New Variable.
552 (its-state-machine-keyseq): Use it.
553 (its-update-latest-SYL): New function.
554 (its-buffer-ins/del-SYL): Use it.
555 (its-translation-result): New variable.
556 (its-ins/del-SYL-batch): New function.
557 (its-enable-double-n-syntax, its-use-kuten-for-period,
558 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
561 Use ITS, delete mlh's own implementation of automata.
562 * mlh.el (mlh-start-state, mlh-set-of-chars, mlh-start-state-sym,
563 mlh-set-of-chars-sym, mlh-define-automata, mlh-end-of-definition,
564 mlh-defrule, mlh-next-state, mlh-roma-kana-backward): Removed.
565 (mlh-cause-error-when-unknown-romaji-sequence): Removed.
567 (mlh-white-space, mlh-zenkaku-white): Use string-to-int.
568 * mlh-nihongo.el (mlh-hira-start-state, mlh-hira-chars, and all
569 rules of definition which defines the automaton): Removed.
570 (mlh-kanji-with-henkan-region-function): Use its-translate-region.
571 (mlh-hiragana, mlh-katakana): Likewise.
574 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for jisx0212.
577 Speed up of unpacking.
578 * wnnrpc.el (wnnrpc-following-char-or-wait): Tune up.
579 (wnnrpc-following+forward-char): New function.
580 (wnnrpc-unpack-u32c, wnnrpc-unpack-u32, wnnrpc-unpack-u16,
581 wnnrpc-unpack-u8): Use it.
582 (wnnrpc-accept-process-output): New function.
583 (wnnrpc-unpack-u16-string, wnnrpc-unpack-u8-string,
584 wnnrpc-unpack-bytes): Use it. Use search-forward.
585 (wnnrpc-unpack-u16-string): Use decode-coding-region.
587 1997-06-07 NIIBE Yutaka <gniibe@mri.co.jp>
589 * wnn.el (wnn-get-all-candidates): New function.
590 (wnn-set-bunsetsu-pos): Return 0 (instead of -1).
592 * convert.el (egg-get-candidate): Removed.
593 (egg-get-all-candidates): New entry function.
594 (egg-conversion-backend): Entry for egg-get-all-candidates.
595 (egg-select-candidate): New function.
596 (egg-conversion-map): Bind "\M-s" and egg-select-candidate.
598 1997-06-05 NIIBE Yutaka <gniibe@mri.co.jp>
600 * bushu.el: Renamed from busyu.el.
601 (bushu-break-string, etc): Renamed from busyu*.
603 * menu.el: Completely rewritten.
605 1997-06-03 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
607 * its.el (its-reset-start-state): Bug fix. Delete a CDR.
609 Implement "class of key" transition.
610 Change the structure of <state>, the last member is
611 <key-state-table/terminal> instead of <key-state-alist/terminal>.
612 * its.el (its-kst-p): Rename from its-ksa-p.
613 (its-get-next-state): Follow the change of the data structure.
614 (its-state-machine): Likewise.
615 (its-make-next-state): Likewise.
616 (its-set-kst): New function.
617 (its-get-otherwise): New function.
618 (its-otherwise-match): New function.
619 (its-define-otherwise-terminate-here): Removed.
620 (its-define-otherwise): New function.
621 (its-defrule*): Use its-define-otherwise.
623 * its/hira.el (n): Use its-define-otherwise.
625 1997-06-02 NIIBE Yutaka <gniibe@mri.co.jp>
627 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub,
628 wnnrpc-receive-sho-bunsetsu-list-sub-2): Splited from
629 wnnrpc-receive-sho-bunsetsu-list.
630 (wnnrpc-receive-dai-bunsetsu-list): New function.
631 (wnnrpc-daibunsetsu-conversion, wnnrpc-get-daibunsetsu-candidate):
634 1997-06-01 NIIBE Yutaka <gniibe@mri.co.jp>
636 * wnnrpc.el (ccl-decode-fixed-euc-jp): Clean it up.
637 (wnnrpc-file-attribute): Rename from wnnrpc-stat-file.
638 (wnnrpc-get-dictionary-list-with-environment): Rename from
639 wnnrpc-get-dictionary-list-with-environment.
642 * wnnrpc.el (wnnrpc-who, wnnrpc-get-env-list, wnnrpc-kill,
643 wnnrpc-delete-dictionary, wnnrpc-set-flag-on-dictionary,
644 wnnrpc-get-dictionary-list, wnnrpc-delete-word,
645 wnnrpc-receive-word, wnnrpc-search-word,
646 wnnrpc-search-word-in-dictionary, wnnrpc-get-word-info,
647 wnnrpc-set-comment-on-word, wnnrpc-get-dictionary-info,
648 wnnrpc-set-file-comment, wnnrpc-hinshi-name,
649 wnnrpc-set-file-password, wnnrpc-set-hinshi-table): New functions.
651 1997-05-31 NIIBE Yutaka <gniibe@mri.co.jp>
653 * wnnrpc.el (wnnrpc-format-u32c, wnnrpc-unpack-u32c): New
654 substitutions. Support 32-bit number represented in cons cell of
655 a pair of 16-bit integer.
656 (wnnrpc-format, wnnrpc-unpack): Handle u32c (U).
658 (wnnrpc-format-bytes, wnnrpc-unpack-bytes): New substitutions.
659 Support byte stream end with 255(-1).
660 (wnnrpc-format, wnnrpc-unpack): Handle bytes (B).
662 (wnnrpc-local-file-loaded): New function.
663 (wnnrpc-call-with-proc-1): New macro. Assume the buffer is the one
666 1997-05-29 NIIBE Yutaka <gniibe@mri.co.jp>
668 * wnnrpc.el (wnnrpc-get-conversion-parameters, wnnrpc-file-loaded,
669 wnnrpc-write-file, wnnrpc-get-fuzokugo-file, wnnrpc-get-file-list,
670 wnnrpc-get-file-list-with-env, wnnrpc-stat-file,
671 wnnrpc-get-file-info): New functions.
672 wnnrpc-receive-file-list): New subst.
674 1997-05-29 Kenichi Handa <handa@etl.go.jp>
676 * wnnrpc.el (ccl-decode-fixed-euc-jp): Tune it up.
678 1997-05-29 Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>
680 * wnnrpc.el (fixed-euc-jp, ccl-decode-fixed-euc-jp,
681 ccl-encode-fixed-euc): New private coding system. Encode/decode
684 1997-05-27 NIIBE Yutaka <gniibe@mri.co.jp>
686 * wnnrpc.el (wnnrpc-tanbunsetsu-conversion): Change the argument.
687 (wnnrpc-get-bunsetsu-candidates): Likewise.
688 (wnnrpc-renbunsetsu-conversion): Likewise.
690 * wnn.el (wnn-change-bunsetsu-length): Follow the change.
691 (wnn-set-bunsetsu-pos): Likewise.
692 (wnn-change-bunsetsu-length, wnn-start-conversion): Likewise.
694 1997-05-25 NIIBE Yutaka <gniibe@mri.co.jp>
696 * wnnrpc.el (wnnrpc-add-word, wnnrpc-get-dictionary-list,
697 wnnrpc-receive-dictionary-list, wnnrpc-get-writable-dictionary-list,
698 wnnrpc-get-hinshi-list, wnnrpc-hinshi-number): New functions.
699 (wnnrpc-unpack-u16-string): Bug fix for the case of ASCII string.
701 * wnn.el (wnn-dictionary-specification): Add dictionaries of
702 gerodic and ones of WNN consortium.
704 Implement a false path.
705 * wnnrpc.el (wnnrpc-renbunsetsu-conversion): Generate an error on
707 (wnnrpc-get-bunsetsu-candidates): Ditto.
708 (wnnrpc-tanbunsetsu-conversion): Ditto.
710 Implement a false path. Error recovery.
711 * wnn.el (wnn-create-directory, wnn-open-dictionary,
712 wnn-open-frequency, wnn-query-del/create-frequency): New function.
713 (wnn-set-dictionary-sub): New function.
715 1997-05-24 NIIBE Yutaka <gniibe@mri.co.jp>
717 * wnnrpc.el (wnnrpc-version, wnnrpc-access, wnnrpc-mkdir,
718 wnnrpc-create-dictionary, wnnrpc-create-frequency,
719 wnnrpc-discard-file, wnnrpc-remove-file): New functions.
720 (wnnrpc-test-result-and-get-error): New subst.
722 Implement a false path from wnnrpc-set-fuzokugo-file.
723 * wnnrpc.el (wnnrpc-set-fuzokugo-file): Return negate-encoded
724 error code on failure.
725 * wnn.el (wnn-create-environment): Generate an error message.
727 Implement a false path from wnnrpc-open-file.
728 * wnnrpc.el (wnnrpc-open-file): Change the interface. Return
729 negate-encoded error code on failure.
730 * wnn.el (wnn-open-file): New function.
731 (wnn-create-environment): Handle return value, and generate
732 an error message for wnnrpc-set-fuzokugo-file on failure.
733 (wnn-set-dictionary): Handle return value.
735 1997-05-17 NIIBE Yutaka <gniibe@mri.co.jp>
737 * wnnrpc.el (wnnrpc-error-message): Error strings taken from
738 Wnn-4.2 distribution.
739 (wnnrpc-errono): Removed.
741 Implement a false path from wnnrpc-open.
742 * wnnrpc.el (wnnrpc-open): Change the interface. Return NIL on
743 success, error code on failure.
744 * wnn.el (wnn-open): Delete process and buffer.
745 Generate an error on failure.
746 (wnn-get-environment): Follow the change (none).
747 (wnn-start-conversion): Follow the change (none).
748 * convert.el (egg-convert-region): Follow the change. Call
749 delete-region after egg-start-conversion.
751 Implement a false path from wnnrpc-connect.
752 * wnnrpc.el (wnnrpc-connect): Change the interface. Return
753 negate-encoded error code on failure.
754 * wnn.el (wnn-create-environment): Generate an error on failure.
755 (wnn-get-environment): Follow the change. On failure, don't
756 register the environment to wnn-environments.
758 1997-05-16 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
760 Dynamically allocate environment arbitrarily.
761 * wnn.el (wnn-create-environment): Change the structure of ENV.
762 (wnn-e-get-in-use, wnn-e-set-in-use): New subst.
763 (wnn-end-conversion): Call wnn-e-set-in-use.
764 (wnn-get-environment, wnn-find-env-not-in-use): New function.
765 (wnn-start-conversion): Call wnn-get-environment.
767 * wnn.el (wnn-fini): Implemented.
769 1997-05-15 NIIBE Yutaka <gniibe@mri.co.jp>
771 * convert.el (egg-start-conversion): Change the interface.
772 (egg-convert-region): Follow the change.
773 (egg-open-if-not): Removed.
774 * wnn.el (wnn-start-conversion): Follow the change.
776 * wnn.el (wnn-environment-list): Removed.
777 (wnn-environment-serial): Removed.
778 (wnn-connect-and-init): Removed.
779 (wnn-environments): New variable which holds all environments.
781 1997-05-15 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
783 * wnn.el (wnn-change-bunsetsu-length): Bug fix. Last argument to
784 wnnrpc-b-set-freq-down is list of bunsetsu.
786 * mlh.el (mlh-do-spacing): Emacs 20 related changes.
787 Use category-set-mnemonics, and char-category-set.
788 According to suggestion by Kenichi Handa <handa@etl.go.jp>.
790 1997-05-15 MORIOKA Tomohiko <morioka@jaist.ac.jp>
792 * wnn.el (wnn-usr-dic-dir): New variable.
793 (wnn-filename): Use wnn-usr-dic-dir.
795 * its.el (its-defrule): New argument `enable-overwrite'.
797 1997-05-14 NIIBE Yutaka <gniibe@mri.co.jp>
799 * convert.el (egg-exit-conversion-unread-char): Use newer variable
800 unread-command-events, as unread-command-char is obsolete.
801 (egg-shrink-bunsetsu, egg-source-maxlen-from-here,
802 egg-enlarge-bunsetsu, egg-next-conversion, egg-exit-conversion,
803 egg-exit-conversion, egg-insert-converted-result): New property
804 EGG-CONVERSION-ENGINE, which specifis backend.
806 (egg-start-conversion, egg-get-number-of-bunsetsu,
807 egg-get-bunsetsu-converted, egg-set-bunsetsu-pos,
808 egg-get-bunsetsu-pos, egg-get-number-of-candidates,
809 egg-get-candidate, egg-decide-candidate,
810 egg-change-bunsetsu-length, egg-get-bunsetsu-source,
811 egg-end-conversion): Change the interface, new argument c.
812 * wnn.el (wnn-start-conversion, wnn-get-number-of-bunsetsu,
813 wnn-get-bunsetsu-converted, wnn-set-bunsetsu-pos,
814 wnn-get-bunsetsu-pos, wnn-get-number-of-candidates,
815 wnn-get-candidate, wnn-decide-candidate,
816 wnn-change-bunsetsu-length, wnn-get-bunsetsu-source,
817 wnn-end-conversion): Likewise.
819 * convert.el (egg-open-if-not): Change the interface. Return
822 * wnnrpc.el (wnnrpc-following-char-or-wait, wnnrpc-unpack-u32,
823 wnnrpc-unpack-u16, wnnrpc-unpack-u8, wnnrpc-unpack-u16-string,
824 wnnrpc-unpack-u8-string): Change the interface to avoid
825 compilation warnings.
826 (wnnrpc-unpack): Use new interface.
828 * wnn.el (wnn-open): Change the name of WNN buffer as debug has
831 1997-05-11 NIIBE Yutaka <gniibe@mri.co.jp>
833 * wnnrpc.el (wnnrpc-following-char-or-wait): Rename from
834 wnn-following-char-or-wait.
835 (wnnrpc-following-char-or-wait): Declare with DEFUN instead of
838 1997-05-10 NIIBE Yutaka <gniibe@mri.co.jp>
840 * Throughout: Use JUNET coding system for file format.
842 * mlh.el: Move some comments to HISTORY.
843 (mlh-version): Removed.
844 Remove all autoload entries.
845 (henkan-region-function): Removed.
846 (member): Don't need any more.
848 * mlh-nihongo.el: Renamed from nihongo.el.
850 * mlh.el (mlh-space-bar-backward-henkan): call egg-convert-region
852 (mlh-space-bar-backward-henkan): Fix for Emacs 20.
853 Don't call egg:do-auto-fill.
854 (mlh-backward-henkan): Use set-marker-insertion-type.
855 (mlh-do-spacing): Char-category.
857 * mlh.el, nihongo.el: Taken from mlh-1.002 distribution.
859 1997-05-07 NIIBE Yutaka <gniibe@mri.co.jp>
861 * convert.el (egg-update-frequency): Removed.
862 (egg-conversion-backend): Remove entry for update-frequency.
864 * wnn.el (wnn-dictionary-specification): Change parameters
865 according to suggestion by Tomoko Yoshida in mule-jp@etl.go.jp.
866 Original had been taken from wnn-4.2.
868 1997-05-06 NIIBE Yutaka <gniibe@mri.co.jp>
870 * convert.el (egg-next-conversion): Bug fix. It's max+ instead of n.
872 1997-05-05 NIIBE Yutaka <gniibe@mri.co.jp>
874 * wnnfns.c (Fwnn_get_bunsetsu_converted): Rename from
875 get-converted-bunsetsu.
876 (Fwnn_get_bunsetsu_source): Ditto.
877 * convert.el (egg-get-bunsetsu-converted): Ditto.
878 (egg-get-bunsetsu-source): Ditto.
880 * wnn.el (wnn-create-environment): New file which mimics API of
883 1997-04-29 NIIBE Yutaka <gniibe@mri.co.jp>
885 * wnnrpc.el: New file which implements Remote Procedure Calls of WNN.
887 1997-04-16 NIIBE Yutaka <gniibe@mri.co.jp>
889 * its/kanainput.el (normal-pair): Use its-defrule*.
891 * its.el (its-defrule*): Rewritten.
893 * its/hira.el ("n"): Alternative implementation using 'otherwise'.
895 * its.el (its-processing-map): Removed.
896 (its-register-map): Rename from its-set-map.
897 (its-register-map): Remove first argumet NAME.
898 (its-defrule): Remove last optional argument END.
899 (its-define-otherwise-terminate-here): New function.
900 (its-goto-state): New function.
901 (its-defrule, its-defoutput): Use its-goto-state.
903 1997-04-12 NIIBE Yutaka <gniibe@mri.co.jp>
905 * its.el: Enhance meaning of ITS state machine. Now, <key>
906 includes representation of "ANY of key stroke" (-2).
907 (its-defrule): New feature end=='otherwise.
908 (its-defrule*): New function.
909 (its-state-machine): Implement otherwise-terminate-before-this-key.
911 * its/kanainput.el (its-k-zenkaku-escape, its-k-hankaku-escape,
912 its-k-symbols-escape): Add prefix its-. Let them defconst.
913 "W": Move the definition beginning to avoid error.
915 1997-03-26 NIIBE Yutaka <gniibe@mri.co.jp>
917 * convert.el (egg-next-conversion): -1 goes to end of bunsetsu.
919 1997-03-25 NIIBE Yutaka <gniibe@mri.co.jp>
921 * egg.el (egg-mode-on, egg-input-mode, egg-in-fence-mode): Deleted.
922 (egg-fence-face-on, egg-fence-face-off): Deleted.
923 (egg-region-start, egg-region-end): Deleted.
925 1997-03-24 NIIBE Yutaka <gniibe@mri.co.jp>
927 * its/hira.el ("n"): Add "z" and "?" for prefetch char of "n".
929 Implement conversion mode.
930 * convert.el: New file.
932 1997-03-23 NIIBE Yutaka <gniibe@mri.co.jp>
934 * its.el (its-mode-map): As "\C-g" is used in global-map, use
935 "\C-]" instead (for its-cancel-input).
937 1997-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
939 Introduce new scheme to specify server.
940 * wnnfns.c (Qjserver, Qcserver, Qtserver, Qkserver): Removed.
941 (Vwnn_server_type): Integer variable.
942 (wnn_get_server_type): Renamed from wnn_check_server_type.
943 (charset_wnn_server_type): Renamed from lc_wnn_server_type.
945 Introduce new scheme to specify uniqueness.
946 * wnnfns.c (Qwnn_no_uniq, Qwnn_uniq, Qwnn_uniq_kanji): Removed.
947 (Vwnn_uniqueness_specifier): Integer variable. Renamed from
950 1997-03-21 NIIBE Yutaka <gniibe@mri.co.jp>
953 * wnnfnc.c (Throughout): Change Lisp function name to follow the
954 format of wnn-VERB-OBJECT.
955 Use XFASTINT instead of XINT, if appropriate.
957 * wnnfns.c (Fwnn_fuzokugo_set): Merged with wnn-set-fuzokugo of
960 * wnn-egg.el (wnn-set-fuzokugo): Deleted.
962 * wnnfns.c (Fwnn_dict_add): Merged with wnn-add-dict of wnn-egg.el.
963 * wnn-egg.el (wnn-add-dict): Deleted.
965 * wnn-egg-msg.el (wnn-msg-get): Renamed from egg-msg-get.
966 (wnn-message-alist): Renamed from egg-message-alist.
969 * wnnfns.c (wnn_check_server_type): Renemed from
970 check_wnn_server_type.
972 * wnn-egg-msg.el (egg-error): Deleted. Not useful enough.
973 * wnn-egg.el (Throughout): Replace egg-error by error.
975 * egg.el (egg-sai-henkan-start, egg-sai-henkan-end,
976 egg-old-bunsetu-suu): Moved from wnn-egg.el.
978 * wnn-egg.el (Throughout): Change variable name and function name.
979 Added wnn- prefix, egg- prefix.
980 * wnn-egg.el: Delete historical defaliases. Only support
981 wnn-set-[cjk]server-hostname.
983 * wnn6.el: New file. Discriminate Wnn6 related functions.
984 * eggrc-wnn6: New file. Discriminate Wnn6 related setting.
986 * egg-fence.el: Removed.
988 1997-03-20 NIIBE Yutaka <gniibe@mri.co.jp>
990 Distingush continuation of egg-mode and turn off of egg-mode.
991 * its.el (its-mode-map): Bind "\C-\\" to its-exit-mode-no-egg.
992 (its-exit-mode-internal): New argument egg-mode-flag.
993 (its-exit-mode-no-egg): New Function.
995 Rethink about keymap. Once, the intention of egg-mode-map has
996 been to override ALL of the keymap. That's so selfish, and not
997 friendly to other parts of Emacs. This implementation intend to
998 be more friendly with other keymaps.
999 * its.el (its-mode-map): Remove definition of "\C-c" for
1000 its-cancel-input, as C-c has special meaning in Emacs. We should
1002 Remove definition of "\C-q" for its-select-previous-map.
1003 Remove definition of "\C-_" for egg-jis-code-input.
1004 Remove definition of "\C-w", "\C-@", [?\C-\ ] for
1005 egg-henkan-fence-region.
1007 Implement START/CURSOR/END scheme.
1008 * its.el (its-input-to-vsyl): New function.
1009 (its-beginning-of-input-buffer): New function.
1010 (its-end-of-input-buffer): New function.
1011 (its-backward-SYL): New function.
1012 (its-forward-SYL): New function.
1013 (its-delete-SYL): New function.
1014 (its-delete-backward-SYL): New function.
1015 (its-delete-backward-SYL-internal): New function.
1016 (its-delete-backward-within-SYL): New function.
1017 (its-delete-by-keystroke): New Variable.
1018 (its-exit-mode): New function.
1019 (its-exit-mode-internal): New function.
1021 * its.el (its-standard-map-list, its-find, its-next-map,
1022 its-previous-map): Deleted.
1023 (its-get-indicator): Delete duplicated definition. Leave one which
1024 takes <map> argument.
1025 (its-input): Rename from its-input-subsubsub.
1027 * egg.el (egg-mode-map): Don't include SPACE.
1030 * its.el (its-state-machine): Add new argument EMIT. Return CURSOR.
1031 (its-state-machine-keyseq): Likewise.
1032 (its-input-subsubsub): Return CURSOR.
1033 (its-input-subsub): Deleted.
1034 (its-DSYL-p): Deleted.
1035 (its-buffer-insert-SYL-list): Deleted.
1036 (its-buffer-ins/del-SYL): New function.
1037 (its-input-end): Change the argument to P of point, and return VOID.
1039 Change structure of <map>. <start-state> is normal <state>.
1040 (its-new-map): Follow the change of structure.
1041 (its-get-indicator, its-set-indicator, its-reset-start-state):
1043 (its-reset-start-state): Renamed from its-reset-start.
1045 Don't use <input-buffer>, but introduce new scheme of SYL property.
1046 (its-change-t-to-nil, its-nil-index, its-bytes-between,
1047 its-delete-between, its-move-nil--->, its-move-nil-<--,
1048 its-move-nil-<--sub, its-move-nil-to-last, its-move-nil-to-first):
1051 1997-03-19 NIIBE Yutaka <gniibe@mri.co.jp>
1053 * its.el: Change the structure of DSYL. Same as <state>.
1054 (its-input-subsub): Follow the change of structure.
1055 (its-make-DSYL): Deleted.
1056 (its-get-keyseq-cooked): New function.
1058 Swap the meaning of T/NIL of <SYL>.
1060 Delete the structure of <input-buffer>.
1061 (its-new-input-buffer): Deleted.
1062 (its-input-subsub): Remove the argument SYLP.
1063 (its-input, its-input-sub, its-init-text-properties): Deleted.
1065 Introduce START, END and CURSOR.
1067 1997-03-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1069 Global-map should be used, for key sequence not defined by
1070 its-mode-map and/or egg-mode-map. Don't mask other maps.
1071 * its.el (its-mode-esc-map): Deleted.
1072 (its-mode-map): Include define-key of the esc-map here.
1073 * egg.el (egg-mode-esc-map): Deleted.
1074 (egg-mode-map): Include define-key of the esc-map here.
1076 1997-03-18 NIIBE Yutaka <gniibe@mri.co.jp>
1078 * its.el (its-input): Rename from its-input-input-buffer.
1079 (its-state-machine): Handle END of input (key == -1).
1081 ITS minor mode deleted. It's implemented by local-map of text
1083 (its-mode): Remove the variable.
1084 (its-mode): Remove the function.
1086 * its.el (<input-buffer>): Change the order of <SYL> list.
1087 (car sylp) is last entry of the list.
1088 (its-input-buffer): Deleted. It's now a member of text
1090 (<map>): Change the structure. Start state should have "" for keyseq.
1091 (its-get-start-state): Follow chage of the <map> structure.
1092 (its-reset-start, its-set-indicator, its-get-indicator): Likewise.
1093 (its-new-state, its-new-map): Split from its-new-state/map.
1094 (its-make-map): Deleted.
1096 1997-03-17 NIIBE Yutaka <gniibe@mri.co.jp>
1098 * its.el (its-buffer-insert-SYL-list): Use insert-and-inherit to
1100 (its-fence-overlay): Removed. Don't use overlay, as it has no
1101 information in undo-list.
1103 1997-03-16 NIIBE Yutaka <gniibe@mri.co.jp>
1105 * its/hira.el ("n"): Use new feature END.
1106 ("ppy", "bby", "ddy", "jjy", "zzy", "ggy", "lly", "rry", "hhy",
1107 "cch", "tts", "tty", "ssh", "ssy", "kky"): its-defoutput.
1109 * its.el (its-defrule): Add argument END.
1110 (its-buffer-delete-SYL): Bug fix. Use length instead of string-width.
1112 1997-03-15 NIIBE Yutaka <gniibe@mri.co.jp>
1114 * its.el (its-input-input-buffer): Implement the case of DSYL.
1116 1997-03-14 NIIBE Yutaka <gniibe@mri.co.jp>
1118 * its.el (its-buffer-delete-SYL): Handle the case of NIL.
1120 * its/hira.el: Implement "kka" and others. Implemlement "N".
1121 (digit-characters, symbol-characters, downcase-alphabets,
1122 upcase-alphabets): Delete useless defvar-s.
1124 1997-03-14 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1126 * its/hira.el ("roma-kana"): Follow change of implementation of
1129 Correct the abuse of the word "MODE". It seems that it's direct
1130 influence of "mode" in Emacs, but it's not mode at all.
1131 * its.el (its-map-alist): Renamed from its-mode-alist.
1132 (its-get-map): Renamed from its-get-mode-map.
1133 (its-set-map): Renamed from its-set-mode-map.
1134 (its-define-state-machine): Renamed from its-define-mode.
1135 (its-select-map-menu): Renamed from its-select-mode-menu.
1136 (its-select-map-from-menu): Renamed from its-select-mode-from-menu.
1137 (its-standard-map-list): Renamed from its-standard-modes.
1138 (its-next-map): Renamed from its-next-mode.
1139 (its-previous-map): Renamed from its-previous-mode.
1140 (its-select-map): Renamed from its-select-mode.
1141 (its-get-indicator): Renamed from its-get-mode-indicator.
1143 (its-select-map-from-menu): As it's not mode, don't need offer hooks.
1144 (its-next-map): Likewise.
1145 (its-previous-map): Likewise.
1146 (its-select-map): Likewise.
1148 Change the implementation of its-mode-alist. Name is in <map> now.
1149 * its.el (its-get-mode-map): Just do assoc.
1150 (its-set-mode-map): Simplified.
1152 * its.el (its-get-indicator): Renamed from its-map-indicator.
1153 (its-set-indicator): Renamed from its-map-set-indicator.
1154 (its-get-start-state): Renamed from its-map-start.
1155 (its-new-state): Change the argunents.
1156 (its-map-set-start): Removed.
1157 (its-reset-start): New function.
1159 Remove old implemantation of translator.
1160 * its.el (its-resize, its-maps, its-actions, its-inputs,
1161 its-level, its-maxlevel, its-char-from-buff, its-interactive):
1163 (its-make-action, its-reset-maps, its-current-map,
1164 its-previous-map, its-level, its-enter-newlevel, its-reset-input,
1165 its-flush-input-before-point, its-peek-char, its-read-char):
1167 (its-push-char, its-ordinal-charp, its-delete-charp): Removed.
1168 (its-translate-region): Removed.
1169 (its-buff-s, its-buff-e): Removed.
1170 (its-state-terminalp): Removed.
1172 Remove selection of candidates in map, it's questionable to
1173 implement this feature with SYL. Might rethink in future.
1174 (its-make-menu-from-map-result, its-make-alist-from-map-result):
1176 (its-make-menu-from-map, its-make-menu-from-map*): Removed.
1177 (its-make-alist-from-map, its-make-alist-from-map*): Removed.
1178 (its-completing-read): Removed.
1179 (its-minibuffer-local-must-match-map,
1180 its-minibuffer-local-completion-map): Removed.
1181 (its-minibuffer-completion-help, car-string-lessp,
1182 its-temp-echo-area-contents): Removed.
1184 Implement SYL-based state machine.
1185 * its.el (its-input-buffer, its-barf-on-invalid-keyseq): New variables.
1186 (its-new-input-buffer): New function.
1187 (its-self-insert-char): New command.
1188 (its-initial-ISYL, its-make-DSYL, its-make-VSYL,
1189 its-input-input-buffer, its-input-input-buffer-sub,
1190 its-state-machine, its-state-machine-keyseq,
1191 its-buffer-delete-SYL, its-buffer-insert-SYL-list,
1192 its-get-next-state, its-get-ksa/b, its-get-keyseq, its-ksa-p,
1193 its-get-output): New function.
1194 (its-get-KAS): Removed.
1195 (its-get-state, its-get-action, its-set-action): Removed.
1196 (its-make-KAS, its-get-KAS): Removed.
1198 * its.el (its-defrule-sub): Merged into its-defrule.
1200 1997-03-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1202 * its.el: (its-define-mode): Change the arguments.
1203 * its/zhuyin.el ("zhuyin"): Follow the changes of its-define-mode.
1204 * its/zenkaku.el ("zenkaku-downcase"): Likewise.
1205 * its/pinyin.el ("PinYin"): Likewise.
1206 * its/kata.el ("roma-kata"): Likewise.
1207 * its/kanainput.el ("kanainput"): Likewise.
1208 * its/hira.el ("roma-kana"): Likewise.
1209 * its/hankaku.el ("downcase"): Likewise.
1210 * its/hangul.el ("hangul"): Likewise.
1211 * its/han-kata.el ("roma-han-kata"): Likewise.
1213 * its.el (its-action-output, its-action-next, its-get-next-map,
1214 its-set-next-map): Removed.
1215 (its-make-next-state): New function.
1216 (its-make-state): Removed.
1218 * its.el (its-defrule-sub): Renamed from `its-defrule**'.
1220 * wnnfns.h: New file. Macros for WNN6 are defined here.
1221 * wnn6fns.c: New file. Moved from wnnfns.c for WNN6 specific
1224 1997-03-12 NIIBE Yutaka <gniibe@mri.co.jp>
1226 * wnnfns.c: cosmetic changes (indentation, commenting-out-style,
1227 and compare to Qnil, etc).
1228 Get rid of "register" qualifier.
1230 1997-03-05 NIIBE Yutaka <gniibe@mri.co.jp>
1232 * its.el (its-define-mode): Change internal structure. Completely
1234 (its-make-map): Function to make map.
1235 (its-make-state): New function. Make new state.
1236 (its-make-KAS): New function. Make Key-Action-State triad.
1237 (its-state-terminalp): New function. True when the state is
1239 (its-map-indicator, its-map-set-indicator,): Changed.
1240 (its-map-terminalp, its-map-incrementalp,
1241 its-map-set-incrementalp, its-map-alist, its-map-set-alist,
1242 its-map-action, its-map-set-action): Removed.
1244 (its-defrule-verbose): Deleted. Seems debug purpose variable.
1246 (its-make-map): Removed <state>. It was useless space eater.
1247 (its-map-indicator, its-map-set-indicator, its-map-alist,
1248 its-map-set-alist, its-map-action, its-map-set-action): Follow the
1250 (its-define-mode): Likewise.
1251 (its-defrule**): Change the argument. Delete STATE.
1252 (its-defrule): Likewise.
1253 (its-map-state, its-map-set-state): Removed.
1255 <topmap>: Changed the structure. Introduce <incrementalp>, which
1256 is t on hangul-map, zhuyin-map, and kanainput-map.
1257 (its-define-mode): Change the arguments. INDICATOR and RESET is
1258 always required. Add new argument INCREMENTALP.
1259 * its/kanainput.el ("kanainput"): Use new API of its-define-mode.
1260 * its/hangul.el ("hangul"): Likewise.
1261 * its/zhuyin.el ("zhuyin"): Likewise.
1262 * its.el (its-make-terminal-state-sofar): Removed.
1263 (its-default-make-terminal-state): Removed.
1264 (its-make-terminal-state): Removed
1265 (its-make-non-terminal-state): Removed. Not used.
1266 (its-map-incrementalp, its-map-set-incrementalp): New functions.
1268 1997-03-04 NIIBE Yutaka <gniibe@mri.co.jp>
1270 * its.el (its-defrule-conditional, its-defrule-conditional*):
1271 Removed. Evaluating cond clause at runtime is stupid. Rules
1272 should be determined at compile time, not at run time.
1273 (its-get-action): Simplified. It's always standard.
1274 (its-make-terminal-state-sofar): Likewise.
1275 (its-make-action): Renamed from its-make-standard-action.
1276 (its-standard-actionp): Removed. No use.
1277 (its-translate-region): Simplified.
1279 (its-map-topmap-p): Removed. No use.
1281 (its-simple-actionp, its-collect-simple-action): Removed. No use.
1283 (its-insert-output-string, its-display-status-string): Removed.
1284 It seemd these variables is to debug ITS itself.
1285 (its-translate-region): Simplified.
1287 * its/hira.el (".", ",", "n", "nn"): Rules should be determined at
1289 * its/han-kata.el: Likewise.
1290 * its/kata.el: Likewise.
1292 * its.el (its-make-standard-action): Simplified.
1293 (its-make-standard-action): Remove alternative output.
1294 (its-standard-actionp): Simplified.
1295 (its-action-next): Simplified.
1296 (its-select-alternative-output-menu): Removed. Not used at all.
1297 (its-select-alternative-output): Ditto.
1299 * its/han-kata.el, its/zenkaku.el, its/kata.el, its/kanainput.el,
1300 its/hira.el, its/hankaku.el: Add (require cl).
1302 * its.el (its-enable-double-n-syntax, its-use-kuten-for-period,
1303 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
1304 Declare here. Add prefix `its-'. ):
1306 (its-defrule, its-defrule*): Remove MAP argument.
1307 Merged into its-defrule.
1309 1997-03-04 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1311 * its.el (its-completing-input-menu): Removed. Not used.
1312 (its-completing-input): Ditto.
1313 (its-translate-region): Remove (null action) clause. It's identical
1316 (its-map-supers): Deleted.
1317 (its-map-set-supers): Ditto.
1318 (its-get-next-map-locally): Deleted.
1320 (its-define-mode): Remove supers.
1321 (its-make-map): Likewise.
1323 (its-simulate-input): sref -> aref. add char-bytes -> +1.
1324 (its-defrule**): Likewise.
1326 (its-flush-input-before-point): Delete useless save-excursion.
1327 (its-push-char): Likewise.
1328 (its-translate-region): Likewise.
1330 * its/zhuyin.el (its-make-terminal-state):
1331 * its/kanainput.el (its-make-terminal-state):
1332 * its/hangul.el (its-make-terminal-state):
1333 Use its-make-terminal-state-sofar.
1335 * its/kanainput.el (its-make-terminal-state-kanainput): Removed.
1337 * its.el (its-make-terminal-state-sofar): Renamed.
1338 (was: its-make-terminal-state-hangul)
1340 * its/han-kata.el (its-select-hankaku-katakana): Renamed.
1341 (was: its:select-hankaku-katakana).
1343 * its.el (its-map-topmap-p, its-map-supers, its-map-set-supers,
1344 its-map-terminalp, its-map-state, its-map-set-state,
1345 its-map-indicator, its-map-set-indicator, its-map-action,
1346 its-map-set-action, its-map-alist, its-map-set-alist,
1347 its-get-action, its-action-output, its-action-next,
1348 its-get-next-map, its-get-next-map-locally, its-set-next-map,
1349 its-collect-simple-action, its-read-current-its-string,
1350 its-make-map): Add prefix 'its-'.
1352 * its.el (its-defrule-select-mode-temporally): Deleted.
1353 (its-select-mode-temporally): Deleted.
1354 (its-select-previous-mode): Deleted.
1356 * its/hira.el ("q", "Q"): Removed.
1358 * its.el (its-defrule**): Don't call coerce-internal-string.
1359 (map-state-string): Removed.
1360 (its-default-make-standard-non-terminal-state): Don't call
1363 * egg.el (characterp, coerce-internal-string, coerce-string): Removed.
1365 * its.el (its-insert-char): Deleted.
1366 (its-internal-mode-alist): Removed.
1367 (its-set-mode-map, its-define-mode): Remove internalp.
1368 (its-set-mode-indicator): Removed.
1370 * egg-fence.el (egg-fence-self-insert-command): Add prefix 'egg-'.
1372 * its.el (fence-self-insert-command): Move to egg-fence.el.
1374 * egg-fence.el (egg-exit-fence-mode): Renamed (egg-fence-exit-mode).
1375 (egg-enter-fence-mode-and-self-insert): Deleted.
1377 * egg.el (egg-quit-egg-mode): Deleted.
1379 * egg-misc.el (egg-fence-toggle-egg-mode): Add prefix 'egg-'.
1380 (egg-fence-toggle-egg-mode): beep -> ding.
1381 (global-map): bind C-\ to egg-enter-fence-mode.
1383 1997-03-02 NIIBE Yutaka <gniibe@mri.co.jp>
1385 * egg-henkan.el: New file.
1387 Use new API (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi,
1388 egg-is-dai-bunsetu, bunsetu-suu, egg-hindo-update,
1389 egg-get-bunsetu-end).
1391 * wnn-egg.el: Move egg-henkan-* to egg-henkan.el.
1393 * wnn-egg.el (egg-startup-file-search-path): Remove current
1395 (egg-open-wnn): Renamed from EGG-open-wnn.
1396 (bunsetu-suu): New function.
1397 (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi): New function.
1398 (egg-is-dai-bunsetu): New function.
1399 (egg-hindo-update): New function.
1400 (egg-get-bunsetu-end): New function.
1402 (egg-henkan-region, egg-gyaku-henkan-region,
1403 egg-henkan-region-internal, egg-henkan-paragraph,
1404 egg-gyaku-henkan-paragraph, egg-henkan-sentence,
1405 egg-gyaku-henkan-sentence, egg-henkan-word, egg-gyaku-henkan-word,
1406 egg-henkan-insert-kouho, egg-henkan-kakutei,
1407 egg-henkan-kakutei-first-char, egg-henkan-kakutei-before-point,
1408 egg-sai-henkan, egg-henkan-goto-bunsetu,
1409 egg-henkan-forward-bunsetu, egg-henkan-backward-bunsetu,
1410 egg-henkan-first-bunsetu, egg-henkan-last-bunsetu,
1411 egg-henkan-hiragana, egg-henkan-katakana, egg-henkan-next-kouho,
1412 egg-henkan-next-kouho-dai, egg-henkan-next-kouho-sho,
1413 egg-henkan-previous-kouho, egg-henkan-previous-kouho-dai,
1414 egg-henkan-previous-kouho-sho, egg-henkan-goto-kouho,
1415 egg-henkan-bunsetu-chijime-dai, egg-henkan-bunsetu-chijime-sho,
1416 egg-henkan-bunsetu-nobasi-dai, egg-henkan-saishou-bunsetu,
1417 egg-henkan-saichou-bunsetu, egg-bunsetu-length-henko,
1418 egg-henkan-quit, egg-henkan-select-kouho,
1419 egg-henkan-select-kouho-dai, egg-henkan-select-kouho-sho,
1420 egg-henkan-word-off, egg-henkan-kakutei-and-self-insert,
1421 egg-henkan-mode-map, egg-henkan-mode-esc-prefix,
1422 egg-henkan-help-command, egg-henkan-inspect-bunsetu):
1425 (egg-henkan-mode-in-use): Deleted.
1426 (set-egg-henkan-mode-format): Deleted. Don't need.
1428 (disconnect-wnn): Let it be normal function, instead of command.
1431 (set-jserver-host-name, set-kserver-host-name,
1432 set-cserver-host-name): Use defalias.
1434 (close-wnn): Take an argument of wnn-server-type.
1435 (wnn-egg-kill-emacs-function, set-wnn-host-name,
1436 set-cwnn-host-name, set-kwnn-host-name): Likewise.
1438 * egg.el (egg-global-map-backup): Deleted.
1439 (egg-local-map-backup): Deleted.
1440 (egg-insert-after-hook): it's global variable, nod buffer-local.
1442 * egg-fence.el (egg-henkan-fence-region, egg-enter-fence-mode,
1443 egg-fence-katakana, egg-fence-hiragana, egg-fence-hankaku,
1444 egg-fence-zenkaku, egg-fence-backward-char,
1445 egg-fence-forward-char, egg-fence-beginning-of-line,
1446 egg-fence-end-of-line, egg-fence-transpose-chars,
1447 egg-fence-delete-char, egg-fence-backward-delete-char,
1448 egg-fence-kill-line, egg-fence-exit-mode, egg-fence-cancel-input,
1449 egg-fence-mode-help-command): Add Prefix `egg-'.
1451 (egg-fence-mode-map): Remove binding to eval-expression (C-z).
1453 (egg-self-insert-non-undo-count): Removed.
1454 (egg-self-insert-command): Removed.
1456 (egg-fence-backward-char, egg-fence-forward-char,
1457 egg-fence-transpose-chars, egg-fence-delete-char,
1458 egg-fence-backward-delete-char): beep -> ding.
1459 wnn-egg.el (egg-henkan-select-kouho): Likewise.
1461 1997-02-27 NIIBE Yutaka <gniibe@mri.co.jp>
1463 * wnn-egg.el (push-end, push-end-internal): Removed.
1465 * its.el (dolist): Removed. It's in CL package.
1466 (for-each, for-each*): Removed.
1468 * egg-keymap.el: Removed. I guess noone use it.
1470 * egg-jsymbol.el (*-alist): Declare by defconst.
1472 * egg-misc.el (toggle-egg-mode): Removed.
1474 * All files: Change the identifier XXX:YYYY --> XXX-YYYY,
1477 * egg-fence.el (enter-fence-mode): Use new API for marker
1478 insertion `set-marker-insertion-type'.
1479 * its.el (its-*buff-e*): Likewise.
1481 * egg-jsymbol.el: lc-jp --> (charset-id 'japanese-jisx0208)
1482 lc-jp2 --> (charset-id 'japanese-jisx0212).
1484 1997-02-26 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1486 * egg-fence.el (egg:fence-mode-map): Renamed from fence-mode-map.
1487 (egg:fence-mode-esc-prefix): Renamed from egg:fence-mode-esc-map.
1488 (henkan-fence-region-or-single-space): Removed.
1490 * egg-misc.el (toggle-egg-mode): mc-flag
1491 -> enable-multibyte-characters.
1493 * its.el (read-current-its-string): New function. Moved from
1495 (In meny functions): beep --> ding.
1497 * egg-misc.el (read-hiragana-string): Removed.
1498 (read-kanji-string): Removed.
1499 (egg:special-symbol-input): Renamed from special-symbol-input.
1500 (egg:special-symbol-input-point): Renamed from
1501 special-symbol-input-point.
1502 (si:*global-map*): Remeved.
1503 Removed 'Changes on Global map'.
1504 (its-mode-map): Renamed from mule-keymap.
1506 * wnn-egg.el (henkan-region-internal): Use new API for undo.
1507 (henkan-kakutei): Likewise.
1508 (henkan-kakutei-first-char): Likewise.
1509 (henkan-kakutei-before-point): Likewise.
1510 (sai-henkan): Likewise.
1511 * egg.el (egg:quit-egg-mode): Likewise.
1513 * egg-fence.el (egg:*fence-open*, egg:*fence-close*,
1514 egg:*fence-face*): Let them be declared by defvar.
1515 (egg:*fence-open-in-cont*, egg:*fence-close-in-cont*,
1516 egg:*fence-face-in-cont*): Likewise.
1518 (set-egg-fence-mode-format): Removed. Useless. Don't need to be
1520 (set-egg-fence-mode-format-in-cont): Removed.
1521 (egg:*face-alist*): Removed.
1523 * wnn-egg-misc.el (its:select-mode, its:select-mode-from-menu,
1524 its:next-mode, its:previous-mode):
1525 Removed (Merged into its.el).
1527 * its.el (its:select-mode, its:select-mode-from-menu,
1528 its:next-mode, its:previous-mode): Call hook of
1529 `its:select-mode-hook'.
1531 * diced.el: Removed. This depends on wnn. Functions are moved to
1534 * wnn-egg-dict.el (remove-regexp-in-string): Removed.
1535 (toroku-region): Don't call `remove-regexp-in-string'. Removing
1536 invalid sequence (TAB?) automatically is not good idea. It should
1537 notify user. Currently, just don't remove.
1539 * busyu.el (busyu-table): defconst instead of defvar.
1540 (busyu-kaku-alist): defconst instead of defvar.
1542 * its.el (egg:member): Removed. Not used.
1544 * wnn-egg-msg.el (*egg-message-alist*): Include asking string in
1545 register-notify and remove-notify. Should also change Korean and
1548 * egg.el: Removed "Tamago Notification System".
1549 It is useless, as we have *Messages* buffer in GNU Emacs 19.
1551 * diced.el (diced-execute): Don't use `notify' but `message'.
1552 (set-dict-comment): Likewise.
1553 * its.el (its-defrule**): Likewise.
1554 * wnn-egg-dict.el (egg:toroku-word): Likewise.
1555 * wnn-egg-msg.el (egg:error): Likewise.
1556 * wnn-egg.el (set-wnn-param): Likewise.
1557 (EGG:open-wnn): Likewise.
1558 (close-wnn): Likewise.
1559 (henkan-word-off): Likewise.
1560 (henkan-inspect-bunsetu): Likewise.
1562 * diced.el (diced-execute): Don't use `notify-yes-or-no-p' but use
1563 plain `yes-or-no-p' and format.
1564 * wnn-egg-dict.el (egg:toroku-word): Likewise.
1566 * egg.el (notify-yes-or-no-p-internal): IIDESUKA is not good.
1567 it should get the message through egg:get-msg. Currently, use
1569 (notify-y-or-n-p-internal): Likewise.
1571 * wnn-egg.el: Split into wnn-egg-dict.el, wnn-egg-misc.el, and
1573 (many functions): remove commented out line of
1574 (open-wnn-if-disconnected).
1576 * egg.el: Split into egg.el, egg-fence.el, egg-misc.el,
1577 jis-input.el, and modeline.el.
1579 * wnn-egg.el (egg-default-startup-file): change to eggrc-wnn from
1581 (henkan-region-internal): Use new API for marker insertion
1582 `set-marker-insertion-type'.
1584 1997-02-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1586 * menu.el (menu:select-from-menu): Rewritten.