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 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
28 * leim-list-egg.el: Rename `egg-ja' -> `japanese-egg'.
30 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
32 * egg/wnn.el (wnn): New group.
33 (wnn-server): Use `defcustom'.
34 (wnn-usr-dic-dir): Use `defcustom'.
36 * egg.el (egg): New group.
38 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
40 * menudiag.el (menudiag-mode-map): Swap binding for left and
43 * egg.el (egg-toroku-region): `wnn-get-environment' requires
44 dictionary-specification.
46 * leim-list-egg.el: add autoload setting for egg-mode.
48 1997-11-03 KATAYAMA Yoshio <kate@pfu.co.jp>
50 * euc-cn.el: New file. Original name was yincoding.el.
51 Adopted by NIIBE Yutaka <gniibe@mri.co.jp>.
53 1997-11-03 NIIBE Yutaka <gniibe@mri.co.jp>
55 * its.el (its-start): Add INVISIBLE property if ITS-FENCE-FACE.
56 * egg-cnv.el (egg-decide-before-point): Ditto.
57 Based on patch by Kenichi HANDA <handa@etl.go.jp>.
59 Once, I thought that we need many environments which correspond to
60 outstanding CONVERSION buffre. However, I've learned that WNN4
61 protocol is completely independent. It's no use to maintain each
62 environment. Share the one environment.
63 * egg/wnn.el (wnn-environments): Removed.
64 (wnn-environment): New variable.
65 (wnn-comm-sentinel): Follow the change. Let users know the close.
68 <env>: Remove the member <in-use>.
69 (wnnenv-create): Follow the structure change.
70 (wnn-end-conversion): Likewise.
71 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Removed.
72 (wnn-find-env-not-in-use): Removed.
73 (wnn-get-environment): Use wnn-environment instead of wnn-environments.
76 * egg-cnv.el (egg-decide-before-point): Signal error on first SYL.
77 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>. Changes of 1997-09-07
79 Set-marker M to NIL after PUT-TEXT-PROPERTY.
81 Because the name of identifier begins egg-*, change the file names.
82 * tamago: Rename from tamago.
83 * egg.el, egg-mlh.el, egg-com.el, egg-cnv.el: Rename from tamago-*.el
84 * Makefile: Follow the changes.
86 1997-10-05 NIIBE Yutaka <gniibe@mri.co.jp>
88 * tamago/wnn.el (wnn-uniq-candidates): Add new argument BUNSETSU.
89 Call WNN-BUNSETSU-SET-ZENKOUHO-POS, WNN-BUNSETSU-SET-ZENKOUHO in
90 this function. Handle the case where BUNSETSU is not the first
91 element of BUNSETSU-LIST.
92 (wnn-list-candidates): Use new API of WNN-UNIQ-CANDIDATES.
94 * tamago-cnv.el (egg-next-candidate): Handle the case where
95 EGG-LIST-CANDIDATES returns non zero value.
97 1997-10-04 NIIBE Yutaka <gniibe@mri.co.jp>
99 * Makefile (install): Install to SITEDIR.
101 1997-09-26 NIIBE Yutaka <gniibe@mri.co.jp>
103 * its/hira.el (its-hira-enable-zenkaku-alphabet): New variable.
104 (its-hira-map): Use it.
106 1997-09-19 NIIBE Yutaka <gniibe@mri.co.jp>
108 Arrange for LEIM. Use tamago/ subdirectory.
109 * tamago/: Rename from tamago-lib.
111 1997-09-18 NIIBE Yutaka <gniibe@mri.co.jp>
113 * tamago-cnv.el (egg-select-candidate): menu-select -->
115 * tamago.el (egg-toroku-region, egg-hinshi-select): Likewise.
117 * tamago-cnv.el (egg-exit-conversion): Run hook of
118 input-method-after-insert-chunk-hook.
119 * its.el (its-exit-mode-internal): Ditto.
121 * tamago-mlh.el (mlh-comma-period-style): Deleted.
123 * its/, tamago-lib/: New directory.
124 * its/: Move its-*.el files here.
125 * tamago-lib/: Move sj3.el, sj3rpc.el, wnn.el and wnnrpc.el here.
127 * tamago-com.el: Rename from comm.el.
128 * tamago-mlh.el: Rename from mlh.el.
129 * tamago-cnv.el: Rename from convert.el.
131 * menudiag.el: Rename from menu.el.
132 (Throughout): Rename menu-* to menudiag-*.
134 1997-09-07 NIIBE Yutaka <gniibe@mri.co.jp>
136 * egg.el (egg-insert-after-hook, egg-exit-hook): Removed.
137 (egg-sai-henkan-start, egg-sai-henkan-end, egg-old-bunsetu-suu):
140 * wnn.el (WNN-const): New macro.
141 (wnn-start-conversion, wnn-open-dictionary, wnn-open-frequency,
142 wnn-set-dictionary-sub, wnn-update-frequency): Use it.
144 * wnnrpc.el (wnn-const): New macro.
145 Throughout: Use wnn-const.
147 * convert.el (egg-decide-before-point): Bug fix. Handle the case
148 where all bunsetsu are decided.
149 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>.
151 * convert.el (egg-exit-conversion): Call egg-end-conversion at end.
152 (egg-decide-before-point): Ditto.
154 * wnn.el (wnn-environments): Change the structure of enviromnents.
155 (wnn-fini): Handle errors.
156 (wnn-open): Set sentinel. Delete buffer on failure.
157 (wnn-comm-sentinel): New function.
158 (wnn-find-env-not-in-use): Return nil when not found.
160 (wnn-create-environment): Take username as argument.
161 (wnn-get-environment): Follow the change.
163 (wnnenv-create): Remove useless serial no.
164 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Follow the change.
165 (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Likewise.
166 (wnn-create-environment, wnn-get-environment): Likewise.
168 1997-09-04 NIIBE Yutaka <gniibe@mri.co.jp>
170 * its.el (its-state-machine-keyseq): Bug fix. Handle VSYL.
172 * sj3.el, sj3rpc.el: New files.
174 * comm.el (comm-call-with-proc, comm-call-with-proc-1): New macros.
175 * wnnrpc.el (wnnrpc-call-with-proc, wnnrpc-call-with-proc-1): Deleted.
176 Throughout: Use comm-call-with-proc and comm-call-with-proc-1.
178 1997-09-03 NIIBE Yutaka <gniibe@mri.co.jp>
180 * wnnrpc.el (wnnrpc-call-with-proc-1): Bug fix. let --> progn.
182 * convert.el (egg-conversion-backend): Initail value is NIL.
184 * wnn.el (wnn-conversion-backend): New constant.
186 * comm.el (comm-format,comm-unpack): Support multibyte string.
187 (comm-format-mb-string): New substitution.
188 (comm-unpack-mb-string): New substitution.
190 * wnn.el (wnn-fini): Handle the case where wnn-environments is nil.
191 Reported by Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>.
193 1997-09-03 Hiroshi Ogata <hiroshi@nereid.rim.or.jp>
195 * mlh.el (mlh-zenkaku): Use new API of Emacs-20,
196 japanese-zenkaku-region.
198 1997-09-02 NIIBE Yutaka <gniibe@mri.co.jp>
200 * egg.el (egg-toroku-region): New function.
202 * wnn.el (wnn-list-dictionaries): New function.
203 (wnnenv-get-proc): New function.
205 * wnnrpc.el (wnndic-get-id, wnndic-get-comment, wnndic-get-dictname):
207 (wnnrpc-get-writable-dictionary-id-list): Rename from
208 wnnrpc-get-writable-dictionary-list.
210 1997-09-01 NIIBE Yutaka <gniibe@mri.co.jp>
212 * convert.el (egg-decide-bunsetsu): New function.
213 (egg-decide-before-point): New command.
214 (egg-exit-conversion): Use egg-decide-bunsetsu.
216 * its.el (its-start): Divide the fence buffer into two parts and
217 make them intangible, so that point goes appropriate position.
218 (its-put-cursor): The cursor belongs to part-2.
219 (its-buffer-ins/del-SYL): The new SYL belongs to part-1.
220 (its-exit-mode-internal): Remove the property on exit.
221 (its-beginning-of-input-buffer): Make SYLs have property of "part 2".
222 (its-backward-SYL): Likewise.
223 (its-forward-SYL): Make SYLs have property of "part 1".
224 (its-end-of-input-buffer): Likewise.
226 (its-input-end): Delete useless argument.
227 (its-beginning-of-input-buffer, its-exit-mode,
228 its-exit-mode-off-input-method, its-kick-convert-region,
229 its-end-of-input-buffer, its-backward-SYL, its-forward-SYL,
230 its-delete-SYL): Follow the change.
232 1997-08-31 NIIBE Yutaka <gniibe@mri.co.jp>
234 For egg-mode, don't use minor mode, override local map instead.
235 For its-mode and egg-conversion-mode, don't use minor mode,
236 instead use local-map of text property.
238 Although overriding local map is not good, using local-map of
239 property is natural thing. Besides, point-left/point-entered
240 don't work as I expected (yet).
242 * egg.el (egg-mode: variable): Removed.
243 * egg.el (egg-modefull-map, egg-modeless-map): Make them functions.
244 Generate overriding local map.
245 * egg.el (egg-mode): use overriding local map.
247 * its.el, convert.el: Undo changes of 1997-08-28 for minor mode
248 and local map of text properties.
250 * its.el (its-exit-mode-off-input-method): New function.
252 1997-08-29 NIIBE Yutaka <gniibe@mri.co.jp>
254 Let Undo work correctly.
255 * its.el (its-self-insert-char): Delete/Insert cursor.
257 * its.el (its-put-cursor): Remove useless first argument.
258 (its-start, its-beginning-of-input-buffer, its-end-of-input-buffer,
259 its-backward-SYL, its-forward-SYL, its-delete-SYL, its-delete-SYL,
260 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
263 1997-08-28 KATAYAMA Yoshio <kate@pfu.co.jp>
265 * its-erpin.el: New file.
266 * its-pinyin.el: New file.
267 * its-zhuyin.el: New file.
269 1997-08-28 NIIBE Yutaka <gniibe@mri.co.jp>
271 * its.el (its-exit-mode-no-egg): Removed.
272 (its-exit-mode-internal): Remove first argument.
273 (its-kick-convert-region, its-delete-SYL,
274 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
277 Don't use local map of text properties, instead use minor mode.
278 * convert.el (egg-conversion-mode): New minor mode.
279 (egg-conversion-left, egg-conversion-enter): New functions.
280 (egg-insert-bunsetsu): remove local-map, add point-entered and
281 point-left properties.
282 (egg-exit-conversion): Likewise.
283 (egg-exit-conversion): Exit minor mode.
285 * its.el (its-put-cursor): remove local-map, add point-entered and
286 point-left properties.
287 (its-enter, its-left): New functions.
288 (its-mode): New variable. New minor mode.
290 1997-08-27 NIIBE Yutaka <gniibe@mri.co.jp>
292 * convert.el (egg-exit-conversion-no-egg): Removed.
293 (egg-exit-conversion): No argument, no egg-mode.
295 * convert.el (egg-convert-region): No egg-flag.
296 * its.el (its-exit-mode-internal): Follow it.
297 * mlh.el (mlh-space-bar-backward-henkan): Ditto.
299 1997-08-26 NIIBE Yutaka <gniibe@mri.co.jp>
301 * wnn.el (wnn-change-bunsetsu-length): Don't use magic #3.
303 * convert.el (egg-insert-bunsetsu-list): Add optional argument
306 1997-08-25 NIIBE Yutaka <gniibe@mri.co.jp>
308 * convert.el (egg-insert-bunsetsu): Include seperator. Add
309 intangible property to bunsetsu.
310 (egg-insert-bunsetsu-list): Follow the change.
311 (egg-backward-bunsetsu, egg-forward-bunsetsu,
312 egg-select-candidate, egg-next-candidate,
313 egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
314 egg-exit-conversion): Ditto.
316 * mlh.el (mlh-space-bar-backward-henkan): Call egg-convert-region
317 with last argument t. Turn of egg-mode.
319 1997-08-24 NIIBE Yutaka <gniibe@mri.co.jp>
321 * its.el (its-exit-mode-internal): Inactivate input method.
323 * wnn.el (wnn-end-conversion): Change the interface.
324 (wnn-update-frequency): Follow the change.
325 * convert.el (egg-exit-conversion): Follow the change.
327 * wnn.el (wnn-start-conversion): Change the return value interface.
328 * convert.el (egg-convert-region): Follow the change.
330 * wnn.el (wnnenv-get-bunsetsu-pos, wnnenv-set-bunsetsu-pos): Removed.
331 (wnn-get-bunsetsu-source-afterwards): Removed.
332 (wnn-get-number-of-bunsetsu, wnn-get-bunsetsu-info): Removed.
333 (wnnenv-get-bunsetsu-list, wnnenv-set-bunsetsu-list): Removed.
334 (wnn-start-conversion): Don't call wnnenv-set-bunsetsu-list.
335 (wnn-end-conversion): Ditto.
337 1997-08-23 NIIBE Yutaka <gniibe@mri.co.jp>
339 * convert.el (egg-change-bunsetsu-length): Change the interface.
340 (egg-shrink-bunsetsu,egg-enlarge-bunsetsu): Follow it.
342 (egg-source-maxlen-from-here): Removed.
343 (egg-get-previous-bunsetsu): New function.
344 (egg-select-candidate, egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
345 egg-next-candidate): Use egg-get-previous-bunsetsu.
347 1997-08-20 NIIBE Yutaka <gniibe@mri.co.jp>
349 * egg.el (minor-mode-alist): Don't show " EGG" in mode line.
350 (egg-mode): Use input method indicator instead.
352 1997-07-20 NIIBE Yutaka <gniibe@mri.co.jp>
354 * convert.el (egg-next-candidate): Rename from egg-next-conversion.
355 (egg-previous-candidate): Rename from egg-previous-conversion.
356 (egg-select-candidate): Follow the change of new interface.
357 (egg-source-maxlen-from-here): Likewise.
359 1997-07-19 NIIBE Yutaka <gniibe@mri.co.jp>
361 * wnn.el (wnn-start-conversion): Change the interface. Return ENV
362 and the list of bunsetsu. Fix the documentation string too.
363 * convert.el (egg-convert-region): Follow the change.
364 (egg-insert-converted-result): Change the argument.
365 (egg-insert-bunsetsu-list): Rename from egg-insert-converted-result.
366 (egg-insert-bunsetsu): New function.
367 (egg-get-number-of-bunsetsu,egg-get-bunsetsu-info): Removed.
368 (egg-backward-bunsetsu): Don't use bunsetsu-pos.
370 * wnn.el (wnn-get-bunsetsu-converted): Change the interface. Take
371 BUNSETSU as the argument instead of ENV and POS.
372 * convert.el (egg-get-bunsetsu-converted): Follow the change.
374 * wnn.el (wnn-bunsetsu-create): Take ENV as the first argument.
375 (wnn-list-candidates): Dont take ENV.
376 (wnn-bunsetsu-get-env): New substitution.
378 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub): Take the argument
379 for ENV, and use it for the argument of wnn-bunsetsu-create.
380 (wnnrpc-receive-sho-bunsetsu-list): Take ENV as the first argument.
381 (wnnrpc-renbunsetsu-conversion): Follow the change.
383 1997-07-17 NIIBE Yutaka <gniibe@mri.co.jp>
385 * convert.el (egg-decide-candidate): Change the interface.
386 Take the argument bunsetsu-info instead of conversion-engine.
388 * wnn.el (wnn-get-candidate): Deleted.
390 * convert.el (egg-get-all-candidates): Change the interface.
391 Take an argument bunsetsu-info instead of conversion-engine.
392 (egg-select-candidate): Follow the change.
394 * convert.el (egg-set-bunsetsu-pos,egg-get-bunsetsu-pos): Deleted.
395 (egg-list-candidates,egg-get-current-candidate-number): New stub.
396 * wnn.el (wnn-bunsetsu-create): Add new member zenkouho-pos.
397 (wnn-bunsetsu-get-zenkouho-pos,wnn-bunsetsu-set-zenkouho-pos): New
399 (wnn-list-candidates,wnn-get-current-candidate-number): New functions.
400 (wnn-set-bunsetsu-pos,wnn-get-bunsetsu-pos): Deleted.
402 * convert.el (egg-get-number-of-candidates): Change the interface.
403 Take an argument bunsetsu-info instead of conversion-engine.
404 (egg-next-conversion,egg-select-candidate): Follow the change.
405 * wnn.el (wnn-get-number-of-candidates): Follow the change.
407 * wnn.el (wnn-get-bunsetsu-source-afterwards): New function.
408 (wnn-change-bunsetsu-length): Use it.
410 * convert.el (egg-get-bunsetsu-source): Change the interface.
411 Take an argument bunsetsu-info instead of conversion-engine.
412 (egg-enlarge-bunsetsu,egg-shrink-bunsetsu,egg-source-maxlen-from-here):
414 * wnn.el (wnn-get-bunsetsu-source): Follow the change.
416 Put bunsetsu information on text property.
417 * wnn.el (wnn-get-bunsetsu-info): New function.
419 * convert.el (egg-insert-converted-result): Put it on text property.
420 (egg-conversion-backend): Add new interface
421 wnn-get-bunsetsu-info.
422 (egg-get-bunsetsu-info): New stub.
424 1997-07-17 KATAYAMA Yoshio <kate@pfu.co.jp>
426 * its.el (its-state-machine-keyseq, its-state-machine): Handle
427 end-of-input correctly when going backward.
429 1997-07-16 NIIBE Yutaka <gniibe@mri.co.jp>
431 * wnn.el (wnn-create-directory): Bug fix. Really make directory.
433 1997-07-15 NIIBE Yutaka <gniibe@mri.co.jp>
435 * its-hangul.el (its-define-hangul): Use its-defrule-otherwise.
437 1997-07-15 KATAYAMA Yoshio <kate@pfu.co.jp>
439 * its-hangul.el: Updated.
441 1997-06-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
443 * its-hira.el: its-hira-hankaku-escape --> its-hankaku-escape.
444 its-hira-zenkaku-escape --> its-zenkaku-escape.
446 1997-06-14 NIIBE Yutaka <gniibe@mri.co.jp>
448 * its.el: Change the data structure of <expr-output-back-list> so
449 that it can encourage sharing same structure and it can use same
451 (its-ins/del-SYL-batch): Follow the change of data structure.
452 (its-define-otherwise): Change the argument.
453 (its-defrule-otherwise): New function.
454 (its-eob-keyexpr, its-eob-back, its-make-class+back,
455 its-make-otherwise): New substitutions.
457 1997-06-13 NIIBE Yutaka <gniibe@mri.co.jp>
459 * its-kana.el: New file. Taken from its/kanainput.el of Mule-2.3.
461 * its-hira.el: Use `define-its-state-machine'.
463 * its.el (its-zenkaku-escape, its-hankaku-escape): Make them
465 (define-its-state-machine, define-its-state-machine-append): New
468 1997-06-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
470 * its-hira.el ("n'"): Added.
472 1997-06-12 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
474 its-zenkaku-escape and its-hankaku-escape are also used in hangul.
475 * its.el (its-zenkaku-escape, its-hankaku-escape): Moved to here
477 * its-hira.el (its-hira-hankaku-escape, its-hira-zenkaku-escape):
480 * its.el (its-read-current-its-string): Removed. There's the
481 function `read-multilingual-string' already.
483 1997-06-12 KATAYAMA Yoshio <kate@pfu.co.jp>
485 * its-hangul.el: New file.
487 1997-06-10 NIIBE Yutaka <gniibe@mri.co.jp>
489 Miscellaneous cosmetic changes.
490 * comm.el: New file. Move communication related funcitons from
492 (comm-format-u32c, and others): Rename from wnnrpc-*.
493 * wnnrpc.el (Throughout): Follow the rename.
495 * wnn.el (wnnenv-get-in-use-flag): Rename from wnn-e-get-in-use.
496 (wnnenv-set-in-use-flag): Rename from wnn-e-set-in-use.
497 (Others): Rename from wnn-e-*.
498 (wnn-bunsetsu-*): Rename from wnnrpc-b-*, and moved from wnnrpc.el.
500 * convert.el (egg-exit-conversion): Call egg-do-auto-fill.
502 * its.el (its-translate-region): Bug fix. End of input.
503 (its-state-machine): Bug fix. Generate error if
504 its-barf-on-invalid-keyseq.
505 (its-exit-mode-internal): Call egg-do-auto-fill.
507 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for ASCII.
509 * mlh.el (mlh-space-bar-backward-henkan): Call egg-do-auto-fill.
511 * egg.el: Comment out definition of C-\ in global-map.
513 1997-06-09 NIIBE Yutaka <gniibe@mri.co.jp>
515 * its.el (its-kick-convert-region): Rename from its-convert-region.
516 (its-mode-map): Follow the change.
518 (its-make-next-state): Use list instead of cons.
520 (its-get-kst/t): Make it substitution.
521 (its-set-kst, its-get-keyseq, its-set-keyseq, its-kst-p,
522 its-get-output, its-set-output, its-get-keyseq-syl): Likewise.
523 (its-new-state, its-new-map, its-get-indicator, its-set-indicator,
524 its-get-start-state, its-reset-start-state): Likewise.
526 (its-get-next-state): Use assq instead of assoc.
528 (its-goto-state): Tune up.
530 1997-06-08 NIIBE Yutaka <gniibe@mri.co.jp>
532 * mlh.el: Merge mlh-nihongo.el.
533 * mlh-nihongo.el: Removed.
535 * its-hira.el: Moved from its/hira.el. Move comments to HISTORY.
536 (its-hira-enable-double-n, its-hira-period, its-hira-comma,
537 its-hira-open-bracket, its-hira-close-bracket,
538 its-hira-horizontal): New variables.
539 Use the variables to define the state-machine.
541 Implement non-interactive translation in ITS.
542 * its.el (its-translate-region): New function.
543 (its-latest-SYL): New Variable.
544 (its-state-machine-keyseq): Use it.
545 (its-update-latest-SYL): New function.
546 (its-buffer-ins/del-SYL): Use it.
547 (its-translation-result): New variable.
548 (its-ins/del-SYL-batch): New function.
549 (its-enable-double-n-syntax, its-use-kuten-for-period,
550 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
553 Use ITS, delete mlh's own implementation of automata.
554 * mlh.el (mlh-start-state, mlh-set-of-chars, mlh-start-state-sym,
555 mlh-set-of-chars-sym, mlh-define-automata, mlh-end-of-definition,
556 mlh-defrule, mlh-next-state, mlh-roma-kana-backward): Removed.
557 (mlh-cause-error-when-unknown-romaji-sequence): Removed.
559 (mlh-white-space, mlh-zenkaku-white): Use string-to-int.
560 * mlh-nihongo.el (mlh-hira-start-state, mlh-hira-chars, and all
561 rules of definition which defines the automaton): Removed.
562 (mlh-kanji-with-henkan-region-function): Use its-translate-region.
563 (mlh-hiragana, mlh-katakana): Likewise.
566 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for jisx0212.
569 Speed up of unpacking.
570 * wnnrpc.el (wnnrpc-following-char-or-wait): Tune up.
571 (wnnrpc-following+forward-char): New function.
572 (wnnrpc-unpack-u32c, wnnrpc-unpack-u32, wnnrpc-unpack-u16,
573 wnnrpc-unpack-u8): Use it.
574 (wnnrpc-accept-process-output): New function.
575 (wnnrpc-unpack-u16-string, wnnrpc-unpack-u8-string,
576 wnnrpc-unpack-bytes): Use it. Use search-forward.
577 (wnnrpc-unpack-u16-string): Use decode-coding-region.
579 1997-06-07 NIIBE Yutaka <gniibe@mri.co.jp>
581 * wnn.el (wnn-get-all-candidates): New function.
582 (wnn-set-bunsetsu-pos): Return 0 (instead of -1).
584 * convert.el (egg-get-candidate): Removed.
585 (egg-get-all-candidates): New entry function.
586 (egg-conversion-backend): Entry for egg-get-all-candidates.
587 (egg-select-candidate): New function.
588 (egg-conversion-map): Bind "\M-s" and egg-select-candidate.
590 1997-06-05 NIIBE Yutaka <gniibe@mri.co.jp>
592 * bushu.el: Renamed from busyu.el.
593 (bushu-break-string, etc): Renamed from busyu*.
595 * menu.el: Completely rewritten.
597 1997-06-03 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
599 * its.el (its-reset-start-state): Bug fix. Delete a CDR.
601 Implement "class of key" transition.
602 Change the structure of <state>, the last member is
603 <key-state-table/terminal> instead of <key-state-alist/terminal>.
604 * its.el (its-kst-p): Rename from its-ksa-p.
605 (its-get-next-state): Follow the change of the data structure.
606 (its-state-machine): Likewise.
607 (its-make-next-state): Likewise.
608 (its-set-kst): New function.
609 (its-get-otherwise): New function.
610 (its-otherwise-match): New function.
611 (its-define-otherwise-terminate-here): Removed.
612 (its-define-otherwise): New function.
613 (its-defrule*): Use its-define-otherwise.
615 * its/hira.el (n): Use its-define-otherwise.
617 1997-06-02 NIIBE Yutaka <gniibe@mri.co.jp>
619 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub,
620 wnnrpc-receive-sho-bunsetsu-list-sub-2): Splited from
621 wnnrpc-receive-sho-bunsetsu-list.
622 (wnnrpc-receive-dai-bunsetsu-list): New function.
623 (wnnrpc-daibunsetsu-conversion, wnnrpc-get-daibunsetsu-candidate):
626 1997-06-01 NIIBE Yutaka <gniibe@mri.co.jp>
628 * wnnrpc.el (ccl-decode-fixed-euc-jp): Clean it up.
629 (wnnrpc-file-attribute): Rename from wnnrpc-stat-file.
630 (wnnrpc-get-dictionary-list-with-environment): Rename from
631 wnnrpc-get-dictionary-list-with-environment.
634 * wnnrpc.el (wnnrpc-who, wnnrpc-get-env-list, wnnrpc-kill,
635 wnnrpc-delete-dictionary, wnnrpc-set-flag-on-dictionary,
636 wnnrpc-get-dictionary-list, wnnrpc-delete-word,
637 wnnrpc-receive-word, wnnrpc-search-word,
638 wnnrpc-search-word-in-dictionary, wnnrpc-get-word-info,
639 wnnrpc-set-comment-on-word, wnnrpc-get-dictionary-info,
640 wnnrpc-set-file-comment, wnnrpc-hinshi-name,
641 wnnrpc-set-file-password, wnnrpc-set-hinshi-table): New functions.
643 1997-05-31 NIIBE Yutaka <gniibe@mri.co.jp>
645 * wnnrpc.el (wnnrpc-format-u32c, wnnrpc-unpack-u32c): New
646 substitutions. Support 32-bit number represented in cons cell of
647 a pair of 16-bit integer.
648 (wnnrpc-format, wnnrpc-unpack): Handle u32c (U).
650 (wnnrpc-format-bytes, wnnrpc-unpack-bytes): New substitutions.
651 Support byte stream end with 255(-1).
652 (wnnrpc-format, wnnrpc-unpack): Handle bytes (B).
654 (wnnrpc-local-file-loaded): New function.
655 (wnnrpc-call-with-proc-1): New macro. Assume the buffer is the one
658 1997-05-29 NIIBE Yutaka <gniibe@mri.co.jp>
660 * wnnrpc.el (wnnrpc-get-conversion-parameters, wnnrpc-file-loaded,
661 wnnrpc-write-file, wnnrpc-get-fuzokugo-file, wnnrpc-get-file-list,
662 wnnrpc-get-file-list-with-env, wnnrpc-stat-file,
663 wnnrpc-get-file-info): New functions.
664 wnnrpc-receive-file-list): New subst.
666 1997-05-29 Kenichi Handa <handa@etl.go.jp>
668 * wnnrpc.el (ccl-decode-fixed-euc-jp): Tune it up.
670 1997-05-29 Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>
672 * wnnrpc.el (fixed-euc-jp, ccl-decode-fixed-euc-jp,
673 ccl-encode-fixed-euc): New private coding system. Encode/decode
676 1997-05-27 NIIBE Yutaka <gniibe@mri.co.jp>
678 * wnnrpc.el (wnnrpc-tanbunsetsu-conversion): Change the argument.
679 (wnnrpc-get-bunsetsu-candidates): Likewise.
680 (wnnrpc-renbunsetsu-conversion): Likewise.
682 * wnn.el (wnn-change-bunsetsu-length): Follow the change.
683 (wnn-set-bunsetsu-pos): Likewise.
684 (wnn-change-bunsetsu-length, wnn-start-conversion): Likewise.
686 1997-05-25 NIIBE Yutaka <gniibe@mri.co.jp>
688 * wnnrpc.el (wnnrpc-add-word, wnnrpc-get-dictionary-list,
689 wnnrpc-receive-dictionary-list, wnnrpc-get-writable-dictionary-list,
690 wnnrpc-get-hinshi-list, wnnrpc-hinshi-number): New functions.
691 (wnnrpc-unpack-u16-string): Bug fix for the case of ASCII string.
693 * wnn.el (wnn-dictionary-specification): Add dictionaries of
694 gerodic and ones of WNN consortium.
696 Implement a false path.
697 * wnnrpc.el (wnnrpc-renbunsetsu-conversion): Generate an error on
699 (wnnrpc-get-bunsetsu-candidates): Ditto.
700 (wnnrpc-tanbunsetsu-conversion): Ditto.
702 Implement a false path. Error recovery.
703 * wnn.el (wnn-create-directory, wnn-open-dictionary,
704 wnn-open-frequency, wnn-query-del/create-frequency): New function.
705 (wnn-set-dictionary-sub): New function.
707 1997-05-24 NIIBE Yutaka <gniibe@mri.co.jp>
709 * wnnrpc.el (wnnrpc-version, wnnrpc-access, wnnrpc-mkdir,
710 wnnrpc-create-dictionary, wnnrpc-create-frequency,
711 wnnrpc-discard-file, wnnrpc-remove-file): New functions.
712 (wnnrpc-test-result-and-get-error): New subst.
714 Implement a false path from wnnrpc-set-fuzokugo-file.
715 * wnnrpc.el (wnnrpc-set-fuzokugo-file): Return negate-encoded
716 error code on failure.
717 * wnn.el (wnn-create-environment): Generate an error message.
719 Implement a false path from wnnrpc-open-file.
720 * wnnrpc.el (wnnrpc-open-file): Change the interface. Return
721 negate-encoded error code on failure.
722 * wnn.el (wnn-open-file): New function.
723 (wnn-create-environment): Handle return value, and generate
724 an error message for wnnrpc-set-fuzokugo-file on failure.
725 (wnn-set-dictionary): Handle return value.
727 1997-05-17 NIIBE Yutaka <gniibe@mri.co.jp>
729 * wnnrpc.el (wnnrpc-error-message): Error strings taken from
730 Wnn-4.2 distribution.
731 (wnnrpc-errono): Removed.
733 Implement a false path from wnnrpc-open.
734 * wnnrpc.el (wnnrpc-open): Change the interface. Return NIL on
735 success, error code on failure.
736 * wnn.el (wnn-open): Delete process and buffer.
737 Generate an error on failure.
738 (wnn-get-environment): Follow the change (none).
739 (wnn-start-conversion): Follow the change (none).
740 * convert.el (egg-convert-region): Follow the change. Call
741 delete-region after egg-start-conversion.
743 Implement a false path from wnnrpc-connect.
744 * wnnrpc.el (wnnrpc-connect): Change the interface. Return
745 negate-encoded error code on failure.
746 * wnn.el (wnn-create-environment): Generate an error on failure.
747 (wnn-get-environment): Follow the change. On failure, don't
748 register the environment to wnn-environments.
750 1997-05-16 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
752 Dynamically allocate environment arbitrarily.
753 * wnn.el (wnn-create-environment): Change the structure of ENV.
754 (wnn-e-get-in-use, wnn-e-set-in-use): New subst.
755 (wnn-end-conversion): Call wnn-e-set-in-use.
756 (wnn-get-environment, wnn-find-env-not-in-use): New function.
757 (wnn-start-conversion): Call wnn-get-environment.
759 * wnn.el (wnn-fini): Implemented.
761 1997-05-15 NIIBE Yutaka <gniibe@mri.co.jp>
763 * convert.el (egg-start-conversion): Change the interface.
764 (egg-convert-region): Follow the change.
765 (egg-open-if-not): Removed.
766 * wnn.el (wnn-start-conversion): Follow the change.
768 * wnn.el (wnn-environment-list): Removed.
769 (wnn-environment-serial): Removed.
770 (wnn-connect-and-init): Removed.
771 (wnn-environments): New variable which holds all environments.
773 1997-05-15 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
775 * wnn.el (wnn-change-bunsetsu-length): Bug fix. Last argument to
776 wnnrpc-b-set-freq-down is list of bunsetsu.
778 * mlh.el (mlh-do-spacing): Emacs 20 related changes.
779 Use category-set-mnemonics, and char-category-set.
780 According to suggestion by Kenichi Handa <handa@etl.go.jp>.
782 1997-05-15 MORIOKA Tomohiko <morioka@jaist.ac.jp>
784 * wnn.el (wnn-usr-dic-dir): New variable.
785 (wnn-filename): Use wnn-usr-dic-dir.
787 * its.el (its-defrule): New argument `enable-overwrite'.
789 1997-05-14 NIIBE Yutaka <gniibe@mri.co.jp>
791 * convert.el (egg-exit-conversion-unread-char): Use newer variable
792 unread-command-events, as unread-command-char is obsolete.
793 (egg-shrink-bunsetsu, egg-source-maxlen-from-here,
794 egg-enlarge-bunsetsu, egg-next-conversion, egg-exit-conversion,
795 egg-exit-conversion, egg-insert-converted-result): New property
796 EGG-CONVERSION-ENGINE, which specifis backend.
798 (egg-start-conversion, egg-get-number-of-bunsetsu,
799 egg-get-bunsetsu-converted, egg-set-bunsetsu-pos,
800 egg-get-bunsetsu-pos, egg-get-number-of-candidates,
801 egg-get-candidate, egg-decide-candidate,
802 egg-change-bunsetsu-length, egg-get-bunsetsu-source,
803 egg-end-conversion): Change the interface, new argument c.
804 * wnn.el (wnn-start-conversion, wnn-get-number-of-bunsetsu,
805 wnn-get-bunsetsu-converted, wnn-set-bunsetsu-pos,
806 wnn-get-bunsetsu-pos, wnn-get-number-of-candidates,
807 wnn-get-candidate, wnn-decide-candidate,
808 wnn-change-bunsetsu-length, wnn-get-bunsetsu-source,
809 wnn-end-conversion): Likewise.
811 * convert.el (egg-open-if-not): Change the interface. Return
814 * wnnrpc.el (wnnrpc-following-char-or-wait, wnnrpc-unpack-u32,
815 wnnrpc-unpack-u16, wnnrpc-unpack-u8, wnnrpc-unpack-u16-string,
816 wnnrpc-unpack-u8-string): Change the interface to avoid
817 compilation warnings.
818 (wnnrpc-unpack): Use new interface.
820 * wnn.el (wnn-open): Change the name of WNN buffer as debug has
823 1997-05-11 NIIBE Yutaka <gniibe@mri.co.jp>
825 * wnnrpc.el (wnnrpc-following-char-or-wait): Rename from
826 wnn-following-char-or-wait.
827 (wnnrpc-following-char-or-wait): Declare with DEFUN instead of
830 1997-05-10 NIIBE Yutaka <gniibe@mri.co.jp>
832 * Throughout: Use JUNET coding system for file format.
834 * mlh.el: Move some comments to HISTORY.
835 (mlh-version): Removed.
836 Remove all autoload entries.
837 (henkan-region-function): Removed.
838 (member): Don't need any more.
840 * mlh-nihongo.el: Renamed from nihongo.el.
842 * mlh.el (mlh-space-bar-backward-henkan): call egg-convert-region
844 (mlh-space-bar-backward-henkan): Fix for Emacs 20.
845 Don't call egg:do-auto-fill.
846 (mlh-backward-henkan): Use set-marker-insertion-type.
847 (mlh-do-spacing): Char-category.
849 * mlh.el, nihongo.el: Taken from mlh-1.002 distribution.
851 1997-05-07 NIIBE Yutaka <gniibe@mri.co.jp>
853 * convert.el (egg-update-frequency): Removed.
854 (egg-conversion-backend): Remove entry for update-frequency.
856 * wnn.el (wnn-dictionary-specification): Change parameters
857 according to suggestion by Tomoko Yoshida in mule-jp@etl.go.jp.
858 Original had been taken from wnn-4.2.
860 1997-05-06 NIIBE Yutaka <gniibe@mri.co.jp>
862 * convert.el (egg-next-conversion): Bug fix. It's max+ instead of n.
864 1997-05-05 NIIBE Yutaka <gniibe@mri.co.jp>
866 * wnnfns.c (Fwnn_get_bunsetsu_converted): Rename from
867 get-converted-bunsetsu.
868 (Fwnn_get_bunsetsu_source): Ditto.
869 * convert.el (egg-get-bunsetsu-converted): Ditto.
870 (egg-get-bunsetsu-source): Ditto.
872 * wnn.el (wnn-create-environment): New file which mimics API of
875 1997-04-29 NIIBE Yutaka <gniibe@mri.co.jp>
877 * wnnrpc.el: New file which implements Remote Procedure Calls of WNN.
879 1997-04-16 NIIBE Yutaka <gniibe@mri.co.jp>
881 * its/kanainput.el (normal-pair): Use its-defrule*.
883 * its.el (its-defrule*): Rewritten.
885 * its/hira.el ("n"): Alternative implementation using 'otherwise'.
887 * its.el (its-processing-map): Removed.
888 (its-register-map): Rename from its-set-map.
889 (its-register-map): Remove first argumet NAME.
890 (its-defrule): Remove last optional argument END.
891 (its-define-otherwise-terminate-here): New function.
892 (its-goto-state): New function.
893 (its-defrule, its-defoutput): Use its-goto-state.
895 1997-04-12 NIIBE Yutaka <gniibe@mri.co.jp>
897 * its.el: Enhance meaning of ITS state machine. Now, <key>
898 includes representation of "ANY of key stroke" (-2).
899 (its-defrule): New feature end=='otherwise.
900 (its-defrule*): New function.
901 (its-state-machine): Implement otherwise-terminate-before-this-key.
903 * its/kanainput.el (its-k-zenkaku-escape, its-k-hankaku-escape,
904 its-k-symbols-escape): Add prefix its-. Let them defconst.
905 "W": Move the definition beginning to avoid error.
907 1997-03-26 NIIBE Yutaka <gniibe@mri.co.jp>
909 * convert.el (egg-next-conversion): -1 goes to end of bunsetsu.
911 1997-03-25 NIIBE Yutaka <gniibe@mri.co.jp>
913 * egg.el (egg-mode-on, egg-input-mode, egg-in-fence-mode): Deleted.
914 (egg-fence-face-on, egg-fence-face-off): Deleted.
915 (egg-region-start, egg-region-end): Deleted.
917 1997-03-24 NIIBE Yutaka <gniibe@mri.co.jp>
919 * its/hira.el ("n"): Add "z" and "?" for prefetch char of "n".
921 Implement conversion mode.
922 * convert.el: New file.
924 1997-03-23 NIIBE Yutaka <gniibe@mri.co.jp>
926 * its.el (its-mode-map): As "\C-g" is used in global-map, use
927 "\C-]" instead (for its-cancel-input).
929 1997-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
931 Introduce new scheme to specify server.
932 * wnnfns.c (Qjserver, Qcserver, Qtserver, Qkserver): Removed.
933 (Vwnn_server_type): Integer variable.
934 (wnn_get_server_type): Renamed from wnn_check_server_type.
935 (charset_wnn_server_type): Renamed from lc_wnn_server_type.
937 Introduce new scheme to specify uniqueness.
938 * wnnfns.c (Qwnn_no_uniq, Qwnn_uniq, Qwnn_uniq_kanji): Removed.
939 (Vwnn_uniqueness_specifier): Integer variable. Renamed from
942 1997-03-21 NIIBE Yutaka <gniibe@mri.co.jp>
945 * wnnfnc.c (Throughout): Change Lisp function name to follow the
946 format of wnn-VERB-OBJECT.
947 Use XFASTINT instead of XINT, if appropriate.
949 * wnnfns.c (Fwnn_fuzokugo_set): Merged with wnn-set-fuzokugo of
952 * wnn-egg.el (wnn-set-fuzokugo): Deleted.
954 * wnnfns.c (Fwnn_dict_add): Merged with wnn-add-dict of wnn-egg.el.
955 * wnn-egg.el (wnn-add-dict): Deleted.
957 * wnn-egg-msg.el (wnn-msg-get): Renamed from egg-msg-get.
958 (wnn-message-alist): Renamed from egg-message-alist.
961 * wnnfns.c (wnn_check_server_type): Renemed from
962 check_wnn_server_type.
964 * wnn-egg-msg.el (egg-error): Deleted. Not useful enough.
965 * wnn-egg.el (Throughout): Replace egg-error by error.
967 * egg.el (egg-sai-henkan-start, egg-sai-henkan-end,
968 egg-old-bunsetu-suu): Moved from wnn-egg.el.
970 * wnn-egg.el (Throughout): Change variable name and function name.
971 Added wnn- prefix, egg- prefix.
972 * wnn-egg.el: Delete historical defaliases. Only support
973 wnn-set-[cjk]server-hostname.
975 * wnn6.el: New file. Discriminate Wnn6 related functions.
976 * eggrc-wnn6: New file. Discriminate Wnn6 related setting.
978 * egg-fence.el: Removed.
980 1997-03-20 NIIBE Yutaka <gniibe@mri.co.jp>
982 Distingush continuation of egg-mode and turn off of egg-mode.
983 * its.el (its-mode-map): Bind "\C-\\" to its-exit-mode-no-egg.
984 (its-exit-mode-internal): New argument egg-mode-flag.
985 (its-exit-mode-no-egg): New Function.
987 Rethink about keymap. Once, the intention of egg-mode-map has
988 been to override ALL of the keymap. That's so selfish, and not
989 friendly to other parts of Emacs. This implementation intend to
990 be more friendly with other keymaps.
991 * its.el (its-mode-map): Remove definition of "\C-c" for
992 its-cancel-input, as C-c has special meaning in Emacs. We should
994 Remove definition of "\C-q" for its-select-previous-map.
995 Remove definition of "\C-_" for egg-jis-code-input.
996 Remove definition of "\C-w", "\C-@", [?\C-\ ] for
997 egg-henkan-fence-region.
999 Implement START/CURSOR/END scheme.
1000 * its.el (its-input-to-vsyl): New function.
1001 (its-beginning-of-input-buffer): New function.
1002 (its-end-of-input-buffer): New function.
1003 (its-backward-SYL): New function.
1004 (its-forward-SYL): New function.
1005 (its-delete-SYL): New function.
1006 (its-delete-backward-SYL): New function.
1007 (its-delete-backward-SYL-internal): New function.
1008 (its-delete-backward-within-SYL): New function.
1009 (its-delete-by-keystroke): New Variable.
1010 (its-exit-mode): New function.
1011 (its-exit-mode-internal): New function.
1013 * its.el (its-standard-map-list, its-find, its-next-map,
1014 its-previous-map): Deleted.
1015 (its-get-indicator): Delete duplicated definition. Leave one which
1016 takes <map> argument.
1017 (its-input): Rename from its-input-subsubsub.
1019 * egg.el (egg-mode-map): Don't include SPACE.
1022 * its.el (its-state-machine): Add new argument EMIT. Return CURSOR.
1023 (its-state-machine-keyseq): Likewise.
1024 (its-input-subsubsub): Return CURSOR.
1025 (its-input-subsub): Deleted.
1026 (its-DSYL-p): Deleted.
1027 (its-buffer-insert-SYL-list): Deleted.
1028 (its-buffer-ins/del-SYL): New function.
1029 (its-input-end): Change the argument to P of point, and return VOID.
1031 Change structure of <map>. <start-state> is normal <state>.
1032 (its-new-map): Follow the change of structure.
1033 (its-get-indicator, its-set-indicator, its-reset-start-state):
1035 (its-reset-start-state): Renamed from its-reset-start.
1037 Don't use <input-buffer>, but introduce new scheme of SYL property.
1038 (its-change-t-to-nil, its-nil-index, its-bytes-between,
1039 its-delete-between, its-move-nil--->, its-move-nil-<--,
1040 its-move-nil-<--sub, its-move-nil-to-last, its-move-nil-to-first):
1043 1997-03-19 NIIBE Yutaka <gniibe@mri.co.jp>
1045 * its.el: Change the structure of DSYL. Same as <state>.
1046 (its-input-subsub): Follow the change of structure.
1047 (its-make-DSYL): Deleted.
1048 (its-get-keyseq-cooked): New function.
1050 Swap the meaning of T/NIL of <SYL>.
1052 Delete the structure of <input-buffer>.
1053 (its-new-input-buffer): Deleted.
1054 (its-input-subsub): Remove the argument SYLP.
1055 (its-input, its-input-sub, its-init-text-properties): Deleted.
1057 Introduce START, END and CURSOR.
1059 1997-03-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1061 Global-map should be used, for key sequence not defined by
1062 its-mode-map and/or egg-mode-map. Don't mask other maps.
1063 * its.el (its-mode-esc-map): Deleted.
1064 (its-mode-map): Include define-key of the esc-map here.
1065 * egg.el (egg-mode-esc-map): Deleted.
1066 (egg-mode-map): Include define-key of the esc-map here.
1068 1997-03-18 NIIBE Yutaka <gniibe@mri.co.jp>
1070 * its.el (its-input): Rename from its-input-input-buffer.
1071 (its-state-machine): Handle END of input (key == -1).
1073 ITS minor mode deleted. It's implemented by local-map of text
1075 (its-mode): Remove the variable.
1076 (its-mode): Remove the function.
1078 * its.el (<input-buffer>): Change the order of <SYL> list.
1079 (car sylp) is last entry of the list.
1080 (its-input-buffer): Deleted. It's now a member of text
1082 (<map>): Change the structure. Start state should have "" for keyseq.
1083 (its-get-start-state): Follow chage of the <map> structure.
1084 (its-reset-start, its-set-indicator, its-get-indicator): Likewise.
1085 (its-new-state, its-new-map): Split from its-new-state/map.
1086 (its-make-map): Deleted.
1088 1997-03-17 NIIBE Yutaka <gniibe@mri.co.jp>
1090 * its.el (its-buffer-insert-SYL-list): Use insert-and-inherit to
1092 (its-fence-overlay): Removed. Don't use overlay, as it has no
1093 information in undo-list.
1095 1997-03-16 NIIBE Yutaka <gniibe@mri.co.jp>
1097 * its/hira.el ("n"): Use new feature END.
1098 ("ppy", "bby", "ddy", "jjy", "zzy", "ggy", "lly", "rry", "hhy",
1099 "cch", "tts", "tty", "ssh", "ssy", "kky"): its-defoutput.
1101 * its.el (its-defrule): Add argument END.
1102 (its-buffer-delete-SYL): Bug fix. Use length instead of string-width.
1104 1997-03-15 NIIBE Yutaka <gniibe@mri.co.jp>
1106 * its.el (its-input-input-buffer): Implement the case of DSYL.
1108 1997-03-14 NIIBE Yutaka <gniibe@mri.co.jp>
1110 * its.el (its-buffer-delete-SYL): Handle the case of NIL.
1112 * its/hira.el: Implement "kka" and others. Implemlement "N".
1113 (digit-characters, symbol-characters, downcase-alphabets,
1114 upcase-alphabets): Delete useless defvar-s.
1116 1997-03-14 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1118 * its/hira.el ("roma-kana"): Follow change of implementation of
1121 Correct the abuse of the word "MODE". It seems that it's direct
1122 influence of "mode" in Emacs, but it's not mode at all.
1123 * its.el (its-map-alist): Renamed from its-mode-alist.
1124 (its-get-map): Renamed from its-get-mode-map.
1125 (its-set-map): Renamed from its-set-mode-map.
1126 (its-define-state-machine): Renamed from its-define-mode.
1127 (its-select-map-menu): Renamed from its-select-mode-menu.
1128 (its-select-map-from-menu): Renamed from its-select-mode-from-menu.
1129 (its-standard-map-list): Renamed from its-standard-modes.
1130 (its-next-map): Renamed from its-next-mode.
1131 (its-previous-map): Renamed from its-previous-mode.
1132 (its-select-map): Renamed from its-select-mode.
1133 (its-get-indicator): Renamed from its-get-mode-indicator.
1135 (its-select-map-from-menu): As it's not mode, don't need offer hooks.
1136 (its-next-map): Likewise.
1137 (its-previous-map): Likewise.
1138 (its-select-map): Likewise.
1140 Change the implementation of its-mode-alist. Name is in <map> now.
1141 * its.el (its-get-mode-map): Just do assoc.
1142 (its-set-mode-map): Simplified.
1144 * its.el (its-get-indicator): Renamed from its-map-indicator.
1145 (its-set-indicator): Renamed from its-map-set-indicator.
1146 (its-get-start-state): Renamed from its-map-start.
1147 (its-new-state): Change the argunents.
1148 (its-map-set-start): Removed.
1149 (its-reset-start): New function.
1151 Remove old implemantation of translator.
1152 * its.el (its-resize, its-maps, its-actions, its-inputs,
1153 its-level, its-maxlevel, its-char-from-buff, its-interactive):
1155 (its-make-action, its-reset-maps, its-current-map,
1156 its-previous-map, its-level, its-enter-newlevel, its-reset-input,
1157 its-flush-input-before-point, its-peek-char, its-read-char):
1159 (its-push-char, its-ordinal-charp, its-delete-charp): Removed.
1160 (its-translate-region): Removed.
1161 (its-buff-s, its-buff-e): Removed.
1162 (its-state-terminalp): Removed.
1164 Remove selection of candidates in map, it's questionable to
1165 implement this feature with SYL. Might rethink in future.
1166 (its-make-menu-from-map-result, its-make-alist-from-map-result):
1168 (its-make-menu-from-map, its-make-menu-from-map*): Removed.
1169 (its-make-alist-from-map, its-make-alist-from-map*): Removed.
1170 (its-completing-read): Removed.
1171 (its-minibuffer-local-must-match-map,
1172 its-minibuffer-local-completion-map): Removed.
1173 (its-minibuffer-completion-help, car-string-lessp,
1174 its-temp-echo-area-contents): Removed.
1176 Implement SYL-based state machine.
1177 * its.el (its-input-buffer, its-barf-on-invalid-keyseq): New variables.
1178 (its-new-input-buffer): New function.
1179 (its-self-insert-char): New command.
1180 (its-initial-ISYL, its-make-DSYL, its-make-VSYL,
1181 its-input-input-buffer, its-input-input-buffer-sub,
1182 its-state-machine, its-state-machine-keyseq,
1183 its-buffer-delete-SYL, its-buffer-insert-SYL-list,
1184 its-get-next-state, its-get-ksa/b, its-get-keyseq, its-ksa-p,
1185 its-get-output): New function.
1186 (its-get-KAS): Removed.
1187 (its-get-state, its-get-action, its-set-action): Removed.
1188 (its-make-KAS, its-get-KAS): Removed.
1190 * its.el (its-defrule-sub): Merged into its-defrule.
1192 1997-03-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1194 * its.el: (its-define-mode): Change the arguments.
1195 * its/zhuyin.el ("zhuyin"): Follow the changes of its-define-mode.
1196 * its/zenkaku.el ("zenkaku-downcase"): Likewise.
1197 * its/pinyin.el ("PinYin"): Likewise.
1198 * its/kata.el ("roma-kata"): Likewise.
1199 * its/kanainput.el ("kanainput"): Likewise.
1200 * its/hira.el ("roma-kana"): Likewise.
1201 * its/hankaku.el ("downcase"): Likewise.
1202 * its/hangul.el ("hangul"): Likewise.
1203 * its/han-kata.el ("roma-han-kata"): Likewise.
1205 * its.el (its-action-output, its-action-next, its-get-next-map,
1206 its-set-next-map): Removed.
1207 (its-make-next-state): New function.
1208 (its-make-state): Removed.
1210 * its.el (its-defrule-sub): Renamed from `its-defrule**'.
1212 * wnnfns.h: New file. Macros for WNN6 are defined here.
1213 * wnn6fns.c: New file. Moved from wnnfns.c for WNN6 specific
1216 1997-03-12 NIIBE Yutaka <gniibe@mri.co.jp>
1218 * wnnfns.c: cosmetic changes (indentation, commenting-out-style,
1219 and compare to Qnil, etc).
1220 Get rid of "register" qualifier.
1222 1997-03-05 NIIBE Yutaka <gniibe@mri.co.jp>
1224 * its.el (its-define-mode): Change internal structure. Completely
1226 (its-make-map): Function to make map.
1227 (its-make-state): New function. Make new state.
1228 (its-make-KAS): New function. Make Key-Action-State triad.
1229 (its-state-terminalp): New function. True when the state is
1231 (its-map-indicator, its-map-set-indicator,): Changed.
1232 (its-map-terminalp, its-map-incrementalp,
1233 its-map-set-incrementalp, its-map-alist, its-map-set-alist,
1234 its-map-action, its-map-set-action): Removed.
1236 (its-defrule-verbose): Deleted. Seems debug purpose variable.
1238 (its-make-map): Removed <state>. It was useless space eater.
1239 (its-map-indicator, its-map-set-indicator, its-map-alist,
1240 its-map-set-alist, its-map-action, its-map-set-action): Follow the
1242 (its-define-mode): Likewise.
1243 (its-defrule**): Change the argument. Delete STATE.
1244 (its-defrule): Likewise.
1245 (its-map-state, its-map-set-state): Removed.
1247 <topmap>: Changed the structure. Introduce <incrementalp>, which
1248 is t on hangul-map, zhuyin-map, and kanainput-map.
1249 (its-define-mode): Change the arguments. INDICATOR and RESET is
1250 always required. Add new argument INCREMENTALP.
1251 * its/kanainput.el ("kanainput"): Use new API of its-define-mode.
1252 * its/hangul.el ("hangul"): Likewise.
1253 * its/zhuyin.el ("zhuyin"): Likewise.
1254 * its.el (its-make-terminal-state-sofar): Removed.
1255 (its-default-make-terminal-state): Removed.
1256 (its-make-terminal-state): Removed
1257 (its-make-non-terminal-state): Removed. Not used.
1258 (its-map-incrementalp, its-map-set-incrementalp): New functions.
1260 1997-03-04 NIIBE Yutaka <gniibe@mri.co.jp>
1262 * its.el (its-defrule-conditional, its-defrule-conditional*):
1263 Removed. Evaluating cond clause at runtime is stupid. Rules
1264 should be determined at compile time, not at run time.
1265 (its-get-action): Simplified. It's always standard.
1266 (its-make-terminal-state-sofar): Likewise.
1267 (its-make-action): Renamed from its-make-standard-action.
1268 (its-standard-actionp): Removed. No use.
1269 (its-translate-region): Simplified.
1271 (its-map-topmap-p): Removed. No use.
1273 (its-simple-actionp, its-collect-simple-action): Removed. No use.
1275 (its-insert-output-string, its-display-status-string): Removed.
1276 It seemd these variables is to debug ITS itself.
1277 (its-translate-region): Simplified.
1279 * its/hira.el (".", ",", "n", "nn"): Rules should be determined at
1281 * its/han-kata.el: Likewise.
1282 * its/kata.el: Likewise.
1284 * its.el (its-make-standard-action): Simplified.
1285 (its-make-standard-action): Remove alternative output.
1286 (its-standard-actionp): Simplified.
1287 (its-action-next): Simplified.
1288 (its-select-alternative-output-menu): Removed. Not used at all.
1289 (its-select-alternative-output): Ditto.
1291 * its/han-kata.el, its/zenkaku.el, its/kata.el, its/kanainput.el,
1292 its/hira.el, its/hankaku.el: Add (require cl).
1294 * its.el (its-enable-double-n-syntax, its-use-kuten-for-period,
1295 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
1296 Declare here. Add prefix `its-'. ):
1298 (its-defrule, its-defrule*): Remove MAP argument.
1299 Merged into its-defrule.
1301 1997-03-04 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1303 * its.el (its-completing-input-menu): Removed. Not used.
1304 (its-completing-input): Ditto.
1305 (its-translate-region): Remove (null action) clause. It's identical
1308 (its-map-supers): Deleted.
1309 (its-map-set-supers): Ditto.
1310 (its-get-next-map-locally): Deleted.
1312 (its-define-mode): Remove supers.
1313 (its-make-map): Likewise.
1315 (its-simulate-input): sref -> aref. add char-bytes -> +1.
1316 (its-defrule**): Likewise.
1318 (its-flush-input-before-point): Delete useless save-excursion.
1319 (its-push-char): Likewise.
1320 (its-translate-region): Likewise.
1322 * its/zhuyin.el (its-make-terminal-state):
1323 * its/kanainput.el (its-make-terminal-state):
1324 * its/hangul.el (its-make-terminal-state):
1325 Use its-make-terminal-state-sofar.
1327 * its/kanainput.el (its-make-terminal-state-kanainput): Removed.
1329 * its.el (its-make-terminal-state-sofar): Renamed.
1330 (was: its-make-terminal-state-hangul)
1332 * its/han-kata.el (its-select-hankaku-katakana): Renamed.
1333 (was: its:select-hankaku-katakana).
1335 * its.el (its-map-topmap-p, its-map-supers, its-map-set-supers,
1336 its-map-terminalp, its-map-state, its-map-set-state,
1337 its-map-indicator, its-map-set-indicator, its-map-action,
1338 its-map-set-action, its-map-alist, its-map-set-alist,
1339 its-get-action, its-action-output, its-action-next,
1340 its-get-next-map, its-get-next-map-locally, its-set-next-map,
1341 its-collect-simple-action, its-read-current-its-string,
1342 its-make-map): Add prefix 'its-'.
1344 * its.el (its-defrule-select-mode-temporally): Deleted.
1345 (its-select-mode-temporally): Deleted.
1346 (its-select-previous-mode): Deleted.
1348 * its/hira.el ("q", "Q"): Removed.
1350 * its.el (its-defrule**): Don't call coerce-internal-string.
1351 (map-state-string): Removed.
1352 (its-default-make-standard-non-terminal-state): Don't call
1355 * egg.el (characterp, coerce-internal-string, coerce-string): Removed.
1357 * its.el (its-insert-char): Deleted.
1358 (its-internal-mode-alist): Removed.
1359 (its-set-mode-map, its-define-mode): Remove internalp.
1360 (its-set-mode-indicator): Removed.
1362 * egg-fence.el (egg-fence-self-insert-command): Add prefix 'egg-'.
1364 * its.el (fence-self-insert-command): Move to egg-fence.el.
1366 * egg-fence.el (egg-exit-fence-mode): Renamed (egg-fence-exit-mode).
1367 (egg-enter-fence-mode-and-self-insert): Deleted.
1369 * egg.el (egg-quit-egg-mode): Deleted.
1371 * egg-misc.el (egg-fence-toggle-egg-mode): Add prefix 'egg-'.
1372 (egg-fence-toggle-egg-mode): beep -> ding.
1373 (global-map): bind C-\ to egg-enter-fence-mode.
1375 1997-03-02 NIIBE Yutaka <gniibe@mri.co.jp>
1377 * egg-henkan.el: New file.
1379 Use new API (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi,
1380 egg-is-dai-bunsetu, bunsetu-suu, egg-hindo-update,
1381 egg-get-bunsetu-end).
1383 * wnn-egg.el: Move egg-henkan-* to egg-henkan.el.
1385 * wnn-egg.el (egg-startup-file-search-path): Remove current
1387 (egg-open-wnn): Renamed from EGG-open-wnn.
1388 (bunsetu-suu): New function.
1389 (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi): New function.
1390 (egg-is-dai-bunsetu): New function.
1391 (egg-hindo-update): New function.
1392 (egg-get-bunsetu-end): New function.
1394 (egg-henkan-region, egg-gyaku-henkan-region,
1395 egg-henkan-region-internal, egg-henkan-paragraph,
1396 egg-gyaku-henkan-paragraph, egg-henkan-sentence,
1397 egg-gyaku-henkan-sentence, egg-henkan-word, egg-gyaku-henkan-word,
1398 egg-henkan-insert-kouho, egg-henkan-kakutei,
1399 egg-henkan-kakutei-first-char, egg-henkan-kakutei-before-point,
1400 egg-sai-henkan, egg-henkan-goto-bunsetu,
1401 egg-henkan-forward-bunsetu, egg-henkan-backward-bunsetu,
1402 egg-henkan-first-bunsetu, egg-henkan-last-bunsetu,
1403 egg-henkan-hiragana, egg-henkan-katakana, egg-henkan-next-kouho,
1404 egg-henkan-next-kouho-dai, egg-henkan-next-kouho-sho,
1405 egg-henkan-previous-kouho, egg-henkan-previous-kouho-dai,
1406 egg-henkan-previous-kouho-sho, egg-henkan-goto-kouho,
1407 egg-henkan-bunsetu-chijime-dai, egg-henkan-bunsetu-chijime-sho,
1408 egg-henkan-bunsetu-nobasi-dai, egg-henkan-saishou-bunsetu,
1409 egg-henkan-saichou-bunsetu, egg-bunsetu-length-henko,
1410 egg-henkan-quit, egg-henkan-select-kouho,
1411 egg-henkan-select-kouho-dai, egg-henkan-select-kouho-sho,
1412 egg-henkan-word-off, egg-henkan-kakutei-and-self-insert,
1413 egg-henkan-mode-map, egg-henkan-mode-esc-prefix,
1414 egg-henkan-help-command, egg-henkan-inspect-bunsetu):
1417 (egg-henkan-mode-in-use): Deleted.
1418 (set-egg-henkan-mode-format): Deleted. Don't need.
1420 (disconnect-wnn): Let it be normal function, instead of command.
1423 (set-jserver-host-name, set-kserver-host-name,
1424 set-cserver-host-name): Use defalias.
1426 (close-wnn): Take an argument of wnn-server-type.
1427 (wnn-egg-kill-emacs-function, set-wnn-host-name,
1428 set-cwnn-host-name, set-kwnn-host-name): Likewise.
1430 * egg.el (egg-global-map-backup): Deleted.
1431 (egg-local-map-backup): Deleted.
1432 (egg-insert-after-hook): it's global variable, nod buffer-local.
1434 * egg-fence.el (egg-henkan-fence-region, egg-enter-fence-mode,
1435 egg-fence-katakana, egg-fence-hiragana, egg-fence-hankaku,
1436 egg-fence-zenkaku, egg-fence-backward-char,
1437 egg-fence-forward-char, egg-fence-beginning-of-line,
1438 egg-fence-end-of-line, egg-fence-transpose-chars,
1439 egg-fence-delete-char, egg-fence-backward-delete-char,
1440 egg-fence-kill-line, egg-fence-exit-mode, egg-fence-cancel-input,
1441 egg-fence-mode-help-command): Add Prefix `egg-'.
1443 (egg-fence-mode-map): Remove binding to eval-expression (C-z).
1445 (egg-self-insert-non-undo-count): Removed.
1446 (egg-self-insert-command): Removed.
1448 (egg-fence-backward-char, egg-fence-forward-char,
1449 egg-fence-transpose-chars, egg-fence-delete-char,
1450 egg-fence-backward-delete-char): beep -> ding.
1451 wnn-egg.el (egg-henkan-select-kouho): Likewise.
1453 1997-02-27 NIIBE Yutaka <gniibe@mri.co.jp>
1455 * wnn-egg.el (push-end, push-end-internal): Removed.
1457 * its.el (dolist): Removed. It's in CL package.
1458 (for-each, for-each*): Removed.
1460 * egg-keymap.el: Removed. I guess noone use it.
1462 * egg-jsymbol.el (*-alist): Declare by defconst.
1464 * egg-misc.el (toggle-egg-mode): Removed.
1466 * All files: Change the identifier XXX:YYYY --> XXX-YYYY,
1469 * egg-fence.el (enter-fence-mode): Use new API for marker
1470 insertion `set-marker-insertion-type'.
1471 * its.el (its-*buff-e*): Likewise.
1473 * egg-jsymbol.el: lc-jp --> (charset-id 'japanese-jisx0208)
1474 lc-jp2 --> (charset-id 'japanese-jisx0212).
1476 1997-02-26 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1478 * egg-fence.el (egg:fence-mode-map): Renamed from fence-mode-map.
1479 (egg:fence-mode-esc-prefix): Renamed from egg:fence-mode-esc-map.
1480 (henkan-fence-region-or-single-space): Removed.
1482 * egg-misc.el (toggle-egg-mode): mc-flag
1483 -> enable-multibyte-characters.
1485 * its.el (read-current-its-string): New function. Moved from
1487 (In meny functions): beep --> ding.
1489 * egg-misc.el (read-hiragana-string): Removed.
1490 (read-kanji-string): Removed.
1491 (egg:special-symbol-input): Renamed from special-symbol-input.
1492 (egg:special-symbol-input-point): Renamed from
1493 special-symbol-input-point.
1494 (si:*global-map*): Remeved.
1495 Removed 'Changes on Global map'.
1496 (its-mode-map): Renamed from mule-keymap.
1498 * wnn-egg.el (henkan-region-internal): Use new API for undo.
1499 (henkan-kakutei): Likewise.
1500 (henkan-kakutei-first-char): Likewise.
1501 (henkan-kakutei-before-point): Likewise.
1502 (sai-henkan): Likewise.
1503 * egg.el (egg:quit-egg-mode): Likewise.
1505 * egg-fence.el (egg:*fence-open*, egg:*fence-close*,
1506 egg:*fence-face*): Let them be declared by defvar.
1507 (egg:*fence-open-in-cont*, egg:*fence-close-in-cont*,
1508 egg:*fence-face-in-cont*): Likewise.
1510 (set-egg-fence-mode-format): Removed. Useless. Don't need to be
1512 (set-egg-fence-mode-format-in-cont): Removed.
1513 (egg:*face-alist*): Removed.
1515 * wnn-egg-misc.el (its:select-mode, its:select-mode-from-menu,
1516 its:next-mode, its:previous-mode):
1517 Removed (Merged into its.el).
1519 * its.el (its:select-mode, its:select-mode-from-menu,
1520 its:next-mode, its:previous-mode): Call hook of
1521 `its:select-mode-hook'.
1523 * diced.el: Removed. This depends on wnn. Functions are moved to
1526 * wnn-egg-dict.el (remove-regexp-in-string): Removed.
1527 (toroku-region): Don't call `remove-regexp-in-string'. Removing
1528 invalid sequence (TAB?) automatically is not good idea. It should
1529 notify user. Currently, just don't remove.
1531 * busyu.el (busyu-table): defconst instead of defvar.
1532 (busyu-kaku-alist): defconst instead of defvar.
1534 * its.el (egg:member): Removed. Not used.
1536 * wnn-egg-msg.el (*egg-message-alist*): Include asking string in
1537 register-notify and remove-notify. Should also change Korean and
1540 * egg.el: Removed "Tamago Notification System".
1541 It is useless, as we have *Messages* buffer in GNU Emacs 19.
1543 * diced.el (diced-execute): Don't use `notify' but `message'.
1544 (set-dict-comment): Likewise.
1545 * its.el (its-defrule**): Likewise.
1546 * wnn-egg-dict.el (egg:toroku-word): Likewise.
1547 * wnn-egg-msg.el (egg:error): Likewise.
1548 * wnn-egg.el (set-wnn-param): Likewise.
1549 (EGG:open-wnn): Likewise.
1550 (close-wnn): Likewise.
1551 (henkan-word-off): Likewise.
1552 (henkan-inspect-bunsetu): Likewise.
1554 * diced.el (diced-execute): Don't use `notify-yes-or-no-p' but use
1555 plain `yes-or-no-p' and format.
1556 * wnn-egg-dict.el (egg:toroku-word): Likewise.
1558 * egg.el (notify-yes-or-no-p-internal): IIDESUKA is not good.
1559 it should get the message through egg:get-msg. Currently, use
1561 (notify-y-or-n-p-internal): Likewise.
1563 * wnn-egg.el: Split into wnn-egg-dict.el, wnn-egg-misc.el, and
1565 (many functions): remove commented out line of
1566 (open-wnn-if-disconnected).
1568 * egg.el: Split into egg.el, egg-fence.el, egg-misc.el,
1569 jis-input.el, and modeline.el.
1571 * wnn-egg.el (egg-default-startup-file): change to eggrc-wnn from
1573 (henkan-region-internal): Use new API for marker insertion
1574 `set-marker-insertion-type'.
1576 1997-02-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1578 * menu.el (menu:select-from-menu): Rewritten.