1 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
3 * leim-list-egg.el: Rename `egg-ja' -> `japanese-egg'.
5 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
7 * egg/wnn.el (wnn): New group.
8 (wnn-server): Use `defcustom'.
9 (wnn-usr-dic-dir): Use `defcustom'.
11 * egg.el (egg): New group.
13 1997-11-20 MORIOKA Tomohiko <morioka@jaist.ac.jp>
15 * menudiag.el (menudiag-mode-map): Swap binding for left and
18 * egg.el (egg-toroku-region): `wnn-get-environment' requires
19 dictionary-specification.
21 * leim-list-egg.el: add autoload setting for egg-mode.
23 1997-11-03 KATAYAMA Yoshio <kate@pfu.co.jp>
25 * euc-cn.el: New file. Original name was yincoding.el.
26 Adopted by NIIBE Yutaka <gniibe@mri.co.jp>.
28 1997-11-03 NIIBE Yutaka <gniibe@mri.co.jp>
30 * its.el (its-start): Add INVISIBLE property if ITS-FENCE-FACE.
31 * egg-cnv.el (egg-decide-before-point): Ditto.
32 Based on patch by Kenichi HANDA <handa@etl.go.jp>.
34 Once, I thought that we need many environments which correspond to
35 outstanding CONVERSION buffre. However, I've learned that WNN4
36 protocol is completely independent. It's no use to maintain each
37 environment. Share the one environment.
38 * egg/wnn.el (wnn-environments): Removed.
39 (wnn-environment): New variable.
40 (wnn-comm-sentinel): Follow the change. Let users know the close.
43 <env>: Remove the member <in-use>.
44 (wnnenv-create): Follow the structure change.
45 (wnn-end-conversion): Likewise.
46 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Removed.
47 (wnn-find-env-not-in-use): Removed.
48 (wnn-get-environment): Use wnn-environment instead of wnn-environments.
51 * egg-cnv.el (egg-decide-before-point): Signal error on first SYL.
52 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>. Changes of 1997-09-07
54 Set-marker M to NIL after PUT-TEXT-PROPERTY.
56 Because the name of identifier begins egg-*, change the file names.
57 * tamago: Rename from tamago.
58 * egg.el, egg-mlh.el, egg-com.el, egg-cnv.el: Rename from tamago-*.el
59 * Makefile: Follow the changes.
61 1997-10-05 NIIBE Yutaka <gniibe@mri.co.jp>
63 * tamago/wnn.el (wnn-uniq-candidates): Add new argument BUNSETSU.
64 Call WNN-BUNSETSU-SET-ZENKOUHO-POS, WNN-BUNSETSU-SET-ZENKOUHO in
65 this function. Handle the case where BUNSETSU is not the first
66 element of BUNSETSU-LIST.
67 (wnn-list-candidates): Use new API of WNN-UNIQ-CANDIDATES.
69 * tamago-cnv.el (egg-next-candidate): Handle the case where
70 EGG-LIST-CANDIDATES returns non zero value.
72 1997-10-04 NIIBE Yutaka <gniibe@mri.co.jp>
74 * Makefile (install): Install to SITEDIR.
76 1997-09-26 NIIBE Yutaka <gniibe@mri.co.jp>
78 * its/hira.el (its-hira-enable-zenkaku-alphabet): New variable.
79 (its-hira-map): Use it.
81 1997-09-19 NIIBE Yutaka <gniibe@mri.co.jp>
83 Arrange for LEIM. Use tamago/ subdirectory.
84 * tamago/: Rename from tamago-lib.
86 1997-09-18 NIIBE Yutaka <gniibe@mri.co.jp>
88 * tamago-cnv.el (egg-select-candidate): menu-select -->
90 * tamago.el (egg-toroku-region, egg-hinshi-select): Likewise.
92 * tamago-cnv.el (egg-exit-conversion): Run hook of
93 input-method-after-insert-chunk-hook.
94 * its.el (its-exit-mode-internal): Ditto.
96 * tamago-mlh.el (mlh-comma-period-style): Deleted.
98 * its/, tamago-lib/: New directory.
99 * its/: Move its-*.el files here.
100 * tamago-lib/: Move sj3.el, sj3rpc.el, wnn.el and wnnrpc.el here.
102 * tamago-com.el: Rename from comm.el.
103 * tamago-mlh.el: Rename from mlh.el.
104 * tamago-cnv.el: Rename from convert.el.
106 * menudiag.el: Rename from menu.el.
107 (Throughout): Rename menu-* to menudiag-*.
109 1997-09-07 NIIBE Yutaka <gniibe@mri.co.jp>
111 * egg.el (egg-insert-after-hook, egg-exit-hook): Removed.
112 (egg-sai-henkan-start, egg-sai-henkan-end, egg-old-bunsetu-suu):
115 * wnn.el (WNN-const): New macro.
116 (wnn-start-conversion, wnn-open-dictionary, wnn-open-frequency,
117 wnn-set-dictionary-sub, wnn-update-frequency): Use it.
119 * wnnrpc.el (wnn-const): New macro.
120 Throughout: Use wnn-const.
122 * convert.el (egg-decide-before-point): Bug fix. Handle the case
123 where all bunsetsu are decided.
124 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>.
126 * convert.el (egg-exit-conversion): Call egg-end-conversion at end.
127 (egg-decide-before-point): Ditto.
129 * wnn.el (wnn-environments): Change the structure of enviromnents.
130 (wnn-fini): Handle errors.
131 (wnn-open): Set sentinel. Delete buffer on failure.
132 (wnn-comm-sentinel): New function.
133 (wnn-find-env-not-in-use): Return nil when not found.
135 (wnn-create-environment): Take username as argument.
136 (wnn-get-environment): Follow the change.
138 (wnnenv-create): Remove useless serial no.
139 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Follow the change.
140 (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Likewise.
141 (wnn-create-environment, wnn-get-environment): Likewise.
143 1997-09-04 NIIBE Yutaka <gniibe@mri.co.jp>
145 * its.el (its-state-machine-keyseq): Bug fix. Handle VSYL.
147 * sj3.el, sj3rpc.el: New files.
149 * comm.el (comm-call-with-proc, comm-call-with-proc-1): New macros.
150 * wnnrpc.el (wnnrpc-call-with-proc, wnnrpc-call-with-proc-1): Deleted.
151 Throughout: Use comm-call-with-proc and comm-call-with-proc-1.
153 1997-09-03 NIIBE Yutaka <gniibe@mri.co.jp>
155 * wnnrpc.el (wnnrpc-call-with-proc-1): Bug fix. let --> progn.
157 * convert.el (egg-conversion-backend): Initail value is NIL.
159 * wnn.el (wnn-conversion-backend): New constant.
161 * comm.el (comm-format,comm-unpack): Support multibyte string.
162 (comm-format-mb-string): New substitution.
163 (comm-unpack-mb-string): New substitution.
165 * wnn.el (wnn-fini): Handle the case where wnn-environments is nil.
166 Reported by Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>.
168 1997-09-03 Hiroshi Ogata <hiroshi@nereid.rim.or.jp>
170 * mlh.el (mlh-zenkaku): Use new API of Emacs-20,
171 japanese-zenkaku-region.
173 1997-09-02 NIIBE Yutaka <gniibe@mri.co.jp>
175 * egg.el (egg-toroku-region): New function.
177 * wnn.el (wnn-list-dictionaries): New function.
178 (wnnenv-get-proc): New function.
180 * wnnrpc.el (wnndic-get-id, wnndic-get-comment, wnndic-get-dictname):
182 (wnnrpc-get-writable-dictionary-id-list): Rename from
183 wnnrpc-get-writable-dictionary-list.
185 1997-09-01 NIIBE Yutaka <gniibe@mri.co.jp>
187 * convert.el (egg-decide-bunsetsu): New function.
188 (egg-decide-before-point): New command.
189 (egg-exit-conversion): Use egg-decide-bunsetsu.
191 * its.el (its-start): Divide the fence buffer into two parts and
192 make them intangible, so that point goes appropriate position.
193 (its-put-cursor): The cursor belongs to part-2.
194 (its-buffer-ins/del-SYL): The new SYL belongs to part-1.
195 (its-exit-mode-internal): Remove the property on exit.
196 (its-beginning-of-input-buffer): Make SYLs have property of "part 2".
197 (its-backward-SYL): Likewise.
198 (its-forward-SYL): Make SYLs have property of "part 1".
199 (its-end-of-input-buffer): Likewise.
201 (its-input-end): Delete useless argument.
202 (its-beginning-of-input-buffer, its-exit-mode,
203 its-exit-mode-off-input-method, its-kick-convert-region,
204 its-end-of-input-buffer, its-backward-SYL, its-forward-SYL,
205 its-delete-SYL): Follow the change.
207 1997-08-31 NIIBE Yutaka <gniibe@mri.co.jp>
209 For egg-mode, don't use minor mode, override local map instead.
210 For its-mode and egg-conversion-mode, don't use minor mode,
211 instead use local-map of text property.
213 Although overriding local map is not good, using local-map of
214 property is natural thing. Besides, point-left/point-entered
215 don't work as I expected (yet).
217 * egg.el (egg-mode: variable): Removed.
218 * egg.el (egg-modefull-map, egg-modeless-map): Make them functions.
219 Generate overriding local map.
220 * egg.el (egg-mode): use overriding local map.
222 * its.el, convert.el: Undo changes of 1997-08-28 for minor mode
223 and local map of text properties.
225 * its.el (its-exit-mode-off-input-method): New function.
227 1997-08-29 NIIBE Yutaka <gniibe@mri.co.jp>
229 Let Undo work correctly.
230 * its.el (its-self-insert-char): Delete/Insert cursor.
232 * its.el (its-put-cursor): Remove useless first argument.
233 (its-start, its-beginning-of-input-buffer, its-end-of-input-buffer,
234 its-backward-SYL, its-forward-SYL, its-delete-SYL, its-delete-SYL,
235 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
238 1997-08-28 KATAYAMA Yoshio <kate@pfu.co.jp>
240 * its-erpin.el: New file.
241 * its-pinyin.el: New file.
242 * its-zhuyin.el: New file.
244 1997-08-28 NIIBE Yutaka <gniibe@mri.co.jp>
246 * its.el (its-exit-mode-no-egg): Removed.
247 (its-exit-mode-internal): Remove first argument.
248 (its-kick-convert-region, its-delete-SYL,
249 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
252 Don't use local map of text properties, instead use minor mode.
253 * convert.el (egg-conversion-mode): New minor mode.
254 (egg-conversion-left, egg-conversion-enter): New functions.
255 (egg-insert-bunsetsu): remove local-map, add point-entered and
256 point-left properties.
257 (egg-exit-conversion): Likewise.
258 (egg-exit-conversion): Exit minor mode.
260 * its.el (its-put-cursor): remove local-map, add point-entered and
261 point-left properties.
262 (its-enter, its-left): New functions.
263 (its-mode): New variable. New minor mode.
265 1997-08-27 NIIBE Yutaka <gniibe@mri.co.jp>
267 * convert.el (egg-exit-conversion-no-egg): Removed.
268 (egg-exit-conversion): No argument, no egg-mode.
270 * convert.el (egg-convert-region): No egg-flag.
271 * its.el (its-exit-mode-internal): Follow it.
272 * mlh.el (mlh-space-bar-backward-henkan): Ditto.
274 1997-08-26 NIIBE Yutaka <gniibe@mri.co.jp>
276 * wnn.el (wnn-change-bunsetsu-length): Don't use magic #3.
278 * convert.el (egg-insert-bunsetsu-list): Add optional argument
281 1997-08-25 NIIBE Yutaka <gniibe@mri.co.jp>
283 * convert.el (egg-insert-bunsetsu): Include seperator. Add
284 intangible property to bunsetsu.
285 (egg-insert-bunsetsu-list): Follow the change.
286 (egg-backward-bunsetsu, egg-forward-bunsetsu,
287 egg-select-candidate, egg-next-candidate,
288 egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
289 egg-exit-conversion): Ditto.
291 * mlh.el (mlh-space-bar-backward-henkan): Call egg-convert-region
292 with last argument t. Turn of egg-mode.
294 1997-08-24 NIIBE Yutaka <gniibe@mri.co.jp>
296 * its.el (its-exit-mode-internal): Inactivate input method.
298 * wnn.el (wnn-end-conversion): Change the interface.
299 (wnn-update-frequency): Follow the change.
300 * convert.el (egg-exit-conversion): Follow the change.
302 * wnn.el (wnn-start-conversion): Change the return value interface.
303 * convert.el (egg-convert-region): Follow the change.
305 * wnn.el (wnnenv-get-bunsetsu-pos, wnnenv-set-bunsetsu-pos): Removed.
306 (wnn-get-bunsetsu-source-afterwards): Removed.
307 (wnn-get-number-of-bunsetsu, wnn-get-bunsetsu-info): Removed.
308 (wnnenv-get-bunsetsu-list, wnnenv-set-bunsetsu-list): Removed.
309 (wnn-start-conversion): Don't call wnnenv-set-bunsetsu-list.
310 (wnn-end-conversion): Ditto.
312 1997-08-23 NIIBE Yutaka <gniibe@mri.co.jp>
314 * convert.el (egg-change-bunsetsu-length): Change the interface.
315 (egg-shrink-bunsetsu,egg-enlarge-bunsetsu): Follow it.
317 (egg-source-maxlen-from-here): Removed.
318 (egg-get-previous-bunsetsu): New function.
319 (egg-select-candidate, egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
320 egg-next-candidate): Use egg-get-previous-bunsetsu.
322 1997-08-20 NIIBE Yutaka <gniibe@mri.co.jp>
324 * egg.el (minor-mode-alist): Don't show " EGG" in mode line.
325 (egg-mode): Use input method indicator instead.
327 1997-07-20 NIIBE Yutaka <gniibe@mri.co.jp>
329 * convert.el (egg-next-candidate): Rename from egg-next-conversion.
330 (egg-previous-candidate): Rename from egg-previous-conversion.
331 (egg-select-candidate): Follow the change of new interface.
332 (egg-source-maxlen-from-here): Likewise.
334 1997-07-19 NIIBE Yutaka <gniibe@mri.co.jp>
336 * wnn.el (wnn-start-conversion): Change the interface. Return ENV
337 and the list of bunsetsu. Fix the documentation string too.
338 * convert.el (egg-convert-region): Follow the change.
339 (egg-insert-converted-result): Change the argument.
340 (egg-insert-bunsetsu-list): Rename from egg-insert-converted-result.
341 (egg-insert-bunsetsu): New function.
342 (egg-get-number-of-bunsetsu,egg-get-bunsetsu-info): Removed.
343 (egg-backward-bunsetsu): Don't use bunsetsu-pos.
345 * wnn.el (wnn-get-bunsetsu-converted): Change the interface. Take
346 BUNSETSU as the argument instead of ENV and POS.
347 * convert.el (egg-get-bunsetsu-converted): Follow the change.
349 * wnn.el (wnn-bunsetsu-create): Take ENV as the first argument.
350 (wnn-list-candidates): Dont take ENV.
351 (wnn-bunsetsu-get-env): New substitution.
353 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub): Take the argument
354 for ENV, and use it for the argument of wnn-bunsetsu-create.
355 (wnnrpc-receive-sho-bunsetsu-list): Take ENV as the first argument.
356 (wnnrpc-renbunsetsu-conversion): Follow the change.
358 1997-07-17 NIIBE Yutaka <gniibe@mri.co.jp>
360 * convert.el (egg-decide-candidate): Change the interface.
361 Take the argument bunsetsu-info instead of conversion-engine.
363 * wnn.el (wnn-get-candidate): Deleted.
365 * convert.el (egg-get-all-candidates): Change the interface.
366 Take an argument bunsetsu-info instead of conversion-engine.
367 (egg-select-candidate): Follow the change.
369 * convert.el (egg-set-bunsetsu-pos,egg-get-bunsetsu-pos): Deleted.
370 (egg-list-candidates,egg-get-current-candidate-number): New stub.
371 * wnn.el (wnn-bunsetsu-create): Add new member zenkouho-pos.
372 (wnn-bunsetsu-get-zenkouho-pos,wnn-bunsetsu-set-zenkouho-pos): New
374 (wnn-list-candidates,wnn-get-current-candidate-number): New functions.
375 (wnn-set-bunsetsu-pos,wnn-get-bunsetsu-pos): Deleted.
377 * convert.el (egg-get-number-of-candidates): Change the interface.
378 Take an argument bunsetsu-info instead of conversion-engine.
379 (egg-next-conversion,egg-select-candidate): Follow the change.
380 * wnn.el (wnn-get-number-of-candidates): Follow the change.
382 * wnn.el (wnn-get-bunsetsu-source-afterwards): New function.
383 (wnn-change-bunsetsu-length): Use it.
385 * convert.el (egg-get-bunsetsu-source): Change the interface.
386 Take an argument bunsetsu-info instead of conversion-engine.
387 (egg-enlarge-bunsetsu,egg-shrink-bunsetsu,egg-source-maxlen-from-here):
389 * wnn.el (wnn-get-bunsetsu-source): Follow the change.
391 Put bunsetsu information on text property.
392 * wnn.el (wnn-get-bunsetsu-info): New function.
394 * convert.el (egg-insert-converted-result): Put it on text property.
395 (egg-conversion-backend): Add new interface
396 wnn-get-bunsetsu-info.
397 (egg-get-bunsetsu-info): New stub.
399 1997-07-17 KATAYAMA Yoshio <kate@pfu.co.jp>
401 * its.el (its-state-machine-keyseq, its-state-machine): Handle
402 end-of-input correctly when going backward.
404 1997-07-16 NIIBE Yutaka <gniibe@mri.co.jp>
406 * wnn.el (wnn-create-directory): Bug fix. Really make directory.
408 1997-07-15 NIIBE Yutaka <gniibe@mri.co.jp>
410 * its-hangul.el (its-define-hangul): Use its-defrule-otherwise.
412 1997-07-15 KATAYAMA Yoshio <kate@pfu.co.jp>
414 * its-hangul.el: Updated.
416 1997-06-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
418 * its-hira.el: its-hira-hankaku-escape --> its-hankaku-escape.
419 its-hira-zenkaku-escape --> its-zenkaku-escape.
421 1997-06-14 NIIBE Yutaka <gniibe@mri.co.jp>
423 * its.el: Change the data structure of <expr-output-back-list> so
424 that it can encourage sharing same structure and it can use same
426 (its-ins/del-SYL-batch): Follow the change of data structure.
427 (its-define-otherwise): Change the argument.
428 (its-defrule-otherwise): New function.
429 (its-eob-keyexpr, its-eob-back, its-make-class+back,
430 its-make-otherwise): New substitutions.
432 1997-06-13 NIIBE Yutaka <gniibe@mri.co.jp>
434 * its-kana.el: New file. Taken from its/kanainput.el of Mule-2.3.
436 * its-hira.el: Use `define-its-state-machine'.
438 * its.el (its-zenkaku-escape, its-hankaku-escape): Make them
440 (define-its-state-machine, define-its-state-machine-append): New
443 1997-06-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
445 * its-hira.el ("n'"): Added.
447 1997-06-12 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
449 its-zenkaku-escape and its-hankaku-escape are also used in hangul.
450 * its.el (its-zenkaku-escape, its-hankaku-escape): Moved to here
452 * its-hira.el (its-hira-hankaku-escape, its-hira-zenkaku-escape):
455 * its.el (its-read-current-its-string): Removed. There's the
456 function `read-multilingual-string' already.
458 1997-06-12 KATAYAMA Yoshio <kate@pfu.co.jp>
460 * its-hangul.el: New file.
462 1997-06-10 NIIBE Yutaka <gniibe@mri.co.jp>
464 Miscellaneous cosmetic changes.
465 * comm.el: New file. Move communication related funcitons from
467 (comm-format-u32c, and others): Rename from wnnrpc-*.
468 * wnnrpc.el (Throughout): Follow the rename.
470 * wnn.el (wnnenv-get-in-use-flag): Rename from wnn-e-get-in-use.
471 (wnnenv-set-in-use-flag): Rename from wnn-e-set-in-use.
472 (Others): Rename from wnn-e-*.
473 (wnn-bunsetsu-*): Rename from wnnrpc-b-*, and moved from wnnrpc.el.
475 * convert.el (egg-exit-conversion): Call egg-do-auto-fill.
477 * its.el (its-translate-region): Bug fix. End of input.
478 (its-state-machine): Bug fix. Generate error if
479 its-barf-on-invalid-keyseq.
480 (its-exit-mode-internal): Call egg-do-auto-fill.
482 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for ASCII.
484 * mlh.el (mlh-space-bar-backward-henkan): Call egg-do-auto-fill.
486 * egg.el: Comment out definition of C-\ in global-map.
488 1997-06-09 NIIBE Yutaka <gniibe@mri.co.jp>
490 * its.el (its-kick-convert-region): Rename from its-convert-region.
491 (its-mode-map): Follow the change.
493 (its-make-next-state): Use list instead of cons.
495 (its-get-kst/t): Make it substitution.
496 (its-set-kst, its-get-keyseq, its-set-keyseq, its-kst-p,
497 its-get-output, its-set-output, its-get-keyseq-syl): Likewise.
498 (its-new-state, its-new-map, its-get-indicator, its-set-indicator,
499 its-get-start-state, its-reset-start-state): Likewise.
501 (its-get-next-state): Use assq instead of assoc.
503 (its-goto-state): Tune up.
505 1997-06-08 NIIBE Yutaka <gniibe@mri.co.jp>
507 * mlh.el: Merge mlh-nihongo.el.
508 * mlh-nihongo.el: Removed.
510 * its-hira.el: Moved from its/hira.el. Move comments to HISTORY.
511 (its-hira-enable-double-n, its-hira-period, its-hira-comma,
512 its-hira-open-bracket, its-hira-close-bracket,
513 its-hira-horizontal): New variables.
514 Use the variables to define the state-machine.
516 Implement non-interactive translation in ITS.
517 * its.el (its-translate-region): New function.
518 (its-latest-SYL): New Variable.
519 (its-state-machine-keyseq): Use it.
520 (its-update-latest-SYL): New function.
521 (its-buffer-ins/del-SYL): Use it.
522 (its-translation-result): New variable.
523 (its-ins/del-SYL-batch): New function.
524 (its-enable-double-n-syntax, its-use-kuten-for-period,
525 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
528 Use ITS, delete mlh's own implementation of automata.
529 * mlh.el (mlh-start-state, mlh-set-of-chars, mlh-start-state-sym,
530 mlh-set-of-chars-sym, mlh-define-automata, mlh-end-of-definition,
531 mlh-defrule, mlh-next-state, mlh-roma-kana-backward): Removed.
532 (mlh-cause-error-when-unknown-romaji-sequence): Removed.
534 (mlh-white-space, mlh-zenkaku-white): Use string-to-int.
535 * mlh-nihongo.el (mlh-hira-start-state, mlh-hira-chars, and all
536 rules of definition which defines the automaton): Removed.
537 (mlh-kanji-with-henkan-region-function): Use its-translate-region.
538 (mlh-hiragana, mlh-katakana): Likewise.
541 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for jisx0212.
544 Speed up of unpacking.
545 * wnnrpc.el (wnnrpc-following-char-or-wait): Tune up.
546 (wnnrpc-following+forward-char): New function.
547 (wnnrpc-unpack-u32c, wnnrpc-unpack-u32, wnnrpc-unpack-u16,
548 wnnrpc-unpack-u8): Use it.
549 (wnnrpc-accept-process-output): New function.
550 (wnnrpc-unpack-u16-string, wnnrpc-unpack-u8-string,
551 wnnrpc-unpack-bytes): Use it. Use search-forward.
552 (wnnrpc-unpack-u16-string): Use decode-coding-region.
554 1997-06-07 NIIBE Yutaka <gniibe@mri.co.jp>
556 * wnn.el (wnn-get-all-candidates): New function.
557 (wnn-set-bunsetsu-pos): Return 0 (instead of -1).
559 * convert.el (egg-get-candidate): Removed.
560 (egg-get-all-candidates): New entry function.
561 (egg-conversion-backend): Entry for egg-get-all-candidates.
562 (egg-select-candidate): New function.
563 (egg-conversion-map): Bind "\M-s" and egg-select-candidate.
565 1997-06-05 NIIBE Yutaka <gniibe@mri.co.jp>
567 * bushu.el: Renamed from busyu.el.
568 (bushu-break-string, etc): Renamed from busyu*.
570 * menu.el: Completely rewritten.
572 1997-06-03 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
574 * its.el (its-reset-start-state): Bug fix. Delete a CDR.
576 Implement "class of key" transition.
577 Change the structure of <state>, the last member is
578 <key-state-table/terminal> instead of <key-state-alist/terminal>.
579 * its.el (its-kst-p): Rename from its-ksa-p.
580 (its-get-next-state): Follow the change of the data structure.
581 (its-state-machine): Likewise.
582 (its-make-next-state): Likewise.
583 (its-set-kst): New function.
584 (its-get-otherwise): New function.
585 (its-otherwise-match): New function.
586 (its-define-otherwise-terminate-here): Removed.
587 (its-define-otherwise): New function.
588 (its-defrule*): Use its-define-otherwise.
590 * its/hira.el (n): Use its-define-otherwise.
592 1997-06-02 NIIBE Yutaka <gniibe@mri.co.jp>
594 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub,
595 wnnrpc-receive-sho-bunsetsu-list-sub-2): Splited from
596 wnnrpc-receive-sho-bunsetsu-list.
597 (wnnrpc-receive-dai-bunsetsu-list): New function.
598 (wnnrpc-daibunsetsu-conversion, wnnrpc-get-daibunsetsu-candidate):
601 1997-06-01 NIIBE Yutaka <gniibe@mri.co.jp>
603 * wnnrpc.el (ccl-decode-fixed-euc-jp): Clean it up.
604 (wnnrpc-file-attribute): Rename from wnnrpc-stat-file.
605 (wnnrpc-get-dictionary-list-with-environment): Rename from
606 wnnrpc-get-dictionary-list-with-environment.
609 * wnnrpc.el (wnnrpc-who, wnnrpc-get-env-list, wnnrpc-kill,
610 wnnrpc-delete-dictionary, wnnrpc-set-flag-on-dictionary,
611 wnnrpc-get-dictionary-list, wnnrpc-delete-word,
612 wnnrpc-receive-word, wnnrpc-search-word,
613 wnnrpc-search-word-in-dictionary, wnnrpc-get-word-info,
614 wnnrpc-set-comment-on-word, wnnrpc-get-dictionary-info,
615 wnnrpc-set-file-comment, wnnrpc-hinshi-name,
616 wnnrpc-set-file-password, wnnrpc-set-hinshi-table): New functions.
618 1997-05-31 NIIBE Yutaka <gniibe@mri.co.jp>
620 * wnnrpc.el (wnnrpc-format-u32c, wnnrpc-unpack-u32c): New
621 substitutions. Support 32-bit number represented in cons cell of
622 a pair of 16-bit integer.
623 (wnnrpc-format, wnnrpc-unpack): Handle u32c (U).
625 (wnnrpc-format-bytes, wnnrpc-unpack-bytes): New substitutions.
626 Support byte stream end with 255(-1).
627 (wnnrpc-format, wnnrpc-unpack): Handle bytes (B).
629 (wnnrpc-local-file-loaded): New function.
630 (wnnrpc-call-with-proc-1): New macro. Assume the buffer is the one
633 1997-05-29 NIIBE Yutaka <gniibe@mri.co.jp>
635 * wnnrpc.el (wnnrpc-get-conversion-parameters, wnnrpc-file-loaded,
636 wnnrpc-write-file, wnnrpc-get-fuzokugo-file, wnnrpc-get-file-list,
637 wnnrpc-get-file-list-with-env, wnnrpc-stat-file,
638 wnnrpc-get-file-info): New functions.
639 wnnrpc-receive-file-list): New subst.
641 1997-05-29 Kenichi Handa <handa@etl.go.jp>
643 * wnnrpc.el (ccl-decode-fixed-euc-jp): Tune it up.
645 1997-05-29 Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>
647 * wnnrpc.el (fixed-euc-jp, ccl-decode-fixed-euc-jp,
648 ccl-encode-fixed-euc): New private coding system. Encode/decode
651 1997-05-27 NIIBE Yutaka <gniibe@mri.co.jp>
653 * wnnrpc.el (wnnrpc-tanbunsetsu-conversion): Change the argument.
654 (wnnrpc-get-bunsetsu-candidates): Likewise.
655 (wnnrpc-renbunsetsu-conversion): Likewise.
657 * wnn.el (wnn-change-bunsetsu-length): Follow the change.
658 (wnn-set-bunsetsu-pos): Likewise.
659 (wnn-change-bunsetsu-length, wnn-start-conversion): Likewise.
661 1997-05-25 NIIBE Yutaka <gniibe@mri.co.jp>
663 * wnnrpc.el (wnnrpc-add-word, wnnrpc-get-dictionary-list,
664 wnnrpc-receive-dictionary-list, wnnrpc-get-writable-dictionary-list,
665 wnnrpc-get-hinshi-list, wnnrpc-hinshi-number): New functions.
666 (wnnrpc-unpack-u16-string): Bug fix for the case of ASCII string.
668 * wnn.el (wnn-dictionary-specification): Add dictionaries of
669 gerodic and ones of WNN consortium.
671 Implement a false path.
672 * wnnrpc.el (wnnrpc-renbunsetsu-conversion): Generate an error on
674 (wnnrpc-get-bunsetsu-candidates): Ditto.
675 (wnnrpc-tanbunsetsu-conversion): Ditto.
677 Implement a false path. Error recovery.
678 * wnn.el (wnn-create-directory, wnn-open-dictionary,
679 wnn-open-frequency, wnn-query-del/create-frequency): New function.
680 (wnn-set-dictionary-sub): New function.
682 1997-05-24 NIIBE Yutaka <gniibe@mri.co.jp>
684 * wnnrpc.el (wnnrpc-version, wnnrpc-access, wnnrpc-mkdir,
685 wnnrpc-create-dictionary, wnnrpc-create-frequency,
686 wnnrpc-discard-file, wnnrpc-remove-file): New functions.
687 (wnnrpc-test-result-and-get-error): New subst.
689 Implement a false path from wnnrpc-set-fuzokugo-file.
690 * wnnrpc.el (wnnrpc-set-fuzokugo-file): Return negate-encoded
691 error code on failure.
692 * wnn.el (wnn-create-environment): Generate an error message.
694 Implement a false path from wnnrpc-open-file.
695 * wnnrpc.el (wnnrpc-open-file): Change the interface. Return
696 negate-encoded error code on failure.
697 * wnn.el (wnn-open-file): New function.
698 (wnn-create-environment): Handle return value, and generate
699 an error message for wnnrpc-set-fuzokugo-file on failure.
700 (wnn-set-dictionary): Handle return value.
702 1997-05-17 NIIBE Yutaka <gniibe@mri.co.jp>
704 * wnnrpc.el (wnnrpc-error-message): Error strings taken from
705 Wnn-4.2 distribution.
706 (wnnrpc-errono): Removed.
708 Implement a false path from wnnrpc-open.
709 * wnnrpc.el (wnnrpc-open): Change the interface. Return NIL on
710 success, error code on failure.
711 * wnn.el (wnn-open): Delete process and buffer.
712 Generate an error on failure.
713 (wnn-get-environment): Follow the change (none).
714 (wnn-start-conversion): Follow the change (none).
715 * convert.el (egg-convert-region): Follow the change. Call
716 delete-region after egg-start-conversion.
718 Implement a false path from wnnrpc-connect.
719 * wnnrpc.el (wnnrpc-connect): Change the interface. Return
720 negate-encoded error code on failure.
721 * wnn.el (wnn-create-environment): Generate an error on failure.
722 (wnn-get-environment): Follow the change. On failure, don't
723 register the environment to wnn-environments.
725 1997-05-16 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
727 Dynamically allocate environment arbitrarily.
728 * wnn.el (wnn-create-environment): Change the structure of ENV.
729 (wnn-e-get-in-use, wnn-e-set-in-use): New subst.
730 (wnn-end-conversion): Call wnn-e-set-in-use.
731 (wnn-get-environment, wnn-find-env-not-in-use): New function.
732 (wnn-start-conversion): Call wnn-get-environment.
734 * wnn.el (wnn-fini): Implemented.
736 1997-05-15 NIIBE Yutaka <gniibe@mri.co.jp>
738 * convert.el (egg-start-conversion): Change the interface.
739 (egg-convert-region): Follow the change.
740 (egg-open-if-not): Removed.
741 * wnn.el (wnn-start-conversion): Follow the change.
743 * wnn.el (wnn-environment-list): Removed.
744 (wnn-environment-serial): Removed.
745 (wnn-connect-and-init): Removed.
746 (wnn-environments): New variable which holds all environments.
748 1997-05-15 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
750 * wnn.el (wnn-change-bunsetsu-length): Bug fix. Last argument to
751 wnnrpc-b-set-freq-down is list of bunsetsu.
753 * mlh.el (mlh-do-spacing): Emacs 20 related changes.
754 Use category-set-mnemonics, and char-category-set.
755 According to suggestion by Kenichi Handa <handa@etl.go.jp>.
757 1997-05-15 MORIOKA Tomohiko <morioka@jaist.ac.jp>
759 * wnn.el (wnn-usr-dic-dir): New variable.
760 (wnn-filename): Use wnn-usr-dic-dir.
762 * its.el (its-defrule): New argument `enable-overwrite'.
764 1997-05-14 NIIBE Yutaka <gniibe@mri.co.jp>
766 * convert.el (egg-exit-conversion-unread-char): Use newer variable
767 unread-command-events, as unread-command-char is obsolete.
768 (egg-shrink-bunsetsu, egg-source-maxlen-from-here,
769 egg-enlarge-bunsetsu, egg-next-conversion, egg-exit-conversion,
770 egg-exit-conversion, egg-insert-converted-result): New property
771 EGG-CONVERSION-ENGINE, which specifis backend.
773 (egg-start-conversion, egg-get-number-of-bunsetsu,
774 egg-get-bunsetsu-converted, egg-set-bunsetsu-pos,
775 egg-get-bunsetsu-pos, egg-get-number-of-candidates,
776 egg-get-candidate, egg-decide-candidate,
777 egg-change-bunsetsu-length, egg-get-bunsetsu-source,
778 egg-end-conversion): Change the interface, new argument c.
779 * wnn.el (wnn-start-conversion, wnn-get-number-of-bunsetsu,
780 wnn-get-bunsetsu-converted, wnn-set-bunsetsu-pos,
781 wnn-get-bunsetsu-pos, wnn-get-number-of-candidates,
782 wnn-get-candidate, wnn-decide-candidate,
783 wnn-change-bunsetsu-length, wnn-get-bunsetsu-source,
784 wnn-end-conversion): Likewise.
786 * convert.el (egg-open-if-not): Change the interface. Return
789 * wnnrpc.el (wnnrpc-following-char-or-wait, wnnrpc-unpack-u32,
790 wnnrpc-unpack-u16, wnnrpc-unpack-u8, wnnrpc-unpack-u16-string,
791 wnnrpc-unpack-u8-string): Change the interface to avoid
792 compilation warnings.
793 (wnnrpc-unpack): Use new interface.
795 * wnn.el (wnn-open): Change the name of WNN buffer as debug has
798 1997-05-11 NIIBE Yutaka <gniibe@mri.co.jp>
800 * wnnrpc.el (wnnrpc-following-char-or-wait): Rename from
801 wnn-following-char-or-wait.
802 (wnnrpc-following-char-or-wait): Declare with DEFUN instead of
805 1997-05-10 NIIBE Yutaka <gniibe@mri.co.jp>
807 * Throughout: Use JUNET coding system for file format.
809 * mlh.el: Move some comments to HISTORY.
810 (mlh-version): Removed.
811 Remove all autoload entries.
812 (henkan-region-function): Removed.
813 (member): Don't need any more.
815 * mlh-nihongo.el: Renamed from nihongo.el.
817 * mlh.el (mlh-space-bar-backward-henkan): call egg-convert-region
819 (mlh-space-bar-backward-henkan): Fix for Emacs 20.
820 Don't call egg:do-auto-fill.
821 (mlh-backward-henkan): Use set-marker-insertion-type.
822 (mlh-do-spacing): Char-category.
824 * mlh.el, nihongo.el: Taken from mlh-1.002 distribution.
826 1997-05-07 NIIBE Yutaka <gniibe@mri.co.jp>
828 * convert.el (egg-update-frequency): Removed.
829 (egg-conversion-backend): Remove entry for update-frequency.
831 * wnn.el (wnn-dictionary-specification): Change parameters
832 according to suggestion by Tomoko Yoshida in mule-jp@etl.go.jp.
833 Original had been taken from wnn-4.2.
835 1997-05-06 NIIBE Yutaka <gniibe@mri.co.jp>
837 * convert.el (egg-next-conversion): Bug fix. It's max+ instead of n.
839 1997-05-05 NIIBE Yutaka <gniibe@mri.co.jp>
841 * wnnfns.c (Fwnn_get_bunsetsu_converted): Rename from
842 get-converted-bunsetsu.
843 (Fwnn_get_bunsetsu_source): Ditto.
844 * convert.el (egg-get-bunsetsu-converted): Ditto.
845 (egg-get-bunsetsu-source): Ditto.
847 * wnn.el (wnn-create-environment): New file which mimics API of
850 1997-04-29 NIIBE Yutaka <gniibe@mri.co.jp>
852 * wnnrpc.el: New file which implements Remote Procedure Calls of WNN.
854 1997-04-16 NIIBE Yutaka <gniibe@mri.co.jp>
856 * its/kanainput.el (normal-pair): Use its-defrule*.
858 * its.el (its-defrule*): Rewritten.
860 * its/hira.el ("n"): Alternative implementation using 'otherwise'.
862 * its.el (its-processing-map): Removed.
863 (its-register-map): Rename from its-set-map.
864 (its-register-map): Remove first argumet NAME.
865 (its-defrule): Remove last optional argument END.
866 (its-define-otherwise-terminate-here): New function.
867 (its-goto-state): New function.
868 (its-defrule, its-defoutput): Use its-goto-state.
870 1997-04-12 NIIBE Yutaka <gniibe@mri.co.jp>
872 * its.el: Enhance meaning of ITS state machine. Now, <key>
873 includes representation of "ANY of key stroke" (-2).
874 (its-defrule): New feature end=='otherwise.
875 (its-defrule*): New function.
876 (its-state-machine): Implement otherwise-terminate-before-this-key.
878 * its/kanainput.el (its-k-zenkaku-escape, its-k-hankaku-escape,
879 its-k-symbols-escape): Add prefix its-. Let them defconst.
880 "W": Move the definition beginning to avoid error.
882 1997-03-26 NIIBE Yutaka <gniibe@mri.co.jp>
884 * convert.el (egg-next-conversion): -1 goes to end of bunsetsu.
886 1997-03-25 NIIBE Yutaka <gniibe@mri.co.jp>
888 * egg.el (egg-mode-on, egg-input-mode, egg-in-fence-mode): Deleted.
889 (egg-fence-face-on, egg-fence-face-off): Deleted.
890 (egg-region-start, egg-region-end): Deleted.
892 1997-03-24 NIIBE Yutaka <gniibe@mri.co.jp>
894 * its/hira.el ("n"): Add "z" and "?" for prefetch char of "n".
896 Implement conversion mode.
897 * convert.el: New file.
899 1997-03-23 NIIBE Yutaka <gniibe@mri.co.jp>
901 * its.el (its-mode-map): As "\C-g" is used in global-map, use
902 "\C-]" instead (for its-cancel-input).
904 1997-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
906 Introduce new scheme to specify server.
907 * wnnfns.c (Qjserver, Qcserver, Qtserver, Qkserver): Removed.
908 (Vwnn_server_type): Integer variable.
909 (wnn_get_server_type): Renamed from wnn_check_server_type.
910 (charset_wnn_server_type): Renamed from lc_wnn_server_type.
912 Introduce new scheme to specify uniqueness.
913 * wnnfns.c (Qwnn_no_uniq, Qwnn_uniq, Qwnn_uniq_kanji): Removed.
914 (Vwnn_uniqueness_specifier): Integer variable. Renamed from
917 1997-03-21 NIIBE Yutaka <gniibe@mri.co.jp>
920 * wnnfnc.c (Throughout): Change Lisp function name to follow the
921 format of wnn-VERB-OBJECT.
922 Use XFASTINT instead of XINT, if appropriate.
924 * wnnfns.c (Fwnn_fuzokugo_set): Merged with wnn-set-fuzokugo of
927 * wnn-egg.el (wnn-set-fuzokugo): Deleted.
929 * wnnfns.c (Fwnn_dict_add): Merged with wnn-add-dict of wnn-egg.el.
930 * wnn-egg.el (wnn-add-dict): Deleted.
932 * wnn-egg-msg.el (wnn-msg-get): Renamed from egg-msg-get.
933 (wnn-message-alist): Renamed from egg-message-alist.
936 * wnnfns.c (wnn_check_server_type): Renemed from
937 check_wnn_server_type.
939 * wnn-egg-msg.el (egg-error): Deleted. Not useful enough.
940 * wnn-egg.el (Throughout): Replace egg-error by error.
942 * egg.el (egg-sai-henkan-start, egg-sai-henkan-end,
943 egg-old-bunsetu-suu): Moved from wnn-egg.el.
945 * wnn-egg.el (Throughout): Change variable name and function name.
946 Added wnn- prefix, egg- prefix.
947 * wnn-egg.el: Delete historical defaliases. Only support
948 wnn-set-[cjk]server-hostname.
950 * wnn6.el: New file. Discriminate Wnn6 related functions.
951 * eggrc-wnn6: New file. Discriminate Wnn6 related setting.
953 * egg-fence.el: Removed.
955 1997-03-20 NIIBE Yutaka <gniibe@mri.co.jp>
957 Distingush continuation of egg-mode and turn off of egg-mode.
958 * its.el (its-mode-map): Bind "\C-\\" to its-exit-mode-no-egg.
959 (its-exit-mode-internal): New argument egg-mode-flag.
960 (its-exit-mode-no-egg): New Function.
962 Rethink about keymap. Once, the intention of egg-mode-map has
963 been to override ALL of the keymap. That's so selfish, and not
964 friendly to other parts of Emacs. This implementation intend to
965 be more friendly with other keymaps.
966 * its.el (its-mode-map): Remove definition of "\C-c" for
967 its-cancel-input, as C-c has special meaning in Emacs. We should
969 Remove definition of "\C-q" for its-select-previous-map.
970 Remove definition of "\C-_" for egg-jis-code-input.
971 Remove definition of "\C-w", "\C-@", [?\C-\ ] for
972 egg-henkan-fence-region.
974 Implement START/CURSOR/END scheme.
975 * its.el (its-input-to-vsyl): New function.
976 (its-beginning-of-input-buffer): New function.
977 (its-end-of-input-buffer): New function.
978 (its-backward-SYL): New function.
979 (its-forward-SYL): New function.
980 (its-delete-SYL): New function.
981 (its-delete-backward-SYL): New function.
982 (its-delete-backward-SYL-internal): New function.
983 (its-delete-backward-within-SYL): New function.
984 (its-delete-by-keystroke): New Variable.
985 (its-exit-mode): New function.
986 (its-exit-mode-internal): New function.
988 * its.el (its-standard-map-list, its-find, its-next-map,
989 its-previous-map): Deleted.
990 (its-get-indicator): Delete duplicated definition. Leave one which
991 takes <map> argument.
992 (its-input): Rename from its-input-subsubsub.
994 * egg.el (egg-mode-map): Don't include SPACE.
997 * its.el (its-state-machine): Add new argument EMIT. Return CURSOR.
998 (its-state-machine-keyseq): Likewise.
999 (its-input-subsubsub): Return CURSOR.
1000 (its-input-subsub): Deleted.
1001 (its-DSYL-p): Deleted.
1002 (its-buffer-insert-SYL-list): Deleted.
1003 (its-buffer-ins/del-SYL): New function.
1004 (its-input-end): Change the argument to P of point, and return VOID.
1006 Change structure of <map>. <start-state> is normal <state>.
1007 (its-new-map): Follow the change of structure.
1008 (its-get-indicator, its-set-indicator, its-reset-start-state):
1010 (its-reset-start-state): Renamed from its-reset-start.
1012 Don't use <input-buffer>, but introduce new scheme of SYL property.
1013 (its-change-t-to-nil, its-nil-index, its-bytes-between,
1014 its-delete-between, its-move-nil--->, its-move-nil-<--,
1015 its-move-nil-<--sub, its-move-nil-to-last, its-move-nil-to-first):
1018 1997-03-19 NIIBE Yutaka <gniibe@mri.co.jp>
1020 * its.el: Change the structure of DSYL. Same as <state>.
1021 (its-input-subsub): Follow the change of structure.
1022 (its-make-DSYL): Deleted.
1023 (its-get-keyseq-cooked): New function.
1025 Swap the meaning of T/NIL of <SYL>.
1027 Delete the structure of <input-buffer>.
1028 (its-new-input-buffer): Deleted.
1029 (its-input-subsub): Remove the argument SYLP.
1030 (its-input, its-input-sub, its-init-text-properties): Deleted.
1032 Introduce START, END and CURSOR.
1034 1997-03-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1036 Global-map should be used, for key sequence not defined by
1037 its-mode-map and/or egg-mode-map. Don't mask other maps.
1038 * its.el (its-mode-esc-map): Deleted.
1039 (its-mode-map): Include define-key of the esc-map here.
1040 * egg.el (egg-mode-esc-map): Deleted.
1041 (egg-mode-map): Include define-key of the esc-map here.
1043 1997-03-18 NIIBE Yutaka <gniibe@mri.co.jp>
1045 * its.el (its-input): Rename from its-input-input-buffer.
1046 (its-state-machine): Handle END of input (key == -1).
1048 ITS minor mode deleted. It's implemented by local-map of text
1050 (its-mode): Remove the variable.
1051 (its-mode): Remove the function.
1053 * its.el (<input-buffer>): Change the order of <SYL> list.
1054 (car sylp) is last entry of the list.
1055 (its-input-buffer): Deleted. It's now a member of text
1057 (<map>): Change the structure. Start state should have "" for keyseq.
1058 (its-get-start-state): Follow chage of the <map> structure.
1059 (its-reset-start, its-set-indicator, its-get-indicator): Likewise.
1060 (its-new-state, its-new-map): Split from its-new-state/map.
1061 (its-make-map): Deleted.
1063 1997-03-17 NIIBE Yutaka <gniibe@mri.co.jp>
1065 * its.el (its-buffer-insert-SYL-list): Use insert-and-inherit to
1067 (its-fence-overlay): Removed. Don't use overlay, as it has no
1068 information in undo-list.
1070 1997-03-16 NIIBE Yutaka <gniibe@mri.co.jp>
1072 * its/hira.el ("n"): Use new feature END.
1073 ("ppy", "bby", "ddy", "jjy", "zzy", "ggy", "lly", "rry", "hhy",
1074 "cch", "tts", "tty", "ssh", "ssy", "kky"): its-defoutput.
1076 * its.el (its-defrule): Add argument END.
1077 (its-buffer-delete-SYL): Bug fix. Use length instead of string-width.
1079 1997-03-15 NIIBE Yutaka <gniibe@mri.co.jp>
1081 * its.el (its-input-input-buffer): Implement the case of DSYL.
1083 1997-03-14 NIIBE Yutaka <gniibe@mri.co.jp>
1085 * its.el (its-buffer-delete-SYL): Handle the case of NIL.
1087 * its/hira.el: Implement "kka" and others. Implemlement "N".
1088 (digit-characters, symbol-characters, downcase-alphabets,
1089 upcase-alphabets): Delete useless defvar-s.
1091 1997-03-14 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1093 * its/hira.el ("roma-kana"): Follow change of implementation of
1096 Correct the abuse of the word "MODE". It seems that it's direct
1097 influence of "mode" in Emacs, but it's not mode at all.
1098 * its.el (its-map-alist): Renamed from its-mode-alist.
1099 (its-get-map): Renamed from its-get-mode-map.
1100 (its-set-map): Renamed from its-set-mode-map.
1101 (its-define-state-machine): Renamed from its-define-mode.
1102 (its-select-map-menu): Renamed from its-select-mode-menu.
1103 (its-select-map-from-menu): Renamed from its-select-mode-from-menu.
1104 (its-standard-map-list): Renamed from its-standard-modes.
1105 (its-next-map): Renamed from its-next-mode.
1106 (its-previous-map): Renamed from its-previous-mode.
1107 (its-select-map): Renamed from its-select-mode.
1108 (its-get-indicator): Renamed from its-get-mode-indicator.
1110 (its-select-map-from-menu): As it's not mode, don't need offer hooks.
1111 (its-next-map): Likewise.
1112 (its-previous-map): Likewise.
1113 (its-select-map): Likewise.
1115 Change the implementation of its-mode-alist. Name is in <map> now.
1116 * its.el (its-get-mode-map): Just do assoc.
1117 (its-set-mode-map): Simplified.
1119 * its.el (its-get-indicator): Renamed from its-map-indicator.
1120 (its-set-indicator): Renamed from its-map-set-indicator.
1121 (its-get-start-state): Renamed from its-map-start.
1122 (its-new-state): Change the argunents.
1123 (its-map-set-start): Removed.
1124 (its-reset-start): New function.
1126 Remove old implemantation of translator.
1127 * its.el (its-resize, its-maps, its-actions, its-inputs,
1128 its-level, its-maxlevel, its-char-from-buff, its-interactive):
1130 (its-make-action, its-reset-maps, its-current-map,
1131 its-previous-map, its-level, its-enter-newlevel, its-reset-input,
1132 its-flush-input-before-point, its-peek-char, its-read-char):
1134 (its-push-char, its-ordinal-charp, its-delete-charp): Removed.
1135 (its-translate-region): Removed.
1136 (its-buff-s, its-buff-e): Removed.
1137 (its-state-terminalp): Removed.
1139 Remove selection of candidates in map, it's questionable to
1140 implement this feature with SYL. Might rethink in future.
1141 (its-make-menu-from-map-result, its-make-alist-from-map-result):
1143 (its-make-menu-from-map, its-make-menu-from-map*): Removed.
1144 (its-make-alist-from-map, its-make-alist-from-map*): Removed.
1145 (its-completing-read): Removed.
1146 (its-minibuffer-local-must-match-map,
1147 its-minibuffer-local-completion-map): Removed.
1148 (its-minibuffer-completion-help, car-string-lessp,
1149 its-temp-echo-area-contents): Removed.
1151 Implement SYL-based state machine.
1152 * its.el (its-input-buffer, its-barf-on-invalid-keyseq): New variables.
1153 (its-new-input-buffer): New function.
1154 (its-self-insert-char): New command.
1155 (its-initial-ISYL, its-make-DSYL, its-make-VSYL,
1156 its-input-input-buffer, its-input-input-buffer-sub,
1157 its-state-machine, its-state-machine-keyseq,
1158 its-buffer-delete-SYL, its-buffer-insert-SYL-list,
1159 its-get-next-state, its-get-ksa/b, its-get-keyseq, its-ksa-p,
1160 its-get-output): New function.
1161 (its-get-KAS): Removed.
1162 (its-get-state, its-get-action, its-set-action): Removed.
1163 (its-make-KAS, its-get-KAS): Removed.
1165 * its.el (its-defrule-sub): Merged into its-defrule.
1167 1997-03-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1169 * its.el: (its-define-mode): Change the arguments.
1170 * its/zhuyin.el ("zhuyin"): Follow the changes of its-define-mode.
1171 * its/zenkaku.el ("zenkaku-downcase"): Likewise.
1172 * its/pinyin.el ("PinYin"): Likewise.
1173 * its/kata.el ("roma-kata"): Likewise.
1174 * its/kanainput.el ("kanainput"): Likewise.
1175 * its/hira.el ("roma-kana"): Likewise.
1176 * its/hankaku.el ("downcase"): Likewise.
1177 * its/hangul.el ("hangul"): Likewise.
1178 * its/han-kata.el ("roma-han-kata"): Likewise.
1180 * its.el (its-action-output, its-action-next, its-get-next-map,
1181 its-set-next-map): Removed.
1182 (its-make-next-state): New function.
1183 (its-make-state): Removed.
1185 * its.el (its-defrule-sub): Renamed from `its-defrule**'.
1187 * wnnfns.h: New file. Macros for WNN6 are defined here.
1188 * wnn6fns.c: New file. Moved from wnnfns.c for WNN6 specific
1191 1997-03-12 NIIBE Yutaka <gniibe@mri.co.jp>
1193 * wnnfns.c: cosmetic changes (indentation, commenting-out-style,
1194 and compare to Qnil, etc).
1195 Get rid of "register" qualifier.
1197 1997-03-05 NIIBE Yutaka <gniibe@mri.co.jp>
1199 * its.el (its-define-mode): Change internal structure. Completely
1201 (its-make-map): Function to make map.
1202 (its-make-state): New function. Make new state.
1203 (its-make-KAS): New function. Make Key-Action-State triad.
1204 (its-state-terminalp): New function. True when the state is
1206 (its-map-indicator, its-map-set-indicator,): Changed.
1207 (its-map-terminalp, its-map-incrementalp,
1208 its-map-set-incrementalp, its-map-alist, its-map-set-alist,
1209 its-map-action, its-map-set-action): Removed.
1211 (its-defrule-verbose): Deleted. Seems debug purpose variable.
1213 (its-make-map): Removed <state>. It was useless space eater.
1214 (its-map-indicator, its-map-set-indicator, its-map-alist,
1215 its-map-set-alist, its-map-action, its-map-set-action): Follow the
1217 (its-define-mode): Likewise.
1218 (its-defrule**): Change the argument. Delete STATE.
1219 (its-defrule): Likewise.
1220 (its-map-state, its-map-set-state): Removed.
1222 <topmap>: Changed the structure. Introduce <incrementalp>, which
1223 is t on hangul-map, zhuyin-map, and kanainput-map.
1224 (its-define-mode): Change the arguments. INDICATOR and RESET is
1225 always required. Add new argument INCREMENTALP.
1226 * its/kanainput.el ("kanainput"): Use new API of its-define-mode.
1227 * its/hangul.el ("hangul"): Likewise.
1228 * its/zhuyin.el ("zhuyin"): Likewise.
1229 * its.el (its-make-terminal-state-sofar): Removed.
1230 (its-default-make-terminal-state): Removed.
1231 (its-make-terminal-state): Removed
1232 (its-make-non-terminal-state): Removed. Not used.
1233 (its-map-incrementalp, its-map-set-incrementalp): New functions.
1235 1997-03-04 NIIBE Yutaka <gniibe@mri.co.jp>
1237 * its.el (its-defrule-conditional, its-defrule-conditional*):
1238 Removed. Evaluating cond clause at runtime is stupid. Rules
1239 should be determined at compile time, not at run time.
1240 (its-get-action): Simplified. It's always standard.
1241 (its-make-terminal-state-sofar): Likewise.
1242 (its-make-action): Renamed from its-make-standard-action.
1243 (its-standard-actionp): Removed. No use.
1244 (its-translate-region): Simplified.
1246 (its-map-topmap-p): Removed. No use.
1248 (its-simple-actionp, its-collect-simple-action): Removed. No use.
1250 (its-insert-output-string, its-display-status-string): Removed.
1251 It seemd these variables is to debug ITS itself.
1252 (its-translate-region): Simplified.
1254 * its/hira.el (".", ",", "n", "nn"): Rules should be determined at
1256 * its/han-kata.el: Likewise.
1257 * its/kata.el: Likewise.
1259 * its.el (its-make-standard-action): Simplified.
1260 (its-make-standard-action): Remove alternative output.
1261 (its-standard-actionp): Simplified.
1262 (its-action-next): Simplified.
1263 (its-select-alternative-output-menu): Removed. Not used at all.
1264 (its-select-alternative-output): Ditto.
1266 * its/han-kata.el, its/zenkaku.el, its/kata.el, its/kanainput.el,
1267 its/hira.el, its/hankaku.el: Add (require cl).
1269 * its.el (its-enable-double-n-syntax, its-use-kuten-for-period,
1270 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
1271 Declare here. Add prefix `its-'. ):
1273 (its-defrule, its-defrule*): Remove MAP argument.
1274 Merged into its-defrule.
1276 1997-03-04 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1278 * its.el (its-completing-input-menu): Removed. Not used.
1279 (its-completing-input): Ditto.
1280 (its-translate-region): Remove (null action) clause. It's identical
1283 (its-map-supers): Deleted.
1284 (its-map-set-supers): Ditto.
1285 (its-get-next-map-locally): Deleted.
1287 (its-define-mode): Remove supers.
1288 (its-make-map): Likewise.
1290 (its-simulate-input): sref -> aref. add char-bytes -> +1.
1291 (its-defrule**): Likewise.
1293 (its-flush-input-before-point): Delete useless save-excursion.
1294 (its-push-char): Likewise.
1295 (its-translate-region): Likewise.
1297 * its/zhuyin.el (its-make-terminal-state):
1298 * its/kanainput.el (its-make-terminal-state):
1299 * its/hangul.el (its-make-terminal-state):
1300 Use its-make-terminal-state-sofar.
1302 * its/kanainput.el (its-make-terminal-state-kanainput): Removed.
1304 * its.el (its-make-terminal-state-sofar): Renamed.
1305 (was: its-make-terminal-state-hangul)
1307 * its/han-kata.el (its-select-hankaku-katakana): Renamed.
1308 (was: its:select-hankaku-katakana).
1310 * its.el (its-map-topmap-p, its-map-supers, its-map-set-supers,
1311 its-map-terminalp, its-map-state, its-map-set-state,
1312 its-map-indicator, its-map-set-indicator, its-map-action,
1313 its-map-set-action, its-map-alist, its-map-set-alist,
1314 its-get-action, its-action-output, its-action-next,
1315 its-get-next-map, its-get-next-map-locally, its-set-next-map,
1316 its-collect-simple-action, its-read-current-its-string,
1317 its-make-map): Add prefix 'its-'.
1319 * its.el (its-defrule-select-mode-temporally): Deleted.
1320 (its-select-mode-temporally): Deleted.
1321 (its-select-previous-mode): Deleted.
1323 * its/hira.el ("q", "Q"): Removed.
1325 * its.el (its-defrule**): Don't call coerce-internal-string.
1326 (map-state-string): Removed.
1327 (its-default-make-standard-non-terminal-state): Don't call
1330 * egg.el (characterp, coerce-internal-string, coerce-string): Removed.
1332 * its.el (its-insert-char): Deleted.
1333 (its-internal-mode-alist): Removed.
1334 (its-set-mode-map, its-define-mode): Remove internalp.
1335 (its-set-mode-indicator): Removed.
1337 * egg-fence.el (egg-fence-self-insert-command): Add prefix 'egg-'.
1339 * its.el (fence-self-insert-command): Move to egg-fence.el.
1341 * egg-fence.el (egg-exit-fence-mode): Renamed (egg-fence-exit-mode).
1342 (egg-enter-fence-mode-and-self-insert): Deleted.
1344 * egg.el (egg-quit-egg-mode): Deleted.
1346 * egg-misc.el (egg-fence-toggle-egg-mode): Add prefix 'egg-'.
1347 (egg-fence-toggle-egg-mode): beep -> ding.
1348 (global-map): bind C-\ to egg-enter-fence-mode.
1350 1997-03-02 NIIBE Yutaka <gniibe@mri.co.jp>
1352 * egg-henkan.el: New file.
1354 Use new API (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi,
1355 egg-is-dai-bunsetu, bunsetu-suu, egg-hindo-update,
1356 egg-get-bunsetu-end).
1358 * wnn-egg.el: Move egg-henkan-* to egg-henkan.el.
1360 * wnn-egg.el (egg-startup-file-search-path): Remove current
1362 (egg-open-wnn): Renamed from EGG-open-wnn.
1363 (bunsetu-suu): New function.
1364 (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi): New function.
1365 (egg-is-dai-bunsetu): New function.
1366 (egg-hindo-update): New function.
1367 (egg-get-bunsetu-end): New function.
1369 (egg-henkan-region, egg-gyaku-henkan-region,
1370 egg-henkan-region-internal, egg-henkan-paragraph,
1371 egg-gyaku-henkan-paragraph, egg-henkan-sentence,
1372 egg-gyaku-henkan-sentence, egg-henkan-word, egg-gyaku-henkan-word,
1373 egg-henkan-insert-kouho, egg-henkan-kakutei,
1374 egg-henkan-kakutei-first-char, egg-henkan-kakutei-before-point,
1375 egg-sai-henkan, egg-henkan-goto-bunsetu,
1376 egg-henkan-forward-bunsetu, egg-henkan-backward-bunsetu,
1377 egg-henkan-first-bunsetu, egg-henkan-last-bunsetu,
1378 egg-henkan-hiragana, egg-henkan-katakana, egg-henkan-next-kouho,
1379 egg-henkan-next-kouho-dai, egg-henkan-next-kouho-sho,
1380 egg-henkan-previous-kouho, egg-henkan-previous-kouho-dai,
1381 egg-henkan-previous-kouho-sho, egg-henkan-goto-kouho,
1382 egg-henkan-bunsetu-chijime-dai, egg-henkan-bunsetu-chijime-sho,
1383 egg-henkan-bunsetu-nobasi-dai, egg-henkan-saishou-bunsetu,
1384 egg-henkan-saichou-bunsetu, egg-bunsetu-length-henko,
1385 egg-henkan-quit, egg-henkan-select-kouho,
1386 egg-henkan-select-kouho-dai, egg-henkan-select-kouho-sho,
1387 egg-henkan-word-off, egg-henkan-kakutei-and-self-insert,
1388 egg-henkan-mode-map, egg-henkan-mode-esc-prefix,
1389 egg-henkan-help-command, egg-henkan-inspect-bunsetu):
1392 (egg-henkan-mode-in-use): Deleted.
1393 (set-egg-henkan-mode-format): Deleted. Don't need.
1395 (disconnect-wnn): Let it be normal function, instead of command.
1398 (set-jserver-host-name, set-kserver-host-name,
1399 set-cserver-host-name): Use defalias.
1401 (close-wnn): Take an argument of wnn-server-type.
1402 (wnn-egg-kill-emacs-function, set-wnn-host-name,
1403 set-cwnn-host-name, set-kwnn-host-name): Likewise.
1405 * egg.el (egg-global-map-backup): Deleted.
1406 (egg-local-map-backup): Deleted.
1407 (egg-insert-after-hook): it's global variable, nod buffer-local.
1409 * egg-fence.el (egg-henkan-fence-region, egg-enter-fence-mode,
1410 egg-fence-katakana, egg-fence-hiragana, egg-fence-hankaku,
1411 egg-fence-zenkaku, egg-fence-backward-char,
1412 egg-fence-forward-char, egg-fence-beginning-of-line,
1413 egg-fence-end-of-line, egg-fence-transpose-chars,
1414 egg-fence-delete-char, egg-fence-backward-delete-char,
1415 egg-fence-kill-line, egg-fence-exit-mode, egg-fence-cancel-input,
1416 egg-fence-mode-help-command): Add Prefix `egg-'.
1418 (egg-fence-mode-map): Remove binding to eval-expression (C-z).
1420 (egg-self-insert-non-undo-count): Removed.
1421 (egg-self-insert-command): Removed.
1423 (egg-fence-backward-char, egg-fence-forward-char,
1424 egg-fence-transpose-chars, egg-fence-delete-char,
1425 egg-fence-backward-delete-char): beep -> ding.
1426 wnn-egg.el (egg-henkan-select-kouho): Likewise.
1428 1997-02-27 NIIBE Yutaka <gniibe@mri.co.jp>
1430 * wnn-egg.el (push-end, push-end-internal): Removed.
1432 * its.el (dolist): Removed. It's in CL package.
1433 (for-each, for-each*): Removed.
1435 * egg-keymap.el: Removed. I guess noone use it.
1437 * egg-jsymbol.el (*-alist): Declare by defconst.
1439 * egg-misc.el (toggle-egg-mode): Removed.
1441 * All files: Change the identifier XXX:YYYY --> XXX-YYYY,
1444 * egg-fence.el (enter-fence-mode): Use new API for marker
1445 insertion `set-marker-insertion-type'.
1446 * its.el (its-*buff-e*): Likewise.
1448 * egg-jsymbol.el: lc-jp --> (charset-id 'japanese-jisx0208)
1449 lc-jp2 --> (charset-id 'japanese-jisx0212).
1451 1997-02-26 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1453 * egg-fence.el (egg:fence-mode-map): Renamed from fence-mode-map.
1454 (egg:fence-mode-esc-prefix): Renamed from egg:fence-mode-esc-map.
1455 (henkan-fence-region-or-single-space): Removed.
1457 * egg-misc.el (toggle-egg-mode): mc-flag
1458 -> enable-multibyte-characters.
1460 * its.el (read-current-its-string): New function. Moved from
1462 (In meny functions): beep --> ding.
1464 * egg-misc.el (read-hiragana-string): Removed.
1465 (read-kanji-string): Removed.
1466 (egg:special-symbol-input): Renamed from special-symbol-input.
1467 (egg:special-symbol-input-point): Renamed from
1468 special-symbol-input-point.
1469 (si:*global-map*): Remeved.
1470 Removed 'Changes on Global map'.
1471 (its-mode-map): Renamed from mule-keymap.
1473 * wnn-egg.el (henkan-region-internal): Use new API for undo.
1474 (henkan-kakutei): Likewise.
1475 (henkan-kakutei-first-char): Likewise.
1476 (henkan-kakutei-before-point): Likewise.
1477 (sai-henkan): Likewise.
1478 * egg.el (egg:quit-egg-mode): Likewise.
1480 * egg-fence.el (egg:*fence-open*, egg:*fence-close*,
1481 egg:*fence-face*): Let them be declared by defvar.
1482 (egg:*fence-open-in-cont*, egg:*fence-close-in-cont*,
1483 egg:*fence-face-in-cont*): Likewise.
1485 (set-egg-fence-mode-format): Removed. Useless. Don't need to be
1487 (set-egg-fence-mode-format-in-cont): Removed.
1488 (egg:*face-alist*): Removed.
1490 * wnn-egg-misc.el (its:select-mode, its:select-mode-from-menu,
1491 its:next-mode, its:previous-mode):
1492 Removed (Merged into its.el).
1494 * its.el (its:select-mode, its:select-mode-from-menu,
1495 its:next-mode, its:previous-mode): Call hook of
1496 `its:select-mode-hook'.
1498 * diced.el: Removed. This depends on wnn. Functions are moved to
1501 * wnn-egg-dict.el (remove-regexp-in-string): Removed.
1502 (toroku-region): Don't call `remove-regexp-in-string'. Removing
1503 invalid sequence (TAB?) automatically is not good idea. It should
1504 notify user. Currently, just don't remove.
1506 * busyu.el (busyu-table): defconst instead of defvar.
1507 (busyu-kaku-alist): defconst instead of defvar.
1509 * its.el (egg:member): Removed. Not used.
1511 * wnn-egg-msg.el (*egg-message-alist*): Include asking string in
1512 register-notify and remove-notify. Should also change Korean and
1515 * egg.el: Removed "Tamago Notification System".
1516 It is useless, as we have *Messages* buffer in GNU Emacs 19.
1518 * diced.el (diced-execute): Don't use `notify' but `message'.
1519 (set-dict-comment): Likewise.
1520 * its.el (its-defrule**): Likewise.
1521 * wnn-egg-dict.el (egg:toroku-word): Likewise.
1522 * wnn-egg-msg.el (egg:error): Likewise.
1523 * wnn-egg.el (set-wnn-param): Likewise.
1524 (EGG:open-wnn): Likewise.
1525 (close-wnn): Likewise.
1526 (henkan-word-off): Likewise.
1527 (henkan-inspect-bunsetu): Likewise.
1529 * diced.el (diced-execute): Don't use `notify-yes-or-no-p' but use
1530 plain `yes-or-no-p' and format.
1531 * wnn-egg-dict.el (egg:toroku-word): Likewise.
1533 * egg.el (notify-yes-or-no-p-internal): IIDESUKA is not good.
1534 it should get the message through egg:get-msg. Currently, use
1536 (notify-y-or-n-p-internal): Likewise.
1538 * wnn-egg.el: Split into wnn-egg-dict.el, wnn-egg-misc.el, and
1540 (many functions): remove commented out line of
1541 (open-wnn-if-disconnected).
1543 * egg.el: Split into egg.el, egg-fence.el, egg-misc.el,
1544 jis-input.el, and modeline.el.
1546 * wnn-egg.el (egg-default-startup-file): change to eggrc-wnn from
1548 (henkan-region-internal): Use new API for marker insertion
1549 `set-marker-insertion-type'.
1551 1997-02-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1553 * menu.el (menu:select-from-menu): Rewritten.