1 1998-07-12 NIIBE Yutaka <gniibe@chroot.org>
3 * egg-mlh.el (mlh-space-bar-backward-henkan): Don't test against
4 egg-conversion-backend-alist.
6 * egg/wnn.el (wnn-fini-lang): Reneme from wnn-fini.
7 (wnn-fini): New implementation calling wnn-fini-lang.
9 (wnn-close): Call wnn-fini-lang.
10 (wnn-dictionary-save): Ditto.
12 * egg/canna.el (canna-fini): Delete LANG argument.
13 * egg/sj3.el (sj3-fini): Ditto.
15 * egg-cnv.el (egg-set-conversion-backend): Removed.
17 * egg/sj3.el (sj3-start-conversion): Signal error on non-supported
19 * egg/canna.el (canna-start-conversion): Likewise.
20 * egg/wnn.el (wnn-start-conversion): Likewise.
22 * egg-cnv.el (egg-convert-region): Add handler for
25 * egg/wnn.el (egg-activate-wnn): load wnnrpc here conditionally.
26 * egg/sj3.el: Likewise.
27 * egg/canna.el: Likewise.
29 * egg.el (egg-support-languages, egg-set-support-languages): Removed.
30 (egg-mode): Don't call egg-set-conversion-backend.
31 * egg/{canna.el, wnn.el, sj3.el}: Don't call egg-support-languages.
33 * egg-cnv.el (egg-set-current-backend): Removed.
34 (egg-initialize-backend, egg-start-conversion,
35 egg-start-reverse-conversion): Don't call egg-set-current-backend.
36 (egg-conversion-backend-null): Rename from *-other-languages.
37 (egg-conversion-backend-alist): Removed.
38 (egg-conversion-backend): Not buffer local.
39 (egg-finalize-backend-alist): Removed.
41 1998-07-10 NIIBE Yutaka <gniibe@chroot.org>
43 * egg-cnv.el (egg-start-conversion-failure-hook): New Variable.
44 (egg-start-conversion-failure-fallback): New Function.
45 (egg-convert-region): Handle error and hook on failure.
47 * egg/sj3.el (sj3-open): Remove bogus setq-s of sj3-sys-dict-list,
50 * egg-mlh.el (mlh-space-bar-backward-henkan): Don't emit message
51 "converting...", as it may flush out error message.
53 * egg/sj3rpc.el ("egg-com", "egg/sj3"): Require on compilation.
54 (sj3rpc-open): Failure when version is different.
56 1998-07-03 KATAYAMA Yoshio <kate@pfu.co.jp>
58 * its/erpin.el, its/hangul.el, its/hankata.el, its/hira.el,
59 its/jeonkak.el, its/kata.el, its/pinyin.el, its/quanjiao.el,
60 its/thai.el, its/zenkaku.el: Updated using new its-*.
62 * its.el (define-its-state-machine): Rewritten.
63 (define-its-compiled-map): Deleted.
64 (define-its-state-machine-append): Rewritten.
65 (its-defrule): Rewritten.
66 (its-defrule*): Rewritten.
67 (its-parent-states): New Variable.
68 (its-goto-state): Remove 2nd optional argument INITIAL-STATE.
69 (its-set-interim-terminal-state): New Function.
70 (its-make-next-state): Remove 2nd argument KEYSEQ.
72 1998-07-01 NIIBE Yutaka <gniibe@chroot.org>
74 * egg-mlh.el (mlh-hira-to-kata): Removed. Doesn't work any more.
75 (mlh-katakana): Use japanese-katakana-region.
77 * egg-cnv.el (egg-conversion-map): Add again mapping for "/".
79 1998-06-27 KATAYAMA Yoshio <kate@pfu.co.jp>
81 * egg-cnv.el (egg-abort-conversion): Bug fix.
83 1998-06-27 NIIBE Yutaka <gniibe@akebono>
85 * egg/wnn.el (wnn-dictionary-specification-list): Don' specify
87 Suggested by SAKAI Kiyotaka <ksakai@netwk.ntt-at.co.jp>.
89 1998-06-26 KATAYAMA Yoshio <kate@pfu.co.jp>
91 * its.el (its-cancel-input): Bug fix.
93 1998-06-26 SAKAI Kiyotaka <ksakai@netwk.ntt-at.co.jp>
95 * egg-cnv.el (egg-conversion-mode, egg-help-command): New
96 functions for help string.
97 * its.el (its-mode, its-mode-help-command): Likewise.
99 1998-06-26 KATAYAMA Yoshio <kate@pfu.co.jp>
101 * egg-cnv.el (egg-convert-region): Bug fix.
102 * egg.el (egg-default-language): Don't use string.
104 * its/hankata.el (its-han-kata-enable-double-n, and others):
105 Variable name change (-han-) to distingush kata.el.
107 * its/erpin.el (its-erpin-tw-enable-quanjioao-alphabet,
108 its-erpin-cn-enable-quanjioao-alphabet):
109 See its-enable-fullwidth-alphabet.
110 * its/kata.el (its-kata-enable-zenkaku-alphabet): Likewise.
111 * its/pinyin.el (its-pinyin-cn-enable-quanjioao-alphabet): Likewise.
112 * its/zenkaku.el (its-zenkaku-down-map): Likewise.
114 * its/erpin.el (its-erpin-tw-map): Bug fix for "\\", "{", "}", and
116 * its/pinyin.el (its-pinyin-cn-map): Ditto.
117 * its/quanjiao.el (its-quanjiao-down-tw-map): Ditto.
118 * its/zhuyin.el (its-zhuyin-cn-enable-quanjioao-alphabet): Ditto.
120 * its/hira.el (its-hira-enable-zenkaku-alphabet): Follow changes
122 * its/ascii.el (its-up-map, its-down-map): Ditto.
123 * its/jeonkak.el (its-jeonkak-up-map): Ditto.
125 * its/hira.el (its-hira-enable-zenkaku-alphabet):
126 See its-enable-fullwidth-alphabet.
128 * egg/wnn.el (wnn-save-dictionaries): Rewritten.
130 * egg/canna.el (egg-edep): Required.
131 (canna-support-languages): Use symbol.
132 * egg/sj3.el (egg-edep): Likewise.
134 * egg/wnn.el (egg-edep): Likewise.
135 * egg/wnnrpc.el: Use symbol.
137 * menudiag.el (menudiag-mode-map): Bug fix for boundary conditions.
138 (menudiag-make-selection-list): Bug fix in case of many items.
140 (menudiag-forward-item, menudiag-backward-item,
141 menudiag-goto-line): Change so that it wraps.
143 * its.el (egg-edep): Required.
144 (its-keydef): Require unconditioanlly.
145 (its-mode-map): Don't call its-define-select-keys here.
146 (its-mode-map): Use of symbol as keymap.
147 (its-fence-invisible): New variable.
148 (its-put-cursor): Don't call its-define-select-keys.
149 (its-setup-fence-mode): invisible handling and its-define-select-keys.
150 (its-keyseq-acceptable-p): if (CDR SYL) is number, return NIL.
151 (define-its-state-machine): Introduce its-temporaly-map.
152 (define-its-state-machine-append): Likewise.
154 (its-goto-state): Use symbol as keymap, not directly.
156 (its-set-part-1,its-set-part-2): New function.
157 (its-delete-backward-within-SYL): Conditionalize.
159 * egg.el (egg-edep): Required.
160 (egg-mode): Add remove-hook call.
161 Supply NIL as first argument to egg-set-conversion-backend.
162 make-local-hook for input-method-activate-hook.
163 (egg-set-face): Add optional argument OBJECT.
164 (egg-redraw-face): Bind inhibit-point-motion-hooks.
166 * egg.el (set-buffer-multibyte): Move to egg-edep.el.
168 * egg-mlh.el (mlh-space-bar-backward-henkan): Use assq.
170 * egg-com.el (egg-zhuyin-syllable): compatibility change.
171 (encode-fixed-euc-china-region): Removed maxlen.
173 Really Needed? -- gN.
174 * egg-com.el (egg-pinyin-syllable): Check exact match.
175 (egg-zhuyin-syllable): Likewise.
177 * egg-cnv.el (egg-edep): Required.
178 (its-keydef): Not required.
179 (egg-conversion-map): Don't call its-define-select-keys here.
180 Fset it to use symbol instead of the map directly.
182 (egg-get-bunsetsu-info): Add new optional argument for getting
184 (egg-start-conversion-other-languages): set egg-conversion-backend.
185 (egg-set-current-backend): Use assq instead of assoc.
186 (egg-get-conversion-face): Likewise.
187 (egg-conversion-invisible): New variable.
188 (egg-convert-region): Change for open/close delimiter.
189 (egg-chinese-sisheng-regexp): New function.
190 (egg-separate-languages): Use egg-chinese-sisheng-regexp,
191 use symbol for language specifier (instead of string).
193 (egg-charset-to-language): Use symbol for language specifier
195 (egg-next-chinese-lang): Likewise.
197 (egg-next-part-lang): Change the arguments.
199 (egg-make-bunsetsu): New function changing egg-insert-bunsetsu.
201 (egg-separate-characters): compatibility changes.
203 (egg-conversion-wrap-select): New Variable.
205 (egg-next-candidate): Can wrap around.
207 (egg-decide-before-point): Rewritten.
208 (egg-abort-conversion): Back to previous one.
209 (egg-select-candidate): Use egg-make-bunsetsu.
211 * egg-edep.el: New File for handling differences between Emacs version.
212 * its/thai.el: New File.
213 * its/hangul.el: Updated.
215 1998-06-26 NIIBE Yutaka <gniibe@chroot.org>
217 * Makefile (install): Don't touch .emacs and leim-list.el
218 directly. User should do it by her hand.
219 Reported by SAKAI Kiyotaka <ksakai@netwk.ntt-at.co.jp>
221 1998-06-25 NIIBE Yutaka <gniibe@chroot.org>
223 * egg/canna.el (canna-dictionary-specification): "user" instead of
224 ("user"). Should chnage canna-filename later.
225 Reported by Akio Morita <amorita@bird.scphys.kyoto-u.ac.jp>.
227 1998-04-02 NIIBE Yutaka <gniibe@chroot.org>
229 * egg-com.el (comm-unpack-u16-string): Call string-as-multibyte.
230 (comm-unpack-mb-string): Likewise.
232 * egg.el (set-buffer-multibyte): Function for Emacs 20.2.
234 * egg/wnn.el (wnn-open): Call set-buffer-multibyte.
235 * egg/sj3.el (sj3-open): Ditto.
236 * egg/canna.el (canna-open): Ditto.
238 1998-04-02 KATAYAMA Yoshio <kate@pfu.co.jp>
241 * egg.el (egg-mark-list, egg-suppress-marking): New Variables.
242 (egg-set-face, egg-mark-modification, egg-redraw-face): New
244 * its.el (its-buffer-ins/del-SYL): Call egg-set-face.
245 (its-setup-yanked-portion): Likewise.
246 * egg-cnv.el (egg-insert-bunsetsu): Call egg-set-face.
248 * egg.el (egg-mode): set default backend.
249 * egg-mlh.el (mlh-space-bar-backward-henkan): activate input
252 1998-04-02 NIIBE Yutaka <gniibe@chroot.org>
254 * egg-cnv.el (egg-decide-bunsetsu): Undo changes of 03-16.
255 (egg-abort-conversion): Call egg-end-conversion.
256 (egg-decide-before-point): Call egg-end-conversion widh ABORT=NIL.
258 1998-03-16 NIIBE Yutaka <gniibe@chroot.org>
261 * egg/canna.el, egg/cannarpc.el: New file.
262 * Makefile (SRCS): Added.
264 * egg-cnv.el (egg-end-conversion): Add argument ABORT.
266 * egg/wnn.el (wnn-end-conversion): Follow the change of
268 * egg/sj3.el (sj3-end-conversion): Likewise.
270 1998-03-15 NIIBE Yutaka <gniibe@chroot.org>
272 * Makefile: Add dependencies for its-keydef.elc.
273 * egg/sj3rpc.el (sj3-open): Don't support list of hosts.
274 * its.el (its-exit-mode, its-kick-convert-region): Bug fix. Call
275 its-input-end and its-put-cursor.
276 (its-exit-mode-off-input-method): Removed.
278 1998-03-14 KATAYAMA Yoshio <kate@pfu.co.jp>
280 * docomp.el (its-keydef): Undo the changes of 03-09. its.el
283 * egg-cnv.el (egg-current-language): New valiable.
284 (egg-bunsetsu-info): Separate bunsetsu-info and lunguage.
285 (egg-conversion-backend-other-languages
286 egg-init-other-languages
287 egg-start-conversion-other-languages
288 egg-get-bunsetsu-converted-other-languages
289 egg-get-bunsetsu-source-other-languages
290 egg-list-candidates-other-languages
291 egg-get-number-of-candidates-other-languages
292 egg-get-current-candidate-number-other-languages
293 egg-get-all-candidates-other-languages
294 egg-decide-candidate-other-languages
295 egg-change-bunsetsu-length-other-languages
296 egg-end-conversion-other-languages
297 egg-fini-other-languages): New valiable and functions for
298 handling unknown language.
299 (egg-set-current-backend): Set egg-conversion-backend-other-languages
300 when backend for specified language isn't found.
301 (egg-start-reverse-conversion): New function for reverse conversion.
302 (egg-set-conversion-backend-internal): Removed.
303 (egg-set-conversion-backend): Args are changed.
304 (egg-get-conversion-face): New function for different face for
306 (egg-convert-region): Make converting text read-only. Handle
307 unknown laguages and backend opening error. Rename its-lang to
309 (egg-separate-languages): Argument use-context is added to
310 utilize context when called by its-yank. Rename its-lang to
311 egg-lang Improve speed.
312 (egg-charset-to-language): Renamed from egg-char-to-language.
313 (egg-next-part-lang egg-next-chinese-lang): Rename its-lang to
315 (egg-conversion-map): Unbind C-\ and /. Bind C-X RET XXX to
317 (egg-insert-bunsetsu): Make conversion text read-only. Separate
318 bunsetsu-info and conversion-backend.
319 (egg-insert-bunsetsu-list): Remove redundant variables.
320 (egg-beginning-of-conversion-buffer): New function.
321 (egg-end-of-conversion-buffer): New function.
322 (egg-enlarge-bunsetsu): Handle read-only text.
323 (egg-next-candidate): Handle read-only text. Bug on no candidate
325 (egg-reconvert-bunsetsu-internal egg-reverse-convert-bunsetu
326 egg-reconvert-bunsetsu): New functions for reverse conversion and
328 (egg-decide-before-point egg-abort-conversion): Handle read-only
329 text. Bug on pinyin and zhuyin mixed conversion is fixed. Allow
331 (egg-select-candidate): Handle read-only text. Bug on no candidate
334 * egg-com.el: Change coding-system from internal to iso-2022-7bit.
336 * egg-mlh.el (mlh-space-bar-backward-henkan): Disable temporally
339 * egg.el (egg-mode): Set cureent lang to conversion backend.
340 (egg-set-mode-line-title): Renamed to its-set-mode-line-title
342 (egg-check-language): Removed.
344 * egg/sj3.el (sj3-server-port): Change from defconst to defver for
346 (sj3-open sj3-get-environment): Try opening alternate servers.
347 (sj3-start-conversion): Make second argument LANGUAGE optional.
348 (egg-activate-sj3): Parameters of egg-set-conversion-backend is
351 * egg/sj3rpc.el (sj3rpc-error-message): New constant (Not yet
353 (sj3rpc-get-error-message): Check range of errno to avoid
354 args-out-ou-range error.
356 * egg/wnn.el (wnn-jport wnn-cport wnn-tport wnn-kport): New
357 variables for user customization.
358 (wnn-server-info-list wnn-server-port): Type of fourth element
359 is changed from integer to symbol.
360 (wnn-start-reverse-conversion): New function.
361 (wnn-open wnn-get-environment): Try opening alternate servers.
362 (egg-activate-wnn): Parameters of egg-set-conversion-backend is
365 * its-keydef.el (its-current-language): Moved to its.el.
366 (its-make-select-func): Remove language check (egg-check-language).
367 Add temporally mode selection.
368 (its-do-list-make-select-func): Binding of zhuyin-tw is changed to
369 `C' because conflicting zenkaku-upcase.
371 * its.el (its-current-select-func its-previous-select-func): New
372 variables for temporally mode selection.
373 (its-keydef requiring): Use eval-when to avoid error on using
375 (its-get-fence-face): New function for different face for
377 (its-put-cursor its-setup-fence-mode): Make fence read-only.
378 (its-start): Remove force-mode-line-update calling.
379 (its-restart): Add optional argument set-prop.
380 (its-self-insert-char its-backward-SYL its-forward-SYL
381 its-delete-SYL its-delete-backward-SYL its-exit-mode
382 its-delete-backward-SYL-by-keystroke its-transpose-chars
383 its-kick-convert-region its-end-of-input-buffer): Handle read-only
385 (its-state-machine): Accept special actions to handle temporally
387 (its-buffer-ins/del-SYL its-ins/del-SYL-batch): Handle read-only
388 fence. Property its-lang is renamed to egg-lang.
389 (its-get-next-state its-make-next-state): Add type check to avoid
390 wrong-type-argument error.
391 (its-keyseq-acceptable-p): Save informations of its-map to avoid
392 confusing on temporally mode selection.
393 (its-defrule-select-mode-temporally): New macro.
394 (its-kill-line its-cancel-input): New function.
395 (its-delete-backward-within-SYL): Bind its-current-language to
396 avoid confusing when undo is done beyond language change.
397 (its-yank its-yank-pop its-setup-yanked-portion): New functions.
398 (its-exit-mode-internal): Reset temporally selected mode. Allow
400 (its-kick-convert-region-or-self-insert): New function.
401 (its-translate-region): Remove text properties completly.
402 (its-set-mode-line-title): Moved from egg.el and renamed.
403 (its-select-mode-temporally its-select-previous-mode): New functions
404 for temporally mode selection.
406 * leim-list-egg.el: Secondary argument for egg-activate-sj3/wnn
409 * its/hira.el: Remove the rule for "~" which destroies the rules
410 with its-hankaku-escape.
412 * its/pinyin.el: Implement its-pinyin-cn-enable-quanjioao-alphabet
413 and its-pinyin-tw-enable-quanjioao-alphabet.
415 * its/hangul.el: Implement its-hangul-enable-quanjioao-alphabet.
417 * its/ascii.el: New file.
418 * its/erpin.el: New file.
419 * its/hankata.el: New file.
420 * its/jeonkak.el: New file.
421 * its/kata.el: New file.
422 * its/quanjiao.el: New file.
423 * its/zenkaku.el: New file.
424 * its/zhuyin.el: New file.
426 1998-03-14 NIIBE Yutaka <gniibe@chroot.org>
428 * egg/sj3rpc.el (sj3rpc-close): New function.
430 * egg/sj3.el (sj3bunsetsu-[sg]et-kugiri-changed): Rename from
431 sj3bunsetsu-get-stdy-down.
432 (sj3-end-conversion): Implement CLSTDY.
433 (sj3-fini): Implemented.
435 1998-03-10 NIIBE Yutaka <gniibe@chroot.org>
437 * egg/sj3.el (sj3-end-conversion): Implement bunsetsu study.
440 * egg/sj3rpc.el (sj3rpc-get-bunsetsu-candidates-sub): Bug fix.
441 Always add hiragana and katakana candidates.
442 (sj3-const: CLSTDY, CLSTDY_EUC): Renamed from END and END_EUC
443 according to "sj3cmd.h" of SJ3 distribution.
444 (sj3rpc-bunsetsu-stdy, sj3rpc-kugiri-stdy): New functions.
446 * egg-com.el (comm-format-u8-vector): New substitution.
447 (comm-format): New format 'v'.
449 1998-03-09 NIIBE Yutaka <gniibe@chroot.org>
451 * docomp.el (its-keydef): Require its-keydef when compile.
452 Not so good. Just a work around.
453 (its-mode-map): Undo the changes of 03-04.
455 1998-03-09 KATAYAMA Yoshio <kate@pfu.co.jp>
457 * its.el (its-translate-region): Make it command.
458 (its-translate-region-internal): Make it function.
460 1998-03-04 NIIBE Yutaka <gniibe@chroot.org>
462 * its.el (its-define-select-keys of its-mode-map): Comment it out.
463 * its-keydef.el (its-make-select-func): Add eval-when to compile this.
465 * egg-cnv.el (egg-decide-bunsetsu): Deleted.
466 * its.el (its-restart): Call its-setup-fence-mode with no argument.
468 * its.el (its-keyseq-acceptable-p): Bug fix.
470 1998-03-03 KATAYAMA Yoshio <kate@pfu.co.jp>
472 *its.el (its-get-keyseq-syl): Compensate when DSYL has back.
473 (its-DSYL-with-back-p): New function. Return t when DSYL has back.
474 (its-concrete-DSYL-p): New function. Return t when DSYL is cons
475 form which means input is not continued after DSYL was created.
476 (its-make-concrete-DSYL): New function.
477 (its-self-insert-char): Make DSYL to ``concrete-DSYL'' if cursor
478 is t which means input is not continued.
479 (its-input): Test input key is whether acceptable or not when
480 its-barf-on-invalid-keyseq is non-nil.
481 (its-input-to-vsyl): Set cursor status, not just returning it.
482 (its-state-machine its-state-machine-keyseq): Make sure to issue
483 ``DSYL-with-back'' when syllable is decided by the rule with back.
484 ``test mode'' is added.
485 (its-keyseq-acceptable-p): New function.
486 (its-forward-SYL): The args order of put-text-property was wrong.
487 (its-delete-backward-SYL-by-keystroke): New function.
488 (its-delete-backward-within-SYL): ``delete-by-keystroke'' mode
489 did not work when syllable is decided by the rule with back.
490 Deletion limit is extended to outside of SYL (meaning of
491 ``within-SYL'' is changed to ``deletion starts within SYL).
492 (its-transpose-chars): Fixed up.
493 (its-in-fence-p): Confuse at openning fence.
495 1998-02-25 KATAYAMA Yoshio <kate@pfu.co.jp>
497 * its.el (its-put-cursor): Enable its-map change in fence mode.
499 * its-keydef.el (its-make-select-func): Same as above.
501 1998-02-25 KATAYAMA Yoshio <kate@pfu.co.jp>
503 * its.el (its-set-cursor-status): New function.
504 (its-setup-fence-mode): New function.
505 (its-insert-fence-open its-insert-fence-close): Deleted.
506 (its-start, its-restart, its-self-insert-char): Avoid fence
507 destruction on its-barf.
508 (its-input-to-vsyl, its-state-machine, its-state-machine-keyseq,
509 its-buffer-ins/del-SYL, its-ins/del-SYL-batch): Update cursor
510 status on updating syllables.
511 (its-input-error): New function to realize doc-string of
512 its-barf-on-invalid-keyseq.
514 * egg.el (egg-mode): Don't use egg-mode-line-title which cause
515 wrong-type-argument at isearch. Bind its-select-XXX to key only
516 when modefull is select.
518 * egg-mlh.el (mlh-hangul, mlh-zhongwen, mlh-zhongwen-tw): Same
521 * its-keydef.el (its-make-select-func): Same as above.
523 * leim-list-egg.el: Same as above.
525 1998-02-24 KATAYAMA Yoshio <kate@pfu.co.jp>
527 * its.el (its-state-machine-keyseq): Remove binding
528 its-barf-on-invalid-keyseq to nil.
529 (its-ins/del-SYL-batch): Avoide altering its-XXX-map.
530 (its-translate-region-internal): its-translation-result's data
531 type is changed to string.
533 * egg-cnv.el (egg-convert-region): Gather contiguous same
536 1998-02-21 KATAYAMA Yoshio <kate@pfu.co.jp>
538 * its.el (its-ins/del-SYL-batch): Set its-lang property.
539 (its-translate-region): Remove its-lang property from translated
541 (its-translate-region-internal): New function. Retain its-lang
542 property on translated text.
544 * egg-mlh.el (mlh-space-bar-backward-henkan): Force base language
547 (mlh-hangul mlh-zhongwen-tw mlh-zhongwen): New functions for
548 conversion functions.
550 1998-02-20 KATAYAMA Yoshio <kate@pfu.co.jp>
552 * its.el (its-restart): New function.
553 (its-insert-fence-open, its-insert-fence-close): New function.
554 (its-start): Rewritten. Use its-insert-fence-open and
555 its-insert-fence-close.
556 (its-exit-mode-internal): Leave its-syl property.
557 (its-exit-mode-internal): Delete the property in this case.
558 (its-keydef): Require it.
560 * its-keydef.el: Provide the feature.
562 * egg-cnv.el (egg-convert-region): Add egg-source property to save
564 (egg-conversion-map, \C-c): New keybind.
565 (egg-get-previous-bunsetsu): Bug fix.
566 (egg-decide-before-point): New implementation.
567 (egg-exit-conversion): Use gg-decide-before-point.
568 (egg-abort-conversion): New command.
570 1998-02-20 NIIBE Yutaka <gniibe@akebono>
572 * Makefile (SRCS), Egg.prj: Remove euc-china.el.
573 * egg-com.el: Include egg-china.el.
574 * egg-china.el: Removed.
576 1998-02-18 NIIBE Yutaka <gniibe@chroot.org>
580 * Makefile (SRCS): Rename euc-cn.el to euc-china.el
581 * egg-mlh.el (mlh-space-bar-backward-henkan): Put "Japanese"
582 language property for text.
584 1998-02-18 KATAYAMA Yoshio <kate@pfu.co.jp>
586 * euc-china.el: Rename from euc-cn.el. Update.
588 * egg.el (egg-mode): Bug fix. Call get-exit-conversion.
589 * leim-list-egg.el ("japanese-egg-wnn", "japanese-egg-sj3"):
590 Use new definition (with language argument).
591 * egg/wnn.el (egg-activate-wnn):
592 * egg/sj3.el (egg-activate-sj3):
594 1998-02-17 NIIBE Yutaka <gniibe@chroot.org>
596 * Makefile (SRCS): Add its/pinyin.el, its/hangul.el and
599 * egg-com.el (ccl-encode-fixed-euc-kr): Fixed the name.
601 1998-02-17 KATAYAMA Yoshio <kate@pfu.co.jp>
603 * its-keydef.el: New file.
604 * its/hangul.el, its/pinyin.el: New version.
606 * egg/wnnrpc.el (load-library "egg/wnn"): Comment it out.
607 (wnnrpc-get-error-message): Support multiple languages.
608 (wnnrpc-call-with-environment): Chinese support.
610 * egg/wnn.el (wnn-support-languages): New const.
611 (<env>): Add <server-type>, <dic-set>, and <rev-flag>.
612 (wnnenv-get-server-type, wnnenv-get-dictionary-set,
613 wnnenv-get-reverse-flag): New substs.
614 (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Changed.
615 (wnn-server): Removed.
616 (wnn-jserver, wnn-cserver, wnn-tserver, wnn-kserver): New custom.
617 (wnn-server-info-list): New const.
618 (wnn-get-server-info): New function.
619 (wnn-server-locale, wnn-server-type, wnn-server-port,
620 wnn-server-stream-name, wnn-server-buffer-name,
621 wnn-server-coding-system, wnn-server-hostname): New substs.
622 (wnn-start-conversion): Add new arguments.
623 (wnn-uniq-candidates): Initialize 'n'.
624 (wnn-change-bunsetsu-length): Simplefied.
625 (wnn-change-bunsetsu-length): Call renbunsetsu-conversion,
627 (wnn-fini, wnn-comm-sentinel): back to 971009 version.
628 (wnn-jserver-port): Removed.
629 (wnn-open): Argument change. Support languages.
631 (wnn-dictionary-specification): Removed.
632 (wnn-dictionary-specification-list): New variable.
633 (wnn-get-dic-spec, wnn-dic-spec-dic-set, wnn-dic-spec-reverse,
634 wnn-dic-spec-name, wnn-dic-spec-param, wnn-dic-spec-fuzokugo,
635 wnn-dic-spec-dic-list): New substs.
636 (wnn-get-environment): Rewrite.
637 (wnn-create-environment): Rewrite.
639 (egg-activate-wnn): Support languages.
641 * egg/sj3rpc.el (load-library "egg/sj3"): Don't load it.
643 * egg/sj3.el (sj3-support-languages): New const.
644 (sj3-start-conversion, sj3-fini): Add lang.
645 (sj3-change-bunsetsu-length): Simplified.
646 (egg-activate-sj3): Support language.
648 * its/hira.el (its/hira): Packagefy. (?)
649 (its-hira-map): Add language spec. Move here the escape keys
652 * leim-list-egg.el ("chinese-gb-egg-wnn-py", "chinese-gb-egg-wnn-zy",
653 "chinese-cns-egg-wnn-py", "chinese-cns-egg-wnn-zy",
654 "korean-egg-wnn"): New input methods.
656 * its.el (its-current-language): New Local Variables.
657 <map>: Change the structure. Add <language>.
658 (its-get-language): New substitution.
659 (its-set-indicator): Removed.
660 (its-get-indicator, its-get-start-state): New implementation.
661 (its-reset-start-state): Removed.
662 (its-buffer-ins/del-SYL): Add new properties, its-map and its-lang.
663 (its-exit-mode-internal): Change for its-map and its-lang.
664 (its-in-fence-p): New function.
666 ("its-keydef.el"): Load it.
668 (its-select-map-menu): Removed.
669 (its-select-map-from-menu): Removed.
670 (its-select-hiragana, its-select-katakana, its-select-downcase,
671 its-select-upcase, its-select-zenkaku-downcase,
672 its-select-zenkaku-upcase, its-select-map, its-zenkaku-escape,
673 its-hankaku-escape): Removed.
675 (define-its-state-machine): Rewrite.
676 (define-its-compiled-map): New macro.
677 (its-define-state-machine): Removed.
679 (its-forward-SYL): Cleanup.
681 (its-beginning-of-input-buffer): Fix.
682 (its-end-of-input-buffer): Likewise.
684 * egg-com.el (egg-fixed-euc, egg-mb-euc): New Local Variables.
685 (ccl-decode-fixed-euc-kr, ccl-encode-fixed-euc-kr): New CCLs.
686 (fixed-euc-kr): New coding system.
687 (comm-format-mb-string, comm-format-u16-string): Support EUC-KR.
688 (comm-unpack-u16-string, comm-unpack-mb-string): Likewise.
690 * egg-cnv.el (egg-get-bunsetsu-info): New function.
691 (egg-conversion-backend-alist, egg-finalize-backend-alist):
693 Make egg-conversion-backend buffer local.
694 (egg-set-current-backend): New function.
695 (egg-initialize-backend): Call egg-set-current-backend.
696 (egg-start-conversion): Add new argument LANGUAGE.
697 (egg-finalize-backend): Finalize for all backend(s).
698 (egg-set-conversion-backend-internal): New Macro.
699 (egg-convert-region): Support multiple languages in the region.
700 (egg-separate-languages, egg-char-to-language, egg-next-part-lang,
701 egg-next-chinese-lang): New functions.
702 (egg-insert-bunsetsu-list): Change the meaning of last argument.
703 (egg-shrink-bunsetsu): Simplified. Just call egg-enlarge-bunsetsu.
704 (egg-enlarge-bunsetsu): Support shrink.
706 (egg-decide-bunsetsu, egg-next-candidate, egg-select-candidate):
707 Use egg-get-bunsetsu-info.
709 (egg-insert-bunsetsu): The property now includes
710 egg-conversion-backend.
712 * egg.el: Don't load its/hira and don't set its-current-map.
714 * egg.el (egg-default-language, egg-support-languages): New Variables.
715 (egg-last-method-name, egg-mode-line-title): New Local Variables.
716 (egg-set-mode-line-title, egg-check-language): New functions.
717 (egg-set-support-languages): New function.
718 (egg-mode): Final processing: call its-exit-mode, call
720 Changing the arguments, remember last input method.
722 Bug fix. Don't set its-hira-period and its-hira-comma.
724 1998-02-17 KAWABATA, Taichi
726 * menudiag.el (menudiag-mode-map): New binds for new commands.
727 (menudiag-beginning-of-items, menudiag-end-of-items): New commands.
728 (menudiag-make-menu-formatted-string): Bug fix. Use
729 menudiag-item-num-to-char.
730 (menudiag-goto-item): Rewrite. Better user interface.
731 (menudiag-char-to-item-num, menudiag-item-num-to-char): New
734 1998-02-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
736 * leim-list-egg.el: Delete autoload setting for `egg-mode'.
737 Delete input method registration for "japanese-egg".
739 * egg.el: Comment out setting for Wnn.
741 * leim-list-egg.el: Add autoload setting for
742 `egg-activate-{wnn|sj3}'.
744 * egg/sj3.el (egg-activate-sj3): Add DOC-string.
746 * egg/sj3.el (egg-activate-sj3): New function.
750 * egg/wnn.el (egg-activate-wnn): New function.
754 1998-02-07 MORIOKA Tomohiko <morioka@jaist.ac.jp>
756 * leim-list-egg.el (japanese-egg-wnn): New input method.
757 (japanese-egg-sj3): New input method.
759 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
761 * leim-list-egg.el: Rename `egg-ja' -> `japanese-egg'.
763 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
765 * egg/wnn.el (wnn): New group.
766 (wnn-server): Use `defcustom'.
767 (wnn-usr-dic-dir): Use `defcustom'.
769 * egg.el (egg): New group.
771 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
773 * menudiag.el (menudiag-mode-map): Swap binding for left and
776 * egg.el (egg-toroku-region): `wnn-get-environment' requires
777 dictionary-specification.
779 * leim-list-egg.el: add autoload setting for egg-mode.
781 1997-11-03 KATAYAMA Yoshio <kate@pfu.co.jp>
783 * euc-cn.el: New file. Original name was yincoding.el.
784 Adopted by NIIBE Yutaka <gniibe@chroot.org>.
786 1997-11-03 NIIBE Yutaka <gniibe@chroot.org>
788 * its.el (its-start): Add INVISIBLE property if ITS-FENCE-FACE.
789 * egg-cnv.el (egg-decide-before-point): Ditto.
790 Based on patch by Kenichi HANDA <handa@etl.go.jp>.
792 Once, I thought that we need many environments which correspond to
793 outstanding CONVERSION buffre. However, I've learned that WNN4
794 protocol is completely independent. It's no use to maintain each
795 environment. Share the one environment.
796 * egg/wnn.el (wnn-environments): Removed.
797 (wnn-environment): New variable.
798 (wnn-comm-sentinel): Follow the change. Let users know the close.
799 (wnn-fini): Likewise.
801 <env>: Remove the member <in-use>.
802 (wnnenv-create): Follow the structure change.
803 (wnn-end-conversion): Likewise.
804 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Removed.
805 (wnn-find-env-not-in-use): Removed.
806 (wnn-get-environment): Use wnn-environment instead of wnn-environments.
809 * egg-cnv.el (egg-decide-before-point): Signal error on first SYL.
810 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>. Changes of 1997-09-07
812 Set-marker M to NIL after PUT-TEXT-PROPERTY.
814 Because the name of identifier begins egg-*, change the file names.
815 * tamago: Rename from tamago.
816 * egg.el, egg-mlh.el, egg-com.el, egg-cnv.el: Rename from tamago-*.el
817 * Makefile: Follow the changes.
819 1997-10-05 NIIBE Yutaka <gniibe@chroot.org>
821 * tamago/wnn.el (wnn-uniq-candidates): Add new argument BUNSETSU.
822 Call WNN-BUNSETSU-SET-ZENKOUHO-POS, WNN-BUNSETSU-SET-ZENKOUHO in
823 this function. Handle the case where BUNSETSU is not the first
824 element of BUNSETSU-LIST.
825 (wnn-list-candidates): Use new API of WNN-UNIQ-CANDIDATES.
827 * tamago-cnv.el (egg-next-candidate): Handle the case where
828 EGG-LIST-CANDIDATES returns non zero value.
830 1997-10-04 NIIBE Yutaka <gniibe@chroot.org>
832 * Makefile (install): Install to SITEDIR.
834 1997-09-26 NIIBE Yutaka <gniibe@chroot.org>
836 * its/hira.el (its-hira-enable-zenkaku-alphabet): New variable.
837 (its-hira-map): Use it.
839 1997-09-19 NIIBE Yutaka <gniibe@chroot.org>
841 Arrange for LEIM. Use tamago/ subdirectory.
842 * tamago/: Rename from tamago-lib.
844 1997-09-18 NIIBE Yutaka <gniibe@chroot.org>
846 * tamago-cnv.el (egg-select-candidate): menu-select -->
848 * tamago.el (egg-toroku-region, egg-hinshi-select): Likewise.
850 * tamago-cnv.el (egg-exit-conversion): Run hook of
851 input-method-after-insert-chunk-hook.
852 * its.el (its-exit-mode-internal): Ditto.
854 * tamago-mlh.el (mlh-comma-period-style): Deleted.
856 * its/, tamago-lib/: New directory.
857 * its/: Move its-*.el files here.
858 * tamago-lib/: Move sj3.el, sj3rpc.el, wnn.el and wnnrpc.el here.
860 * tamago-com.el: Rename from comm.el.
861 * tamago-mlh.el: Rename from mlh.el.
862 * tamago-cnv.el: Rename from convert.el.
864 * menudiag.el: Rename from menu.el.
865 (Throughout): Rename menu-* to menudiag-*.
867 1997-09-07 NIIBE Yutaka <gniibe@chroot.org>
869 * egg.el (egg-insert-after-hook, egg-exit-hook): Removed.
870 (egg-sai-henkan-start, egg-sai-henkan-end, egg-old-bunsetu-suu):
873 * wnn.el (WNN-const): New macro.
874 (wnn-start-conversion, wnn-open-dictionary, wnn-open-frequency,
875 wnn-set-dictionary-sub, wnn-update-frequency): Use it.
877 * wnnrpc.el (wnn-const): New macro.
878 Throughout: Use wnn-const.
880 * convert.el (egg-decide-before-point): Bug fix. Handle the case
881 where all bunsetsu are decided.
882 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>.
884 * convert.el (egg-exit-conversion): Call egg-end-conversion at end.
885 (egg-decide-before-point): Ditto.
887 * wnn.el (wnn-environments): Change the structure of enviromnents.
888 (wnn-fini): Handle errors.
889 (wnn-open): Set sentinel. Delete buffer on failure.
890 (wnn-comm-sentinel): New function.
891 (wnn-find-env-not-in-use): Return nil when not found.
893 (wnn-create-environment): Take username as argument.
894 (wnn-get-environment): Follow the change.
896 (wnnenv-create): Remove useless serial no.
897 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Follow the change.
898 (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Likewise.
899 (wnn-create-environment, wnn-get-environment): Likewise.
901 1997-09-04 NIIBE Yutaka <gniibe@chroot.org>
903 * its.el (its-state-machine-keyseq): Bug fix. Handle VSYL.
905 * sj3.el, sj3rpc.el: New files.
907 * comm.el (comm-call-with-proc, comm-call-with-proc-1): New macros.
908 * wnnrpc.el (wnnrpc-call-with-proc, wnnrpc-call-with-proc-1): Deleted.
909 Throughout: Use comm-call-with-proc and comm-call-with-proc-1.
911 1997-09-03 NIIBE Yutaka <gniibe@chroot.org>
913 * wnnrpc.el (wnnrpc-call-with-proc-1): Bug fix. let --> progn.
915 * convert.el (egg-conversion-backend): Initail value is NIL.
917 * wnn.el (wnn-conversion-backend): New constant.
919 * comm.el (comm-format,comm-unpack): Support multibyte string.
920 (comm-format-mb-string): New substitution.
921 (comm-unpack-mb-string): New substitution.
923 * wnn.el (wnn-fini): Handle the case where wnn-environments is nil.
924 Reported by Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>.
926 1997-09-03 Hiroshi Ogata <hiroshi@nereid.rim.or.jp>
928 * mlh.el (mlh-zenkaku): Use new API of Emacs-20,
929 japanese-zenkaku-region.
931 1997-09-02 NIIBE Yutaka <gniibe@chroot.org>
933 * egg.el (egg-toroku-region): New function.
935 * wnn.el (wnn-list-dictionaries): New function.
936 (wnnenv-get-proc): New function.
938 * wnnrpc.el (wnndic-get-id, wnndic-get-comment, wnndic-get-dictname):
940 (wnnrpc-get-writable-dictionary-id-list): Rename from
941 wnnrpc-get-writable-dictionary-list.
943 1997-09-01 NIIBE Yutaka <gniibe@chroot.org>
945 * convert.el (egg-decide-bunsetsu): New function.
946 (egg-decide-before-point): New command.
947 (egg-exit-conversion): Use egg-decide-bunsetsu.
949 * its.el (its-start): Divide the fence buffer into two parts and
950 make them intangible, so that point goes appropriate position.
951 (its-put-cursor): The cursor belongs to part-2.
952 (its-buffer-ins/del-SYL): The new SYL belongs to part-1.
953 (its-exit-mode-internal): Remove the property on exit.
954 (its-beginning-of-input-buffer): Make SYLs have property of "part 2".
955 (its-backward-SYL): Likewise.
956 (its-forward-SYL): Make SYLs have property of "part 1".
957 (its-end-of-input-buffer): Likewise.
959 (its-input-end): Delete useless argument.
960 (its-beginning-of-input-buffer, its-exit-mode,
961 its-exit-mode-off-input-method, its-kick-convert-region,
962 its-end-of-input-buffer, its-backward-SYL, its-forward-SYL,
963 its-delete-SYL): Follow the change.
965 1997-08-31 NIIBE Yutaka <gniibe@chroot.org>
967 For egg-mode, don't use minor mode, override local map instead.
968 For its-mode and egg-conversion-mode, don't use minor mode,
969 instead use local-map of text property.
971 Although overriding local map is not good, using local-map of
972 property is natural thing. Besides, point-left/point-entered
973 don't work as I expected (yet).
975 * egg.el (egg-mode: variable): Removed.
976 * egg.el (egg-modefull-map, egg-modeless-map): Make them functions.
977 Generate overriding local map.
978 * egg.el (egg-mode): use overriding local map.
980 * its.el, convert.el: Undo changes of 1997-08-28 for minor mode
981 and local map of text properties.
983 * its.el (its-exit-mode-off-input-method): New function.
985 1997-08-29 NIIBE Yutaka <gniibe@chroot.org>
987 Let Undo work correctly.
988 * its.el (its-self-insert-char): Delete/Insert cursor.
990 * its.el (its-put-cursor): Remove useless first argument.
991 (its-start, its-beginning-of-input-buffer, its-end-of-input-buffer,
992 its-backward-SYL, its-forward-SYL, its-delete-SYL, its-delete-SYL,
993 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
996 1997-08-28 KATAYAMA Yoshio <kate@pfu.co.jp>
998 * its-erpin.el: New file.
999 * its-pinyin.el: New file.
1000 * its-zhuyin.el: New file.
1002 1997-08-28 NIIBE Yutaka <gniibe@chroot.org>
1004 * its.el (its-exit-mode-no-egg): Removed.
1005 (its-exit-mode-internal): Remove first argument.
1006 (its-kick-convert-region, its-delete-SYL,
1007 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
1010 Don't use local map of text properties, instead use minor mode.
1011 * convert.el (egg-conversion-mode): New minor mode.
1012 (egg-conversion-left, egg-conversion-enter): New functions.
1013 (egg-insert-bunsetsu): remove local-map, add point-entered and
1014 point-left properties.
1015 (egg-exit-conversion): Likewise.
1016 (egg-exit-conversion): Exit minor mode.
1018 * its.el (its-put-cursor): remove local-map, add point-entered and
1019 point-left properties.
1020 (its-enter, its-left): New functions.
1021 (its-mode): New variable. New minor mode.
1023 1997-08-27 NIIBE Yutaka <gniibe@chroot.org>
1025 * convert.el (egg-exit-conversion-no-egg): Removed.
1026 (egg-exit-conversion): No argument, no egg-mode.
1028 * convert.el (egg-convert-region): No egg-flag.
1029 * its.el (its-exit-mode-internal): Follow it.
1030 * mlh.el (mlh-space-bar-backward-henkan): Ditto.
1032 1997-08-26 NIIBE Yutaka <gniibe@chroot.org>
1034 * wnn.el (wnn-change-bunsetsu-length): Don't use magic #3.
1036 * convert.el (egg-insert-bunsetsu-list): Add optional argument
1039 1997-08-25 NIIBE Yutaka <gniibe@chroot.org>
1041 * convert.el (egg-insert-bunsetsu): Include seperator. Add
1042 intangible property to bunsetsu.
1043 (egg-insert-bunsetsu-list): Follow the change.
1044 (egg-backward-bunsetsu, egg-forward-bunsetsu,
1045 egg-select-candidate, egg-next-candidate,
1046 egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
1047 egg-exit-conversion): Ditto.
1049 * mlh.el (mlh-space-bar-backward-henkan): Call egg-convert-region
1050 with last argument t. Turn of egg-mode.
1052 1997-08-24 NIIBE Yutaka <gniibe@chroot.org>
1054 * its.el (its-exit-mode-internal): Inactivate input method.
1056 * wnn.el (wnn-end-conversion): Change the interface.
1057 (wnn-update-frequency): Follow the change.
1058 * convert.el (egg-exit-conversion): Follow the change.
1060 * wnn.el (wnn-start-conversion): Change the return value interface.
1061 * convert.el (egg-convert-region): Follow the change.
1063 * wnn.el (wnnenv-get-bunsetsu-pos, wnnenv-set-bunsetsu-pos): Removed.
1064 (wnn-get-bunsetsu-source-afterwards): Removed.
1065 (wnn-get-number-of-bunsetsu, wnn-get-bunsetsu-info): Removed.
1066 (wnnenv-get-bunsetsu-list, wnnenv-set-bunsetsu-list): Removed.
1067 (wnn-start-conversion): Don't call wnnenv-set-bunsetsu-list.
1068 (wnn-end-conversion): Ditto.
1070 1997-08-23 NIIBE Yutaka <gniibe@chroot.org>
1072 * convert.el (egg-change-bunsetsu-length): Change the interface.
1073 (egg-shrink-bunsetsu,egg-enlarge-bunsetsu): Follow it.
1075 (egg-source-maxlen-from-here): Removed.
1076 (egg-get-previous-bunsetsu): New function.
1077 (egg-select-candidate, egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
1078 egg-next-candidate): Use egg-get-previous-bunsetsu.
1080 1997-08-20 NIIBE Yutaka <gniibe@chroot.org>
1082 * egg.el (minor-mode-alist): Don't show " EGG" in mode line.
1083 (egg-mode): Use input method indicator instead.
1085 1997-07-20 NIIBE Yutaka <gniibe@chroot.org>
1087 * convert.el (egg-next-candidate): Rename from egg-next-conversion.
1088 (egg-previous-candidate): Rename from egg-previous-conversion.
1089 (egg-select-candidate): Follow the change of new interface.
1090 (egg-source-maxlen-from-here): Likewise.
1092 1997-07-19 NIIBE Yutaka <gniibe@chroot.org>
1094 * wnn.el (wnn-start-conversion): Change the interface. Return ENV
1095 and the list of bunsetsu. Fix the documentation string too.
1096 * convert.el (egg-convert-region): Follow the change.
1097 (egg-insert-converted-result): Change the argument.
1098 (egg-insert-bunsetsu-list): Rename from egg-insert-converted-result.
1099 (egg-insert-bunsetsu): New function.
1100 (egg-get-number-of-bunsetsu,egg-get-bunsetsu-info): Removed.
1101 (egg-backward-bunsetsu): Don't use bunsetsu-pos.
1103 * wnn.el (wnn-get-bunsetsu-converted): Change the interface. Take
1104 BUNSETSU as the argument instead of ENV and POS.
1105 * convert.el (egg-get-bunsetsu-converted): Follow the change.
1107 * wnn.el (wnn-bunsetsu-create): Take ENV as the first argument.
1108 (wnn-list-candidates): Dont take ENV.
1109 (wnn-bunsetsu-get-env): New substitution.
1111 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub): Take the argument
1112 for ENV, and use it for the argument of wnn-bunsetsu-create.
1113 (wnnrpc-receive-sho-bunsetsu-list): Take ENV as the first argument.
1114 (wnnrpc-renbunsetsu-conversion): Follow the change.
1116 1997-07-17 NIIBE Yutaka <gniibe@chroot.org>
1118 * convert.el (egg-decide-candidate): Change the interface.
1119 Take the argument bunsetsu-info instead of conversion-engine.
1121 * wnn.el (wnn-get-candidate): Deleted.
1123 * convert.el (egg-get-all-candidates): Change the interface.
1124 Take an argument bunsetsu-info instead of conversion-engine.
1125 (egg-select-candidate): Follow the change.
1127 * convert.el (egg-set-bunsetsu-pos,egg-get-bunsetsu-pos): Deleted.
1128 (egg-list-candidates,egg-get-current-candidate-number): New stub.
1129 * wnn.el (wnn-bunsetsu-create): Add new member zenkouho-pos.
1130 (wnn-bunsetsu-get-zenkouho-pos,wnn-bunsetsu-set-zenkouho-pos): New
1132 (wnn-list-candidates,wnn-get-current-candidate-number): New functions.
1133 (wnn-set-bunsetsu-pos,wnn-get-bunsetsu-pos): Deleted.
1135 * convert.el (egg-get-number-of-candidates): Change the interface.
1136 Take an argument bunsetsu-info instead of conversion-engine.
1137 (egg-next-conversion,egg-select-candidate): Follow the change.
1138 * wnn.el (wnn-get-number-of-candidates): Follow the change.
1140 * wnn.el (wnn-get-bunsetsu-source-afterwards): New function.
1141 (wnn-change-bunsetsu-length): Use it.
1143 * convert.el (egg-get-bunsetsu-source): Change the interface.
1144 Take an argument bunsetsu-info instead of conversion-engine.
1145 (egg-enlarge-bunsetsu,egg-shrink-bunsetsu,egg-source-maxlen-from-here):
1147 * wnn.el (wnn-get-bunsetsu-source): Follow the change.
1149 Put bunsetsu information on text property.
1150 * wnn.el (wnn-get-bunsetsu-info): New function.
1152 * convert.el (egg-insert-converted-result): Put it on text property.
1153 (egg-conversion-backend): Add new interface
1154 wnn-get-bunsetsu-info.
1155 (egg-get-bunsetsu-info): New stub.
1157 1997-07-17 KATAYAMA Yoshio <kate@pfu.co.jp>
1159 * its.el (its-state-machine-keyseq, its-state-machine): Handle
1160 end-of-input correctly when going backward.
1162 1997-07-16 NIIBE Yutaka <gniibe@chroot.org>
1164 * wnn.el (wnn-create-directory): Bug fix. Really make directory.
1166 1997-07-15 NIIBE Yutaka <gniibe@chroot.org>
1168 * its-hangul.el (its-define-hangul): Use its-defrule-otherwise.
1170 1997-07-15 KATAYAMA Yoshio <kate@pfu.co.jp>
1172 * its-hangul.el: Updated.
1174 1997-06-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1176 * its-hira.el: its-hira-hankaku-escape --> its-hankaku-escape.
1177 its-hira-zenkaku-escape --> its-zenkaku-escape.
1179 1997-06-14 NIIBE Yutaka <gniibe@chroot.org>
1181 * its.el: Change the data structure of <expr-output-back-list> so
1182 that it can encourage sharing same structure and it can use same
1184 (its-ins/del-SYL-batch): Follow the change of data structure.
1185 (its-define-otherwise): Change the argument.
1186 (its-defrule-otherwise): New function.
1187 (its-eob-keyexpr, its-eob-back, its-make-class+back,
1188 its-make-otherwise): New substitutions.
1190 1997-06-13 NIIBE Yutaka <gniibe@chroot.org>
1192 * its-kana.el: New file. Taken from its/kanainput.el of Mule-2.3.
1194 * its-hira.el: Use `define-its-state-machine'.
1196 * its.el (its-zenkaku-escape, its-hankaku-escape): Make them
1198 (define-its-state-machine, define-its-state-machine-append): New
1201 1997-06-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1203 * its-hira.el ("n'"): Added.
1205 1997-06-12 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1207 its-zenkaku-escape and its-hankaku-escape are also used in hangul.
1208 * its.el (its-zenkaku-escape, its-hankaku-escape): Moved to here
1210 * its-hira.el (its-hira-hankaku-escape, its-hira-zenkaku-escape):
1213 * its.el (its-read-current-its-string): Removed. There's the
1214 function `read-multilingual-string' already.
1216 1997-06-12 KATAYAMA Yoshio <kate@pfu.co.jp>
1218 * its-hangul.el: New file.
1220 1997-06-10 NIIBE Yutaka <gniibe@chroot.org>
1222 Miscellaneous cosmetic changes.
1223 * comm.el: New file. Move communication related funcitons from
1225 (comm-format-u32c, and others): Rename from wnnrpc-*.
1226 * wnnrpc.el (Throughout): Follow the rename.
1228 * wnn.el (wnnenv-get-in-use-flag): Rename from wnn-e-get-in-use.
1229 (wnnenv-set-in-use-flag): Rename from wnn-e-set-in-use.
1230 (Others): Rename from wnn-e-*.
1231 (wnn-bunsetsu-*): Rename from wnnrpc-b-*, and moved from wnnrpc.el.
1233 * convert.el (egg-exit-conversion): Call egg-do-auto-fill.
1235 * its.el (its-translate-region): Bug fix. End of input.
1236 (its-state-machine): Bug fix. Generate error if
1237 its-barf-on-invalid-keyseq.
1238 (its-exit-mode-internal): Call egg-do-auto-fill.
1240 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for ASCII.
1242 * mlh.el (mlh-space-bar-backward-henkan): Call egg-do-auto-fill.
1244 * egg.el: Comment out definition of C-\ in global-map.
1246 1997-06-09 NIIBE Yutaka <gniibe@chroot.org>
1248 * its.el (its-kick-convert-region): Rename from its-convert-region.
1249 (its-mode-map): Follow the change.
1251 (its-make-next-state): Use list instead of cons.
1253 (its-get-kst/t): Make it substitution.
1254 (its-set-kst, its-get-keyseq, its-set-keyseq, its-kst-p,
1255 its-get-output, its-set-output, its-get-keyseq-syl): Likewise.
1256 (its-new-state, its-new-map, its-get-indicator, its-set-indicator,
1257 its-get-start-state, its-reset-start-state): Likewise.
1259 (its-get-next-state): Use assq instead of assoc.
1261 (its-goto-state): Tune up.
1263 1997-06-08 NIIBE Yutaka <gniibe@chroot.org>
1265 * mlh.el: Merge mlh-nihongo.el.
1266 * mlh-nihongo.el: Removed.
1268 * its-hira.el: Moved from its/hira.el. Move comments to HISTORY.
1269 (its-hira-enable-double-n, its-hira-period, its-hira-comma,
1270 its-hira-open-bracket, its-hira-close-bracket,
1271 its-hira-horizontal): New variables.
1272 Use the variables to define the state-machine.
1274 Implement non-interactive translation in ITS.
1275 * its.el (its-translate-region): New function.
1276 (its-latest-SYL): New Variable.
1277 (its-state-machine-keyseq): Use it.
1278 (its-update-latest-SYL): New function.
1279 (its-buffer-ins/del-SYL): Use it.
1280 (its-translation-result): New variable.
1281 (its-ins/del-SYL-batch): New function.
1282 (its-enable-double-n-syntax, its-use-kuten-for-period,
1283 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
1286 Use ITS, delete mlh's own implementation of automata.
1287 * mlh.el (mlh-start-state, mlh-set-of-chars, mlh-start-state-sym,
1288 mlh-set-of-chars-sym, mlh-define-automata, mlh-end-of-definition,
1289 mlh-defrule, mlh-next-state, mlh-roma-kana-backward): Removed.
1290 (mlh-cause-error-when-unknown-romaji-sequence): Removed.
1291 (mlh-atoi): Removed.
1292 (mlh-white-space, mlh-zenkaku-white): Use string-to-int.
1293 * mlh-nihongo.el (mlh-hira-start-state, mlh-hira-chars, and all
1294 rules of definition which defines the automaton): Removed.
1295 (mlh-kanji-with-henkan-region-function): Use its-translate-region.
1296 (mlh-hiragana, mlh-katakana): Likewise.
1299 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for jisx0212.
1302 Speed up of unpacking.
1303 * wnnrpc.el (wnnrpc-following-char-or-wait): Tune up.
1304 (wnnrpc-following+forward-char): New function.
1305 (wnnrpc-unpack-u32c, wnnrpc-unpack-u32, wnnrpc-unpack-u16,
1306 wnnrpc-unpack-u8): Use it.
1307 (wnnrpc-accept-process-output): New function.
1308 (wnnrpc-unpack-u16-string, wnnrpc-unpack-u8-string,
1309 wnnrpc-unpack-bytes): Use it. Use search-forward.
1310 (wnnrpc-unpack-u16-string): Use decode-coding-region.
1312 1997-06-07 NIIBE Yutaka <gniibe@chroot.org>
1314 * wnn.el (wnn-get-all-candidates): New function.
1315 (wnn-set-bunsetsu-pos): Return 0 (instead of -1).
1317 * convert.el (egg-get-candidate): Removed.
1318 (egg-get-all-candidates): New entry function.
1319 (egg-conversion-backend): Entry for egg-get-all-candidates.
1320 (egg-select-candidate): New function.
1321 (egg-conversion-map): Bind "\M-s" and egg-select-candidate.
1323 1997-06-05 NIIBE Yutaka <gniibe@chroot.org>
1325 * bushu.el: Renamed from busyu.el.
1326 (bushu-break-string, etc): Renamed from busyu*.
1328 * menu.el: Completely rewritten.
1330 1997-06-03 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1332 * its.el (its-reset-start-state): Bug fix. Delete a CDR.
1334 Implement "class of key" transition.
1335 Change the structure of <state>, the last member is
1336 <key-state-table/terminal> instead of <key-state-alist/terminal>.
1337 * its.el (its-kst-p): Rename from its-ksa-p.
1338 (its-get-next-state): Follow the change of the data structure.
1339 (its-state-machine): Likewise.
1340 (its-make-next-state): Likewise.
1341 (its-set-kst): New function.
1342 (its-get-otherwise): New function.
1343 (its-otherwise-match): New function.
1344 (its-define-otherwise-terminate-here): Removed.
1345 (its-define-otherwise): New function.
1346 (its-defrule*): Use its-define-otherwise.
1348 * its/hira.el (n): Use its-define-otherwise.
1350 1997-06-02 NIIBE Yutaka <gniibe@chroot.org>
1352 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub,
1353 wnnrpc-receive-sho-bunsetsu-list-sub-2): Splited from
1354 wnnrpc-receive-sho-bunsetsu-list.
1355 (wnnrpc-receive-dai-bunsetsu-list): New function.
1356 (wnnrpc-daibunsetsu-conversion, wnnrpc-get-daibunsetsu-candidate):
1359 1997-06-01 NIIBE Yutaka <gniibe@chroot.org>
1361 * wnnrpc.el (ccl-decode-fixed-euc-jp): Clean it up.
1362 (wnnrpc-file-attribute): Rename from wnnrpc-stat-file.
1363 (wnnrpc-get-dictionary-list-with-environment): Rename from
1364 wnnrpc-get-dictionary-list-with-environment.
1367 * wnnrpc.el (wnnrpc-who, wnnrpc-get-env-list, wnnrpc-kill,
1368 wnnrpc-delete-dictionary, wnnrpc-set-flag-on-dictionary,
1369 wnnrpc-get-dictionary-list, wnnrpc-delete-word,
1370 wnnrpc-receive-word, wnnrpc-search-word,
1371 wnnrpc-search-word-in-dictionary, wnnrpc-get-word-info,
1372 wnnrpc-set-comment-on-word, wnnrpc-get-dictionary-info,
1373 wnnrpc-set-file-comment, wnnrpc-hinshi-name,
1374 wnnrpc-set-file-password, wnnrpc-set-hinshi-table): New functions.
1376 1997-05-31 NIIBE Yutaka <gniibe@chroot.org>
1378 * wnnrpc.el (wnnrpc-format-u32c, wnnrpc-unpack-u32c): New
1379 substitutions. Support 32-bit number represented in cons cell of
1380 a pair of 16-bit integer.
1381 (wnnrpc-format, wnnrpc-unpack): Handle u32c (U).
1383 (wnnrpc-format-bytes, wnnrpc-unpack-bytes): New substitutions.
1384 Support byte stream end with 255(-1).
1385 (wnnrpc-format, wnnrpc-unpack): Handle bytes (B).
1387 (wnnrpc-local-file-loaded): New function.
1388 (wnnrpc-call-with-proc-1): New macro. Assume the buffer is the one
1391 1997-05-29 NIIBE Yutaka <gniibe@chroot.org>
1393 * wnnrpc.el (wnnrpc-get-conversion-parameters, wnnrpc-file-loaded,
1394 wnnrpc-write-file, wnnrpc-get-fuzokugo-file, wnnrpc-get-file-list,
1395 wnnrpc-get-file-list-with-env, wnnrpc-stat-file,
1396 wnnrpc-get-file-info): New functions.
1397 wnnrpc-receive-file-list): New subst.
1399 1997-05-29 Kenichi Handa <handa@etl.go.jp>
1401 * wnnrpc.el (ccl-decode-fixed-euc-jp): Tune it up.
1403 1997-05-29 Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>
1405 * wnnrpc.el (fixed-euc-jp, ccl-decode-fixed-euc-jp,
1406 ccl-encode-fixed-euc): New private coding system. Encode/decode
1409 1997-05-27 NIIBE Yutaka <gniibe@chroot.org>
1411 * wnnrpc.el (wnnrpc-tanbunsetsu-conversion): Change the argument.
1412 (wnnrpc-get-bunsetsu-candidates): Likewise.
1413 (wnnrpc-renbunsetsu-conversion): Likewise.
1415 * wnn.el (wnn-change-bunsetsu-length): Follow the change.
1416 (wnn-set-bunsetsu-pos): Likewise.
1417 (wnn-change-bunsetsu-length, wnn-start-conversion): Likewise.
1419 1997-05-25 NIIBE Yutaka <gniibe@chroot.org>
1421 * wnnrpc.el (wnnrpc-add-word, wnnrpc-get-dictionary-list,
1422 wnnrpc-receive-dictionary-list, wnnrpc-get-writable-dictionary-list,
1423 wnnrpc-get-hinshi-list, wnnrpc-hinshi-number): New functions.
1424 (wnnrpc-unpack-u16-string): Bug fix for the case of ASCII string.
1426 * wnn.el (wnn-dictionary-specification): Add dictionaries of
1427 gerodic and ones of WNN consortium.
1429 Implement a false path.
1430 * wnnrpc.el (wnnrpc-renbunsetsu-conversion): Generate an error on
1432 (wnnrpc-get-bunsetsu-candidates): Ditto.
1433 (wnnrpc-tanbunsetsu-conversion): Ditto.
1435 Implement a false path. Error recovery.
1436 * wnn.el (wnn-create-directory, wnn-open-dictionary,
1437 wnn-open-frequency, wnn-query-del/create-frequency): New function.
1438 (wnn-set-dictionary-sub): New function.
1440 1997-05-24 NIIBE Yutaka <gniibe@chroot.org>
1442 * wnnrpc.el (wnnrpc-version, wnnrpc-access, wnnrpc-mkdir,
1443 wnnrpc-create-dictionary, wnnrpc-create-frequency,
1444 wnnrpc-discard-file, wnnrpc-remove-file): New functions.
1445 (wnnrpc-test-result-and-get-error): New subst.
1447 Implement a false path from wnnrpc-set-fuzokugo-file.
1448 * wnnrpc.el (wnnrpc-set-fuzokugo-file): Return negate-encoded
1449 error code on failure.
1450 * wnn.el (wnn-create-environment): Generate an error message.
1452 Implement a false path from wnnrpc-open-file.
1453 * wnnrpc.el (wnnrpc-open-file): Change the interface. Return
1454 negate-encoded error code on failure.
1455 * wnn.el (wnn-open-file): New function.
1456 (wnn-create-environment): Handle return value, and generate
1457 an error message for wnnrpc-set-fuzokugo-file on failure.
1458 (wnn-set-dictionary): Handle return value.
1460 1997-05-17 NIIBE Yutaka <gniibe@chroot.org>
1462 * wnnrpc.el (wnnrpc-error-message): Error strings taken from
1463 Wnn-4.2 distribution.
1464 (wnnrpc-errono): Removed.
1466 Implement a false path from wnnrpc-open.
1467 * wnnrpc.el (wnnrpc-open): Change the interface. Return NIL on
1468 success, error code on failure.
1469 * wnn.el (wnn-open): Delete process and buffer.
1470 Generate an error on failure.
1471 (wnn-get-environment): Follow the change (none).
1472 (wnn-start-conversion): Follow the change (none).
1473 * convert.el (egg-convert-region): Follow the change. Call
1474 delete-region after egg-start-conversion.
1476 Implement a false path from wnnrpc-connect.
1477 * wnnrpc.el (wnnrpc-connect): Change the interface. Return
1478 negate-encoded error code on failure.
1479 * wnn.el (wnn-create-environment): Generate an error on failure.
1480 (wnn-get-environment): Follow the change. On failure, don't
1481 register the environment to wnn-environments.
1483 1997-05-16 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1485 Dynamically allocate environment arbitrarily.
1486 * wnn.el (wnn-create-environment): Change the structure of ENV.
1487 (wnn-e-get-in-use, wnn-e-set-in-use): New subst.
1488 (wnn-end-conversion): Call wnn-e-set-in-use.
1489 (wnn-get-environment, wnn-find-env-not-in-use): New function.
1490 (wnn-start-conversion): Call wnn-get-environment.
1492 * wnn.el (wnn-fini): Implemented.
1494 1997-05-15 NIIBE Yutaka <gniibe@chroot.org>
1496 * convert.el (egg-start-conversion): Change the interface.
1497 (egg-convert-region): Follow the change.
1498 (egg-open-if-not): Removed.
1499 * wnn.el (wnn-start-conversion): Follow the change.
1501 * wnn.el (wnn-environment-list): Removed.
1502 (wnn-environment-serial): Removed.
1503 (wnn-connect-and-init): Removed.
1504 (wnn-environments): New variable which holds all environments.
1506 1997-05-15 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1508 * wnn.el (wnn-change-bunsetsu-length): Bug fix. Last argument to
1509 wnnrpc-b-set-freq-down is list of bunsetsu.
1511 * mlh.el (mlh-do-spacing): Emacs 20 related changes.
1512 Use category-set-mnemonics, and char-category-set.
1513 According to suggestion by Kenichi Handa <handa@etl.go.jp>.
1515 1997-05-15 MORIOKA Tomohiko <morioka@jaist.ac.jp>
1517 * wnn.el (wnn-usr-dic-dir): New variable.
1518 (wnn-filename): Use wnn-usr-dic-dir.
1520 * its.el (its-defrule): New argument `enable-overwrite'.
1522 1997-05-14 NIIBE Yutaka <gniibe@chroot.org>
1524 * convert.el (egg-exit-conversion-unread-char): Use newer variable
1525 unread-command-events, as unread-command-char is obsolete.
1526 (egg-shrink-bunsetsu, egg-source-maxlen-from-here,
1527 egg-enlarge-bunsetsu, egg-next-conversion, egg-exit-conversion,
1528 egg-exit-conversion, egg-insert-converted-result): New property
1529 EGG-CONVERSION-ENGINE, which specifis backend.
1531 (egg-start-conversion, egg-get-number-of-bunsetsu,
1532 egg-get-bunsetsu-converted, egg-set-bunsetsu-pos,
1533 egg-get-bunsetsu-pos, egg-get-number-of-candidates,
1534 egg-get-candidate, egg-decide-candidate,
1535 egg-change-bunsetsu-length, egg-get-bunsetsu-source,
1536 egg-end-conversion): Change the interface, new argument c.
1537 * wnn.el (wnn-start-conversion, wnn-get-number-of-bunsetsu,
1538 wnn-get-bunsetsu-converted, wnn-set-bunsetsu-pos,
1539 wnn-get-bunsetsu-pos, wnn-get-number-of-candidates,
1540 wnn-get-candidate, wnn-decide-candidate,
1541 wnn-change-bunsetsu-length, wnn-get-bunsetsu-source,
1542 wnn-end-conversion): Likewise.
1544 * convert.el (egg-open-if-not): Change the interface. Return
1547 * wnnrpc.el (wnnrpc-following-char-or-wait, wnnrpc-unpack-u32,
1548 wnnrpc-unpack-u16, wnnrpc-unpack-u8, wnnrpc-unpack-u16-string,
1549 wnnrpc-unpack-u8-string): Change the interface to avoid
1550 compilation warnings.
1551 (wnnrpc-unpack): Use new interface.
1553 * wnn.el (wnn-open): Change the name of WNN buffer as debug has
1556 1997-05-11 NIIBE Yutaka <gniibe@chroot.org>
1558 * wnnrpc.el (wnnrpc-following-char-or-wait): Rename from
1559 wnn-following-char-or-wait.
1560 (wnnrpc-following-char-or-wait): Declare with DEFUN instead of
1563 1997-05-10 NIIBE Yutaka <gniibe@chroot.org>
1565 * Throughout: Use JUNET coding system for file format.
1567 * mlh.el: Move some comments to HISTORY.
1568 (mlh-version): Removed.
1569 Remove all autoload entries.
1570 (henkan-region-function): Removed.
1571 (member): Don't need any more.
1573 * mlh-nihongo.el: Renamed from nihongo.el.
1575 * mlh.el (mlh-space-bar-backward-henkan): call egg-convert-region
1577 (mlh-space-bar-backward-henkan): Fix for Emacs 20.
1578 Don't call egg:do-auto-fill.
1579 (mlh-backward-henkan): Use set-marker-insertion-type.
1580 (mlh-do-spacing): Char-category.
1582 * mlh.el, nihongo.el: Taken from mlh-1.002 distribution.
1584 1997-05-07 NIIBE Yutaka <gniibe@chroot.org>
1586 * convert.el (egg-update-frequency): Removed.
1587 (egg-conversion-backend): Remove entry for update-frequency.
1589 * wnn.el (wnn-dictionary-specification): Change parameters
1590 according to suggestion by Tomoko Yoshida in mule-jp@etl.go.jp.
1591 Original had been taken from wnn-4.2.
1593 1997-05-06 NIIBE Yutaka <gniibe@chroot.org>
1595 * convert.el (egg-next-conversion): Bug fix. It's max+ instead of n.
1597 1997-05-05 NIIBE Yutaka <gniibe@chroot.org>
1599 * wnnfns.c (Fwnn_get_bunsetsu_converted): Rename from
1600 get-converted-bunsetsu.
1601 (Fwnn_get_bunsetsu_source): Ditto.
1602 * convert.el (egg-get-bunsetsu-converted): Ditto.
1603 (egg-get-bunsetsu-source): Ditto.
1605 * wnn.el (wnn-create-environment): New file which mimics API of
1608 1997-04-29 NIIBE Yutaka <gniibe@chroot.org>
1610 * wnnrpc.el: New file which implements Remote Procedure Calls of WNN.
1612 1997-04-16 NIIBE Yutaka <gniibe@chroot.org>
1614 * its/kanainput.el (normal-pair): Use its-defrule*.
1616 * its.el (its-defrule*): Rewritten.
1618 * its/hira.el ("n"): Alternative implementation using 'otherwise'.
1620 * its.el (its-processing-map): Removed.
1621 (its-register-map): Rename from its-set-map.
1622 (its-register-map): Remove first argumet NAME.
1623 (its-defrule): Remove last optional argument END.
1624 (its-define-otherwise-terminate-here): New function.
1625 (its-goto-state): New function.
1626 (its-defrule, its-defoutput): Use its-goto-state.
1628 1997-04-12 NIIBE Yutaka <gniibe@chroot.org>
1630 * its.el: Enhance meaning of ITS state machine. Now, <key>
1631 includes representation of "ANY of key stroke" (-2).
1632 (its-defrule): New feature end=='otherwise.
1633 (its-defrule*): New function.
1634 (its-state-machine): Implement otherwise-terminate-before-this-key.
1636 * its/kanainput.el (its-k-zenkaku-escape, its-k-hankaku-escape,
1637 its-k-symbols-escape): Add prefix its-. Let them defconst.
1638 "W": Move the definition beginning to avoid error.
1640 1997-03-26 NIIBE Yutaka <gniibe@chroot.org>
1642 * convert.el (egg-next-conversion): -1 goes to end of bunsetsu.
1644 1997-03-25 NIIBE Yutaka <gniibe@chroot.org>
1646 * egg.el (egg-mode-on, egg-input-mode, egg-in-fence-mode): Deleted.
1647 (egg-fence-face-on, egg-fence-face-off): Deleted.
1648 (egg-region-start, egg-region-end): Deleted.
1650 1997-03-24 NIIBE Yutaka <gniibe@chroot.org>
1652 * its/hira.el ("n"): Add "z" and "?" for prefetch char of "n".
1654 Implement conversion mode.
1655 * convert.el: New file.
1657 1997-03-23 NIIBE Yutaka <gniibe@chroot.org>
1659 * its.el (its-mode-map): As "\C-g" is used in global-map, use
1660 "\C-]" instead (for its-cancel-input).
1662 1997-03-22 NIIBE Yutaka <gniibe@chroot.org>
1664 Introduce new scheme to specify server.
1665 * wnnfns.c (Qjserver, Qcserver, Qtserver, Qkserver): Removed.
1666 (Vwnn_server_type): Integer variable.
1667 (wnn_get_server_type): Renamed from wnn_check_server_type.
1668 (charset_wnn_server_type): Renamed from lc_wnn_server_type.
1670 Introduce new scheme to specify uniqueness.
1671 * wnnfns.c (Qwnn_no_uniq, Qwnn_uniq, Qwnn_uniq_kanji): Removed.
1672 (Vwnn_uniqueness_specifier): Integer variable. Renamed from
1675 1997-03-21 NIIBE Yutaka <gniibe@chroot.org>
1678 * wnnfnc.c (Throughout): Change Lisp function name to follow the
1679 format of wnn-VERB-OBJECT.
1680 Use XFASTINT instead of XINT, if appropriate.
1682 * wnnfns.c (Fwnn_fuzokugo_set): Merged with wnn-set-fuzokugo of
1685 * wnn-egg.el (wnn-set-fuzokugo): Deleted.
1687 * wnnfns.c (Fwnn_dict_add): Merged with wnn-add-dict of wnn-egg.el.
1688 * wnn-egg.el (wnn-add-dict): Deleted.
1690 * wnn-egg-msg.el (wnn-msg-get): Renamed from egg-msg-get.
1691 (wnn-message-alist): Renamed from egg-message-alist.
1694 * wnnfns.c (wnn_check_server_type): Renemed from
1695 check_wnn_server_type.
1697 * wnn-egg-msg.el (egg-error): Deleted. Not useful enough.
1698 * wnn-egg.el (Throughout): Replace egg-error by error.
1700 * egg.el (egg-sai-henkan-start, egg-sai-henkan-end,
1701 egg-old-bunsetu-suu): Moved from wnn-egg.el.
1703 * wnn-egg.el (Throughout): Change variable name and function name.
1704 Added wnn- prefix, egg- prefix.
1705 * wnn-egg.el: Delete historical defaliases. Only support
1706 wnn-set-[cjk]server-hostname.
1708 * wnn6.el: New file. Discriminate Wnn6 related functions.
1709 * eggrc-wnn6: New file. Discriminate Wnn6 related setting.
1711 * egg-fence.el: Removed.
1713 1997-03-20 NIIBE Yutaka <gniibe@chroot.org>
1715 Distingush continuation of egg-mode and turn off of egg-mode.
1716 * its.el (its-mode-map): Bind "\C-\\" to its-exit-mode-no-egg.
1717 (its-exit-mode-internal): New argument egg-mode-flag.
1718 (its-exit-mode-no-egg): New Function.
1720 Rethink about keymap. Once, the intention of egg-mode-map has
1721 been to override ALL of the keymap. That's so selfish, and not
1722 friendly to other parts of Emacs. This implementation intend to
1723 be more friendly with other keymaps.
1724 * its.el (its-mode-map): Remove definition of "\C-c" for
1725 its-cancel-input, as C-c has special meaning in Emacs. We should
1727 Remove definition of "\C-q" for its-select-previous-map.
1728 Remove definition of "\C-_" for egg-jis-code-input.
1729 Remove definition of "\C-w", "\C-@", [?\C-\ ] for
1730 egg-henkan-fence-region.
1732 Implement START/CURSOR/END scheme.
1733 * its.el (its-input-to-vsyl): New function.
1734 (its-beginning-of-input-buffer): New function.
1735 (its-end-of-input-buffer): New function.
1736 (its-backward-SYL): New function.
1737 (its-forward-SYL): New function.
1738 (its-delete-SYL): New function.
1739 (its-delete-backward-SYL): New function.
1740 (its-delete-backward-SYL-internal): New function.
1741 (its-delete-backward-within-SYL): New function.
1742 (its-delete-by-keystroke): New Variable.
1743 (its-exit-mode): New function.
1744 (its-exit-mode-internal): New function.
1746 * its.el (its-standard-map-list, its-find, its-next-map,
1747 its-previous-map): Deleted.
1748 (its-get-indicator): Delete duplicated definition. Leave one which
1749 takes <map> argument.
1750 (its-input): Rename from its-input-subsubsub.
1752 * egg.el (egg-mode-map): Don't include SPACE.
1755 * its.el (its-state-machine): Add new argument EMIT. Return CURSOR.
1756 (its-state-machine-keyseq): Likewise.
1757 (its-input-subsubsub): Return CURSOR.
1758 (its-input-subsub): Deleted.
1759 (its-DSYL-p): Deleted.
1760 (its-buffer-insert-SYL-list): Deleted.
1761 (its-buffer-ins/del-SYL): New function.
1762 (its-input-end): Change the argument to P of point, and return VOID.
1764 Change structure of <map>. <start-state> is normal <state>.
1765 (its-new-map): Follow the change of structure.
1766 (its-get-indicator, its-set-indicator, its-reset-start-state):
1768 (its-reset-start-state): Renamed from its-reset-start.
1770 Don't use <input-buffer>, but introduce new scheme of SYL property.
1771 (its-change-t-to-nil, its-nil-index, its-bytes-between,
1772 its-delete-between, its-move-nil--->, its-move-nil-<--,
1773 its-move-nil-<--sub, its-move-nil-to-last, its-move-nil-to-first):
1776 1997-03-19 NIIBE Yutaka <gniibe@chroot.org>
1778 * its.el: Change the structure of DSYL. Same as <state>.
1779 (its-input-subsub): Follow the change of structure.
1780 (its-make-DSYL): Deleted.
1781 (its-get-keyseq-cooked): New function.
1783 Swap the meaning of T/NIL of <SYL>.
1785 Delete the structure of <input-buffer>.
1786 (its-new-input-buffer): Deleted.
1787 (its-input-subsub): Remove the argument SYLP.
1788 (its-input, its-input-sub, its-init-text-properties): Deleted.
1790 Introduce START, END and CURSOR.
1792 1997-03-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1794 Global-map should be used, for key sequence not defined by
1795 its-mode-map and/or egg-mode-map. Don't mask other maps.
1796 * its.el (its-mode-esc-map): Deleted.
1797 (its-mode-map): Include define-key of the esc-map here.
1798 * egg.el (egg-mode-esc-map): Deleted.
1799 (egg-mode-map): Include define-key of the esc-map here.
1801 1997-03-18 NIIBE Yutaka <gniibe@chroot.org>
1803 * its.el (its-input): Rename from its-input-input-buffer.
1804 (its-state-machine): Handle END of input (key == -1).
1806 ITS minor mode deleted. It's implemented by local-map of text
1808 (its-mode): Remove the variable.
1809 (its-mode): Remove the function.
1811 * its.el (<input-buffer>): Change the order of <SYL> list.
1812 (car sylp) is last entry of the list.
1813 (its-input-buffer): Deleted. It's now a member of text
1815 (<map>): Change the structure. Start state should have "" for keyseq.
1816 (its-get-start-state): Follow chage of the <map> structure.
1817 (its-reset-start, its-set-indicator, its-get-indicator): Likewise.
1818 (its-new-state, its-new-map): Split from its-new-state/map.
1819 (its-make-map): Deleted.
1821 1997-03-17 NIIBE Yutaka <gniibe@chroot.org>
1823 * its.el (its-buffer-insert-SYL-list): Use insert-and-inherit to
1825 (its-fence-overlay): Removed. Don't use overlay, as it has no
1826 information in undo-list.
1828 1997-03-16 NIIBE Yutaka <gniibe@chroot.org>
1830 * its/hira.el ("n"): Use new feature END.
1831 ("ppy", "bby", "ddy", "jjy", "zzy", "ggy", "lly", "rry", "hhy",
1832 "cch", "tts", "tty", "ssh", "ssy", "kky"): its-defoutput.
1834 * its.el (its-defrule): Add argument END.
1835 (its-buffer-delete-SYL): Bug fix. Use length instead of string-width.
1837 1997-03-15 NIIBE Yutaka <gniibe@chroot.org>
1839 * its.el (its-input-input-buffer): Implement the case of DSYL.
1841 1997-03-14 NIIBE Yutaka <gniibe@chroot.org>
1843 * its.el (its-buffer-delete-SYL): Handle the case of NIL.
1845 * its/hira.el: Implement "kka" and others. Implemlement "N".
1846 (digit-characters, symbol-characters, downcase-alphabets,
1847 upcase-alphabets): Delete useless defvar-s.
1849 1997-03-14 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1851 * its/hira.el ("roma-kana"): Follow change of implementation of
1854 Correct the abuse of the word "MODE". It seems that it's direct
1855 influence of "mode" in Emacs, but it's not mode at all.
1856 * its.el (its-map-alist): Renamed from its-mode-alist.
1857 (its-get-map): Renamed from its-get-mode-map.
1858 (its-set-map): Renamed from its-set-mode-map.
1859 (its-define-state-machine): Renamed from its-define-mode.
1860 (its-select-map-menu): Renamed from its-select-mode-menu.
1861 (its-select-map-from-menu): Renamed from its-select-mode-from-menu.
1862 (its-standard-map-list): Renamed from its-standard-modes.
1863 (its-next-map): Renamed from its-next-mode.
1864 (its-previous-map): Renamed from its-previous-mode.
1865 (its-select-map): Renamed from its-select-mode.
1866 (its-get-indicator): Renamed from its-get-mode-indicator.
1868 (its-select-map-from-menu): As it's not mode, don't need offer hooks.
1869 (its-next-map): Likewise.
1870 (its-previous-map): Likewise.
1871 (its-select-map): Likewise.
1873 Change the implementation of its-mode-alist. Name is in <map> now.
1874 * its.el (its-get-mode-map): Just do assoc.
1875 (its-set-mode-map): Simplified.
1877 * its.el (its-get-indicator): Renamed from its-map-indicator.
1878 (its-set-indicator): Renamed from its-map-set-indicator.
1879 (its-get-start-state): Renamed from its-map-start.
1880 (its-new-state): Change the argunents.
1881 (its-map-set-start): Removed.
1882 (its-reset-start): New function.
1884 Remove old implemantation of translator.
1885 * its.el (its-resize, its-maps, its-actions, its-inputs,
1886 its-level, its-maxlevel, its-char-from-buff, its-interactive):
1888 (its-make-action, its-reset-maps, its-current-map,
1889 its-previous-map, its-level, its-enter-newlevel, its-reset-input,
1890 its-flush-input-before-point, its-peek-char, its-read-char):
1892 (its-push-char, its-ordinal-charp, its-delete-charp): Removed.
1893 (its-translate-region): Removed.
1894 (its-buff-s, its-buff-e): Removed.
1895 (its-state-terminalp): Removed.
1897 Remove selection of candidates in map, it's questionable to
1898 implement this feature with SYL. Might rethink in future.
1899 (its-make-menu-from-map-result, its-make-alist-from-map-result):
1901 (its-make-menu-from-map, its-make-menu-from-map*): Removed.
1902 (its-make-alist-from-map, its-make-alist-from-map*): Removed.
1903 (its-completing-read): Removed.
1904 (its-minibuffer-local-must-match-map,
1905 its-minibuffer-local-completion-map): Removed.
1906 (its-minibuffer-completion-help, car-string-lessp,
1907 its-temp-echo-area-contents): Removed.
1909 Implement SYL-based state machine.
1910 * its.el (its-input-buffer, its-barf-on-invalid-keyseq): New variables.
1911 (its-new-input-buffer): New function.
1912 (its-self-insert-char): New command.
1913 (its-initial-ISYL, its-make-DSYL, its-make-VSYL,
1914 its-input-input-buffer, its-input-input-buffer-sub,
1915 its-state-machine, its-state-machine-keyseq,
1916 its-buffer-delete-SYL, its-buffer-insert-SYL-list,
1917 its-get-next-state, its-get-ksa/b, its-get-keyseq, its-ksa-p,
1918 its-get-output): New function.
1919 (its-get-KAS): Removed.
1920 (its-get-state, its-get-action, its-set-action): Removed.
1921 (its-make-KAS, its-get-KAS): Removed.
1923 * its.el (its-defrule-sub): Merged into its-defrule.
1925 1997-03-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1927 * its.el: (its-define-mode): Change the arguments.
1928 * its/zhuyin.el ("zhuyin"): Follow the changes of its-define-mode.
1929 * its/zenkaku.el ("zenkaku-downcase"): Likewise.
1930 * its/pinyin.el ("PinYin"): Likewise.
1931 * its/kata.el ("roma-kata"): Likewise.
1932 * its/kanainput.el ("kanainput"): Likewise.
1933 * its/hira.el ("roma-kana"): Likewise.
1934 * its/hankaku.el ("downcase"): Likewise.
1935 * its/hangul.el ("hangul"): Likewise.
1936 * its/han-kata.el ("roma-han-kata"): Likewise.
1938 * its.el (its-action-output, its-action-next, its-get-next-map,
1939 its-set-next-map): Removed.
1940 (its-make-next-state): New function.
1941 (its-make-state): Removed.
1943 * its.el (its-defrule-sub): Renamed from `its-defrule**'.
1945 * wnnfns.h: New file. Macros for WNN6 are defined here.
1946 * wnn6fns.c: New file. Moved from wnnfns.c for WNN6 specific
1949 1997-03-12 NIIBE Yutaka <gniibe@chroot.org>
1951 * wnnfns.c: cosmetic changes (indentation, commenting-out-style,
1952 and compare to Qnil, etc).
1953 Get rid of "register" qualifier.
1955 1997-03-05 NIIBE Yutaka <gniibe@chroot.org>
1957 * its.el (its-define-mode): Change internal structure. Completely
1959 (its-make-map): Function to make map.
1960 (its-make-state): New function. Make new state.
1961 (its-make-KAS): New function. Make Key-Action-State triad.
1962 (its-state-terminalp): New function. True when the state is
1964 (its-map-indicator, its-map-set-indicator,): Changed.
1965 (its-map-terminalp, its-map-incrementalp,
1966 its-map-set-incrementalp, its-map-alist, its-map-set-alist,
1967 its-map-action, its-map-set-action): Removed.
1969 (its-defrule-verbose): Deleted. Seems debug purpose variable.
1971 (its-make-map): Removed <state>. It was useless space eater.
1972 (its-map-indicator, its-map-set-indicator, its-map-alist,
1973 its-map-set-alist, its-map-action, its-map-set-action): Follow the
1975 (its-define-mode): Likewise.
1976 (its-defrule**): Change the argument. Delete STATE.
1977 (its-defrule): Likewise.
1978 (its-map-state, its-map-set-state): Removed.
1980 <topmap>: Changed the structure. Introduce <incrementalp>, which
1981 is t on hangul-map, zhuyin-map, and kanainput-map.
1982 (its-define-mode): Change the arguments. INDICATOR and RESET is
1983 always required. Add new argument INCREMENTALP.
1984 * its/kanainput.el ("kanainput"): Use new API of its-define-mode.
1985 * its/hangul.el ("hangul"): Likewise.
1986 * its/zhuyin.el ("zhuyin"): Likewise.
1987 * its.el (its-make-terminal-state-sofar): Removed.
1988 (its-default-make-terminal-state): Removed.
1989 (its-make-terminal-state): Removed
1990 (its-make-non-terminal-state): Removed. Not used.
1991 (its-map-incrementalp, its-map-set-incrementalp): New functions.
1993 1997-03-04 NIIBE Yutaka <gniibe@chroot.org>
1995 * its.el (its-defrule-conditional, its-defrule-conditional*):
1996 Removed. Evaluating cond clause at runtime is stupid. Rules
1997 should be determined at compile time, not at run time.
1998 (its-get-action): Simplified. It's always standard.
1999 (its-make-terminal-state-sofar): Likewise.
2000 (its-make-action): Renamed from its-make-standard-action.
2001 (its-standard-actionp): Removed. No use.
2002 (its-translate-region): Simplified.
2004 (its-map-topmap-p): Removed. No use.
2006 (its-simple-actionp, its-collect-simple-action): Removed. No use.
2008 (its-insert-output-string, its-display-status-string): Removed.
2009 It seemd these variables is to debug ITS itself.
2010 (its-translate-region): Simplified.
2012 * its/hira.el (".", ",", "n", "nn"): Rules should be determined at
2014 * its/han-kata.el: Likewise.
2015 * its/kata.el: Likewise.
2017 * its.el (its-make-standard-action): Simplified.
2018 (its-make-standard-action): Remove alternative output.
2019 (its-standard-actionp): Simplified.
2020 (its-action-next): Simplified.
2021 (its-select-alternative-output-menu): Removed. Not used at all.
2022 (its-select-alternative-output): Ditto.
2024 * its/han-kata.el, its/zenkaku.el, its/kata.el, its/kanainput.el,
2025 its/hira.el, its/hankaku.el: Add (require cl).
2027 * its.el (its-enable-double-n-syntax, its-use-kuten-for-period,
2028 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
2029 Declare here. Add prefix `its-'. ):
2031 (its-defrule, its-defrule*): Remove MAP argument.
2032 Merged into its-defrule.
2034 1997-03-04 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
2036 * its.el (its-completing-input-menu): Removed. Not used.
2037 (its-completing-input): Ditto.
2038 (its-translate-region): Remove (null action) clause. It's identical
2041 (its-map-supers): Deleted.
2042 (its-map-set-supers): Ditto.
2043 (its-get-next-map-locally): Deleted.
2045 (its-define-mode): Remove supers.
2046 (its-make-map): Likewise.
2048 (its-simulate-input): sref -> aref. add char-bytes -> +1.
2049 (its-defrule**): Likewise.
2051 (its-flush-input-before-point): Delete useless save-excursion.
2052 (its-push-char): Likewise.
2053 (its-translate-region): Likewise.
2055 * its/zhuyin.el (its-make-terminal-state):
2056 * its/kanainput.el (its-make-terminal-state):
2057 * its/hangul.el (its-make-terminal-state):
2058 Use its-make-terminal-state-sofar.
2060 * its/kanainput.el (its-make-terminal-state-kanainput): Removed.
2062 * its.el (its-make-terminal-state-sofar): Renamed.
2063 (was: its-make-terminal-state-hangul)
2065 * its/han-kata.el (its-select-hankaku-katakana): Renamed.
2066 (was: its:select-hankaku-katakana).
2068 * its.el (its-map-topmap-p, its-map-supers, its-map-set-supers,
2069 its-map-terminalp, its-map-state, its-map-set-state,
2070 its-map-indicator, its-map-set-indicator, its-map-action,
2071 its-map-set-action, its-map-alist, its-map-set-alist,
2072 its-get-action, its-action-output, its-action-next,
2073 its-get-next-map, its-get-next-map-locally, its-set-next-map,
2074 its-collect-simple-action, its-read-current-its-string,
2075 its-make-map): Add prefix 'its-'.
2077 * its.el (its-defrule-select-mode-temporally): Deleted.
2078 (its-select-mode-temporally): Deleted.
2079 (its-select-previous-mode): Deleted.
2081 * its/hira.el ("q", "Q"): Removed.
2083 * its.el (its-defrule**): Don't call coerce-internal-string.
2084 (map-state-string): Removed.
2085 (its-default-make-standard-non-terminal-state): Don't call
2088 * egg.el (characterp, coerce-internal-string, coerce-string): Removed.
2090 * its.el (its-insert-char): Deleted.
2091 (its-internal-mode-alist): Removed.
2092 (its-set-mode-map, its-define-mode): Remove internalp.
2093 (its-set-mode-indicator): Removed.
2095 * egg-fence.el (egg-fence-self-insert-command): Add prefix 'egg-'.
2097 * its.el (fence-self-insert-command): Move to egg-fence.el.
2099 * egg-fence.el (egg-exit-fence-mode): Renamed (egg-fence-exit-mode).
2100 (egg-enter-fence-mode-and-self-insert): Deleted.
2102 * egg.el (egg-quit-egg-mode): Deleted.
2104 * egg-misc.el (egg-fence-toggle-egg-mode): Add prefix 'egg-'.
2105 (egg-fence-toggle-egg-mode): beep -> ding.
2106 (global-map): bind C-\ to egg-enter-fence-mode.
2108 1997-03-02 NIIBE Yutaka <gniibe@chroot.org>
2110 * egg-henkan.el: New file.
2112 Use new API (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi,
2113 egg-is-dai-bunsetu, bunsetu-suu, egg-hindo-update,
2114 egg-get-bunsetu-end).
2116 * wnn-egg.el: Move egg-henkan-* to egg-henkan.el.
2118 * wnn-egg.el (egg-startup-file-search-path): Remove current
2120 (egg-open-wnn): Renamed from EGG-open-wnn.
2121 (bunsetu-suu): New function.
2122 (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi): New function.
2123 (egg-is-dai-bunsetu): New function.
2124 (egg-hindo-update): New function.
2125 (egg-get-bunsetu-end): New function.
2127 (egg-henkan-region, egg-gyaku-henkan-region,
2128 egg-henkan-region-internal, egg-henkan-paragraph,
2129 egg-gyaku-henkan-paragraph, egg-henkan-sentence,
2130 egg-gyaku-henkan-sentence, egg-henkan-word, egg-gyaku-henkan-word,
2131 egg-henkan-insert-kouho, egg-henkan-kakutei,
2132 egg-henkan-kakutei-first-char, egg-henkan-kakutei-before-point,
2133 egg-sai-henkan, egg-henkan-goto-bunsetu,
2134 egg-henkan-forward-bunsetu, egg-henkan-backward-bunsetu,
2135 egg-henkan-first-bunsetu, egg-henkan-last-bunsetu,
2136 egg-henkan-hiragana, egg-henkan-katakana, egg-henkan-next-kouho,
2137 egg-henkan-next-kouho-dai, egg-henkan-next-kouho-sho,
2138 egg-henkan-previous-kouho, egg-henkan-previous-kouho-dai,
2139 egg-henkan-previous-kouho-sho, egg-henkan-goto-kouho,
2140 egg-henkan-bunsetu-chijime-dai, egg-henkan-bunsetu-chijime-sho,
2141 egg-henkan-bunsetu-nobasi-dai, egg-henkan-saishou-bunsetu,
2142 egg-henkan-saichou-bunsetu, egg-bunsetu-length-henko,
2143 egg-henkan-quit, egg-henkan-select-kouho,
2144 egg-henkan-select-kouho-dai, egg-henkan-select-kouho-sho,
2145 egg-henkan-word-off, egg-henkan-kakutei-and-self-insert,
2146 egg-henkan-mode-map, egg-henkan-mode-esc-prefix,
2147 egg-henkan-help-command, egg-henkan-inspect-bunsetu):
2150 (egg-henkan-mode-in-use): Deleted.
2151 (set-egg-henkan-mode-format): Deleted. Don't need.
2153 (disconnect-wnn): Let it be normal function, instead of command.
2156 (set-jserver-host-name, set-kserver-host-name,
2157 set-cserver-host-name): Use defalias.
2159 (close-wnn): Take an argument of wnn-server-type.
2160 (wnn-egg-kill-emacs-function, set-wnn-host-name,
2161 set-cwnn-host-name, set-kwnn-host-name): Likewise.
2163 * egg.el (egg-global-map-backup): Deleted.
2164 (egg-local-map-backup): Deleted.
2165 (egg-insert-after-hook): it's global variable, nod buffer-local.
2167 * egg-fence.el (egg-henkan-fence-region, egg-enter-fence-mode,
2168 egg-fence-katakana, egg-fence-hiragana, egg-fence-hankaku,
2169 egg-fence-zenkaku, egg-fence-backward-char,
2170 egg-fence-forward-char, egg-fence-beginning-of-line,
2171 egg-fence-end-of-line, egg-fence-transpose-chars,
2172 egg-fence-delete-char, egg-fence-backward-delete-char,
2173 egg-fence-kill-line, egg-fence-exit-mode, egg-fence-cancel-input,
2174 egg-fence-mode-help-command): Add Prefix `egg-'.
2176 (egg-fence-mode-map): Remove binding to eval-expression (C-z).
2178 (egg-self-insert-non-undo-count): Removed.
2179 (egg-self-insert-command): Removed.
2181 (egg-fence-backward-char, egg-fence-forward-char,
2182 egg-fence-transpose-chars, egg-fence-delete-char,
2183 egg-fence-backward-delete-char): beep -> ding.
2184 wnn-egg.el (egg-henkan-select-kouho): Likewise.
2186 1997-02-27 NIIBE Yutaka <gniibe@chroot.org>
2188 * wnn-egg.el (push-end, push-end-internal): Removed.
2190 * its.el (dolist): Removed. It's in CL package.
2191 (for-each, for-each*): Removed.
2193 * egg-keymap.el: Removed. I guess noone use it.
2195 * egg-jsymbol.el (*-alist): Declare by defconst.
2197 * egg-misc.el (toggle-egg-mode): Removed.
2199 * All files: Change the identifier XXX:YYYY --> XXX-YYYY,
2202 * egg-fence.el (enter-fence-mode): Use new API for marker
2203 insertion `set-marker-insertion-type'.
2204 * its.el (its-*buff-e*): Likewise.
2206 * egg-jsymbol.el: lc-jp --> (charset-id 'japanese-jisx0208)
2207 lc-jp2 --> (charset-id 'japanese-jisx0212).
2209 1997-02-26 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
2211 * egg-fence.el (egg:fence-mode-map): Renamed from fence-mode-map.
2212 (egg:fence-mode-esc-prefix): Renamed from egg:fence-mode-esc-map.
2213 (henkan-fence-region-or-single-space): Removed.
2215 * egg-misc.el (toggle-egg-mode): mc-flag
2216 -> enable-multibyte-characters.
2218 * its.el (read-current-its-string): New function. Moved from
2220 (In meny functions): beep --> ding.
2222 * egg-misc.el (read-hiragana-string): Removed.
2223 (read-kanji-string): Removed.
2224 (egg:special-symbol-input): Renamed from special-symbol-input.
2225 (egg:special-symbol-input-point): Renamed from
2226 special-symbol-input-point.
2227 (si:*global-map*): Remeved.
2228 Removed 'Changes on Global map'.
2229 (its-mode-map): Renamed from mule-keymap.
2231 * wnn-egg.el (henkan-region-internal): Use new API for undo.
2232 (henkan-kakutei): Likewise.
2233 (henkan-kakutei-first-char): Likewise.
2234 (henkan-kakutei-before-point): Likewise.
2235 (sai-henkan): Likewise.
2236 * egg.el (egg:quit-egg-mode): Likewise.
2238 * egg-fence.el (egg:*fence-open*, egg:*fence-close*,
2239 egg:*fence-face*): Let them be declared by defvar.
2240 (egg:*fence-open-in-cont*, egg:*fence-close-in-cont*,
2241 egg:*fence-face-in-cont*): Likewise.
2243 (set-egg-fence-mode-format): Removed. Useless. Don't need to be
2245 (set-egg-fence-mode-format-in-cont): Removed.
2246 (egg:*face-alist*): Removed.
2248 * wnn-egg-misc.el (its:select-mode, its:select-mode-from-menu,
2249 its:next-mode, its:previous-mode):
2250 Removed (Merged into its.el).
2252 * its.el (its:select-mode, its:select-mode-from-menu,
2253 its:next-mode, its:previous-mode): Call hook of
2254 `its:select-mode-hook'.
2256 * diced.el: Removed. This depends on wnn. Functions are moved to
2259 * wnn-egg-dict.el (remove-regexp-in-string): Removed.
2260 (toroku-region): Don't call `remove-regexp-in-string'. Removing
2261 invalid sequence (TAB?) automatically is not good idea. It should
2262 notify user. Currently, just don't remove.
2264 * busyu.el (busyu-table): defconst instead of defvar.
2265 (busyu-kaku-alist): defconst instead of defvar.
2267 * its.el (egg:member): Removed. Not used.
2269 * wnn-egg-msg.el (*egg-message-alist*): Include asking string in
2270 register-notify and remove-notify. Should also change Korean and
2273 * egg.el: Removed "Tamago Notification System".
2274 It is useless, as we have *Messages* buffer in GNU Emacs 19.
2276 * diced.el (diced-execute): Don't use `notify' but `message'.
2277 (set-dict-comment): Likewise.
2278 * its.el (its-defrule**): Likewise.
2279 * wnn-egg-dict.el (egg:toroku-word): Likewise.
2280 * wnn-egg-msg.el (egg:error): Likewise.
2281 * wnn-egg.el (set-wnn-param): Likewise.
2282 (EGG:open-wnn): Likewise.
2283 (close-wnn): Likewise.
2284 (henkan-word-off): Likewise.
2285 (henkan-inspect-bunsetu): Likewise.
2287 * diced.el (diced-execute): Don't use `notify-yes-or-no-p' but use
2288 plain `yes-or-no-p' and format.
2289 * wnn-egg-dict.el (egg:toroku-word): Likewise.
2291 * egg.el (notify-yes-or-no-p-internal): IIDESUKA is not good.
2292 it should get the message through egg:get-msg. Currently, use
2294 (notify-y-or-n-p-internal): Likewise.
2296 * wnn-egg.el: Split into wnn-egg-dict.el, wnn-egg-misc.el, and
2298 (many functions): remove commented out line of
2299 (open-wnn-if-disconnected).
2301 * egg.el: Split into egg.el, egg-fence.el, egg-misc.el,
2302 jis-input.el, and modeline.el.
2304 * wnn-egg.el (egg-default-startup-file): change to eggrc-wnn from
2306 (henkan-region-internal): Use new API for marker insertion
2307 `set-marker-insertion-type'.
2309 1997-02-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
2311 * menu.el (menu:select-from-menu): Rewritten.