1 1998-02-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3 * leim-list-egg.el (egg-activate-wnn): New function.
4 (egg-activate-sj3): New function.
5 (japanese-egg-wnn): New input method.
6 (japanese-egg-sj3): New input method.
8 * egg/sj3rpc.el: Add `(provide 'egg/sj3rpc)'.
10 * egg/sj3.el: Add `(provide 'egg/sj3)'.
12 * egg/wnnrpc.el: Add `(provide 'egg/wnnrpc)'.
14 * egg/wnn.el: Add `(provide 'egg/wnn)'.
16 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
18 * leim-list-egg.el: Rename `egg-ja' -> `japanese-egg'.
20 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
22 * egg/wnn.el (wnn): New group.
23 (wnn-server): Use `defcustom'.
24 (wnn-usr-dic-dir): Use `defcustom'.
26 * egg.el (egg): New group.
28 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
30 * menudiag.el (menudiag-mode-map): Swap binding for left and
33 * egg.el (egg-toroku-region): `wnn-get-environment' requires
34 dictionary-specification.
36 * leim-list-egg.el: add autoload setting for egg-mode.
38 1997-11-03 KATAYAMA Yoshio <kate@pfu.co.jp>
40 * euc-cn.el: New file. Original name was yincoding.el.
41 Adopted by NIIBE Yutaka <gniibe@mri.co.jp>.
43 1997-11-03 NIIBE Yutaka <gniibe@mri.co.jp>
45 * its.el (its-start): Add INVISIBLE property if ITS-FENCE-FACE.
46 * egg-cnv.el (egg-decide-before-point): Ditto.
47 Based on patch by Kenichi HANDA <handa@etl.go.jp>.
49 Once, I thought that we need many environments which correspond to
50 outstanding CONVERSION buffre. However, I've learned that WNN4
51 protocol is completely independent. It's no use to maintain each
52 environment. Share the one environment.
53 * egg/wnn.el (wnn-environments): Removed.
54 (wnn-environment): New variable.
55 (wnn-comm-sentinel): Follow the change. Let users know the close.
58 <env>: Remove the member <in-use>.
59 (wnnenv-create): Follow the structure change.
60 (wnn-end-conversion): Likewise.
61 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Removed.
62 (wnn-find-env-not-in-use): Removed.
63 (wnn-get-environment): Use wnn-environment instead of wnn-environments.
66 * egg-cnv.el (egg-decide-before-point): Signal error on first SYL.
67 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>. Changes of 1997-09-07
69 Set-marker M to NIL after PUT-TEXT-PROPERTY.
71 Because the name of identifier begins egg-*, change the file names.
72 * tamago: Rename from tamago.
73 * egg.el, egg-mlh.el, egg-com.el, egg-cnv.el: Rename from tamago-*.el
74 * Makefile: Follow the changes.
76 1997-10-05 NIIBE Yutaka <gniibe@mri.co.jp>
78 * tamago/wnn.el (wnn-uniq-candidates): Add new argument BUNSETSU.
79 Call WNN-BUNSETSU-SET-ZENKOUHO-POS, WNN-BUNSETSU-SET-ZENKOUHO in
80 this function. Handle the case where BUNSETSU is not the first
81 element of BUNSETSU-LIST.
82 (wnn-list-candidates): Use new API of WNN-UNIQ-CANDIDATES.
84 * tamago-cnv.el (egg-next-candidate): Handle the case where
85 EGG-LIST-CANDIDATES returns non zero value.
87 1997-10-04 NIIBE Yutaka <gniibe@mri.co.jp>
89 * Makefile (install): Install to SITEDIR.
91 1997-09-26 NIIBE Yutaka <gniibe@mri.co.jp>
93 * its/hira.el (its-hira-enable-zenkaku-alphabet): New variable.
94 (its-hira-map): Use it.
96 1997-09-19 NIIBE Yutaka <gniibe@mri.co.jp>
98 Arrange for LEIM. Use tamago/ subdirectory.
99 * tamago/: Rename from tamago-lib.
101 1997-09-18 NIIBE Yutaka <gniibe@mri.co.jp>
103 * tamago-cnv.el (egg-select-candidate): menu-select -->
105 * tamago.el (egg-toroku-region, egg-hinshi-select): Likewise.
107 * tamago-cnv.el (egg-exit-conversion): Run hook of
108 input-method-after-insert-chunk-hook.
109 * its.el (its-exit-mode-internal): Ditto.
111 * tamago-mlh.el (mlh-comma-period-style): Deleted.
113 * its/, tamago-lib/: New directory.
114 * its/: Move its-*.el files here.
115 * tamago-lib/: Move sj3.el, sj3rpc.el, wnn.el and wnnrpc.el here.
117 * tamago-com.el: Rename from comm.el.
118 * tamago-mlh.el: Rename from mlh.el.
119 * tamago-cnv.el: Rename from convert.el.
121 * menudiag.el: Rename from menu.el.
122 (Throughout): Rename menu-* to menudiag-*.
124 1997-09-07 NIIBE Yutaka <gniibe@mri.co.jp>
126 * egg.el (egg-insert-after-hook, egg-exit-hook): Removed.
127 (egg-sai-henkan-start, egg-sai-henkan-end, egg-old-bunsetu-suu):
130 * wnn.el (WNN-const): New macro.
131 (wnn-start-conversion, wnn-open-dictionary, wnn-open-frequency,
132 wnn-set-dictionary-sub, wnn-update-frequency): Use it.
134 * wnnrpc.el (wnn-const): New macro.
135 Throughout: Use wnn-const.
137 * convert.el (egg-decide-before-point): Bug fix. Handle the case
138 where all bunsetsu are decided.
139 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>.
141 * convert.el (egg-exit-conversion): Call egg-end-conversion at end.
142 (egg-decide-before-point): Ditto.
144 * wnn.el (wnn-environments): Change the structure of enviromnents.
145 (wnn-fini): Handle errors.
146 (wnn-open): Set sentinel. Delete buffer on failure.
147 (wnn-comm-sentinel): New function.
148 (wnn-find-env-not-in-use): Return nil when not found.
150 (wnn-create-environment): Take username as argument.
151 (wnn-get-environment): Follow the change.
153 (wnnenv-create): Remove useless serial no.
154 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Follow the change.
155 (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Likewise.
156 (wnn-create-environment, wnn-get-environment): Likewise.
158 1997-09-04 NIIBE Yutaka <gniibe@mri.co.jp>
160 * its.el (its-state-machine-keyseq): Bug fix. Handle VSYL.
162 * sj3.el, sj3rpc.el: New files.
164 * comm.el (comm-call-with-proc, comm-call-with-proc-1): New macros.
165 * wnnrpc.el (wnnrpc-call-with-proc, wnnrpc-call-with-proc-1): Deleted.
166 Throughout: Use comm-call-with-proc and comm-call-with-proc-1.
168 1997-09-03 NIIBE Yutaka <gniibe@mri.co.jp>
170 * wnnrpc.el (wnnrpc-call-with-proc-1): Bug fix. let --> progn.
172 * convert.el (egg-conversion-backend): Initail value is NIL.
174 * wnn.el (wnn-conversion-backend): New constant.
176 * comm.el (comm-format,comm-unpack): Support multibyte string.
177 (comm-format-mb-string): New substitution.
178 (comm-unpack-mb-string): New substitution.
180 * wnn.el (wnn-fini): Handle the case where wnn-environments is nil.
181 Reported by Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>.
183 1997-09-03 Hiroshi Ogata <hiroshi@nereid.rim.or.jp>
185 * mlh.el (mlh-zenkaku): Use new API of Emacs-20,
186 japanese-zenkaku-region.
188 1997-09-02 NIIBE Yutaka <gniibe@mri.co.jp>
190 * egg.el (egg-toroku-region): New function.
192 * wnn.el (wnn-list-dictionaries): New function.
193 (wnnenv-get-proc): New function.
195 * wnnrpc.el (wnndic-get-id, wnndic-get-comment, wnndic-get-dictname):
197 (wnnrpc-get-writable-dictionary-id-list): Rename from
198 wnnrpc-get-writable-dictionary-list.
200 1997-09-01 NIIBE Yutaka <gniibe@mri.co.jp>
202 * convert.el (egg-decide-bunsetsu): New function.
203 (egg-decide-before-point): New command.
204 (egg-exit-conversion): Use egg-decide-bunsetsu.
206 * its.el (its-start): Divide the fence buffer into two parts and
207 make them intangible, so that point goes appropriate position.
208 (its-put-cursor): The cursor belongs to part-2.
209 (its-buffer-ins/del-SYL): The new SYL belongs to part-1.
210 (its-exit-mode-internal): Remove the property on exit.
211 (its-beginning-of-input-buffer): Make SYLs have property of "part 2".
212 (its-backward-SYL): Likewise.
213 (its-forward-SYL): Make SYLs have property of "part 1".
214 (its-end-of-input-buffer): Likewise.
216 (its-input-end): Delete useless argument.
217 (its-beginning-of-input-buffer, its-exit-mode,
218 its-exit-mode-off-input-method, its-kick-convert-region,
219 its-end-of-input-buffer, its-backward-SYL, its-forward-SYL,
220 its-delete-SYL): Follow the change.
222 1997-08-31 NIIBE Yutaka <gniibe@mri.co.jp>
224 For egg-mode, don't use minor mode, override local map instead.
225 For its-mode and egg-conversion-mode, don't use minor mode,
226 instead use local-map of text property.
228 Although overriding local map is not good, using local-map of
229 property is natural thing. Besides, point-left/point-entered
230 don't work as I expected (yet).
232 * egg.el (egg-mode: variable): Removed.
233 * egg.el (egg-modefull-map, egg-modeless-map): Make them functions.
234 Generate overriding local map.
235 * egg.el (egg-mode): use overriding local map.
237 * its.el, convert.el: Undo changes of 1997-08-28 for minor mode
238 and local map of text properties.
240 * its.el (its-exit-mode-off-input-method): New function.
242 1997-08-29 NIIBE Yutaka <gniibe@mri.co.jp>
244 Let Undo work correctly.
245 * its.el (its-self-insert-char): Delete/Insert cursor.
247 * its.el (its-put-cursor): Remove useless first argument.
248 (its-start, its-beginning-of-input-buffer, its-end-of-input-buffer,
249 its-backward-SYL, its-forward-SYL, its-delete-SYL, its-delete-SYL,
250 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
253 1997-08-28 KATAYAMA Yoshio <kate@pfu.co.jp>
255 * its-erpin.el: New file.
256 * its-pinyin.el: New file.
257 * its-zhuyin.el: New file.
259 1997-08-28 NIIBE Yutaka <gniibe@mri.co.jp>
261 * its.el (its-exit-mode-no-egg): Removed.
262 (its-exit-mode-internal): Remove first argument.
263 (its-kick-convert-region, its-delete-SYL,
264 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
267 Don't use local map of text properties, instead use minor mode.
268 * convert.el (egg-conversion-mode): New minor mode.
269 (egg-conversion-left, egg-conversion-enter): New functions.
270 (egg-insert-bunsetsu): remove local-map, add point-entered and
271 point-left properties.
272 (egg-exit-conversion): Likewise.
273 (egg-exit-conversion): Exit minor mode.
275 * its.el (its-put-cursor): remove local-map, add point-entered and
276 point-left properties.
277 (its-enter, its-left): New functions.
278 (its-mode): New variable. New minor mode.
280 1997-08-27 NIIBE Yutaka <gniibe@mri.co.jp>
282 * convert.el (egg-exit-conversion-no-egg): Removed.
283 (egg-exit-conversion): No argument, no egg-mode.
285 * convert.el (egg-convert-region): No egg-flag.
286 * its.el (its-exit-mode-internal): Follow it.
287 * mlh.el (mlh-space-bar-backward-henkan): Ditto.
289 1997-08-26 NIIBE Yutaka <gniibe@mri.co.jp>
291 * wnn.el (wnn-change-bunsetsu-length): Don't use magic #3.
293 * convert.el (egg-insert-bunsetsu-list): Add optional argument
296 1997-08-25 NIIBE Yutaka <gniibe@mri.co.jp>
298 * convert.el (egg-insert-bunsetsu): Include seperator. Add
299 intangible property to bunsetsu.
300 (egg-insert-bunsetsu-list): Follow the change.
301 (egg-backward-bunsetsu, egg-forward-bunsetsu,
302 egg-select-candidate, egg-next-candidate,
303 egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
304 egg-exit-conversion): Ditto.
306 * mlh.el (mlh-space-bar-backward-henkan): Call egg-convert-region
307 with last argument t. Turn of egg-mode.
309 1997-08-24 NIIBE Yutaka <gniibe@mri.co.jp>
311 * its.el (its-exit-mode-internal): Inactivate input method.
313 * wnn.el (wnn-end-conversion): Change the interface.
314 (wnn-update-frequency): Follow the change.
315 * convert.el (egg-exit-conversion): Follow the change.
317 * wnn.el (wnn-start-conversion): Change the return value interface.
318 * convert.el (egg-convert-region): Follow the change.
320 * wnn.el (wnnenv-get-bunsetsu-pos, wnnenv-set-bunsetsu-pos): Removed.
321 (wnn-get-bunsetsu-source-afterwards): Removed.
322 (wnn-get-number-of-bunsetsu, wnn-get-bunsetsu-info): Removed.
323 (wnnenv-get-bunsetsu-list, wnnenv-set-bunsetsu-list): Removed.
324 (wnn-start-conversion): Don't call wnnenv-set-bunsetsu-list.
325 (wnn-end-conversion): Ditto.
327 1997-08-23 NIIBE Yutaka <gniibe@mri.co.jp>
329 * convert.el (egg-change-bunsetsu-length): Change the interface.
330 (egg-shrink-bunsetsu,egg-enlarge-bunsetsu): Follow it.
332 (egg-source-maxlen-from-here): Removed.
333 (egg-get-previous-bunsetsu): New function.
334 (egg-select-candidate, egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
335 egg-next-candidate): Use egg-get-previous-bunsetsu.
337 1997-08-20 NIIBE Yutaka <gniibe@mri.co.jp>
339 * egg.el (minor-mode-alist): Don't show " EGG" in mode line.
340 (egg-mode): Use input method indicator instead.
342 1997-07-20 NIIBE Yutaka <gniibe@mri.co.jp>
344 * convert.el (egg-next-candidate): Rename from egg-next-conversion.
345 (egg-previous-candidate): Rename from egg-previous-conversion.
346 (egg-select-candidate): Follow the change of new interface.
347 (egg-source-maxlen-from-here): Likewise.
349 1997-07-19 NIIBE Yutaka <gniibe@mri.co.jp>
351 * wnn.el (wnn-start-conversion): Change the interface. Return ENV
352 and the list of bunsetsu. Fix the documentation string too.
353 * convert.el (egg-convert-region): Follow the change.
354 (egg-insert-converted-result): Change the argument.
355 (egg-insert-bunsetsu-list): Rename from egg-insert-converted-result.
356 (egg-insert-bunsetsu): New function.
357 (egg-get-number-of-bunsetsu,egg-get-bunsetsu-info): Removed.
358 (egg-backward-bunsetsu): Don't use bunsetsu-pos.
360 * wnn.el (wnn-get-bunsetsu-converted): Change the interface. Take
361 BUNSETSU as the argument instead of ENV and POS.
362 * convert.el (egg-get-bunsetsu-converted): Follow the change.
364 * wnn.el (wnn-bunsetsu-create): Take ENV as the first argument.
365 (wnn-list-candidates): Dont take ENV.
366 (wnn-bunsetsu-get-env): New substitution.
368 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub): Take the argument
369 for ENV, and use it for the argument of wnn-bunsetsu-create.
370 (wnnrpc-receive-sho-bunsetsu-list): Take ENV as the first argument.
371 (wnnrpc-renbunsetsu-conversion): Follow the change.
373 1997-07-17 NIIBE Yutaka <gniibe@mri.co.jp>
375 * convert.el (egg-decide-candidate): Change the interface.
376 Take the argument bunsetsu-info instead of conversion-engine.
378 * wnn.el (wnn-get-candidate): Deleted.
380 * convert.el (egg-get-all-candidates): Change the interface.
381 Take an argument bunsetsu-info instead of conversion-engine.
382 (egg-select-candidate): Follow the change.
384 * convert.el (egg-set-bunsetsu-pos,egg-get-bunsetsu-pos): Deleted.
385 (egg-list-candidates,egg-get-current-candidate-number): New stub.
386 * wnn.el (wnn-bunsetsu-create): Add new member zenkouho-pos.
387 (wnn-bunsetsu-get-zenkouho-pos,wnn-bunsetsu-set-zenkouho-pos): New
389 (wnn-list-candidates,wnn-get-current-candidate-number): New functions.
390 (wnn-set-bunsetsu-pos,wnn-get-bunsetsu-pos): Deleted.
392 * convert.el (egg-get-number-of-candidates): Change the interface.
393 Take an argument bunsetsu-info instead of conversion-engine.
394 (egg-next-conversion,egg-select-candidate): Follow the change.
395 * wnn.el (wnn-get-number-of-candidates): Follow the change.
397 * wnn.el (wnn-get-bunsetsu-source-afterwards): New function.
398 (wnn-change-bunsetsu-length): Use it.
400 * convert.el (egg-get-bunsetsu-source): Change the interface.
401 Take an argument bunsetsu-info instead of conversion-engine.
402 (egg-enlarge-bunsetsu,egg-shrink-bunsetsu,egg-source-maxlen-from-here):
404 * wnn.el (wnn-get-bunsetsu-source): Follow the change.
406 Put bunsetsu information on text property.
407 * wnn.el (wnn-get-bunsetsu-info): New function.
409 * convert.el (egg-insert-converted-result): Put it on text property.
410 (egg-conversion-backend): Add new interface
411 wnn-get-bunsetsu-info.
412 (egg-get-bunsetsu-info): New stub.
414 1997-07-17 KATAYAMA Yoshio <kate@pfu.co.jp>
416 * its.el (its-state-machine-keyseq, its-state-machine): Handle
417 end-of-input correctly when going backward.
419 1997-07-16 NIIBE Yutaka <gniibe@mri.co.jp>
421 * wnn.el (wnn-create-directory): Bug fix. Really make directory.
423 1997-07-15 NIIBE Yutaka <gniibe@mri.co.jp>
425 * its-hangul.el (its-define-hangul): Use its-defrule-otherwise.
427 1997-07-15 KATAYAMA Yoshio <kate@pfu.co.jp>
429 * its-hangul.el: Updated.
431 1997-06-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
433 * its-hira.el: its-hira-hankaku-escape --> its-hankaku-escape.
434 its-hira-zenkaku-escape --> its-zenkaku-escape.
436 1997-06-14 NIIBE Yutaka <gniibe@mri.co.jp>
438 * its.el: Change the data structure of <expr-output-back-list> so
439 that it can encourage sharing same structure and it can use same
441 (its-ins/del-SYL-batch): Follow the change of data structure.
442 (its-define-otherwise): Change the argument.
443 (its-defrule-otherwise): New function.
444 (its-eob-keyexpr, its-eob-back, its-make-class+back,
445 its-make-otherwise): New substitutions.
447 1997-06-13 NIIBE Yutaka <gniibe@mri.co.jp>
449 * its-kana.el: New file. Taken from its/kanainput.el of Mule-2.3.
451 * its-hira.el: Use `define-its-state-machine'.
453 * its.el (its-zenkaku-escape, its-hankaku-escape): Make them
455 (define-its-state-machine, define-its-state-machine-append): New
458 1997-06-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
460 * its-hira.el ("n'"): Added.
462 1997-06-12 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
464 its-zenkaku-escape and its-hankaku-escape are also used in hangul.
465 * its.el (its-zenkaku-escape, its-hankaku-escape): Moved to here
467 * its-hira.el (its-hira-hankaku-escape, its-hira-zenkaku-escape):
470 * its.el (its-read-current-its-string): Removed. There's the
471 function `read-multilingual-string' already.
473 1997-06-12 KATAYAMA Yoshio <kate@pfu.co.jp>
475 * its-hangul.el: New file.
477 1997-06-10 NIIBE Yutaka <gniibe@mri.co.jp>
479 Miscellaneous cosmetic changes.
480 * comm.el: New file. Move communication related funcitons from
482 (comm-format-u32c, and others): Rename from wnnrpc-*.
483 * wnnrpc.el (Throughout): Follow the rename.
485 * wnn.el (wnnenv-get-in-use-flag): Rename from wnn-e-get-in-use.
486 (wnnenv-set-in-use-flag): Rename from wnn-e-set-in-use.
487 (Others): Rename from wnn-e-*.
488 (wnn-bunsetsu-*): Rename from wnnrpc-b-*, and moved from wnnrpc.el.
490 * convert.el (egg-exit-conversion): Call egg-do-auto-fill.
492 * its.el (its-translate-region): Bug fix. End of input.
493 (its-state-machine): Bug fix. Generate error if
494 its-barf-on-invalid-keyseq.
495 (its-exit-mode-internal): Call egg-do-auto-fill.
497 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for ASCII.
499 * mlh.el (mlh-space-bar-backward-henkan): Call egg-do-auto-fill.
501 * egg.el: Comment out definition of C-\ in global-map.
503 1997-06-09 NIIBE Yutaka <gniibe@mri.co.jp>
505 * its.el (its-kick-convert-region): Rename from its-convert-region.
506 (its-mode-map): Follow the change.
508 (its-make-next-state): Use list instead of cons.
510 (its-get-kst/t): Make it substitution.
511 (its-set-kst, its-get-keyseq, its-set-keyseq, its-kst-p,
512 its-get-output, its-set-output, its-get-keyseq-syl): Likewise.
513 (its-new-state, its-new-map, its-get-indicator, its-set-indicator,
514 its-get-start-state, its-reset-start-state): Likewise.
516 (its-get-next-state): Use assq instead of assoc.
518 (its-goto-state): Tune up.
520 1997-06-08 NIIBE Yutaka <gniibe@mri.co.jp>
522 * mlh.el: Merge mlh-nihongo.el.
523 * mlh-nihongo.el: Removed.
525 * its-hira.el: Moved from its/hira.el. Move comments to HISTORY.
526 (its-hira-enable-double-n, its-hira-period, its-hira-comma,
527 its-hira-open-bracket, its-hira-close-bracket,
528 its-hira-horizontal): New variables.
529 Use the variables to define the state-machine.
531 Implement non-interactive translation in ITS.
532 * its.el (its-translate-region): New function.
533 (its-latest-SYL): New Variable.
534 (its-state-machine-keyseq): Use it.
535 (its-update-latest-SYL): New function.
536 (its-buffer-ins/del-SYL): Use it.
537 (its-translation-result): New variable.
538 (its-ins/del-SYL-batch): New function.
539 (its-enable-double-n-syntax, its-use-kuten-for-period,
540 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
543 Use ITS, delete mlh's own implementation of automata.
544 * mlh.el (mlh-start-state, mlh-set-of-chars, mlh-start-state-sym,
545 mlh-set-of-chars-sym, mlh-define-automata, mlh-end-of-definition,
546 mlh-defrule, mlh-next-state, mlh-roma-kana-backward): Removed.
547 (mlh-cause-error-when-unknown-romaji-sequence): Removed.
549 (mlh-white-space, mlh-zenkaku-white): Use string-to-int.
550 * mlh-nihongo.el (mlh-hira-start-state, mlh-hira-chars, and all
551 rules of definition which defines the automaton): Removed.
552 (mlh-kanji-with-henkan-region-function): Use its-translate-region.
553 (mlh-hiragana, mlh-katakana): Likewise.
556 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for jisx0212.
559 Speed up of unpacking.
560 * wnnrpc.el (wnnrpc-following-char-or-wait): Tune up.
561 (wnnrpc-following+forward-char): New function.
562 (wnnrpc-unpack-u32c, wnnrpc-unpack-u32, wnnrpc-unpack-u16,
563 wnnrpc-unpack-u8): Use it.
564 (wnnrpc-accept-process-output): New function.
565 (wnnrpc-unpack-u16-string, wnnrpc-unpack-u8-string,
566 wnnrpc-unpack-bytes): Use it. Use search-forward.
567 (wnnrpc-unpack-u16-string): Use decode-coding-region.
569 1997-06-07 NIIBE Yutaka <gniibe@mri.co.jp>
571 * wnn.el (wnn-get-all-candidates): New function.
572 (wnn-set-bunsetsu-pos): Return 0 (instead of -1).
574 * convert.el (egg-get-candidate): Removed.
575 (egg-get-all-candidates): New entry function.
576 (egg-conversion-backend): Entry for egg-get-all-candidates.
577 (egg-select-candidate): New function.
578 (egg-conversion-map): Bind "\M-s" and egg-select-candidate.
580 1997-06-05 NIIBE Yutaka <gniibe@mri.co.jp>
582 * bushu.el: Renamed from busyu.el.
583 (bushu-break-string, etc): Renamed from busyu*.
585 * menu.el: Completely rewritten.
587 1997-06-03 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
589 * its.el (its-reset-start-state): Bug fix. Delete a CDR.
591 Implement "class of key" transition.
592 Change the structure of <state>, the last member is
593 <key-state-table/terminal> instead of <key-state-alist/terminal>.
594 * its.el (its-kst-p): Rename from its-ksa-p.
595 (its-get-next-state): Follow the change of the data structure.
596 (its-state-machine): Likewise.
597 (its-make-next-state): Likewise.
598 (its-set-kst): New function.
599 (its-get-otherwise): New function.
600 (its-otherwise-match): New function.
601 (its-define-otherwise-terminate-here): Removed.
602 (its-define-otherwise): New function.
603 (its-defrule*): Use its-define-otherwise.
605 * its/hira.el (n): Use its-define-otherwise.
607 1997-06-02 NIIBE Yutaka <gniibe@mri.co.jp>
609 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub,
610 wnnrpc-receive-sho-bunsetsu-list-sub-2): Splited from
611 wnnrpc-receive-sho-bunsetsu-list.
612 (wnnrpc-receive-dai-bunsetsu-list): New function.
613 (wnnrpc-daibunsetsu-conversion, wnnrpc-get-daibunsetsu-candidate):
616 1997-06-01 NIIBE Yutaka <gniibe@mri.co.jp>
618 * wnnrpc.el (ccl-decode-fixed-euc-jp): Clean it up.
619 (wnnrpc-file-attribute): Rename from wnnrpc-stat-file.
620 (wnnrpc-get-dictionary-list-with-environment): Rename from
621 wnnrpc-get-dictionary-list-with-environment.
624 * wnnrpc.el (wnnrpc-who, wnnrpc-get-env-list, wnnrpc-kill,
625 wnnrpc-delete-dictionary, wnnrpc-set-flag-on-dictionary,
626 wnnrpc-get-dictionary-list, wnnrpc-delete-word,
627 wnnrpc-receive-word, wnnrpc-search-word,
628 wnnrpc-search-word-in-dictionary, wnnrpc-get-word-info,
629 wnnrpc-set-comment-on-word, wnnrpc-get-dictionary-info,
630 wnnrpc-set-file-comment, wnnrpc-hinshi-name,
631 wnnrpc-set-file-password, wnnrpc-set-hinshi-table): New functions.
633 1997-05-31 NIIBE Yutaka <gniibe@mri.co.jp>
635 * wnnrpc.el (wnnrpc-format-u32c, wnnrpc-unpack-u32c): New
636 substitutions. Support 32-bit number represented in cons cell of
637 a pair of 16-bit integer.
638 (wnnrpc-format, wnnrpc-unpack): Handle u32c (U).
640 (wnnrpc-format-bytes, wnnrpc-unpack-bytes): New substitutions.
641 Support byte stream end with 255(-1).
642 (wnnrpc-format, wnnrpc-unpack): Handle bytes (B).
644 (wnnrpc-local-file-loaded): New function.
645 (wnnrpc-call-with-proc-1): New macro. Assume the buffer is the one
648 1997-05-29 NIIBE Yutaka <gniibe@mri.co.jp>
650 * wnnrpc.el (wnnrpc-get-conversion-parameters, wnnrpc-file-loaded,
651 wnnrpc-write-file, wnnrpc-get-fuzokugo-file, wnnrpc-get-file-list,
652 wnnrpc-get-file-list-with-env, wnnrpc-stat-file,
653 wnnrpc-get-file-info): New functions.
654 wnnrpc-receive-file-list): New subst.
656 1997-05-29 Kenichi Handa <handa@etl.go.jp>
658 * wnnrpc.el (ccl-decode-fixed-euc-jp): Tune it up.
660 1997-05-29 Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>
662 * wnnrpc.el (fixed-euc-jp, ccl-decode-fixed-euc-jp,
663 ccl-encode-fixed-euc): New private coding system. Encode/decode
666 1997-05-27 NIIBE Yutaka <gniibe@mri.co.jp>
668 * wnnrpc.el (wnnrpc-tanbunsetsu-conversion): Change the argument.
669 (wnnrpc-get-bunsetsu-candidates): Likewise.
670 (wnnrpc-renbunsetsu-conversion): Likewise.
672 * wnn.el (wnn-change-bunsetsu-length): Follow the change.
673 (wnn-set-bunsetsu-pos): Likewise.
674 (wnn-change-bunsetsu-length, wnn-start-conversion): Likewise.
676 1997-05-25 NIIBE Yutaka <gniibe@mri.co.jp>
678 * wnnrpc.el (wnnrpc-add-word, wnnrpc-get-dictionary-list,
679 wnnrpc-receive-dictionary-list, wnnrpc-get-writable-dictionary-list,
680 wnnrpc-get-hinshi-list, wnnrpc-hinshi-number): New functions.
681 (wnnrpc-unpack-u16-string): Bug fix for the case of ASCII string.
683 * wnn.el (wnn-dictionary-specification): Add dictionaries of
684 gerodic and ones of WNN consortium.
686 Implement a false path.
687 * wnnrpc.el (wnnrpc-renbunsetsu-conversion): Generate an error on
689 (wnnrpc-get-bunsetsu-candidates): Ditto.
690 (wnnrpc-tanbunsetsu-conversion): Ditto.
692 Implement a false path. Error recovery.
693 * wnn.el (wnn-create-directory, wnn-open-dictionary,
694 wnn-open-frequency, wnn-query-del/create-frequency): New function.
695 (wnn-set-dictionary-sub): New function.
697 1997-05-24 NIIBE Yutaka <gniibe@mri.co.jp>
699 * wnnrpc.el (wnnrpc-version, wnnrpc-access, wnnrpc-mkdir,
700 wnnrpc-create-dictionary, wnnrpc-create-frequency,
701 wnnrpc-discard-file, wnnrpc-remove-file): New functions.
702 (wnnrpc-test-result-and-get-error): New subst.
704 Implement a false path from wnnrpc-set-fuzokugo-file.
705 * wnnrpc.el (wnnrpc-set-fuzokugo-file): Return negate-encoded
706 error code on failure.
707 * wnn.el (wnn-create-environment): Generate an error message.
709 Implement a false path from wnnrpc-open-file.
710 * wnnrpc.el (wnnrpc-open-file): Change the interface. Return
711 negate-encoded error code on failure.
712 * wnn.el (wnn-open-file): New function.
713 (wnn-create-environment): Handle return value, and generate
714 an error message for wnnrpc-set-fuzokugo-file on failure.
715 (wnn-set-dictionary): Handle return value.
717 1997-05-17 NIIBE Yutaka <gniibe@mri.co.jp>
719 * wnnrpc.el (wnnrpc-error-message): Error strings taken from
720 Wnn-4.2 distribution.
721 (wnnrpc-errono): Removed.
723 Implement a false path from wnnrpc-open.
724 * wnnrpc.el (wnnrpc-open): Change the interface. Return NIL on
725 success, error code on failure.
726 * wnn.el (wnn-open): Delete process and buffer.
727 Generate an error on failure.
728 (wnn-get-environment): Follow the change (none).
729 (wnn-start-conversion): Follow the change (none).
730 * convert.el (egg-convert-region): Follow the change. Call
731 delete-region after egg-start-conversion.
733 Implement a false path from wnnrpc-connect.
734 * wnnrpc.el (wnnrpc-connect): Change the interface. Return
735 negate-encoded error code on failure.
736 * wnn.el (wnn-create-environment): Generate an error on failure.
737 (wnn-get-environment): Follow the change. On failure, don't
738 register the environment to wnn-environments.
740 1997-05-16 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
742 Dynamically allocate environment arbitrarily.
743 * wnn.el (wnn-create-environment): Change the structure of ENV.
744 (wnn-e-get-in-use, wnn-e-set-in-use): New subst.
745 (wnn-end-conversion): Call wnn-e-set-in-use.
746 (wnn-get-environment, wnn-find-env-not-in-use): New function.
747 (wnn-start-conversion): Call wnn-get-environment.
749 * wnn.el (wnn-fini): Implemented.
751 1997-05-15 NIIBE Yutaka <gniibe@mri.co.jp>
753 * convert.el (egg-start-conversion): Change the interface.
754 (egg-convert-region): Follow the change.
755 (egg-open-if-not): Removed.
756 * wnn.el (wnn-start-conversion): Follow the change.
758 * wnn.el (wnn-environment-list): Removed.
759 (wnn-environment-serial): Removed.
760 (wnn-connect-and-init): Removed.
761 (wnn-environments): New variable which holds all environments.
763 1997-05-15 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
765 * wnn.el (wnn-change-bunsetsu-length): Bug fix. Last argument to
766 wnnrpc-b-set-freq-down is list of bunsetsu.
768 * mlh.el (mlh-do-spacing): Emacs 20 related changes.
769 Use category-set-mnemonics, and char-category-set.
770 According to suggestion by Kenichi Handa <handa@etl.go.jp>.
772 1997-05-15 MORIOKA Tomohiko <morioka@jaist.ac.jp>
774 * wnn.el (wnn-usr-dic-dir): New variable.
775 (wnn-filename): Use wnn-usr-dic-dir.
777 * its.el (its-defrule): New argument `enable-overwrite'.
779 1997-05-14 NIIBE Yutaka <gniibe@mri.co.jp>
781 * convert.el (egg-exit-conversion-unread-char): Use newer variable
782 unread-command-events, as unread-command-char is obsolete.
783 (egg-shrink-bunsetsu, egg-source-maxlen-from-here,
784 egg-enlarge-bunsetsu, egg-next-conversion, egg-exit-conversion,
785 egg-exit-conversion, egg-insert-converted-result): New property
786 EGG-CONVERSION-ENGINE, which specifis backend.
788 (egg-start-conversion, egg-get-number-of-bunsetsu,
789 egg-get-bunsetsu-converted, egg-set-bunsetsu-pos,
790 egg-get-bunsetsu-pos, egg-get-number-of-candidates,
791 egg-get-candidate, egg-decide-candidate,
792 egg-change-bunsetsu-length, egg-get-bunsetsu-source,
793 egg-end-conversion): Change the interface, new argument c.
794 * wnn.el (wnn-start-conversion, wnn-get-number-of-bunsetsu,
795 wnn-get-bunsetsu-converted, wnn-set-bunsetsu-pos,
796 wnn-get-bunsetsu-pos, wnn-get-number-of-candidates,
797 wnn-get-candidate, wnn-decide-candidate,
798 wnn-change-bunsetsu-length, wnn-get-bunsetsu-source,
799 wnn-end-conversion): Likewise.
801 * convert.el (egg-open-if-not): Change the interface. Return
804 * wnnrpc.el (wnnrpc-following-char-or-wait, wnnrpc-unpack-u32,
805 wnnrpc-unpack-u16, wnnrpc-unpack-u8, wnnrpc-unpack-u16-string,
806 wnnrpc-unpack-u8-string): Change the interface to avoid
807 compilation warnings.
808 (wnnrpc-unpack): Use new interface.
810 * wnn.el (wnn-open): Change the name of WNN buffer as debug has
813 1997-05-11 NIIBE Yutaka <gniibe@mri.co.jp>
815 * wnnrpc.el (wnnrpc-following-char-or-wait): Rename from
816 wnn-following-char-or-wait.
817 (wnnrpc-following-char-or-wait): Declare with DEFUN instead of
820 1997-05-10 NIIBE Yutaka <gniibe@mri.co.jp>
822 * Throughout: Use JUNET coding system for file format.
824 * mlh.el: Move some comments to HISTORY.
825 (mlh-version): Removed.
826 Remove all autoload entries.
827 (henkan-region-function): Removed.
828 (member): Don't need any more.
830 * mlh-nihongo.el: Renamed from nihongo.el.
832 * mlh.el (mlh-space-bar-backward-henkan): call egg-convert-region
834 (mlh-space-bar-backward-henkan): Fix for Emacs 20.
835 Don't call egg:do-auto-fill.
836 (mlh-backward-henkan): Use set-marker-insertion-type.
837 (mlh-do-spacing): Char-category.
839 * mlh.el, nihongo.el: Taken from mlh-1.002 distribution.
841 1997-05-07 NIIBE Yutaka <gniibe@mri.co.jp>
843 * convert.el (egg-update-frequency): Removed.
844 (egg-conversion-backend): Remove entry for update-frequency.
846 * wnn.el (wnn-dictionary-specification): Change parameters
847 according to suggestion by Tomoko Yoshida in mule-jp@etl.go.jp.
848 Original had been taken from wnn-4.2.
850 1997-05-06 NIIBE Yutaka <gniibe@mri.co.jp>
852 * convert.el (egg-next-conversion): Bug fix. It's max+ instead of n.
854 1997-05-05 NIIBE Yutaka <gniibe@mri.co.jp>
856 * wnnfns.c (Fwnn_get_bunsetsu_converted): Rename from
857 get-converted-bunsetsu.
858 (Fwnn_get_bunsetsu_source): Ditto.
859 * convert.el (egg-get-bunsetsu-converted): Ditto.
860 (egg-get-bunsetsu-source): Ditto.
862 * wnn.el (wnn-create-environment): New file which mimics API of
865 1997-04-29 NIIBE Yutaka <gniibe@mri.co.jp>
867 * wnnrpc.el: New file which implements Remote Procedure Calls of WNN.
869 1997-04-16 NIIBE Yutaka <gniibe@mri.co.jp>
871 * its/kanainput.el (normal-pair): Use its-defrule*.
873 * its.el (its-defrule*): Rewritten.
875 * its/hira.el ("n"): Alternative implementation using 'otherwise'.
877 * its.el (its-processing-map): Removed.
878 (its-register-map): Rename from its-set-map.
879 (its-register-map): Remove first argumet NAME.
880 (its-defrule): Remove last optional argument END.
881 (its-define-otherwise-terminate-here): New function.
882 (its-goto-state): New function.
883 (its-defrule, its-defoutput): Use its-goto-state.
885 1997-04-12 NIIBE Yutaka <gniibe@mri.co.jp>
887 * its.el: Enhance meaning of ITS state machine. Now, <key>
888 includes representation of "ANY of key stroke" (-2).
889 (its-defrule): New feature end=='otherwise.
890 (its-defrule*): New function.
891 (its-state-machine): Implement otherwise-terminate-before-this-key.
893 * its/kanainput.el (its-k-zenkaku-escape, its-k-hankaku-escape,
894 its-k-symbols-escape): Add prefix its-. Let them defconst.
895 "W": Move the definition beginning to avoid error.
897 1997-03-26 NIIBE Yutaka <gniibe@mri.co.jp>
899 * convert.el (egg-next-conversion): -1 goes to end of bunsetsu.
901 1997-03-25 NIIBE Yutaka <gniibe@mri.co.jp>
903 * egg.el (egg-mode-on, egg-input-mode, egg-in-fence-mode): Deleted.
904 (egg-fence-face-on, egg-fence-face-off): Deleted.
905 (egg-region-start, egg-region-end): Deleted.
907 1997-03-24 NIIBE Yutaka <gniibe@mri.co.jp>
909 * its/hira.el ("n"): Add "z" and "?" for prefetch char of "n".
911 Implement conversion mode.
912 * convert.el: New file.
914 1997-03-23 NIIBE Yutaka <gniibe@mri.co.jp>
916 * its.el (its-mode-map): As "\C-g" is used in global-map, use
917 "\C-]" instead (for its-cancel-input).
919 1997-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
921 Introduce new scheme to specify server.
922 * wnnfns.c (Qjserver, Qcserver, Qtserver, Qkserver): Removed.
923 (Vwnn_server_type): Integer variable.
924 (wnn_get_server_type): Renamed from wnn_check_server_type.
925 (charset_wnn_server_type): Renamed from lc_wnn_server_type.
927 Introduce new scheme to specify uniqueness.
928 * wnnfns.c (Qwnn_no_uniq, Qwnn_uniq, Qwnn_uniq_kanji): Removed.
929 (Vwnn_uniqueness_specifier): Integer variable. Renamed from
932 1997-03-21 NIIBE Yutaka <gniibe@mri.co.jp>
935 * wnnfnc.c (Throughout): Change Lisp function name to follow the
936 format of wnn-VERB-OBJECT.
937 Use XFASTINT instead of XINT, if appropriate.
939 * wnnfns.c (Fwnn_fuzokugo_set): Merged with wnn-set-fuzokugo of
942 * wnn-egg.el (wnn-set-fuzokugo): Deleted.
944 * wnnfns.c (Fwnn_dict_add): Merged with wnn-add-dict of wnn-egg.el.
945 * wnn-egg.el (wnn-add-dict): Deleted.
947 * wnn-egg-msg.el (wnn-msg-get): Renamed from egg-msg-get.
948 (wnn-message-alist): Renamed from egg-message-alist.
951 * wnnfns.c (wnn_check_server_type): Renemed from
952 check_wnn_server_type.
954 * wnn-egg-msg.el (egg-error): Deleted. Not useful enough.
955 * wnn-egg.el (Throughout): Replace egg-error by error.
957 * egg.el (egg-sai-henkan-start, egg-sai-henkan-end,
958 egg-old-bunsetu-suu): Moved from wnn-egg.el.
960 * wnn-egg.el (Throughout): Change variable name and function name.
961 Added wnn- prefix, egg- prefix.
962 * wnn-egg.el: Delete historical defaliases. Only support
963 wnn-set-[cjk]server-hostname.
965 * wnn6.el: New file. Discriminate Wnn6 related functions.
966 * eggrc-wnn6: New file. Discriminate Wnn6 related setting.
968 * egg-fence.el: Removed.
970 1997-03-20 NIIBE Yutaka <gniibe@mri.co.jp>
972 Distingush continuation of egg-mode and turn off of egg-mode.
973 * its.el (its-mode-map): Bind "\C-\\" to its-exit-mode-no-egg.
974 (its-exit-mode-internal): New argument egg-mode-flag.
975 (its-exit-mode-no-egg): New Function.
977 Rethink about keymap. Once, the intention of egg-mode-map has
978 been to override ALL of the keymap. That's so selfish, and not
979 friendly to other parts of Emacs. This implementation intend to
980 be more friendly with other keymaps.
981 * its.el (its-mode-map): Remove definition of "\C-c" for
982 its-cancel-input, as C-c has special meaning in Emacs. We should
984 Remove definition of "\C-q" for its-select-previous-map.
985 Remove definition of "\C-_" for egg-jis-code-input.
986 Remove definition of "\C-w", "\C-@", [?\C-\ ] for
987 egg-henkan-fence-region.
989 Implement START/CURSOR/END scheme.
990 * its.el (its-input-to-vsyl): New function.
991 (its-beginning-of-input-buffer): New function.
992 (its-end-of-input-buffer): New function.
993 (its-backward-SYL): New function.
994 (its-forward-SYL): New function.
995 (its-delete-SYL): New function.
996 (its-delete-backward-SYL): New function.
997 (its-delete-backward-SYL-internal): New function.
998 (its-delete-backward-within-SYL): New function.
999 (its-delete-by-keystroke): New Variable.
1000 (its-exit-mode): New function.
1001 (its-exit-mode-internal): New function.
1003 * its.el (its-standard-map-list, its-find, its-next-map,
1004 its-previous-map): Deleted.
1005 (its-get-indicator): Delete duplicated definition. Leave one which
1006 takes <map> argument.
1007 (its-input): Rename from its-input-subsubsub.
1009 * egg.el (egg-mode-map): Don't include SPACE.
1012 * its.el (its-state-machine): Add new argument EMIT. Return CURSOR.
1013 (its-state-machine-keyseq): Likewise.
1014 (its-input-subsubsub): Return CURSOR.
1015 (its-input-subsub): Deleted.
1016 (its-DSYL-p): Deleted.
1017 (its-buffer-insert-SYL-list): Deleted.
1018 (its-buffer-ins/del-SYL): New function.
1019 (its-input-end): Change the argument to P of point, and return VOID.
1021 Change structure of <map>. <start-state> is normal <state>.
1022 (its-new-map): Follow the change of structure.
1023 (its-get-indicator, its-set-indicator, its-reset-start-state):
1025 (its-reset-start-state): Renamed from its-reset-start.
1027 Don't use <input-buffer>, but introduce new scheme of SYL property.
1028 (its-change-t-to-nil, its-nil-index, its-bytes-between,
1029 its-delete-between, its-move-nil--->, its-move-nil-<--,
1030 its-move-nil-<--sub, its-move-nil-to-last, its-move-nil-to-first):
1033 1997-03-19 NIIBE Yutaka <gniibe@mri.co.jp>
1035 * its.el: Change the structure of DSYL. Same as <state>.
1036 (its-input-subsub): Follow the change of structure.
1037 (its-make-DSYL): Deleted.
1038 (its-get-keyseq-cooked): New function.
1040 Swap the meaning of T/NIL of <SYL>.
1042 Delete the structure of <input-buffer>.
1043 (its-new-input-buffer): Deleted.
1044 (its-input-subsub): Remove the argument SYLP.
1045 (its-input, its-input-sub, its-init-text-properties): Deleted.
1047 Introduce START, END and CURSOR.
1049 1997-03-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1051 Global-map should be used, for key sequence not defined by
1052 its-mode-map and/or egg-mode-map. Don't mask other maps.
1053 * its.el (its-mode-esc-map): Deleted.
1054 (its-mode-map): Include define-key of the esc-map here.
1055 * egg.el (egg-mode-esc-map): Deleted.
1056 (egg-mode-map): Include define-key of the esc-map here.
1058 1997-03-18 NIIBE Yutaka <gniibe@mri.co.jp>
1060 * its.el (its-input): Rename from its-input-input-buffer.
1061 (its-state-machine): Handle END of input (key == -1).
1063 ITS minor mode deleted. It's implemented by local-map of text
1065 (its-mode): Remove the variable.
1066 (its-mode): Remove the function.
1068 * its.el (<input-buffer>): Change the order of <SYL> list.
1069 (car sylp) is last entry of the list.
1070 (its-input-buffer): Deleted. It's now a member of text
1072 (<map>): Change the structure. Start state should have "" for keyseq.
1073 (its-get-start-state): Follow chage of the <map> structure.
1074 (its-reset-start, its-set-indicator, its-get-indicator): Likewise.
1075 (its-new-state, its-new-map): Split from its-new-state/map.
1076 (its-make-map): Deleted.
1078 1997-03-17 NIIBE Yutaka <gniibe@mri.co.jp>
1080 * its.el (its-buffer-insert-SYL-list): Use insert-and-inherit to
1082 (its-fence-overlay): Removed. Don't use overlay, as it has no
1083 information in undo-list.
1085 1997-03-16 NIIBE Yutaka <gniibe@mri.co.jp>
1087 * its/hira.el ("n"): Use new feature END.
1088 ("ppy", "bby", "ddy", "jjy", "zzy", "ggy", "lly", "rry", "hhy",
1089 "cch", "tts", "tty", "ssh", "ssy", "kky"): its-defoutput.
1091 * its.el (its-defrule): Add argument END.
1092 (its-buffer-delete-SYL): Bug fix. Use length instead of string-width.
1094 1997-03-15 NIIBE Yutaka <gniibe@mri.co.jp>
1096 * its.el (its-input-input-buffer): Implement the case of DSYL.
1098 1997-03-14 NIIBE Yutaka <gniibe@mri.co.jp>
1100 * its.el (its-buffer-delete-SYL): Handle the case of NIL.
1102 * its/hira.el: Implement "kka" and others. Implemlement "N".
1103 (digit-characters, symbol-characters, downcase-alphabets,
1104 upcase-alphabets): Delete useless defvar-s.
1106 1997-03-14 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1108 * its/hira.el ("roma-kana"): Follow change of implementation of
1111 Correct the abuse of the word "MODE". It seems that it's direct
1112 influence of "mode" in Emacs, but it's not mode at all.
1113 * its.el (its-map-alist): Renamed from its-mode-alist.
1114 (its-get-map): Renamed from its-get-mode-map.
1115 (its-set-map): Renamed from its-set-mode-map.
1116 (its-define-state-machine): Renamed from its-define-mode.
1117 (its-select-map-menu): Renamed from its-select-mode-menu.
1118 (its-select-map-from-menu): Renamed from its-select-mode-from-menu.
1119 (its-standard-map-list): Renamed from its-standard-modes.
1120 (its-next-map): Renamed from its-next-mode.
1121 (its-previous-map): Renamed from its-previous-mode.
1122 (its-select-map): Renamed from its-select-mode.
1123 (its-get-indicator): Renamed from its-get-mode-indicator.
1125 (its-select-map-from-menu): As it's not mode, don't need offer hooks.
1126 (its-next-map): Likewise.
1127 (its-previous-map): Likewise.
1128 (its-select-map): Likewise.
1130 Change the implementation of its-mode-alist. Name is in <map> now.
1131 * its.el (its-get-mode-map): Just do assoc.
1132 (its-set-mode-map): Simplified.
1134 * its.el (its-get-indicator): Renamed from its-map-indicator.
1135 (its-set-indicator): Renamed from its-map-set-indicator.
1136 (its-get-start-state): Renamed from its-map-start.
1137 (its-new-state): Change the argunents.
1138 (its-map-set-start): Removed.
1139 (its-reset-start): New function.
1141 Remove old implemantation of translator.
1142 * its.el (its-resize, its-maps, its-actions, its-inputs,
1143 its-level, its-maxlevel, its-char-from-buff, its-interactive):
1145 (its-make-action, its-reset-maps, its-current-map,
1146 its-previous-map, its-level, its-enter-newlevel, its-reset-input,
1147 its-flush-input-before-point, its-peek-char, its-read-char):
1149 (its-push-char, its-ordinal-charp, its-delete-charp): Removed.
1150 (its-translate-region): Removed.
1151 (its-buff-s, its-buff-e): Removed.
1152 (its-state-terminalp): Removed.
1154 Remove selection of candidates in map, it's questionable to
1155 implement this feature with SYL. Might rethink in future.
1156 (its-make-menu-from-map-result, its-make-alist-from-map-result):
1158 (its-make-menu-from-map, its-make-menu-from-map*): Removed.
1159 (its-make-alist-from-map, its-make-alist-from-map*): Removed.
1160 (its-completing-read): Removed.
1161 (its-minibuffer-local-must-match-map,
1162 its-minibuffer-local-completion-map): Removed.
1163 (its-minibuffer-completion-help, car-string-lessp,
1164 its-temp-echo-area-contents): Removed.
1166 Implement SYL-based state machine.
1167 * its.el (its-input-buffer, its-barf-on-invalid-keyseq): New variables.
1168 (its-new-input-buffer): New function.
1169 (its-self-insert-char): New command.
1170 (its-initial-ISYL, its-make-DSYL, its-make-VSYL,
1171 its-input-input-buffer, its-input-input-buffer-sub,
1172 its-state-machine, its-state-machine-keyseq,
1173 its-buffer-delete-SYL, its-buffer-insert-SYL-list,
1174 its-get-next-state, its-get-ksa/b, its-get-keyseq, its-ksa-p,
1175 its-get-output): New function.
1176 (its-get-KAS): Removed.
1177 (its-get-state, its-get-action, its-set-action): Removed.
1178 (its-make-KAS, its-get-KAS): Removed.
1180 * its.el (its-defrule-sub): Merged into its-defrule.
1182 1997-03-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1184 * its.el: (its-define-mode): Change the arguments.
1185 * its/zhuyin.el ("zhuyin"): Follow the changes of its-define-mode.
1186 * its/zenkaku.el ("zenkaku-downcase"): Likewise.
1187 * its/pinyin.el ("PinYin"): Likewise.
1188 * its/kata.el ("roma-kata"): Likewise.
1189 * its/kanainput.el ("kanainput"): Likewise.
1190 * its/hira.el ("roma-kana"): Likewise.
1191 * its/hankaku.el ("downcase"): Likewise.
1192 * its/hangul.el ("hangul"): Likewise.
1193 * its/han-kata.el ("roma-han-kata"): Likewise.
1195 * its.el (its-action-output, its-action-next, its-get-next-map,
1196 its-set-next-map): Removed.
1197 (its-make-next-state): New function.
1198 (its-make-state): Removed.
1200 * its.el (its-defrule-sub): Renamed from `its-defrule**'.
1202 * wnnfns.h: New file. Macros for WNN6 are defined here.
1203 * wnn6fns.c: New file. Moved from wnnfns.c for WNN6 specific
1206 1997-03-12 NIIBE Yutaka <gniibe@mri.co.jp>
1208 * wnnfns.c: cosmetic changes (indentation, commenting-out-style,
1209 and compare to Qnil, etc).
1210 Get rid of "register" qualifier.
1212 1997-03-05 NIIBE Yutaka <gniibe@mri.co.jp>
1214 * its.el (its-define-mode): Change internal structure. Completely
1216 (its-make-map): Function to make map.
1217 (its-make-state): New function. Make new state.
1218 (its-make-KAS): New function. Make Key-Action-State triad.
1219 (its-state-terminalp): New function. True when the state is
1221 (its-map-indicator, its-map-set-indicator,): Changed.
1222 (its-map-terminalp, its-map-incrementalp,
1223 its-map-set-incrementalp, its-map-alist, its-map-set-alist,
1224 its-map-action, its-map-set-action): Removed.
1226 (its-defrule-verbose): Deleted. Seems debug purpose variable.
1228 (its-make-map): Removed <state>. It was useless space eater.
1229 (its-map-indicator, its-map-set-indicator, its-map-alist,
1230 its-map-set-alist, its-map-action, its-map-set-action): Follow the
1232 (its-define-mode): Likewise.
1233 (its-defrule**): Change the argument. Delete STATE.
1234 (its-defrule): Likewise.
1235 (its-map-state, its-map-set-state): Removed.
1237 <topmap>: Changed the structure. Introduce <incrementalp>, which
1238 is t on hangul-map, zhuyin-map, and kanainput-map.
1239 (its-define-mode): Change the arguments. INDICATOR and RESET is
1240 always required. Add new argument INCREMENTALP.
1241 * its/kanainput.el ("kanainput"): Use new API of its-define-mode.
1242 * its/hangul.el ("hangul"): Likewise.
1243 * its/zhuyin.el ("zhuyin"): Likewise.
1244 * its.el (its-make-terminal-state-sofar): Removed.
1245 (its-default-make-terminal-state): Removed.
1246 (its-make-terminal-state): Removed
1247 (its-make-non-terminal-state): Removed. Not used.
1248 (its-map-incrementalp, its-map-set-incrementalp): New functions.
1250 1997-03-04 NIIBE Yutaka <gniibe@mri.co.jp>
1252 * its.el (its-defrule-conditional, its-defrule-conditional*):
1253 Removed. Evaluating cond clause at runtime is stupid. Rules
1254 should be determined at compile time, not at run time.
1255 (its-get-action): Simplified. It's always standard.
1256 (its-make-terminal-state-sofar): Likewise.
1257 (its-make-action): Renamed from its-make-standard-action.
1258 (its-standard-actionp): Removed. No use.
1259 (its-translate-region): Simplified.
1261 (its-map-topmap-p): Removed. No use.
1263 (its-simple-actionp, its-collect-simple-action): Removed. No use.
1265 (its-insert-output-string, its-display-status-string): Removed.
1266 It seemd these variables is to debug ITS itself.
1267 (its-translate-region): Simplified.
1269 * its/hira.el (".", ",", "n", "nn"): Rules should be determined at
1271 * its/han-kata.el: Likewise.
1272 * its/kata.el: Likewise.
1274 * its.el (its-make-standard-action): Simplified.
1275 (its-make-standard-action): Remove alternative output.
1276 (its-standard-actionp): Simplified.
1277 (its-action-next): Simplified.
1278 (its-select-alternative-output-menu): Removed. Not used at all.
1279 (its-select-alternative-output): Ditto.
1281 * its/han-kata.el, its/zenkaku.el, its/kata.el, its/kanainput.el,
1282 its/hira.el, its/hankaku.el: Add (require cl).
1284 * its.el (its-enable-double-n-syntax, its-use-kuten-for-period,
1285 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
1286 Declare here. Add prefix `its-'. ):
1288 (its-defrule, its-defrule*): Remove MAP argument.
1289 Merged into its-defrule.
1291 1997-03-04 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1293 * its.el (its-completing-input-menu): Removed. Not used.
1294 (its-completing-input): Ditto.
1295 (its-translate-region): Remove (null action) clause. It's identical
1298 (its-map-supers): Deleted.
1299 (its-map-set-supers): Ditto.
1300 (its-get-next-map-locally): Deleted.
1302 (its-define-mode): Remove supers.
1303 (its-make-map): Likewise.
1305 (its-simulate-input): sref -> aref. add char-bytes -> +1.
1306 (its-defrule**): Likewise.
1308 (its-flush-input-before-point): Delete useless save-excursion.
1309 (its-push-char): Likewise.
1310 (its-translate-region): Likewise.
1312 * its/zhuyin.el (its-make-terminal-state):
1313 * its/kanainput.el (its-make-terminal-state):
1314 * its/hangul.el (its-make-terminal-state):
1315 Use its-make-terminal-state-sofar.
1317 * its/kanainput.el (its-make-terminal-state-kanainput): Removed.
1319 * its.el (its-make-terminal-state-sofar): Renamed.
1320 (was: its-make-terminal-state-hangul)
1322 * its/han-kata.el (its-select-hankaku-katakana): Renamed.
1323 (was: its:select-hankaku-katakana).
1325 * its.el (its-map-topmap-p, its-map-supers, its-map-set-supers,
1326 its-map-terminalp, its-map-state, its-map-set-state,
1327 its-map-indicator, its-map-set-indicator, its-map-action,
1328 its-map-set-action, its-map-alist, its-map-set-alist,
1329 its-get-action, its-action-output, its-action-next,
1330 its-get-next-map, its-get-next-map-locally, its-set-next-map,
1331 its-collect-simple-action, its-read-current-its-string,
1332 its-make-map): Add prefix 'its-'.
1334 * its.el (its-defrule-select-mode-temporally): Deleted.
1335 (its-select-mode-temporally): Deleted.
1336 (its-select-previous-mode): Deleted.
1338 * its/hira.el ("q", "Q"): Removed.
1340 * its.el (its-defrule**): Don't call coerce-internal-string.
1341 (map-state-string): Removed.
1342 (its-default-make-standard-non-terminal-state): Don't call
1345 * egg.el (characterp, coerce-internal-string, coerce-string): Removed.
1347 * its.el (its-insert-char): Deleted.
1348 (its-internal-mode-alist): Removed.
1349 (its-set-mode-map, its-define-mode): Remove internalp.
1350 (its-set-mode-indicator): Removed.
1352 * egg-fence.el (egg-fence-self-insert-command): Add prefix 'egg-'.
1354 * its.el (fence-self-insert-command): Move to egg-fence.el.
1356 * egg-fence.el (egg-exit-fence-mode): Renamed (egg-fence-exit-mode).
1357 (egg-enter-fence-mode-and-self-insert): Deleted.
1359 * egg.el (egg-quit-egg-mode): Deleted.
1361 * egg-misc.el (egg-fence-toggle-egg-mode): Add prefix 'egg-'.
1362 (egg-fence-toggle-egg-mode): beep -> ding.
1363 (global-map): bind C-\ to egg-enter-fence-mode.
1365 1997-03-02 NIIBE Yutaka <gniibe@mri.co.jp>
1367 * egg-henkan.el: New file.
1369 Use new API (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi,
1370 egg-is-dai-bunsetu, bunsetu-suu, egg-hindo-update,
1371 egg-get-bunsetu-end).
1373 * wnn-egg.el: Move egg-henkan-* to egg-henkan.el.
1375 * wnn-egg.el (egg-startup-file-search-path): Remove current
1377 (egg-open-wnn): Renamed from EGG-open-wnn.
1378 (bunsetu-suu): New function.
1379 (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi): New function.
1380 (egg-is-dai-bunsetu): New function.
1381 (egg-hindo-update): New function.
1382 (egg-get-bunsetu-end): New function.
1384 (egg-henkan-region, egg-gyaku-henkan-region,
1385 egg-henkan-region-internal, egg-henkan-paragraph,
1386 egg-gyaku-henkan-paragraph, egg-henkan-sentence,
1387 egg-gyaku-henkan-sentence, egg-henkan-word, egg-gyaku-henkan-word,
1388 egg-henkan-insert-kouho, egg-henkan-kakutei,
1389 egg-henkan-kakutei-first-char, egg-henkan-kakutei-before-point,
1390 egg-sai-henkan, egg-henkan-goto-bunsetu,
1391 egg-henkan-forward-bunsetu, egg-henkan-backward-bunsetu,
1392 egg-henkan-first-bunsetu, egg-henkan-last-bunsetu,
1393 egg-henkan-hiragana, egg-henkan-katakana, egg-henkan-next-kouho,
1394 egg-henkan-next-kouho-dai, egg-henkan-next-kouho-sho,
1395 egg-henkan-previous-kouho, egg-henkan-previous-kouho-dai,
1396 egg-henkan-previous-kouho-sho, egg-henkan-goto-kouho,
1397 egg-henkan-bunsetu-chijime-dai, egg-henkan-bunsetu-chijime-sho,
1398 egg-henkan-bunsetu-nobasi-dai, egg-henkan-saishou-bunsetu,
1399 egg-henkan-saichou-bunsetu, egg-bunsetu-length-henko,
1400 egg-henkan-quit, egg-henkan-select-kouho,
1401 egg-henkan-select-kouho-dai, egg-henkan-select-kouho-sho,
1402 egg-henkan-word-off, egg-henkan-kakutei-and-self-insert,
1403 egg-henkan-mode-map, egg-henkan-mode-esc-prefix,
1404 egg-henkan-help-command, egg-henkan-inspect-bunsetu):
1407 (egg-henkan-mode-in-use): Deleted.
1408 (set-egg-henkan-mode-format): Deleted. Don't need.
1410 (disconnect-wnn): Let it be normal function, instead of command.
1413 (set-jserver-host-name, set-kserver-host-name,
1414 set-cserver-host-name): Use defalias.
1416 (close-wnn): Take an argument of wnn-server-type.
1417 (wnn-egg-kill-emacs-function, set-wnn-host-name,
1418 set-cwnn-host-name, set-kwnn-host-name): Likewise.
1420 * egg.el (egg-global-map-backup): Deleted.
1421 (egg-local-map-backup): Deleted.
1422 (egg-insert-after-hook): it's global variable, nod buffer-local.
1424 * egg-fence.el (egg-henkan-fence-region, egg-enter-fence-mode,
1425 egg-fence-katakana, egg-fence-hiragana, egg-fence-hankaku,
1426 egg-fence-zenkaku, egg-fence-backward-char,
1427 egg-fence-forward-char, egg-fence-beginning-of-line,
1428 egg-fence-end-of-line, egg-fence-transpose-chars,
1429 egg-fence-delete-char, egg-fence-backward-delete-char,
1430 egg-fence-kill-line, egg-fence-exit-mode, egg-fence-cancel-input,
1431 egg-fence-mode-help-command): Add Prefix `egg-'.
1433 (egg-fence-mode-map): Remove binding to eval-expression (C-z).
1435 (egg-self-insert-non-undo-count): Removed.
1436 (egg-self-insert-command): Removed.
1438 (egg-fence-backward-char, egg-fence-forward-char,
1439 egg-fence-transpose-chars, egg-fence-delete-char,
1440 egg-fence-backward-delete-char): beep -> ding.
1441 wnn-egg.el (egg-henkan-select-kouho): Likewise.
1443 1997-02-27 NIIBE Yutaka <gniibe@mri.co.jp>
1445 * wnn-egg.el (push-end, push-end-internal): Removed.
1447 * its.el (dolist): Removed. It's in CL package.
1448 (for-each, for-each*): Removed.
1450 * egg-keymap.el: Removed. I guess noone use it.
1452 * egg-jsymbol.el (*-alist): Declare by defconst.
1454 * egg-misc.el (toggle-egg-mode): Removed.
1456 * All files: Change the identifier XXX:YYYY --> XXX-YYYY,
1459 * egg-fence.el (enter-fence-mode): Use new API for marker
1460 insertion `set-marker-insertion-type'.
1461 * its.el (its-*buff-e*): Likewise.
1463 * egg-jsymbol.el: lc-jp --> (charset-id 'japanese-jisx0208)
1464 lc-jp2 --> (charset-id 'japanese-jisx0212).
1466 1997-02-26 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1468 * egg-fence.el (egg:fence-mode-map): Renamed from fence-mode-map.
1469 (egg:fence-mode-esc-prefix): Renamed from egg:fence-mode-esc-map.
1470 (henkan-fence-region-or-single-space): Removed.
1472 * egg-misc.el (toggle-egg-mode): mc-flag
1473 -> enable-multibyte-characters.
1475 * its.el (read-current-its-string): New function. Moved from
1477 (In meny functions): beep --> ding.
1479 * egg-misc.el (read-hiragana-string): Removed.
1480 (read-kanji-string): Removed.
1481 (egg:special-symbol-input): Renamed from special-symbol-input.
1482 (egg:special-symbol-input-point): Renamed from
1483 special-symbol-input-point.
1484 (si:*global-map*): Remeved.
1485 Removed 'Changes on Global map'.
1486 (its-mode-map): Renamed from mule-keymap.
1488 * wnn-egg.el (henkan-region-internal): Use new API for undo.
1489 (henkan-kakutei): Likewise.
1490 (henkan-kakutei-first-char): Likewise.
1491 (henkan-kakutei-before-point): Likewise.
1492 (sai-henkan): Likewise.
1493 * egg.el (egg:quit-egg-mode): Likewise.
1495 * egg-fence.el (egg:*fence-open*, egg:*fence-close*,
1496 egg:*fence-face*): Let them be declared by defvar.
1497 (egg:*fence-open-in-cont*, egg:*fence-close-in-cont*,
1498 egg:*fence-face-in-cont*): Likewise.
1500 (set-egg-fence-mode-format): Removed. Useless. Don't need to be
1502 (set-egg-fence-mode-format-in-cont): Removed.
1503 (egg:*face-alist*): Removed.
1505 * wnn-egg-misc.el (its:select-mode, its:select-mode-from-menu,
1506 its:next-mode, its:previous-mode):
1507 Removed (Merged into its.el).
1509 * its.el (its:select-mode, its:select-mode-from-menu,
1510 its:next-mode, its:previous-mode): Call hook of
1511 `its:select-mode-hook'.
1513 * diced.el: Removed. This depends on wnn. Functions are moved to
1516 * wnn-egg-dict.el (remove-regexp-in-string): Removed.
1517 (toroku-region): Don't call `remove-regexp-in-string'. Removing
1518 invalid sequence (TAB?) automatically is not good idea. It should
1519 notify user. Currently, just don't remove.
1521 * busyu.el (busyu-table): defconst instead of defvar.
1522 (busyu-kaku-alist): defconst instead of defvar.
1524 * its.el (egg:member): Removed. Not used.
1526 * wnn-egg-msg.el (*egg-message-alist*): Include asking string in
1527 register-notify and remove-notify. Should also change Korean and
1530 * egg.el: Removed "Tamago Notification System".
1531 It is useless, as we have *Messages* buffer in GNU Emacs 19.
1533 * diced.el (diced-execute): Don't use `notify' but `message'.
1534 (set-dict-comment): Likewise.
1535 * its.el (its-defrule**): Likewise.
1536 * wnn-egg-dict.el (egg:toroku-word): Likewise.
1537 * wnn-egg-msg.el (egg:error): Likewise.
1538 * wnn-egg.el (set-wnn-param): Likewise.
1539 (EGG:open-wnn): Likewise.
1540 (close-wnn): Likewise.
1541 (henkan-word-off): Likewise.
1542 (henkan-inspect-bunsetu): Likewise.
1544 * diced.el (diced-execute): Don't use `notify-yes-or-no-p' but use
1545 plain `yes-or-no-p' and format.
1546 * wnn-egg-dict.el (egg:toroku-word): Likewise.
1548 * egg.el (notify-yes-or-no-p-internal): IIDESUKA is not good.
1549 it should get the message through egg:get-msg. Currently, use
1551 (notify-y-or-n-p-internal): Likewise.
1553 * wnn-egg.el: Split into wnn-egg-dict.el, wnn-egg-misc.el, and
1555 (many functions): remove commented out line of
1556 (open-wnn-if-disconnected).
1558 * egg.el: Split into egg.el, egg-fence.el, egg-misc.el,
1559 jis-input.el, and modeline.el.
1561 * wnn-egg.el (egg-default-startup-file): change to eggrc-wnn from
1563 (henkan-region-internal): Use new API for marker insertion
1564 `set-marker-insertion-type'.
1566 1997-02-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1568 * menu.el (menu:select-from-menu): Rewritten.