1 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3 * egg/wnn.el (wnn): New group.
4 (wnn-server): Use `defcustom'.
5 (wnn-usr-dic-dir): Use `defcustom'.
7 * egg.el (egg): New group.
9 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
11 * menudiag.el (menudiag-mode-map): Swap binding for left and
14 * egg.el (egg-toroku-region): `wnn-get-environment' requires
15 dictionary-specification.
17 * leim-list-egg.el: add autoload setting for egg-mode.
19 1997-11-03 KATAYAMA Yoshio <kate@pfu.co.jp>
21 * euc-cn.el: New file. Original name was yincoding.el.
22 Adopted by NIIBE Yutaka <gniibe@mri.co.jp>.
24 1997-11-03 NIIBE Yutaka <gniibe@mri.co.jp>
26 * its.el (its-start): Add INVISIBLE property if ITS-FENCE-FACE.
27 * egg-cnv.el (egg-decide-before-point): Ditto.
28 Based on patch by Kenichi HANDA <handa@etl.go.jp>.
30 Once, I thought that we need many environments which correspond to
31 outstanding CONVERSION buffre. However, I've learned that WNN4
32 protocol is completely independent. It's no use to maintain each
33 environment. Share the one environment.
34 * egg/wnn.el (wnn-environments): Removed.
35 (wnn-environment): New variable.
36 (wnn-comm-sentinel): Follow the change. Let users know the close.
39 <env>: Remove the member <in-use>.
40 (wnnenv-create): Follow the structure change.
41 (wnn-end-conversion): Likewise.
42 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Removed.
43 (wnn-find-env-not-in-use): Removed.
44 (wnn-get-environment): Use wnn-environment instead of wnn-environments.
47 * egg-cnv.el (egg-decide-before-point): Signal error on first SYL.
48 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>. Changes of 1997-09-07
50 Set-marker M to NIL after PUT-TEXT-PROPERTY.
52 Because the name of identifier begins egg-*, change the file names.
53 * tamago: Rename from tamago.
54 * egg.el, egg-mlh.el, egg-com.el, egg-cnv.el: Rename from tamago-*.el
55 * Makefile: Follow the changes.
57 1997-10-05 NIIBE Yutaka <gniibe@mri.co.jp>
59 * tamago/wnn.el (wnn-uniq-candidates): Add new argument BUNSETSU.
60 Call WNN-BUNSETSU-SET-ZENKOUHO-POS, WNN-BUNSETSU-SET-ZENKOUHO in
61 this function. Handle the case where BUNSETSU is not the first
62 element of BUNSETSU-LIST.
63 (wnn-list-candidates): Use new API of WNN-UNIQ-CANDIDATES.
65 * tamago-cnv.el (egg-next-candidate): Handle the case where
66 EGG-LIST-CANDIDATES returns non zero value.
68 1997-10-04 NIIBE Yutaka <gniibe@mri.co.jp>
70 * Makefile (install): Install to SITEDIR.
72 1997-09-26 NIIBE Yutaka <gniibe@mri.co.jp>
74 * its/hira.el (its-hira-enable-zenkaku-alphabet): New variable.
75 (its-hira-map): Use it.
77 1997-09-19 NIIBE Yutaka <gniibe@mri.co.jp>
79 Arrange for LEIM. Use tamago/ subdirectory.
80 * tamago/: Rename from tamago-lib.
82 1997-09-18 NIIBE Yutaka <gniibe@mri.co.jp>
84 * tamago-cnv.el (egg-select-candidate): menu-select -->
86 * tamago.el (egg-toroku-region, egg-hinshi-select): Likewise.
88 * tamago-cnv.el (egg-exit-conversion): Run hook of
89 input-method-after-insert-chunk-hook.
90 * its.el (its-exit-mode-internal): Ditto.
92 * tamago-mlh.el (mlh-comma-period-style): Deleted.
94 * its/, tamago-lib/: New directory.
95 * its/: Move its-*.el files here.
96 * tamago-lib/: Move sj3.el, sj3rpc.el, wnn.el and wnnrpc.el here.
98 * tamago-com.el: Rename from comm.el.
99 * tamago-mlh.el: Rename from mlh.el.
100 * tamago-cnv.el: Rename from convert.el.
102 * menudiag.el: Rename from menu.el.
103 (Throughout): Rename menu-* to menudiag-*.
105 1997-09-07 NIIBE Yutaka <gniibe@mri.co.jp>
107 * egg.el (egg-insert-after-hook, egg-exit-hook): Removed.
108 (egg-sai-henkan-start, egg-sai-henkan-end, egg-old-bunsetu-suu):
111 * wnn.el (WNN-const): New macro.
112 (wnn-start-conversion, wnn-open-dictionary, wnn-open-frequency,
113 wnn-set-dictionary-sub, wnn-update-frequency): Use it.
115 * wnnrpc.el (wnn-const): New macro.
116 Throughout: Use wnn-const.
118 * convert.el (egg-decide-before-point): Bug fix. Handle the case
119 where all bunsetsu are decided.
120 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>.
122 * convert.el (egg-exit-conversion): Call egg-end-conversion at end.
123 (egg-decide-before-point): Ditto.
125 * wnn.el (wnn-environments): Change the structure of enviromnents.
126 (wnn-fini): Handle errors.
127 (wnn-open): Set sentinel. Delete buffer on failure.
128 (wnn-comm-sentinel): New function.
129 (wnn-find-env-not-in-use): Return nil when not found.
131 (wnn-create-environment): Take username as argument.
132 (wnn-get-environment): Follow the change.
134 (wnnenv-create): Remove useless serial no.
135 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Follow the change.
136 (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Likewise.
137 (wnn-create-environment, wnn-get-environment): Likewise.
139 1997-09-04 NIIBE Yutaka <gniibe@mri.co.jp>
141 * its.el (its-state-machine-keyseq): Bug fix. Handle VSYL.
143 * sj3.el, sj3rpc.el: New files.
145 * comm.el (comm-call-with-proc, comm-call-with-proc-1): New macros.
146 * wnnrpc.el (wnnrpc-call-with-proc, wnnrpc-call-with-proc-1): Deleted.
147 Throughout: Use comm-call-with-proc and comm-call-with-proc-1.
149 1997-09-03 NIIBE Yutaka <gniibe@mri.co.jp>
151 * wnnrpc.el (wnnrpc-call-with-proc-1): Bug fix. let --> progn.
153 * convert.el (egg-conversion-backend): Initail value is NIL.
155 * wnn.el (wnn-conversion-backend): New constant.
157 * comm.el (comm-format,comm-unpack): Support multibyte string.
158 (comm-format-mb-string): New substitution.
159 (comm-unpack-mb-string): New substitution.
161 * wnn.el (wnn-fini): Handle the case where wnn-environments is nil.
162 Reported by Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>.
164 1997-09-03 Hiroshi Ogata <hiroshi@nereid.rim.or.jp>
166 * mlh.el (mlh-zenkaku): Use new API of Emacs-20,
167 japanese-zenkaku-region.
169 1997-09-02 NIIBE Yutaka <gniibe@mri.co.jp>
171 * egg.el (egg-toroku-region): New function.
173 * wnn.el (wnn-list-dictionaries): New function.
174 (wnnenv-get-proc): New function.
176 * wnnrpc.el (wnndic-get-id, wnndic-get-comment, wnndic-get-dictname):
178 (wnnrpc-get-writable-dictionary-id-list): Rename from
179 wnnrpc-get-writable-dictionary-list.
181 1997-09-01 NIIBE Yutaka <gniibe@mri.co.jp>
183 * convert.el (egg-decide-bunsetsu): New function.
184 (egg-decide-before-point): New command.
185 (egg-exit-conversion): Use egg-decide-bunsetsu.
187 * its.el (its-start): Divide the fence buffer into two parts and
188 make them intangible, so that point goes appropriate position.
189 (its-put-cursor): The cursor belongs to part-2.
190 (its-buffer-ins/del-SYL): The new SYL belongs to part-1.
191 (its-exit-mode-internal): Remove the property on exit.
192 (its-beginning-of-input-buffer): Make SYLs have property of "part 2".
193 (its-backward-SYL): Likewise.
194 (its-forward-SYL): Make SYLs have property of "part 1".
195 (its-end-of-input-buffer): Likewise.
197 (its-input-end): Delete useless argument.
198 (its-beginning-of-input-buffer, its-exit-mode,
199 its-exit-mode-off-input-method, its-kick-convert-region,
200 its-end-of-input-buffer, its-backward-SYL, its-forward-SYL,
201 its-delete-SYL): Follow the change.
203 1997-08-31 NIIBE Yutaka <gniibe@mri.co.jp>
205 For egg-mode, don't use minor mode, override local map instead.
206 For its-mode and egg-conversion-mode, don't use minor mode,
207 instead use local-map of text property.
209 Although overriding local map is not good, using local-map of
210 property is natural thing. Besides, point-left/point-entered
211 don't work as I expected (yet).
213 * egg.el (egg-mode: variable): Removed.
214 * egg.el (egg-modefull-map, egg-modeless-map): Make them functions.
215 Generate overriding local map.
216 * egg.el (egg-mode): use overriding local map.
218 * its.el, convert.el: Undo changes of 1997-08-28 for minor mode
219 and local map of text properties.
221 * its.el (its-exit-mode-off-input-method): New function.
223 1997-08-29 NIIBE Yutaka <gniibe@mri.co.jp>
225 Let Undo work correctly.
226 * its.el (its-self-insert-char): Delete/Insert cursor.
228 * its.el (its-put-cursor): Remove useless first argument.
229 (its-start, its-beginning-of-input-buffer, its-end-of-input-buffer,
230 its-backward-SYL, its-forward-SYL, its-delete-SYL, its-delete-SYL,
231 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
234 1997-08-28 KATAYAMA Yoshio <kate@pfu.co.jp>
236 * its-erpin.el: New file.
237 * its-pinyin.el: New file.
238 * its-zhuyin.el: New file.
240 1997-08-28 NIIBE Yutaka <gniibe@mri.co.jp>
242 * its.el (its-exit-mode-no-egg): Removed.
243 (its-exit-mode-internal): Remove first argument.
244 (its-kick-convert-region, its-delete-SYL,
245 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
248 Don't use local map of text properties, instead use minor mode.
249 * convert.el (egg-conversion-mode): New minor mode.
250 (egg-conversion-left, egg-conversion-enter): New functions.
251 (egg-insert-bunsetsu): remove local-map, add point-entered and
252 point-left properties.
253 (egg-exit-conversion): Likewise.
254 (egg-exit-conversion): Exit minor mode.
256 * its.el (its-put-cursor): remove local-map, add point-entered and
257 point-left properties.
258 (its-enter, its-left): New functions.
259 (its-mode): New variable. New minor mode.
261 1997-08-27 NIIBE Yutaka <gniibe@mri.co.jp>
263 * convert.el (egg-exit-conversion-no-egg): Removed.
264 (egg-exit-conversion): No argument, no egg-mode.
266 * convert.el (egg-convert-region): No egg-flag.
267 * its.el (its-exit-mode-internal): Follow it.
268 * mlh.el (mlh-space-bar-backward-henkan): Ditto.
270 1997-08-26 NIIBE Yutaka <gniibe@mri.co.jp>
272 * wnn.el (wnn-change-bunsetsu-length): Don't use magic #3.
274 * convert.el (egg-insert-bunsetsu-list): Add optional argument
277 1997-08-25 NIIBE Yutaka <gniibe@mri.co.jp>
279 * convert.el (egg-insert-bunsetsu): Include seperator. Add
280 intangible property to bunsetsu.
281 (egg-insert-bunsetsu-list): Follow the change.
282 (egg-backward-bunsetsu, egg-forward-bunsetsu,
283 egg-select-candidate, egg-next-candidate,
284 egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
285 egg-exit-conversion): Ditto.
287 * mlh.el (mlh-space-bar-backward-henkan): Call egg-convert-region
288 with last argument t. Turn of egg-mode.
290 1997-08-24 NIIBE Yutaka <gniibe@mri.co.jp>
292 * its.el (its-exit-mode-internal): Inactivate input method.
294 * wnn.el (wnn-end-conversion): Change the interface.
295 (wnn-update-frequency): Follow the change.
296 * convert.el (egg-exit-conversion): Follow the change.
298 * wnn.el (wnn-start-conversion): Change the return value interface.
299 * convert.el (egg-convert-region): Follow the change.
301 * wnn.el (wnnenv-get-bunsetsu-pos, wnnenv-set-bunsetsu-pos): Removed.
302 (wnn-get-bunsetsu-source-afterwards): Removed.
303 (wnn-get-number-of-bunsetsu, wnn-get-bunsetsu-info): Removed.
304 (wnnenv-get-bunsetsu-list, wnnenv-set-bunsetsu-list): Removed.
305 (wnn-start-conversion): Don't call wnnenv-set-bunsetsu-list.
306 (wnn-end-conversion): Ditto.
308 1997-08-23 NIIBE Yutaka <gniibe@mri.co.jp>
310 * convert.el (egg-change-bunsetsu-length): Change the interface.
311 (egg-shrink-bunsetsu,egg-enlarge-bunsetsu): Follow it.
313 (egg-source-maxlen-from-here): Removed.
314 (egg-get-previous-bunsetsu): New function.
315 (egg-select-candidate, egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
316 egg-next-candidate): Use egg-get-previous-bunsetsu.
318 1997-08-20 NIIBE Yutaka <gniibe@mri.co.jp>
320 * egg.el (minor-mode-alist): Don't show " EGG" in mode line.
321 (egg-mode): Use input method indicator instead.
323 1997-07-20 NIIBE Yutaka <gniibe@mri.co.jp>
325 * convert.el (egg-next-candidate): Rename from egg-next-conversion.
326 (egg-previous-candidate): Rename from egg-previous-conversion.
327 (egg-select-candidate): Follow the change of new interface.
328 (egg-source-maxlen-from-here): Likewise.
330 1997-07-19 NIIBE Yutaka <gniibe@mri.co.jp>
332 * wnn.el (wnn-start-conversion): Change the interface. Return ENV
333 and the list of bunsetsu. Fix the documentation string too.
334 * convert.el (egg-convert-region): Follow the change.
335 (egg-insert-converted-result): Change the argument.
336 (egg-insert-bunsetsu-list): Rename from egg-insert-converted-result.
337 (egg-insert-bunsetsu): New function.
338 (egg-get-number-of-bunsetsu,egg-get-bunsetsu-info): Removed.
339 (egg-backward-bunsetsu): Don't use bunsetsu-pos.
341 * wnn.el (wnn-get-bunsetsu-converted): Change the interface. Take
342 BUNSETSU as the argument instead of ENV and POS.
343 * convert.el (egg-get-bunsetsu-converted): Follow the change.
345 * wnn.el (wnn-bunsetsu-create): Take ENV as the first argument.
346 (wnn-list-candidates): Dont take ENV.
347 (wnn-bunsetsu-get-env): New substitution.
349 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub): Take the argument
350 for ENV, and use it for the argument of wnn-bunsetsu-create.
351 (wnnrpc-receive-sho-bunsetsu-list): Take ENV as the first argument.
352 (wnnrpc-renbunsetsu-conversion): Follow the change.
354 1997-07-17 NIIBE Yutaka <gniibe@mri.co.jp>
356 * convert.el (egg-decide-candidate): Change the interface.
357 Take the argument bunsetsu-info instead of conversion-engine.
359 * wnn.el (wnn-get-candidate): Deleted.
361 * convert.el (egg-get-all-candidates): Change the interface.
362 Take an argument bunsetsu-info instead of conversion-engine.
363 (egg-select-candidate): Follow the change.
365 * convert.el (egg-set-bunsetsu-pos,egg-get-bunsetsu-pos): Deleted.
366 (egg-list-candidates,egg-get-current-candidate-number): New stub.
367 * wnn.el (wnn-bunsetsu-create): Add new member zenkouho-pos.
368 (wnn-bunsetsu-get-zenkouho-pos,wnn-bunsetsu-set-zenkouho-pos): New
370 (wnn-list-candidates,wnn-get-current-candidate-number): New functions.
371 (wnn-set-bunsetsu-pos,wnn-get-bunsetsu-pos): Deleted.
373 * convert.el (egg-get-number-of-candidates): Change the interface.
374 Take an argument bunsetsu-info instead of conversion-engine.
375 (egg-next-conversion,egg-select-candidate): Follow the change.
376 * wnn.el (wnn-get-number-of-candidates): Follow the change.
378 * wnn.el (wnn-get-bunsetsu-source-afterwards): New function.
379 (wnn-change-bunsetsu-length): Use it.
381 * convert.el (egg-get-bunsetsu-source): Change the interface.
382 Take an argument bunsetsu-info instead of conversion-engine.
383 (egg-enlarge-bunsetsu,egg-shrink-bunsetsu,egg-source-maxlen-from-here):
385 * wnn.el (wnn-get-bunsetsu-source): Follow the change.
387 Put bunsetsu information on text property.
388 * wnn.el (wnn-get-bunsetsu-info): New function.
390 * convert.el (egg-insert-converted-result): Put it on text property.
391 (egg-conversion-backend): Add new interface
392 wnn-get-bunsetsu-info.
393 (egg-get-bunsetsu-info): New stub.
395 1997-07-17 KATAYAMA Yoshio <kate@pfu.co.jp>
397 * its.el (its-state-machine-keyseq, its-state-machine): Handle
398 end-of-input correctly when going backward.
400 1997-07-16 NIIBE Yutaka <gniibe@mri.co.jp>
402 * wnn.el (wnn-create-directory): Bug fix. Really make directory.
404 1997-07-15 NIIBE Yutaka <gniibe@mri.co.jp>
406 * its-hangul.el (its-define-hangul): Use its-defrule-otherwise.
408 1997-07-15 KATAYAMA Yoshio <kate@pfu.co.jp>
410 * its-hangul.el: Updated.
412 1997-06-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
414 * its-hira.el: its-hira-hankaku-escape --> its-hankaku-escape.
415 its-hira-zenkaku-escape --> its-zenkaku-escape.
417 1997-06-14 NIIBE Yutaka <gniibe@mri.co.jp>
419 * its.el: Change the data structure of <expr-output-back-list> so
420 that it can encourage sharing same structure and it can use same
422 (its-ins/del-SYL-batch): Follow the change of data structure.
423 (its-define-otherwise): Change the argument.
424 (its-defrule-otherwise): New function.
425 (its-eob-keyexpr, its-eob-back, its-make-class+back,
426 its-make-otherwise): New substitutions.
428 1997-06-13 NIIBE Yutaka <gniibe@mri.co.jp>
430 * its-kana.el: New file. Taken from its/kanainput.el of Mule-2.3.
432 * its-hira.el: Use `define-its-state-machine'.
434 * its.el (its-zenkaku-escape, its-hankaku-escape): Make them
436 (define-its-state-machine, define-its-state-machine-append): New
439 1997-06-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
441 * its-hira.el ("n'"): Added.
443 1997-06-12 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
445 its-zenkaku-escape and its-hankaku-escape are also used in hangul.
446 * its.el (its-zenkaku-escape, its-hankaku-escape): Moved to here
448 * its-hira.el (its-hira-hankaku-escape, its-hira-zenkaku-escape):
451 * its.el (its-read-current-its-string): Removed. There's the
452 function `read-multilingual-string' already.
454 1997-06-12 KATAYAMA Yoshio <kate@pfu.co.jp>
456 * its-hangul.el: New file.
458 1997-06-10 NIIBE Yutaka <gniibe@mri.co.jp>
460 Miscellaneous cosmetic changes.
461 * comm.el: New file. Move communication related funcitons from
463 (comm-format-u32c, and others): Rename from wnnrpc-*.
464 * wnnrpc.el (Throughout): Follow the rename.
466 * wnn.el (wnnenv-get-in-use-flag): Rename from wnn-e-get-in-use.
467 (wnnenv-set-in-use-flag): Rename from wnn-e-set-in-use.
468 (Others): Rename from wnn-e-*.
469 (wnn-bunsetsu-*): Rename from wnnrpc-b-*, and moved from wnnrpc.el.
471 * convert.el (egg-exit-conversion): Call egg-do-auto-fill.
473 * its.el (its-translate-region): Bug fix. End of input.
474 (its-state-machine): Bug fix. Generate error if
475 its-barf-on-invalid-keyseq.
476 (its-exit-mode-internal): Call egg-do-auto-fill.
478 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for ASCII.
480 * mlh.el (mlh-space-bar-backward-henkan): Call egg-do-auto-fill.
482 * egg.el: Comment out definition of C-\ in global-map.
484 1997-06-09 NIIBE Yutaka <gniibe@mri.co.jp>
486 * its.el (its-kick-convert-region): Rename from its-convert-region.
487 (its-mode-map): Follow the change.
489 (its-make-next-state): Use list instead of cons.
491 (its-get-kst/t): Make it substitution.
492 (its-set-kst, its-get-keyseq, its-set-keyseq, its-kst-p,
493 its-get-output, its-set-output, its-get-keyseq-syl): Likewise.
494 (its-new-state, its-new-map, its-get-indicator, its-set-indicator,
495 its-get-start-state, its-reset-start-state): Likewise.
497 (its-get-next-state): Use assq instead of assoc.
499 (its-goto-state): Tune up.
501 1997-06-08 NIIBE Yutaka <gniibe@mri.co.jp>
503 * mlh.el: Merge mlh-nihongo.el.
504 * mlh-nihongo.el: Removed.
506 * its-hira.el: Moved from its/hira.el. Move comments to HISTORY.
507 (its-hira-enable-double-n, its-hira-period, its-hira-comma,
508 its-hira-open-bracket, its-hira-close-bracket,
509 its-hira-horizontal): New variables.
510 Use the variables to define the state-machine.
512 Implement non-interactive translation in ITS.
513 * its.el (its-translate-region): New function.
514 (its-latest-SYL): New Variable.
515 (its-state-machine-keyseq): Use it.
516 (its-update-latest-SYL): New function.
517 (its-buffer-ins/del-SYL): Use it.
518 (its-translation-result): New variable.
519 (its-ins/del-SYL-batch): New function.
520 (its-enable-double-n-syntax, its-use-kuten-for-period,
521 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
524 Use ITS, delete mlh's own implementation of automata.
525 * mlh.el (mlh-start-state, mlh-set-of-chars, mlh-start-state-sym,
526 mlh-set-of-chars-sym, mlh-define-automata, mlh-end-of-definition,
527 mlh-defrule, mlh-next-state, mlh-roma-kana-backward): Removed.
528 (mlh-cause-error-when-unknown-romaji-sequence): Removed.
530 (mlh-white-space, mlh-zenkaku-white): Use string-to-int.
531 * mlh-nihongo.el (mlh-hira-start-state, mlh-hira-chars, and all
532 rules of definition which defines the automaton): Removed.
533 (mlh-kanji-with-henkan-region-function): Use its-translate-region.
534 (mlh-hiragana, mlh-katakana): Likewise.
537 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for jisx0212.
540 Speed up of unpacking.
541 * wnnrpc.el (wnnrpc-following-char-or-wait): Tune up.
542 (wnnrpc-following+forward-char): New function.
543 (wnnrpc-unpack-u32c, wnnrpc-unpack-u32, wnnrpc-unpack-u16,
544 wnnrpc-unpack-u8): Use it.
545 (wnnrpc-accept-process-output): New function.
546 (wnnrpc-unpack-u16-string, wnnrpc-unpack-u8-string,
547 wnnrpc-unpack-bytes): Use it. Use search-forward.
548 (wnnrpc-unpack-u16-string): Use decode-coding-region.
550 1997-06-07 NIIBE Yutaka <gniibe@mri.co.jp>
552 * wnn.el (wnn-get-all-candidates): New function.
553 (wnn-set-bunsetsu-pos): Return 0 (instead of -1).
555 * convert.el (egg-get-candidate): Removed.
556 (egg-get-all-candidates): New entry function.
557 (egg-conversion-backend): Entry for egg-get-all-candidates.
558 (egg-select-candidate): New function.
559 (egg-conversion-map): Bind "\M-s" and egg-select-candidate.
561 1997-06-05 NIIBE Yutaka <gniibe@mri.co.jp>
563 * bushu.el: Renamed from busyu.el.
564 (bushu-break-string, etc): Renamed from busyu*.
566 * menu.el: Completely rewritten.
568 1997-06-03 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
570 * its.el (its-reset-start-state): Bug fix. Delete a CDR.
572 Implement "class of key" transition.
573 Change the structure of <state>, the last member is
574 <key-state-table/terminal> instead of <key-state-alist/terminal>.
575 * its.el (its-kst-p): Rename from its-ksa-p.
576 (its-get-next-state): Follow the change of the data structure.
577 (its-state-machine): Likewise.
578 (its-make-next-state): Likewise.
579 (its-set-kst): New function.
580 (its-get-otherwise): New function.
581 (its-otherwise-match): New function.
582 (its-define-otherwise-terminate-here): Removed.
583 (its-define-otherwise): New function.
584 (its-defrule*): Use its-define-otherwise.
586 * its/hira.el (n): Use its-define-otherwise.
588 1997-06-02 NIIBE Yutaka <gniibe@mri.co.jp>
590 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub,
591 wnnrpc-receive-sho-bunsetsu-list-sub-2): Splited from
592 wnnrpc-receive-sho-bunsetsu-list.
593 (wnnrpc-receive-dai-bunsetsu-list): New function.
594 (wnnrpc-daibunsetsu-conversion, wnnrpc-get-daibunsetsu-candidate):
597 1997-06-01 NIIBE Yutaka <gniibe@mri.co.jp>
599 * wnnrpc.el (ccl-decode-fixed-euc-jp): Clean it up.
600 (wnnrpc-file-attribute): Rename from wnnrpc-stat-file.
601 (wnnrpc-get-dictionary-list-with-environment): Rename from
602 wnnrpc-get-dictionary-list-with-environment.
605 * wnnrpc.el (wnnrpc-who, wnnrpc-get-env-list, wnnrpc-kill,
606 wnnrpc-delete-dictionary, wnnrpc-set-flag-on-dictionary,
607 wnnrpc-get-dictionary-list, wnnrpc-delete-word,
608 wnnrpc-receive-word, wnnrpc-search-word,
609 wnnrpc-search-word-in-dictionary, wnnrpc-get-word-info,
610 wnnrpc-set-comment-on-word, wnnrpc-get-dictionary-info,
611 wnnrpc-set-file-comment, wnnrpc-hinshi-name,
612 wnnrpc-set-file-password, wnnrpc-set-hinshi-table): New functions.
614 1997-05-31 NIIBE Yutaka <gniibe@mri.co.jp>
616 * wnnrpc.el (wnnrpc-format-u32c, wnnrpc-unpack-u32c): New
617 substitutions. Support 32-bit number represented in cons cell of
618 a pair of 16-bit integer.
619 (wnnrpc-format, wnnrpc-unpack): Handle u32c (U).
621 (wnnrpc-format-bytes, wnnrpc-unpack-bytes): New substitutions.
622 Support byte stream end with 255(-1).
623 (wnnrpc-format, wnnrpc-unpack): Handle bytes (B).
625 (wnnrpc-local-file-loaded): New function.
626 (wnnrpc-call-with-proc-1): New macro. Assume the buffer is the one
629 1997-05-29 NIIBE Yutaka <gniibe@mri.co.jp>
631 * wnnrpc.el (wnnrpc-get-conversion-parameters, wnnrpc-file-loaded,
632 wnnrpc-write-file, wnnrpc-get-fuzokugo-file, wnnrpc-get-file-list,
633 wnnrpc-get-file-list-with-env, wnnrpc-stat-file,
634 wnnrpc-get-file-info): New functions.
635 wnnrpc-receive-file-list): New subst.
637 1997-05-29 Kenichi Handa <handa@etl.go.jp>
639 * wnnrpc.el (ccl-decode-fixed-euc-jp): Tune it up.
641 1997-05-29 Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>
643 * wnnrpc.el (fixed-euc-jp, ccl-decode-fixed-euc-jp,
644 ccl-encode-fixed-euc): New private coding system. Encode/decode
647 1997-05-27 NIIBE Yutaka <gniibe@mri.co.jp>
649 * wnnrpc.el (wnnrpc-tanbunsetsu-conversion): Change the argument.
650 (wnnrpc-get-bunsetsu-candidates): Likewise.
651 (wnnrpc-renbunsetsu-conversion): Likewise.
653 * wnn.el (wnn-change-bunsetsu-length): Follow the change.
654 (wnn-set-bunsetsu-pos): Likewise.
655 (wnn-change-bunsetsu-length, wnn-start-conversion): Likewise.
657 1997-05-25 NIIBE Yutaka <gniibe@mri.co.jp>
659 * wnnrpc.el (wnnrpc-add-word, wnnrpc-get-dictionary-list,
660 wnnrpc-receive-dictionary-list, wnnrpc-get-writable-dictionary-list,
661 wnnrpc-get-hinshi-list, wnnrpc-hinshi-number): New functions.
662 (wnnrpc-unpack-u16-string): Bug fix for the case of ASCII string.
664 * wnn.el (wnn-dictionary-specification): Add dictionaries of
665 gerodic and ones of WNN consortium.
667 Implement a false path.
668 * wnnrpc.el (wnnrpc-renbunsetsu-conversion): Generate an error on
670 (wnnrpc-get-bunsetsu-candidates): Ditto.
671 (wnnrpc-tanbunsetsu-conversion): Ditto.
673 Implement a false path. Error recovery.
674 * wnn.el (wnn-create-directory, wnn-open-dictionary,
675 wnn-open-frequency, wnn-query-del/create-frequency): New function.
676 (wnn-set-dictionary-sub): New function.
678 1997-05-24 NIIBE Yutaka <gniibe@mri.co.jp>
680 * wnnrpc.el (wnnrpc-version, wnnrpc-access, wnnrpc-mkdir,
681 wnnrpc-create-dictionary, wnnrpc-create-frequency,
682 wnnrpc-discard-file, wnnrpc-remove-file): New functions.
683 (wnnrpc-test-result-and-get-error): New subst.
685 Implement a false path from wnnrpc-set-fuzokugo-file.
686 * wnnrpc.el (wnnrpc-set-fuzokugo-file): Return negate-encoded
687 error code on failure.
688 * wnn.el (wnn-create-environment): Generate an error message.
690 Implement a false path from wnnrpc-open-file.
691 * wnnrpc.el (wnnrpc-open-file): Change the interface. Return
692 negate-encoded error code on failure.
693 * wnn.el (wnn-open-file): New function.
694 (wnn-create-environment): Handle return value, and generate
695 an error message for wnnrpc-set-fuzokugo-file on failure.
696 (wnn-set-dictionary): Handle return value.
698 1997-05-17 NIIBE Yutaka <gniibe@mri.co.jp>
700 * wnnrpc.el (wnnrpc-error-message): Error strings taken from
701 Wnn-4.2 distribution.
702 (wnnrpc-errono): Removed.
704 Implement a false path from wnnrpc-open.
705 * wnnrpc.el (wnnrpc-open): Change the interface. Return NIL on
706 success, error code on failure.
707 * wnn.el (wnn-open): Delete process and buffer.
708 Generate an error on failure.
709 (wnn-get-environment): Follow the change (none).
710 (wnn-start-conversion): Follow the change (none).
711 * convert.el (egg-convert-region): Follow the change. Call
712 delete-region after egg-start-conversion.
714 Implement a false path from wnnrpc-connect.
715 * wnnrpc.el (wnnrpc-connect): Change the interface. Return
716 negate-encoded error code on failure.
717 * wnn.el (wnn-create-environment): Generate an error on failure.
718 (wnn-get-environment): Follow the change. On failure, don't
719 register the environment to wnn-environments.
721 1997-05-16 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
723 Dynamically allocate environment arbitrarily.
724 * wnn.el (wnn-create-environment): Change the structure of ENV.
725 (wnn-e-get-in-use, wnn-e-set-in-use): New subst.
726 (wnn-end-conversion): Call wnn-e-set-in-use.
727 (wnn-get-environment, wnn-find-env-not-in-use): New function.
728 (wnn-start-conversion): Call wnn-get-environment.
730 * wnn.el (wnn-fini): Implemented.
732 1997-05-15 NIIBE Yutaka <gniibe@mri.co.jp>
734 * convert.el (egg-start-conversion): Change the interface.
735 (egg-convert-region): Follow the change.
736 (egg-open-if-not): Removed.
737 * wnn.el (wnn-start-conversion): Follow the change.
739 * wnn.el (wnn-environment-list): Removed.
740 (wnn-environment-serial): Removed.
741 (wnn-connect-and-init): Removed.
742 (wnn-environments): New variable which holds all environments.
744 1997-05-15 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
746 * wnn.el (wnn-change-bunsetsu-length): Bug fix. Last argument to
747 wnnrpc-b-set-freq-down is list of bunsetsu.
749 * mlh.el (mlh-do-spacing): Emacs 20 related changes.
750 Use category-set-mnemonics, and char-category-set.
751 According to suggestion by Kenichi Handa <handa@etl.go.jp>.
753 1997-05-15 MORIOKA Tomohiko <morioka@jaist.ac.jp>
755 * wnn.el (wnn-usr-dic-dir): New variable.
756 (wnn-filename): Use wnn-usr-dic-dir.
758 * its.el (its-defrule): New argument `enable-overwrite'.
760 1997-05-14 NIIBE Yutaka <gniibe@mri.co.jp>
762 * convert.el (egg-exit-conversion-unread-char): Use newer variable
763 unread-command-events, as unread-command-char is obsolete.
764 (egg-shrink-bunsetsu, egg-source-maxlen-from-here,
765 egg-enlarge-bunsetsu, egg-next-conversion, egg-exit-conversion,
766 egg-exit-conversion, egg-insert-converted-result): New property
767 EGG-CONVERSION-ENGINE, which specifis backend.
769 (egg-start-conversion, egg-get-number-of-bunsetsu,
770 egg-get-bunsetsu-converted, egg-set-bunsetsu-pos,
771 egg-get-bunsetsu-pos, egg-get-number-of-candidates,
772 egg-get-candidate, egg-decide-candidate,
773 egg-change-bunsetsu-length, egg-get-bunsetsu-source,
774 egg-end-conversion): Change the interface, new argument c.
775 * wnn.el (wnn-start-conversion, wnn-get-number-of-bunsetsu,
776 wnn-get-bunsetsu-converted, wnn-set-bunsetsu-pos,
777 wnn-get-bunsetsu-pos, wnn-get-number-of-candidates,
778 wnn-get-candidate, wnn-decide-candidate,
779 wnn-change-bunsetsu-length, wnn-get-bunsetsu-source,
780 wnn-end-conversion): Likewise.
782 * convert.el (egg-open-if-not): Change the interface. Return
785 * wnnrpc.el (wnnrpc-following-char-or-wait, wnnrpc-unpack-u32,
786 wnnrpc-unpack-u16, wnnrpc-unpack-u8, wnnrpc-unpack-u16-string,
787 wnnrpc-unpack-u8-string): Change the interface to avoid
788 compilation warnings.
789 (wnnrpc-unpack): Use new interface.
791 * wnn.el (wnn-open): Change the name of WNN buffer as debug has
794 1997-05-11 NIIBE Yutaka <gniibe@mri.co.jp>
796 * wnnrpc.el (wnnrpc-following-char-or-wait): Rename from
797 wnn-following-char-or-wait.
798 (wnnrpc-following-char-or-wait): Declare with DEFUN instead of
801 1997-05-10 NIIBE Yutaka <gniibe@mri.co.jp>
803 * Throughout: Use JUNET coding system for file format.
805 * mlh.el: Move some comments to HISTORY.
806 (mlh-version): Removed.
807 Remove all autoload entries.
808 (henkan-region-function): Removed.
809 (member): Don't need any more.
811 * mlh-nihongo.el: Renamed from nihongo.el.
813 * mlh.el (mlh-space-bar-backward-henkan): call egg-convert-region
815 (mlh-space-bar-backward-henkan): Fix for Emacs 20.
816 Don't call egg:do-auto-fill.
817 (mlh-backward-henkan): Use set-marker-insertion-type.
818 (mlh-do-spacing): Char-category.
820 * mlh.el, nihongo.el: Taken from mlh-1.002 distribution.
822 1997-05-07 NIIBE Yutaka <gniibe@mri.co.jp>
824 * convert.el (egg-update-frequency): Removed.
825 (egg-conversion-backend): Remove entry for update-frequency.
827 * wnn.el (wnn-dictionary-specification): Change parameters
828 according to suggestion by Tomoko Yoshida in mule-jp@etl.go.jp.
829 Original had been taken from wnn-4.2.
831 1997-05-06 NIIBE Yutaka <gniibe@mri.co.jp>
833 * convert.el (egg-next-conversion): Bug fix. It's max+ instead of n.
835 1997-05-05 NIIBE Yutaka <gniibe@mri.co.jp>
837 * wnnfns.c (Fwnn_get_bunsetsu_converted): Rename from
838 get-converted-bunsetsu.
839 (Fwnn_get_bunsetsu_source): Ditto.
840 * convert.el (egg-get-bunsetsu-converted): Ditto.
841 (egg-get-bunsetsu-source): Ditto.
843 * wnn.el (wnn-create-environment): New file which mimics API of
846 1997-04-29 NIIBE Yutaka <gniibe@mri.co.jp>
848 * wnnrpc.el: New file which implements Remote Procedure Calls of WNN.
850 1997-04-16 NIIBE Yutaka <gniibe@mri.co.jp>
852 * its/kanainput.el (normal-pair): Use its-defrule*.
854 * its.el (its-defrule*): Rewritten.
856 * its/hira.el ("n"): Alternative implementation using 'otherwise'.
858 * its.el (its-processing-map): Removed.
859 (its-register-map): Rename from its-set-map.
860 (its-register-map): Remove first argumet NAME.
861 (its-defrule): Remove last optional argument END.
862 (its-define-otherwise-terminate-here): New function.
863 (its-goto-state): New function.
864 (its-defrule, its-defoutput): Use its-goto-state.
866 1997-04-12 NIIBE Yutaka <gniibe@mri.co.jp>
868 * its.el: Enhance meaning of ITS state machine. Now, <key>
869 includes representation of "ANY of key stroke" (-2).
870 (its-defrule): New feature end=='otherwise.
871 (its-defrule*): New function.
872 (its-state-machine): Implement otherwise-terminate-before-this-key.
874 * its/kanainput.el (its-k-zenkaku-escape, its-k-hankaku-escape,
875 its-k-symbols-escape): Add prefix its-. Let them defconst.
876 "W": Move the definition beginning to avoid error.
878 1997-03-26 NIIBE Yutaka <gniibe@mri.co.jp>
880 * convert.el (egg-next-conversion): -1 goes to end of bunsetsu.
882 1997-03-25 NIIBE Yutaka <gniibe@mri.co.jp>
884 * egg.el (egg-mode-on, egg-input-mode, egg-in-fence-mode): Deleted.
885 (egg-fence-face-on, egg-fence-face-off): Deleted.
886 (egg-region-start, egg-region-end): Deleted.
888 1997-03-24 NIIBE Yutaka <gniibe@mri.co.jp>
890 * its/hira.el ("n"): Add "z" and "?" for prefetch char of "n".
892 Implement conversion mode.
893 * convert.el: New file.
895 1997-03-23 NIIBE Yutaka <gniibe@mri.co.jp>
897 * its.el (its-mode-map): As "\C-g" is used in global-map, use
898 "\C-]" instead (for its-cancel-input).
900 1997-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
902 Introduce new scheme to specify server.
903 * wnnfns.c (Qjserver, Qcserver, Qtserver, Qkserver): Removed.
904 (Vwnn_server_type): Integer variable.
905 (wnn_get_server_type): Renamed from wnn_check_server_type.
906 (charset_wnn_server_type): Renamed from lc_wnn_server_type.
908 Introduce new scheme to specify uniqueness.
909 * wnnfns.c (Qwnn_no_uniq, Qwnn_uniq, Qwnn_uniq_kanji): Removed.
910 (Vwnn_uniqueness_specifier): Integer variable. Renamed from
913 1997-03-21 NIIBE Yutaka <gniibe@mri.co.jp>
916 * wnnfnc.c (Throughout): Change Lisp function name to follow the
917 format of wnn-VERB-OBJECT.
918 Use XFASTINT instead of XINT, if appropriate.
920 * wnnfns.c (Fwnn_fuzokugo_set): Merged with wnn-set-fuzokugo of
923 * wnn-egg.el (wnn-set-fuzokugo): Deleted.
925 * wnnfns.c (Fwnn_dict_add): Merged with wnn-add-dict of wnn-egg.el.
926 * wnn-egg.el (wnn-add-dict): Deleted.
928 * wnn-egg-msg.el (wnn-msg-get): Renamed from egg-msg-get.
929 (wnn-message-alist): Renamed from egg-message-alist.
932 * wnnfns.c (wnn_check_server_type): Renemed from
933 check_wnn_server_type.
935 * wnn-egg-msg.el (egg-error): Deleted. Not useful enough.
936 * wnn-egg.el (Throughout): Replace egg-error by error.
938 * egg.el (egg-sai-henkan-start, egg-sai-henkan-end,
939 egg-old-bunsetu-suu): Moved from wnn-egg.el.
941 * wnn-egg.el (Throughout): Change variable name and function name.
942 Added wnn- prefix, egg- prefix.
943 * wnn-egg.el: Delete historical defaliases. Only support
944 wnn-set-[cjk]server-hostname.
946 * wnn6.el: New file. Discriminate Wnn6 related functions.
947 * eggrc-wnn6: New file. Discriminate Wnn6 related setting.
949 * egg-fence.el: Removed.
951 1997-03-20 NIIBE Yutaka <gniibe@mri.co.jp>
953 Distingush continuation of egg-mode and turn off of egg-mode.
954 * its.el (its-mode-map): Bind "\C-\\" to its-exit-mode-no-egg.
955 (its-exit-mode-internal): New argument egg-mode-flag.
956 (its-exit-mode-no-egg): New Function.
958 Rethink about keymap. Once, the intention of egg-mode-map has
959 been to override ALL of the keymap. That's so selfish, and not
960 friendly to other parts of Emacs. This implementation intend to
961 be more friendly with other keymaps.
962 * its.el (its-mode-map): Remove definition of "\C-c" for
963 its-cancel-input, as C-c has special meaning in Emacs. We should
965 Remove definition of "\C-q" for its-select-previous-map.
966 Remove definition of "\C-_" for egg-jis-code-input.
967 Remove definition of "\C-w", "\C-@", [?\C-\ ] for
968 egg-henkan-fence-region.
970 Implement START/CURSOR/END scheme.
971 * its.el (its-input-to-vsyl): New function.
972 (its-beginning-of-input-buffer): New function.
973 (its-end-of-input-buffer): New function.
974 (its-backward-SYL): New function.
975 (its-forward-SYL): New function.
976 (its-delete-SYL): New function.
977 (its-delete-backward-SYL): New function.
978 (its-delete-backward-SYL-internal): New function.
979 (its-delete-backward-within-SYL): New function.
980 (its-delete-by-keystroke): New Variable.
981 (its-exit-mode): New function.
982 (its-exit-mode-internal): New function.
984 * its.el (its-standard-map-list, its-find, its-next-map,
985 its-previous-map): Deleted.
986 (its-get-indicator): Delete duplicated definition. Leave one which
987 takes <map> argument.
988 (its-input): Rename from its-input-subsubsub.
990 * egg.el (egg-mode-map): Don't include SPACE.
993 * its.el (its-state-machine): Add new argument EMIT. Return CURSOR.
994 (its-state-machine-keyseq): Likewise.
995 (its-input-subsubsub): Return CURSOR.
996 (its-input-subsub): Deleted.
997 (its-DSYL-p): Deleted.
998 (its-buffer-insert-SYL-list): Deleted.
999 (its-buffer-ins/del-SYL): New function.
1000 (its-input-end): Change the argument to P of point, and return VOID.
1002 Change structure of <map>. <start-state> is normal <state>.
1003 (its-new-map): Follow the change of structure.
1004 (its-get-indicator, its-set-indicator, its-reset-start-state):
1006 (its-reset-start-state): Renamed from its-reset-start.
1008 Don't use <input-buffer>, but introduce new scheme of SYL property.
1009 (its-change-t-to-nil, its-nil-index, its-bytes-between,
1010 its-delete-between, its-move-nil--->, its-move-nil-<--,
1011 its-move-nil-<--sub, its-move-nil-to-last, its-move-nil-to-first):
1014 1997-03-19 NIIBE Yutaka <gniibe@mri.co.jp>
1016 * its.el: Change the structure of DSYL. Same as <state>.
1017 (its-input-subsub): Follow the change of structure.
1018 (its-make-DSYL): Deleted.
1019 (its-get-keyseq-cooked): New function.
1021 Swap the meaning of T/NIL of <SYL>.
1023 Delete the structure of <input-buffer>.
1024 (its-new-input-buffer): Deleted.
1025 (its-input-subsub): Remove the argument SYLP.
1026 (its-input, its-input-sub, its-init-text-properties): Deleted.
1028 Introduce START, END and CURSOR.
1030 1997-03-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1032 Global-map should be used, for key sequence not defined by
1033 its-mode-map and/or egg-mode-map. Don't mask other maps.
1034 * its.el (its-mode-esc-map): Deleted.
1035 (its-mode-map): Include define-key of the esc-map here.
1036 * egg.el (egg-mode-esc-map): Deleted.
1037 (egg-mode-map): Include define-key of the esc-map here.
1039 1997-03-18 NIIBE Yutaka <gniibe@mri.co.jp>
1041 * its.el (its-input): Rename from its-input-input-buffer.
1042 (its-state-machine): Handle END of input (key == -1).
1044 ITS minor mode deleted. It's implemented by local-map of text
1046 (its-mode): Remove the variable.
1047 (its-mode): Remove the function.
1049 * its.el (<input-buffer>): Change the order of <SYL> list.
1050 (car sylp) is last entry of the list.
1051 (its-input-buffer): Deleted. It's now a member of text
1053 (<map>): Change the structure. Start state should have "" for keyseq.
1054 (its-get-start-state): Follow chage of the <map> structure.
1055 (its-reset-start, its-set-indicator, its-get-indicator): Likewise.
1056 (its-new-state, its-new-map): Split from its-new-state/map.
1057 (its-make-map): Deleted.
1059 1997-03-17 NIIBE Yutaka <gniibe@mri.co.jp>
1061 * its.el (its-buffer-insert-SYL-list): Use insert-and-inherit to
1063 (its-fence-overlay): Removed. Don't use overlay, as it has no
1064 information in undo-list.
1066 1997-03-16 NIIBE Yutaka <gniibe@mri.co.jp>
1068 * its/hira.el ("n"): Use new feature END.
1069 ("ppy", "bby", "ddy", "jjy", "zzy", "ggy", "lly", "rry", "hhy",
1070 "cch", "tts", "tty", "ssh", "ssy", "kky"): its-defoutput.
1072 * its.el (its-defrule): Add argument END.
1073 (its-buffer-delete-SYL): Bug fix. Use length instead of string-width.
1075 1997-03-15 NIIBE Yutaka <gniibe@mri.co.jp>
1077 * its.el (its-input-input-buffer): Implement the case of DSYL.
1079 1997-03-14 NIIBE Yutaka <gniibe@mri.co.jp>
1081 * its.el (its-buffer-delete-SYL): Handle the case of NIL.
1083 * its/hira.el: Implement "kka" and others. Implemlement "N".
1084 (digit-characters, symbol-characters, downcase-alphabets,
1085 upcase-alphabets): Delete useless defvar-s.
1087 1997-03-14 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1089 * its/hira.el ("roma-kana"): Follow change of implementation of
1092 Correct the abuse of the word "MODE". It seems that it's direct
1093 influence of "mode" in Emacs, but it's not mode at all.
1094 * its.el (its-map-alist): Renamed from its-mode-alist.
1095 (its-get-map): Renamed from its-get-mode-map.
1096 (its-set-map): Renamed from its-set-mode-map.
1097 (its-define-state-machine): Renamed from its-define-mode.
1098 (its-select-map-menu): Renamed from its-select-mode-menu.
1099 (its-select-map-from-menu): Renamed from its-select-mode-from-menu.
1100 (its-standard-map-list): Renamed from its-standard-modes.
1101 (its-next-map): Renamed from its-next-mode.
1102 (its-previous-map): Renamed from its-previous-mode.
1103 (its-select-map): Renamed from its-select-mode.
1104 (its-get-indicator): Renamed from its-get-mode-indicator.
1106 (its-select-map-from-menu): As it's not mode, don't need offer hooks.
1107 (its-next-map): Likewise.
1108 (its-previous-map): Likewise.
1109 (its-select-map): Likewise.
1111 Change the implementation of its-mode-alist. Name is in <map> now.
1112 * its.el (its-get-mode-map): Just do assoc.
1113 (its-set-mode-map): Simplified.
1115 * its.el (its-get-indicator): Renamed from its-map-indicator.
1116 (its-set-indicator): Renamed from its-map-set-indicator.
1117 (its-get-start-state): Renamed from its-map-start.
1118 (its-new-state): Change the argunents.
1119 (its-map-set-start): Removed.
1120 (its-reset-start): New function.
1122 Remove old implemantation of translator.
1123 * its.el (its-resize, its-maps, its-actions, its-inputs,
1124 its-level, its-maxlevel, its-char-from-buff, its-interactive):
1126 (its-make-action, its-reset-maps, its-current-map,
1127 its-previous-map, its-level, its-enter-newlevel, its-reset-input,
1128 its-flush-input-before-point, its-peek-char, its-read-char):
1130 (its-push-char, its-ordinal-charp, its-delete-charp): Removed.
1131 (its-translate-region): Removed.
1132 (its-buff-s, its-buff-e): Removed.
1133 (its-state-terminalp): Removed.
1135 Remove selection of candidates in map, it's questionable to
1136 implement this feature with SYL. Might rethink in future.
1137 (its-make-menu-from-map-result, its-make-alist-from-map-result):
1139 (its-make-menu-from-map, its-make-menu-from-map*): Removed.
1140 (its-make-alist-from-map, its-make-alist-from-map*): Removed.
1141 (its-completing-read): Removed.
1142 (its-minibuffer-local-must-match-map,
1143 its-minibuffer-local-completion-map): Removed.
1144 (its-minibuffer-completion-help, car-string-lessp,
1145 its-temp-echo-area-contents): Removed.
1147 Implement SYL-based state machine.
1148 * its.el (its-input-buffer, its-barf-on-invalid-keyseq): New variables.
1149 (its-new-input-buffer): New function.
1150 (its-self-insert-char): New command.
1151 (its-initial-ISYL, its-make-DSYL, its-make-VSYL,
1152 its-input-input-buffer, its-input-input-buffer-sub,
1153 its-state-machine, its-state-machine-keyseq,
1154 its-buffer-delete-SYL, its-buffer-insert-SYL-list,
1155 its-get-next-state, its-get-ksa/b, its-get-keyseq, its-ksa-p,
1156 its-get-output): New function.
1157 (its-get-KAS): Removed.
1158 (its-get-state, its-get-action, its-set-action): Removed.
1159 (its-make-KAS, its-get-KAS): Removed.
1161 * its.el (its-defrule-sub): Merged into its-defrule.
1163 1997-03-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1165 * its.el: (its-define-mode): Change the arguments.
1166 * its/zhuyin.el ("zhuyin"): Follow the changes of its-define-mode.
1167 * its/zenkaku.el ("zenkaku-downcase"): Likewise.
1168 * its/pinyin.el ("PinYin"): Likewise.
1169 * its/kata.el ("roma-kata"): Likewise.
1170 * its/kanainput.el ("kanainput"): Likewise.
1171 * its/hira.el ("roma-kana"): Likewise.
1172 * its/hankaku.el ("downcase"): Likewise.
1173 * its/hangul.el ("hangul"): Likewise.
1174 * its/han-kata.el ("roma-han-kata"): Likewise.
1176 * its.el (its-action-output, its-action-next, its-get-next-map,
1177 its-set-next-map): Removed.
1178 (its-make-next-state): New function.
1179 (its-make-state): Removed.
1181 * its.el (its-defrule-sub): Renamed from `its-defrule**'.
1183 * wnnfns.h: New file. Macros for WNN6 are defined here.
1184 * wnn6fns.c: New file. Moved from wnnfns.c for WNN6 specific
1187 1997-03-12 NIIBE Yutaka <gniibe@mri.co.jp>
1189 * wnnfns.c: cosmetic changes (indentation, commenting-out-style,
1190 and compare to Qnil, etc).
1191 Get rid of "register" qualifier.
1193 1997-03-05 NIIBE Yutaka <gniibe@mri.co.jp>
1195 * its.el (its-define-mode): Change internal structure. Completely
1197 (its-make-map): Function to make map.
1198 (its-make-state): New function. Make new state.
1199 (its-make-KAS): New function. Make Key-Action-State triad.
1200 (its-state-terminalp): New function. True when the state is
1202 (its-map-indicator, its-map-set-indicator,): Changed.
1203 (its-map-terminalp, its-map-incrementalp,
1204 its-map-set-incrementalp, its-map-alist, its-map-set-alist,
1205 its-map-action, its-map-set-action): Removed.
1207 (its-defrule-verbose): Deleted. Seems debug purpose variable.
1209 (its-make-map): Removed <state>. It was useless space eater.
1210 (its-map-indicator, its-map-set-indicator, its-map-alist,
1211 its-map-set-alist, its-map-action, its-map-set-action): Follow the
1213 (its-define-mode): Likewise.
1214 (its-defrule**): Change the argument. Delete STATE.
1215 (its-defrule): Likewise.
1216 (its-map-state, its-map-set-state): Removed.
1218 <topmap>: Changed the structure. Introduce <incrementalp>, which
1219 is t on hangul-map, zhuyin-map, and kanainput-map.
1220 (its-define-mode): Change the arguments. INDICATOR and RESET is
1221 always required. Add new argument INCREMENTALP.
1222 * its/kanainput.el ("kanainput"): Use new API of its-define-mode.
1223 * its/hangul.el ("hangul"): Likewise.
1224 * its/zhuyin.el ("zhuyin"): Likewise.
1225 * its.el (its-make-terminal-state-sofar): Removed.
1226 (its-default-make-terminal-state): Removed.
1227 (its-make-terminal-state): Removed
1228 (its-make-non-terminal-state): Removed. Not used.
1229 (its-map-incrementalp, its-map-set-incrementalp): New functions.
1231 1997-03-04 NIIBE Yutaka <gniibe@mri.co.jp>
1233 * its.el (its-defrule-conditional, its-defrule-conditional*):
1234 Removed. Evaluating cond clause at runtime is stupid. Rules
1235 should be determined at compile time, not at run time.
1236 (its-get-action): Simplified. It's always standard.
1237 (its-make-terminal-state-sofar): Likewise.
1238 (its-make-action): Renamed from its-make-standard-action.
1239 (its-standard-actionp): Removed. No use.
1240 (its-translate-region): Simplified.
1242 (its-map-topmap-p): Removed. No use.
1244 (its-simple-actionp, its-collect-simple-action): Removed. No use.
1246 (its-insert-output-string, its-display-status-string): Removed.
1247 It seemd these variables is to debug ITS itself.
1248 (its-translate-region): Simplified.
1250 * its/hira.el (".", ",", "n", "nn"): Rules should be determined at
1252 * its/han-kata.el: Likewise.
1253 * its/kata.el: Likewise.
1255 * its.el (its-make-standard-action): Simplified.
1256 (its-make-standard-action): Remove alternative output.
1257 (its-standard-actionp): Simplified.
1258 (its-action-next): Simplified.
1259 (its-select-alternative-output-menu): Removed. Not used at all.
1260 (its-select-alternative-output): Ditto.
1262 * its/han-kata.el, its/zenkaku.el, its/kata.el, its/kanainput.el,
1263 its/hira.el, its/hankaku.el: Add (require cl).
1265 * its.el (its-enable-double-n-syntax, its-use-kuten-for-period,
1266 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
1267 Declare here. Add prefix `its-'. ):
1269 (its-defrule, its-defrule*): Remove MAP argument.
1270 Merged into its-defrule.
1272 1997-03-04 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1274 * its.el (its-completing-input-menu): Removed. Not used.
1275 (its-completing-input): Ditto.
1276 (its-translate-region): Remove (null action) clause. It's identical
1279 (its-map-supers): Deleted.
1280 (its-map-set-supers): Ditto.
1281 (its-get-next-map-locally): Deleted.
1283 (its-define-mode): Remove supers.
1284 (its-make-map): Likewise.
1286 (its-simulate-input): sref -> aref. add char-bytes -> +1.
1287 (its-defrule**): Likewise.
1289 (its-flush-input-before-point): Delete useless save-excursion.
1290 (its-push-char): Likewise.
1291 (its-translate-region): Likewise.
1293 * its/zhuyin.el (its-make-terminal-state):
1294 * its/kanainput.el (its-make-terminal-state):
1295 * its/hangul.el (its-make-terminal-state):
1296 Use its-make-terminal-state-sofar.
1298 * its/kanainput.el (its-make-terminal-state-kanainput): Removed.
1300 * its.el (its-make-terminal-state-sofar): Renamed.
1301 (was: its-make-terminal-state-hangul)
1303 * its/han-kata.el (its-select-hankaku-katakana): Renamed.
1304 (was: its:select-hankaku-katakana).
1306 * its.el (its-map-topmap-p, its-map-supers, its-map-set-supers,
1307 its-map-terminalp, its-map-state, its-map-set-state,
1308 its-map-indicator, its-map-set-indicator, its-map-action,
1309 its-map-set-action, its-map-alist, its-map-set-alist,
1310 its-get-action, its-action-output, its-action-next,
1311 its-get-next-map, its-get-next-map-locally, its-set-next-map,
1312 its-collect-simple-action, its-read-current-its-string,
1313 its-make-map): Add prefix 'its-'.
1315 * its.el (its-defrule-select-mode-temporally): Deleted.
1316 (its-select-mode-temporally): Deleted.
1317 (its-select-previous-mode): Deleted.
1319 * its/hira.el ("q", "Q"): Removed.
1321 * its.el (its-defrule**): Don't call coerce-internal-string.
1322 (map-state-string): Removed.
1323 (its-default-make-standard-non-terminal-state): Don't call
1326 * egg.el (characterp, coerce-internal-string, coerce-string): Removed.
1328 * its.el (its-insert-char): Deleted.
1329 (its-internal-mode-alist): Removed.
1330 (its-set-mode-map, its-define-mode): Remove internalp.
1331 (its-set-mode-indicator): Removed.
1333 * egg-fence.el (egg-fence-self-insert-command): Add prefix 'egg-'.
1335 * its.el (fence-self-insert-command): Move to egg-fence.el.
1337 * egg-fence.el (egg-exit-fence-mode): Renamed (egg-fence-exit-mode).
1338 (egg-enter-fence-mode-and-self-insert): Deleted.
1340 * egg.el (egg-quit-egg-mode): Deleted.
1342 * egg-misc.el (egg-fence-toggle-egg-mode): Add prefix 'egg-'.
1343 (egg-fence-toggle-egg-mode): beep -> ding.
1344 (global-map): bind C-\ to egg-enter-fence-mode.
1346 1997-03-02 NIIBE Yutaka <gniibe@mri.co.jp>
1348 * egg-henkan.el: New file.
1350 Use new API (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi,
1351 egg-is-dai-bunsetu, bunsetu-suu, egg-hindo-update,
1352 egg-get-bunsetu-end).
1354 * wnn-egg.el: Move egg-henkan-* to egg-henkan.el.
1356 * wnn-egg.el (egg-startup-file-search-path): Remove current
1358 (egg-open-wnn): Renamed from EGG-open-wnn.
1359 (bunsetu-suu): New function.
1360 (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi): New function.
1361 (egg-is-dai-bunsetu): New function.
1362 (egg-hindo-update): New function.
1363 (egg-get-bunsetu-end): New function.
1365 (egg-henkan-region, egg-gyaku-henkan-region,
1366 egg-henkan-region-internal, egg-henkan-paragraph,
1367 egg-gyaku-henkan-paragraph, egg-henkan-sentence,
1368 egg-gyaku-henkan-sentence, egg-henkan-word, egg-gyaku-henkan-word,
1369 egg-henkan-insert-kouho, egg-henkan-kakutei,
1370 egg-henkan-kakutei-first-char, egg-henkan-kakutei-before-point,
1371 egg-sai-henkan, egg-henkan-goto-bunsetu,
1372 egg-henkan-forward-bunsetu, egg-henkan-backward-bunsetu,
1373 egg-henkan-first-bunsetu, egg-henkan-last-bunsetu,
1374 egg-henkan-hiragana, egg-henkan-katakana, egg-henkan-next-kouho,
1375 egg-henkan-next-kouho-dai, egg-henkan-next-kouho-sho,
1376 egg-henkan-previous-kouho, egg-henkan-previous-kouho-dai,
1377 egg-henkan-previous-kouho-sho, egg-henkan-goto-kouho,
1378 egg-henkan-bunsetu-chijime-dai, egg-henkan-bunsetu-chijime-sho,
1379 egg-henkan-bunsetu-nobasi-dai, egg-henkan-saishou-bunsetu,
1380 egg-henkan-saichou-bunsetu, egg-bunsetu-length-henko,
1381 egg-henkan-quit, egg-henkan-select-kouho,
1382 egg-henkan-select-kouho-dai, egg-henkan-select-kouho-sho,
1383 egg-henkan-word-off, egg-henkan-kakutei-and-self-insert,
1384 egg-henkan-mode-map, egg-henkan-mode-esc-prefix,
1385 egg-henkan-help-command, egg-henkan-inspect-bunsetu):
1388 (egg-henkan-mode-in-use): Deleted.
1389 (set-egg-henkan-mode-format): Deleted. Don't need.
1391 (disconnect-wnn): Let it be normal function, instead of command.
1394 (set-jserver-host-name, set-kserver-host-name,
1395 set-cserver-host-name): Use defalias.
1397 (close-wnn): Take an argument of wnn-server-type.
1398 (wnn-egg-kill-emacs-function, set-wnn-host-name,
1399 set-cwnn-host-name, set-kwnn-host-name): Likewise.
1401 * egg.el (egg-global-map-backup): Deleted.
1402 (egg-local-map-backup): Deleted.
1403 (egg-insert-after-hook): it's global variable, nod buffer-local.
1405 * egg-fence.el (egg-henkan-fence-region, egg-enter-fence-mode,
1406 egg-fence-katakana, egg-fence-hiragana, egg-fence-hankaku,
1407 egg-fence-zenkaku, egg-fence-backward-char,
1408 egg-fence-forward-char, egg-fence-beginning-of-line,
1409 egg-fence-end-of-line, egg-fence-transpose-chars,
1410 egg-fence-delete-char, egg-fence-backward-delete-char,
1411 egg-fence-kill-line, egg-fence-exit-mode, egg-fence-cancel-input,
1412 egg-fence-mode-help-command): Add Prefix `egg-'.
1414 (egg-fence-mode-map): Remove binding to eval-expression (C-z).
1416 (egg-self-insert-non-undo-count): Removed.
1417 (egg-self-insert-command): Removed.
1419 (egg-fence-backward-char, egg-fence-forward-char,
1420 egg-fence-transpose-chars, egg-fence-delete-char,
1421 egg-fence-backward-delete-char): beep -> ding.
1422 wnn-egg.el (egg-henkan-select-kouho): Likewise.
1424 1997-02-27 NIIBE Yutaka <gniibe@mri.co.jp>
1426 * wnn-egg.el (push-end, push-end-internal): Removed.
1428 * its.el (dolist): Removed. It's in CL package.
1429 (for-each, for-each*): Removed.
1431 * egg-keymap.el: Removed. I guess noone use it.
1433 * egg-jsymbol.el (*-alist): Declare by defconst.
1435 * egg-misc.el (toggle-egg-mode): Removed.
1437 * All files: Change the identifier XXX:YYYY --> XXX-YYYY,
1440 * egg-fence.el (enter-fence-mode): Use new API for marker
1441 insertion `set-marker-insertion-type'.
1442 * its.el (its-*buff-e*): Likewise.
1444 * egg-jsymbol.el: lc-jp --> (charset-id 'japanese-jisx0208)
1445 lc-jp2 --> (charset-id 'japanese-jisx0212).
1447 1997-02-26 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1449 * egg-fence.el (egg:fence-mode-map): Renamed from fence-mode-map.
1450 (egg:fence-mode-esc-prefix): Renamed from egg:fence-mode-esc-map.
1451 (henkan-fence-region-or-single-space): Removed.
1453 * egg-misc.el (toggle-egg-mode): mc-flag
1454 -> enable-multibyte-characters.
1456 * its.el (read-current-its-string): New function. Moved from
1458 (In meny functions): beep --> ding.
1460 * egg-misc.el (read-hiragana-string): Removed.
1461 (read-kanji-string): Removed.
1462 (egg:special-symbol-input): Renamed from special-symbol-input.
1463 (egg:special-symbol-input-point): Renamed from
1464 special-symbol-input-point.
1465 (si:*global-map*): Remeved.
1466 Removed 'Changes on Global map'.
1467 (its-mode-map): Renamed from mule-keymap.
1469 * wnn-egg.el (henkan-region-internal): Use new API for undo.
1470 (henkan-kakutei): Likewise.
1471 (henkan-kakutei-first-char): Likewise.
1472 (henkan-kakutei-before-point): Likewise.
1473 (sai-henkan): Likewise.
1474 * egg.el (egg:quit-egg-mode): Likewise.
1476 * egg-fence.el (egg:*fence-open*, egg:*fence-close*,
1477 egg:*fence-face*): Let them be declared by defvar.
1478 (egg:*fence-open-in-cont*, egg:*fence-close-in-cont*,
1479 egg:*fence-face-in-cont*): Likewise.
1481 (set-egg-fence-mode-format): Removed. Useless. Don't need to be
1483 (set-egg-fence-mode-format-in-cont): Removed.
1484 (egg:*face-alist*): Removed.
1486 * wnn-egg-misc.el (its:select-mode, its:select-mode-from-menu,
1487 its:next-mode, its:previous-mode):
1488 Removed (Merged into its.el).
1490 * its.el (its:select-mode, its:select-mode-from-menu,
1491 its:next-mode, its:previous-mode): Call hook of
1492 `its:select-mode-hook'.
1494 * diced.el: Removed. This depends on wnn. Functions are moved to
1497 * wnn-egg-dict.el (remove-regexp-in-string): Removed.
1498 (toroku-region): Don't call `remove-regexp-in-string'. Removing
1499 invalid sequence (TAB?) automatically is not good idea. It should
1500 notify user. Currently, just don't remove.
1502 * busyu.el (busyu-table): defconst instead of defvar.
1503 (busyu-kaku-alist): defconst instead of defvar.
1505 * its.el (egg:member): Removed. Not used.
1507 * wnn-egg-msg.el (*egg-message-alist*): Include asking string in
1508 register-notify and remove-notify. Should also change Korean and
1511 * egg.el: Removed "Tamago Notification System".
1512 It is useless, as we have *Messages* buffer in GNU Emacs 19.
1514 * diced.el (diced-execute): Don't use `notify' but `message'.
1515 (set-dict-comment): Likewise.
1516 * its.el (its-defrule**): Likewise.
1517 * wnn-egg-dict.el (egg:toroku-word): Likewise.
1518 * wnn-egg-msg.el (egg:error): Likewise.
1519 * wnn-egg.el (set-wnn-param): Likewise.
1520 (EGG:open-wnn): Likewise.
1521 (close-wnn): Likewise.
1522 (henkan-word-off): Likewise.
1523 (henkan-inspect-bunsetu): Likewise.
1525 * diced.el (diced-execute): Don't use `notify-yes-or-no-p' but use
1526 plain `yes-or-no-p' and format.
1527 * wnn-egg-dict.el (egg:toroku-word): Likewise.
1529 * egg.el (notify-yes-or-no-p-internal): IIDESUKA is not good.
1530 it should get the message through egg:get-msg. Currently, use
1532 (notify-y-or-n-p-internal): Likewise.
1534 * wnn-egg.el: Split into wnn-egg-dict.el, wnn-egg-misc.el, and
1536 (many functions): remove commented out line of
1537 (open-wnn-if-disconnected).
1539 * egg.el: Split into egg.el, egg-fence.el, egg-misc.el,
1540 jis-input.el, and modeline.el.
1542 * wnn-egg.el (egg-default-startup-file): change to eggrc-wnn from
1544 (henkan-region-internal): Use new API for marker insertion
1545 `set-marker-insertion-type'.
1547 1997-02-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1549 * menu.el (menu:select-from-menu): Rewritten.