1 1997-11-03 KATAYAMA Yoshio <kate@pfu.co.jp>
3 * euc-cn.el: New file. Original name was yincoding.el.
4 Adopted by NIIBE Yutaka <gniibe@mri.co.jp>.
6 1997-11-03 NIIBE Yutaka <gniibe@mri.co.jp>
8 * its.el (its-start): Add INVISIBLE property if ITS-FENCE-FACE.
9 * egg-cnv.el (egg-decide-before-point): Ditto.
10 Based on patch by Kenichi HANDA <handa@etl.go.jp>.
12 Once, I thought that we need many environments which correspond to
13 outstanding CONVERSION buffre. However, I've learned that WNN4
14 protocol is completely independent. It's no use to maintain each
15 environment. Share the one environment.
16 * egg/wnn.el (wnn-environments): Removed.
17 (wnn-environment): New variable.
18 (wnn-comm-sentinel): Follow the change. Let users know the close.
21 <env>: Remove the member <in-use>.
22 (wnnenv-create): Follow the structure change.
23 (wnn-end-conversion): Likewise.
24 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Removed.
25 (wnn-find-env-not-in-use): Removed.
26 (wnn-get-environment): Use wnn-environment instead of wnn-environments.
29 * egg-cnv.el (egg-decide-before-point): Signal error on first SYL.
30 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>. Changes of 1997-09-07
32 Set-marker M to NIL after PUT-TEXT-PROPERTY.
34 Because the name of identifier begins egg-*, change the file names.
35 * tamago: Rename from tamago.
36 * egg.el, egg-mlh.el, egg-com.el, egg-cnv.el: Rename from tamago-*.el
37 * Makefile: Follow the changes.
39 1997-10-05 NIIBE Yutaka <gniibe@mri.co.jp>
41 * tamago/wnn.el (wnn-uniq-candidates): Add new argument BUNSETSU.
42 Call WNN-BUNSETSU-SET-ZENKOUHO-POS, WNN-BUNSETSU-SET-ZENKOUHO in
43 this function. Handle the case where BUNSETSU is not the first
44 element of BUNSETSU-LIST.
45 (wnn-list-candidates): Use new API of WNN-UNIQ-CANDIDATES.
47 * tamago-cnv.el (egg-next-candidate): Handle the case where
48 EGG-LIST-CANDIDATES returns non zero value.
50 1997-10-04 NIIBE Yutaka <gniibe@mri.co.jp>
52 * Makefile (install): Install to SITEDIR.
54 1997-09-26 NIIBE Yutaka <gniibe@mri.co.jp>
56 * its/hira.el (its-hira-enable-zenkaku-alphabet): New variable.
57 (its-hira-map): Use it.
59 1997-09-19 NIIBE Yutaka <gniibe@mri.co.jp>
61 Arrange for LEIM. Use tamago/ subdirectory.
62 * tamago/: Rename from tamago-lib.
64 1997-09-18 NIIBE Yutaka <gniibe@mri.co.jp>
66 * tamago-cnv.el (egg-select-candidate): menu-select -->
68 * tamago.el (egg-toroku-region, egg-hinshi-select): Likewise.
70 * tamago-cnv.el (egg-exit-conversion): Run hook of
71 input-method-after-insert-chunk-hook.
72 * its.el (its-exit-mode-internal): Ditto.
74 * tamago-mlh.el (mlh-comma-period-style): Deleted.
76 * its/, tamago-lib/: New directory.
77 * its/: Move its-*.el files here.
78 * tamago-lib/: Move sj3.el, sj3rpc.el, wnn.el and wnnrpc.el here.
80 * tamago-com.el: Rename from comm.el.
81 * tamago-mlh.el: Rename from mlh.el.
82 * tamago-cnv.el: Rename from convert.el.
84 * menudiag.el: Rename from menu.el.
85 (Throughout): Rename menu-* to menudiag-*.
87 1997-09-07 NIIBE Yutaka <gniibe@mri.co.jp>
89 * egg.el (egg-insert-after-hook, egg-exit-hook): Removed.
90 (egg-sai-henkan-start, egg-sai-henkan-end, egg-old-bunsetu-suu):
93 * wnn.el (WNN-const): New macro.
94 (wnn-start-conversion, wnn-open-dictionary, wnn-open-frequency,
95 wnn-set-dictionary-sub, wnn-update-frequency): Use it.
97 * wnnrpc.el (wnn-const): New macro.
98 Throughout: Use wnn-const.
100 * convert.el (egg-decide-before-point): Bug fix. Handle the case
101 where all bunsetsu are decided.
102 Reported by KATAYAMA Yoshio <kate@pfu.co.jp>.
104 * convert.el (egg-exit-conversion): Call egg-end-conversion at end.
105 (egg-decide-before-point): Ditto.
107 * wnn.el (wnn-environments): Change the structure of enviromnents.
108 (wnn-fini): Handle errors.
109 (wnn-open): Set sentinel. Delete buffer on failure.
110 (wnn-comm-sentinel): New function.
111 (wnn-find-env-not-in-use): Return nil when not found.
113 (wnn-create-environment): Take username as argument.
114 (wnn-get-environment): Follow the change.
116 (wnnenv-create): Remove useless serial no.
117 (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Follow the change.
118 (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Likewise.
119 (wnn-create-environment, wnn-get-environment): Likewise.
121 1997-09-04 NIIBE Yutaka <gniibe@mri.co.jp>
123 * its.el (its-state-machine-keyseq): Bug fix. Handle VSYL.
125 * sj3.el, sj3rpc.el: New files.
127 * comm.el (comm-call-with-proc, comm-call-with-proc-1): New macros.
128 * wnnrpc.el (wnnrpc-call-with-proc, wnnrpc-call-with-proc-1): Deleted.
129 Throughout: Use comm-call-with-proc and comm-call-with-proc-1.
131 1997-09-03 NIIBE Yutaka <gniibe@mri.co.jp>
133 * wnnrpc.el (wnnrpc-call-with-proc-1): Bug fix. let --> progn.
135 * convert.el (egg-conversion-backend): Initail value is NIL.
137 * wnn.el (wnn-conversion-backend): New constant.
139 * comm.el (comm-format,comm-unpack): Support multibyte string.
140 (comm-format-mb-string): New substitution.
141 (comm-unpack-mb-string): New substitution.
143 * wnn.el (wnn-fini): Handle the case where wnn-environments is nil.
144 Reported by Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>.
146 1997-09-03 Hiroshi Ogata <hiroshi@nereid.rim.or.jp>
148 * mlh.el (mlh-zenkaku): Use new API of Emacs-20,
149 japanese-zenkaku-region.
151 1997-09-02 NIIBE Yutaka <gniibe@mri.co.jp>
153 * egg.el (egg-toroku-region): New function.
155 * wnn.el (wnn-list-dictionaries): New function.
156 (wnnenv-get-proc): New function.
158 * wnnrpc.el (wnndic-get-id, wnndic-get-comment, wnndic-get-dictname):
160 (wnnrpc-get-writable-dictionary-id-list): Rename from
161 wnnrpc-get-writable-dictionary-list.
163 1997-09-01 NIIBE Yutaka <gniibe@mri.co.jp>
165 * convert.el (egg-decide-bunsetsu): New function.
166 (egg-decide-before-point): New command.
167 (egg-exit-conversion): Use egg-decide-bunsetsu.
169 * its.el (its-start): Divide the fence buffer into two parts and
170 make them intangible, so that point goes appropriate position.
171 (its-put-cursor): The cursor belongs to part-2.
172 (its-buffer-ins/del-SYL): The new SYL belongs to part-1.
173 (its-exit-mode-internal): Remove the property on exit.
174 (its-beginning-of-input-buffer): Make SYLs have property of "part 2".
175 (its-backward-SYL): Likewise.
176 (its-forward-SYL): Make SYLs have property of "part 1".
177 (its-end-of-input-buffer): Likewise.
179 (its-input-end): Delete useless argument.
180 (its-beginning-of-input-buffer, its-exit-mode,
181 its-exit-mode-off-input-method, its-kick-convert-region,
182 its-end-of-input-buffer, its-backward-SYL, its-forward-SYL,
183 its-delete-SYL): Follow the change.
185 1997-08-31 NIIBE Yutaka <gniibe@mri.co.jp>
187 For egg-mode, don't use minor mode, override local map instead.
188 For its-mode and egg-conversion-mode, don't use minor mode,
189 instead use local-map of text property.
191 Although overriding local map is not good, using local-map of
192 property is natural thing. Besides, point-left/point-entered
193 don't work as I expected (yet).
195 * egg.el (egg-mode: variable): Removed.
196 * egg.el (egg-modefull-map, egg-modeless-map): Make them functions.
197 Generate overriding local map.
198 * egg.el (egg-mode): use overriding local map.
200 * its.el, convert.el: Undo changes of 1997-08-28 for minor mode
201 and local map of text properties.
203 * its.el (its-exit-mode-off-input-method): New function.
205 1997-08-29 NIIBE Yutaka <gniibe@mri.co.jp>
207 Let Undo work correctly.
208 * its.el (its-self-insert-char): Delete/Insert cursor.
210 * its.el (its-put-cursor): Remove useless first argument.
211 (its-start, its-beginning-of-input-buffer, its-end-of-input-buffer,
212 its-backward-SYL, its-forward-SYL, its-delete-SYL, its-delete-SYL,
213 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
216 1997-08-28 KATAYAMA Yoshio <kate@pfu.co.jp>
218 * its-erpin.el: New file.
219 * its-pinyin.el: New file.
220 * its-zhuyin.el: New file.
222 1997-08-28 NIIBE Yutaka <gniibe@mri.co.jp>
224 * its.el (its-exit-mode-no-egg): Removed.
225 (its-exit-mode-internal): Remove first argument.
226 (its-kick-convert-region, its-delete-SYL,
227 its-delete-backward-SYL-internal, its-delete-backward-within-SYL):
230 Don't use local map of text properties, instead use minor mode.
231 * convert.el (egg-conversion-mode): New minor mode.
232 (egg-conversion-left, egg-conversion-enter): New functions.
233 (egg-insert-bunsetsu): remove local-map, add point-entered and
234 point-left properties.
235 (egg-exit-conversion): Likewise.
236 (egg-exit-conversion): Exit minor mode.
238 * its.el (its-put-cursor): remove local-map, add point-entered and
239 point-left properties.
240 (its-enter, its-left): New functions.
241 (its-mode): New variable. New minor mode.
243 1997-08-27 NIIBE Yutaka <gniibe@mri.co.jp>
245 * convert.el (egg-exit-conversion-no-egg): Removed.
246 (egg-exit-conversion): No argument, no egg-mode.
248 * convert.el (egg-convert-region): No egg-flag.
249 * its.el (its-exit-mode-internal): Follow it.
250 * mlh.el (mlh-space-bar-backward-henkan): Ditto.
252 1997-08-26 NIIBE Yutaka <gniibe@mri.co.jp>
254 * wnn.el (wnn-change-bunsetsu-length): Don't use magic #3.
256 * convert.el (egg-insert-bunsetsu-list): Add optional argument
259 1997-08-25 NIIBE Yutaka <gniibe@mri.co.jp>
261 * convert.el (egg-insert-bunsetsu): Include seperator. Add
262 intangible property to bunsetsu.
263 (egg-insert-bunsetsu-list): Follow the change.
264 (egg-backward-bunsetsu, egg-forward-bunsetsu,
265 egg-select-candidate, egg-next-candidate,
266 egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
267 egg-exit-conversion): Ditto.
269 * mlh.el (mlh-space-bar-backward-henkan): Call egg-convert-region
270 with last argument t. Turn of egg-mode.
272 1997-08-24 NIIBE Yutaka <gniibe@mri.co.jp>
274 * its.el (its-exit-mode-internal): Inactivate input method.
276 * wnn.el (wnn-end-conversion): Change the interface.
277 (wnn-update-frequency): Follow the change.
278 * convert.el (egg-exit-conversion): Follow the change.
280 * wnn.el (wnn-start-conversion): Change the return value interface.
281 * convert.el (egg-convert-region): Follow the change.
283 * wnn.el (wnnenv-get-bunsetsu-pos, wnnenv-set-bunsetsu-pos): Removed.
284 (wnn-get-bunsetsu-source-afterwards): Removed.
285 (wnn-get-number-of-bunsetsu, wnn-get-bunsetsu-info): Removed.
286 (wnnenv-get-bunsetsu-list, wnnenv-set-bunsetsu-list): Removed.
287 (wnn-start-conversion): Don't call wnnenv-set-bunsetsu-list.
288 (wnn-end-conversion): Ditto.
290 1997-08-23 NIIBE Yutaka <gniibe@mri.co.jp>
292 * convert.el (egg-change-bunsetsu-length): Change the interface.
293 (egg-shrink-bunsetsu,egg-enlarge-bunsetsu): Follow it.
295 (egg-source-maxlen-from-here): Removed.
296 (egg-get-previous-bunsetsu): New function.
297 (egg-select-candidate, egg-shrink-bunsetsu, egg-enlarge-bunsetsu,
298 egg-next-candidate): Use egg-get-previous-bunsetsu.
300 1997-08-20 NIIBE Yutaka <gniibe@mri.co.jp>
302 * egg.el (minor-mode-alist): Don't show " EGG" in mode line.
303 (egg-mode): Use input method indicator instead.
305 1997-07-20 NIIBE Yutaka <gniibe@mri.co.jp>
307 * convert.el (egg-next-candidate): Rename from egg-next-conversion.
308 (egg-previous-candidate): Rename from egg-previous-conversion.
309 (egg-select-candidate): Follow the change of new interface.
310 (egg-source-maxlen-from-here): Likewise.
312 1997-07-19 NIIBE Yutaka <gniibe@mri.co.jp>
314 * wnn.el (wnn-start-conversion): Change the interface. Return ENV
315 and the list of bunsetsu. Fix the documentation string too.
316 * convert.el (egg-convert-region): Follow the change.
317 (egg-insert-converted-result): Change the argument.
318 (egg-insert-bunsetsu-list): Rename from egg-insert-converted-result.
319 (egg-insert-bunsetsu): New function.
320 (egg-get-number-of-bunsetsu,egg-get-bunsetsu-info): Removed.
321 (egg-backward-bunsetsu): Don't use bunsetsu-pos.
323 * wnn.el (wnn-get-bunsetsu-converted): Change the interface. Take
324 BUNSETSU as the argument instead of ENV and POS.
325 * convert.el (egg-get-bunsetsu-converted): Follow the change.
327 * wnn.el (wnn-bunsetsu-create): Take ENV as the first argument.
328 (wnn-list-candidates): Dont take ENV.
329 (wnn-bunsetsu-get-env): New substitution.
331 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub): Take the argument
332 for ENV, and use it for the argument of wnn-bunsetsu-create.
333 (wnnrpc-receive-sho-bunsetsu-list): Take ENV as the first argument.
334 (wnnrpc-renbunsetsu-conversion): Follow the change.
336 1997-07-17 NIIBE Yutaka <gniibe@mri.co.jp>
338 * convert.el (egg-decide-candidate): Change the interface.
339 Take the argument bunsetsu-info instead of conversion-engine.
341 * wnn.el (wnn-get-candidate): Deleted.
343 * convert.el (egg-get-all-candidates): Change the interface.
344 Take an argument bunsetsu-info instead of conversion-engine.
345 (egg-select-candidate): Follow the change.
347 * convert.el (egg-set-bunsetsu-pos,egg-get-bunsetsu-pos): Deleted.
348 (egg-list-candidates,egg-get-current-candidate-number): New stub.
349 * wnn.el (wnn-bunsetsu-create): Add new member zenkouho-pos.
350 (wnn-bunsetsu-get-zenkouho-pos,wnn-bunsetsu-set-zenkouho-pos): New
352 (wnn-list-candidates,wnn-get-current-candidate-number): New functions.
353 (wnn-set-bunsetsu-pos,wnn-get-bunsetsu-pos): Deleted.
355 * convert.el (egg-get-number-of-candidates): Change the interface.
356 Take an argument bunsetsu-info instead of conversion-engine.
357 (egg-next-conversion,egg-select-candidate): Follow the change.
358 * wnn.el (wnn-get-number-of-candidates): Follow the change.
360 * wnn.el (wnn-get-bunsetsu-source-afterwards): New function.
361 (wnn-change-bunsetsu-length): Use it.
363 * convert.el (egg-get-bunsetsu-source): Change the interface.
364 Take an argument bunsetsu-info instead of conversion-engine.
365 (egg-enlarge-bunsetsu,egg-shrink-bunsetsu,egg-source-maxlen-from-here):
367 * wnn.el (wnn-get-bunsetsu-source): Follow the change.
369 Put bunsetsu information on text property.
370 * wnn.el (wnn-get-bunsetsu-info): New function.
372 * convert.el (egg-insert-converted-result): Put it on text property.
373 (egg-conversion-backend): Add new interface
374 wnn-get-bunsetsu-info.
375 (egg-get-bunsetsu-info): New stub.
377 1997-07-17 KATAYAMA Yoshio <kate@pfu.co.jp>
379 * its.el (its-state-machine-keyseq, its-state-machine): Handle
380 end-of-input correctly when going backward.
382 1997-07-16 NIIBE Yutaka <gniibe@mri.co.jp>
384 * wnn.el (wnn-create-directory): Bug fix. Really make directory.
386 1997-07-15 NIIBE Yutaka <gniibe@mri.co.jp>
388 * its-hangul.el (its-define-hangul): Use its-defrule-otherwise.
390 1997-07-15 KATAYAMA Yoshio <kate@pfu.co.jp>
392 * its-hangul.el: Updated.
394 1997-06-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
396 * its-hira.el: its-hira-hankaku-escape --> its-hankaku-escape.
397 its-hira-zenkaku-escape --> its-zenkaku-escape.
399 1997-06-14 NIIBE Yutaka <gniibe@mri.co.jp>
401 * its.el: Change the data structure of <expr-output-back-list> so
402 that it can encourage sharing same structure and it can use same
404 (its-ins/del-SYL-batch): Follow the change of data structure.
405 (its-define-otherwise): Change the argument.
406 (its-defrule-otherwise): New function.
407 (its-eob-keyexpr, its-eob-back, its-make-class+back,
408 its-make-otherwise): New substitutions.
410 1997-06-13 NIIBE Yutaka <gniibe@mri.co.jp>
412 * its-kana.el: New file. Taken from its/kanainput.el of Mule-2.3.
414 * its-hira.el: Use `define-its-state-machine'.
416 * its.el (its-zenkaku-escape, its-hankaku-escape): Make them
418 (define-its-state-machine, define-its-state-machine-append): New
421 1997-06-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
423 * its-hira.el ("n'"): Added.
425 1997-06-12 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
427 its-zenkaku-escape and its-hankaku-escape are also used in hangul.
428 * its.el (its-zenkaku-escape, its-hankaku-escape): Moved to here
430 * its-hira.el (its-hira-hankaku-escape, its-hira-zenkaku-escape):
433 * its.el (its-read-current-its-string): Removed. There's the
434 function `read-multilingual-string' already.
436 1997-06-12 KATAYAMA Yoshio <kate@pfu.co.jp>
438 * its-hangul.el: New file.
440 1997-06-10 NIIBE Yutaka <gniibe@mri.co.jp>
442 Miscellaneous cosmetic changes.
443 * comm.el: New file. Move communication related funcitons from
445 (comm-format-u32c, and others): Rename from wnnrpc-*.
446 * wnnrpc.el (Throughout): Follow the rename.
448 * wnn.el (wnnenv-get-in-use-flag): Rename from wnn-e-get-in-use.
449 (wnnenv-set-in-use-flag): Rename from wnn-e-set-in-use.
450 (Others): Rename from wnn-e-*.
451 (wnn-bunsetsu-*): Rename from wnnrpc-b-*, and moved from wnnrpc.el.
453 * convert.el (egg-exit-conversion): Call egg-do-auto-fill.
455 * its.el (its-translate-region): Bug fix. End of input.
456 (its-state-machine): Bug fix. Generate error if
457 its-barf-on-invalid-keyseq.
458 (its-exit-mode-internal): Call egg-do-auto-fill.
460 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for ASCII.
462 * mlh.el (mlh-space-bar-backward-henkan): Call egg-do-auto-fill.
464 * egg.el: Comment out definition of C-\ in global-map.
466 1997-06-09 NIIBE Yutaka <gniibe@mri.co.jp>
468 * its.el (its-kick-convert-region): Rename from its-convert-region.
469 (its-mode-map): Follow the change.
471 (its-make-next-state): Use list instead of cons.
473 (its-get-kst/t): Make it substitution.
474 (its-set-kst, its-get-keyseq, its-set-keyseq, its-kst-p,
475 its-get-output, its-set-output, its-get-keyseq-syl): Likewise.
476 (its-new-state, its-new-map, its-get-indicator, its-set-indicator,
477 its-get-start-state, its-reset-start-state): Likewise.
479 (its-get-next-state): Use assq instead of assoc.
481 (its-goto-state): Tune up.
483 1997-06-08 NIIBE Yutaka <gniibe@mri.co.jp>
485 * mlh.el: Merge mlh-nihongo.el.
486 * mlh-nihongo.el: Removed.
488 * its-hira.el: Moved from its/hira.el. Move comments to HISTORY.
489 (its-hira-enable-double-n, its-hira-period, its-hira-comma,
490 its-hira-open-bracket, its-hira-close-bracket,
491 its-hira-horizontal): New variables.
492 Use the variables to define the state-machine.
494 Implement non-interactive translation in ITS.
495 * its.el (its-translate-region): New function.
496 (its-latest-SYL): New Variable.
497 (its-state-machine-keyseq): Use it.
498 (its-update-latest-SYL): New function.
499 (its-buffer-ins/del-SYL): Use it.
500 (its-translation-result): New variable.
501 (its-ins/del-SYL-batch): New function.
502 (its-enable-double-n-syntax, its-use-kuten-for-period,
503 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
506 Use ITS, delete mlh's own implementation of automata.
507 * mlh.el (mlh-start-state, mlh-set-of-chars, mlh-start-state-sym,
508 mlh-set-of-chars-sym, mlh-define-automata, mlh-end-of-definition,
509 mlh-defrule, mlh-next-state, mlh-roma-kana-backward): Removed.
510 (mlh-cause-error-when-unknown-romaji-sequence): Removed.
512 (mlh-white-space, mlh-zenkaku-white): Use string-to-int.
513 * mlh-nihongo.el (mlh-hira-start-state, mlh-hira-chars, and all
514 rules of definition which defines the automaton): Removed.
515 (mlh-kanji-with-henkan-region-function): Use its-translate-region.
516 (mlh-hiragana, mlh-katakana): Likewise.
519 * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for jisx0212.
522 Speed up of unpacking.
523 * wnnrpc.el (wnnrpc-following-char-or-wait): Tune up.
524 (wnnrpc-following+forward-char): New function.
525 (wnnrpc-unpack-u32c, wnnrpc-unpack-u32, wnnrpc-unpack-u16,
526 wnnrpc-unpack-u8): Use it.
527 (wnnrpc-accept-process-output): New function.
528 (wnnrpc-unpack-u16-string, wnnrpc-unpack-u8-string,
529 wnnrpc-unpack-bytes): Use it. Use search-forward.
530 (wnnrpc-unpack-u16-string): Use decode-coding-region.
532 1997-06-07 NIIBE Yutaka <gniibe@mri.co.jp>
534 * wnn.el (wnn-get-all-candidates): New function.
535 (wnn-set-bunsetsu-pos): Return 0 (instead of -1).
537 * convert.el (egg-get-candidate): Removed.
538 (egg-get-all-candidates): New entry function.
539 (egg-conversion-backend): Entry for egg-get-all-candidates.
540 (egg-select-candidate): New function.
541 (egg-conversion-map): Bind "\M-s" and egg-select-candidate.
543 1997-06-05 NIIBE Yutaka <gniibe@mri.co.jp>
545 * bushu.el: Renamed from busyu.el.
546 (bushu-break-string, etc): Renamed from busyu*.
548 * menu.el: Completely rewritten.
550 1997-06-03 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
552 * its.el (its-reset-start-state): Bug fix. Delete a CDR.
554 Implement "class of key" transition.
555 Change the structure of <state>, the last member is
556 <key-state-table/terminal> instead of <key-state-alist/terminal>.
557 * its.el (its-kst-p): Rename from its-ksa-p.
558 (its-get-next-state): Follow the change of the data structure.
559 (its-state-machine): Likewise.
560 (its-make-next-state): Likewise.
561 (its-set-kst): New function.
562 (its-get-otherwise): New function.
563 (its-otherwise-match): New function.
564 (its-define-otherwise-terminate-here): Removed.
565 (its-define-otherwise): New function.
566 (its-defrule*): Use its-define-otherwise.
568 * its/hira.el (n): Use its-define-otherwise.
570 1997-06-02 NIIBE Yutaka <gniibe@mri.co.jp>
572 * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub,
573 wnnrpc-receive-sho-bunsetsu-list-sub-2): Splited from
574 wnnrpc-receive-sho-bunsetsu-list.
575 (wnnrpc-receive-dai-bunsetsu-list): New function.
576 (wnnrpc-daibunsetsu-conversion, wnnrpc-get-daibunsetsu-candidate):
579 1997-06-01 NIIBE Yutaka <gniibe@mri.co.jp>
581 * wnnrpc.el (ccl-decode-fixed-euc-jp): Clean it up.
582 (wnnrpc-file-attribute): Rename from wnnrpc-stat-file.
583 (wnnrpc-get-dictionary-list-with-environment): Rename from
584 wnnrpc-get-dictionary-list-with-environment.
587 * wnnrpc.el (wnnrpc-who, wnnrpc-get-env-list, wnnrpc-kill,
588 wnnrpc-delete-dictionary, wnnrpc-set-flag-on-dictionary,
589 wnnrpc-get-dictionary-list, wnnrpc-delete-word,
590 wnnrpc-receive-word, wnnrpc-search-word,
591 wnnrpc-search-word-in-dictionary, wnnrpc-get-word-info,
592 wnnrpc-set-comment-on-word, wnnrpc-get-dictionary-info,
593 wnnrpc-set-file-comment, wnnrpc-hinshi-name,
594 wnnrpc-set-file-password, wnnrpc-set-hinshi-table): New functions.
596 1997-05-31 NIIBE Yutaka <gniibe@mri.co.jp>
598 * wnnrpc.el (wnnrpc-format-u32c, wnnrpc-unpack-u32c): New
599 substitutions. Support 32-bit number represented in cons cell of
600 a pair of 16-bit integer.
601 (wnnrpc-format, wnnrpc-unpack): Handle u32c (U).
603 (wnnrpc-format-bytes, wnnrpc-unpack-bytes): New substitutions.
604 Support byte stream end with 255(-1).
605 (wnnrpc-format, wnnrpc-unpack): Handle bytes (B).
607 (wnnrpc-local-file-loaded): New function.
608 (wnnrpc-call-with-proc-1): New macro. Assume the buffer is the one
611 1997-05-29 NIIBE Yutaka <gniibe@mri.co.jp>
613 * wnnrpc.el (wnnrpc-get-conversion-parameters, wnnrpc-file-loaded,
614 wnnrpc-write-file, wnnrpc-get-fuzokugo-file, wnnrpc-get-file-list,
615 wnnrpc-get-file-list-with-env, wnnrpc-stat-file,
616 wnnrpc-get-file-info): New functions.
617 wnnrpc-receive-file-list): New subst.
619 1997-05-29 Kenichi Handa <handa@etl.go.jp>
621 * wnnrpc.el (ccl-decode-fixed-euc-jp): Tune it up.
623 1997-05-29 Hisashi Miyashita <himi@bird.scphys.kyoto-u.ac.jp>
625 * wnnrpc.el (fixed-euc-jp, ccl-decode-fixed-euc-jp,
626 ccl-encode-fixed-euc): New private coding system. Encode/decode
629 1997-05-27 NIIBE Yutaka <gniibe@mri.co.jp>
631 * wnnrpc.el (wnnrpc-tanbunsetsu-conversion): Change the argument.
632 (wnnrpc-get-bunsetsu-candidates): Likewise.
633 (wnnrpc-renbunsetsu-conversion): Likewise.
635 * wnn.el (wnn-change-bunsetsu-length): Follow the change.
636 (wnn-set-bunsetsu-pos): Likewise.
637 (wnn-change-bunsetsu-length, wnn-start-conversion): Likewise.
639 1997-05-25 NIIBE Yutaka <gniibe@mri.co.jp>
641 * wnnrpc.el (wnnrpc-add-word, wnnrpc-get-dictionary-list,
642 wnnrpc-receive-dictionary-list, wnnrpc-get-writable-dictionary-list,
643 wnnrpc-get-hinshi-list, wnnrpc-hinshi-number): New functions.
644 (wnnrpc-unpack-u16-string): Bug fix for the case of ASCII string.
646 * wnn.el (wnn-dictionary-specification): Add dictionaries of
647 gerodic and ones of WNN consortium.
649 Implement a false path.
650 * wnnrpc.el (wnnrpc-renbunsetsu-conversion): Generate an error on
652 (wnnrpc-get-bunsetsu-candidates): Ditto.
653 (wnnrpc-tanbunsetsu-conversion): Ditto.
655 Implement a false path. Error recovery.
656 * wnn.el (wnn-create-directory, wnn-open-dictionary,
657 wnn-open-frequency, wnn-query-del/create-frequency): New function.
658 (wnn-set-dictionary-sub): New function.
660 1997-05-24 NIIBE Yutaka <gniibe@mri.co.jp>
662 * wnnrpc.el (wnnrpc-version, wnnrpc-access, wnnrpc-mkdir,
663 wnnrpc-create-dictionary, wnnrpc-create-frequency,
664 wnnrpc-discard-file, wnnrpc-remove-file): New functions.
665 (wnnrpc-test-result-and-get-error): New subst.
667 Implement a false path from wnnrpc-set-fuzokugo-file.
668 * wnnrpc.el (wnnrpc-set-fuzokugo-file): Return negate-encoded
669 error code on failure.
670 * wnn.el (wnn-create-environment): Generate an error message.
672 Implement a false path from wnnrpc-open-file.
673 * wnnrpc.el (wnnrpc-open-file): Change the interface. Return
674 negate-encoded error code on failure.
675 * wnn.el (wnn-open-file): New function.
676 (wnn-create-environment): Handle return value, and generate
677 an error message for wnnrpc-set-fuzokugo-file on failure.
678 (wnn-set-dictionary): Handle return value.
680 1997-05-17 NIIBE Yutaka <gniibe@mri.co.jp>
682 * wnnrpc.el (wnnrpc-error-message): Error strings taken from
683 Wnn-4.2 distribution.
684 (wnnrpc-errono): Removed.
686 Implement a false path from wnnrpc-open.
687 * wnnrpc.el (wnnrpc-open): Change the interface. Return NIL on
688 success, error code on failure.
689 * wnn.el (wnn-open): Delete process and buffer.
690 Generate an error on failure.
691 (wnn-get-environment): Follow the change (none).
692 (wnn-start-conversion): Follow the change (none).
693 * convert.el (egg-convert-region): Follow the change. Call
694 delete-region after egg-start-conversion.
696 Implement a false path from wnnrpc-connect.
697 * wnnrpc.el (wnnrpc-connect): Change the interface. Return
698 negate-encoded error code on failure.
699 * wnn.el (wnn-create-environment): Generate an error on failure.
700 (wnn-get-environment): Follow the change. On failure, don't
701 register the environment to wnn-environments.
703 1997-05-16 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
705 Dynamically allocate environment arbitrarily.
706 * wnn.el (wnn-create-environment): Change the structure of ENV.
707 (wnn-e-get-in-use, wnn-e-set-in-use): New subst.
708 (wnn-end-conversion): Call wnn-e-set-in-use.
709 (wnn-get-environment, wnn-find-env-not-in-use): New function.
710 (wnn-start-conversion): Call wnn-get-environment.
712 * wnn.el (wnn-fini): Implemented.
714 1997-05-15 NIIBE Yutaka <gniibe@mri.co.jp>
716 * convert.el (egg-start-conversion): Change the interface.
717 (egg-convert-region): Follow the change.
718 (egg-open-if-not): Removed.
719 * wnn.el (wnn-start-conversion): Follow the change.
721 * wnn.el (wnn-environment-list): Removed.
722 (wnn-environment-serial): Removed.
723 (wnn-connect-and-init): Removed.
724 (wnn-environments): New variable which holds all environments.
726 1997-05-15 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
728 * wnn.el (wnn-change-bunsetsu-length): Bug fix. Last argument to
729 wnnrpc-b-set-freq-down is list of bunsetsu.
731 * mlh.el (mlh-do-spacing): Emacs 20 related changes.
732 Use category-set-mnemonics, and char-category-set.
733 According to suggestion by Kenichi Handa <handa@etl.go.jp>.
735 1997-05-15 MORIOKA Tomohiko <morioka@jaist.ac.jp>
737 * wnn.el (wnn-usr-dic-dir): New variable.
738 (wnn-filename): Use wnn-usr-dic-dir.
740 * its.el (its-defrule): New argument `enable-overwrite'.
742 1997-05-14 NIIBE Yutaka <gniibe@mri.co.jp>
744 * convert.el (egg-exit-conversion-unread-char): Use newer variable
745 unread-command-events, as unread-command-char is obsolete.
746 (egg-shrink-bunsetsu, egg-source-maxlen-from-here,
747 egg-enlarge-bunsetsu, egg-next-conversion, egg-exit-conversion,
748 egg-exit-conversion, egg-insert-converted-result): New property
749 EGG-CONVERSION-ENGINE, which specifis backend.
751 (egg-start-conversion, egg-get-number-of-bunsetsu,
752 egg-get-bunsetsu-converted, egg-set-bunsetsu-pos,
753 egg-get-bunsetsu-pos, egg-get-number-of-candidates,
754 egg-get-candidate, egg-decide-candidate,
755 egg-change-bunsetsu-length, egg-get-bunsetsu-source,
756 egg-end-conversion): Change the interface, new argument c.
757 * wnn.el (wnn-start-conversion, wnn-get-number-of-bunsetsu,
758 wnn-get-bunsetsu-converted, wnn-set-bunsetsu-pos,
759 wnn-get-bunsetsu-pos, wnn-get-number-of-candidates,
760 wnn-get-candidate, wnn-decide-candidate,
761 wnn-change-bunsetsu-length, wnn-get-bunsetsu-source,
762 wnn-end-conversion): Likewise.
764 * convert.el (egg-open-if-not): Change the interface. Return
767 * wnnrpc.el (wnnrpc-following-char-or-wait, wnnrpc-unpack-u32,
768 wnnrpc-unpack-u16, wnnrpc-unpack-u8, wnnrpc-unpack-u16-string,
769 wnnrpc-unpack-u8-string): Change the interface to avoid
770 compilation warnings.
771 (wnnrpc-unpack): Use new interface.
773 * wnn.el (wnn-open): Change the name of WNN buffer as debug has
776 1997-05-11 NIIBE Yutaka <gniibe@mri.co.jp>
778 * wnnrpc.el (wnnrpc-following-char-or-wait): Rename from
779 wnn-following-char-or-wait.
780 (wnnrpc-following-char-or-wait): Declare with DEFUN instead of
783 1997-05-10 NIIBE Yutaka <gniibe@mri.co.jp>
785 * Throughout: Use JUNET coding system for file format.
787 * mlh.el: Move some comments to HISTORY.
788 (mlh-version): Removed.
789 Remove all autoload entries.
790 (henkan-region-function): Removed.
791 (member): Don't need any more.
793 * mlh-nihongo.el: Renamed from nihongo.el.
795 * mlh.el (mlh-space-bar-backward-henkan): call egg-convert-region
797 (mlh-space-bar-backward-henkan): Fix for Emacs 20.
798 Don't call egg:do-auto-fill.
799 (mlh-backward-henkan): Use set-marker-insertion-type.
800 (mlh-do-spacing): Char-category.
802 * mlh.el, nihongo.el: Taken from mlh-1.002 distribution.
804 1997-05-07 NIIBE Yutaka <gniibe@mri.co.jp>
806 * convert.el (egg-update-frequency): Removed.
807 (egg-conversion-backend): Remove entry for update-frequency.
809 * wnn.el (wnn-dictionary-specification): Change parameters
810 according to suggestion by Tomoko Yoshida in mule-jp@etl.go.jp.
811 Original had been taken from wnn-4.2.
813 1997-05-06 NIIBE Yutaka <gniibe@mri.co.jp>
815 * convert.el (egg-next-conversion): Bug fix. It's max+ instead of n.
817 1997-05-05 NIIBE Yutaka <gniibe@mri.co.jp>
819 * wnnfns.c (Fwnn_get_bunsetsu_converted): Rename from
820 get-converted-bunsetsu.
821 (Fwnn_get_bunsetsu_source): Ditto.
822 * convert.el (egg-get-bunsetsu-converted): Ditto.
823 (egg-get-bunsetsu-source): Ditto.
825 * wnn.el (wnn-create-environment): New file which mimics API of
828 1997-04-29 NIIBE Yutaka <gniibe@mri.co.jp>
830 * wnnrpc.el: New file which implements Remote Procedure Calls of WNN.
832 1997-04-16 NIIBE Yutaka <gniibe@mri.co.jp>
834 * its/kanainput.el (normal-pair): Use its-defrule*.
836 * its.el (its-defrule*): Rewritten.
838 * its/hira.el ("n"): Alternative implementation using 'otherwise'.
840 * its.el (its-processing-map): Removed.
841 (its-register-map): Rename from its-set-map.
842 (its-register-map): Remove first argumet NAME.
843 (its-defrule): Remove last optional argument END.
844 (its-define-otherwise-terminate-here): New function.
845 (its-goto-state): New function.
846 (its-defrule, its-defoutput): Use its-goto-state.
848 1997-04-12 NIIBE Yutaka <gniibe@mri.co.jp>
850 * its.el: Enhance meaning of ITS state machine. Now, <key>
851 includes representation of "ANY of key stroke" (-2).
852 (its-defrule): New feature end=='otherwise.
853 (its-defrule*): New function.
854 (its-state-machine): Implement otherwise-terminate-before-this-key.
856 * its/kanainput.el (its-k-zenkaku-escape, its-k-hankaku-escape,
857 its-k-symbols-escape): Add prefix its-. Let them defconst.
858 "W": Move the definition beginning to avoid error.
860 1997-03-26 NIIBE Yutaka <gniibe@mri.co.jp>
862 * convert.el (egg-next-conversion): -1 goes to end of bunsetsu.
864 1997-03-25 NIIBE Yutaka <gniibe@mri.co.jp>
866 * egg.el (egg-mode-on, egg-input-mode, egg-in-fence-mode): Deleted.
867 (egg-fence-face-on, egg-fence-face-off): Deleted.
868 (egg-region-start, egg-region-end): Deleted.
870 1997-03-24 NIIBE Yutaka <gniibe@mri.co.jp>
872 * its/hira.el ("n"): Add "z" and "?" for prefetch char of "n".
874 Implement conversion mode.
875 * convert.el: New file.
877 1997-03-23 NIIBE Yutaka <gniibe@mri.co.jp>
879 * its.el (its-mode-map): As "\C-g" is used in global-map, use
880 "\C-]" instead (for its-cancel-input).
882 1997-03-22 NIIBE Yutaka <gniibe@mri.co.jp>
884 Introduce new scheme to specify server.
885 * wnnfns.c (Qjserver, Qcserver, Qtserver, Qkserver): Removed.
886 (Vwnn_server_type): Integer variable.
887 (wnn_get_server_type): Renamed from wnn_check_server_type.
888 (charset_wnn_server_type): Renamed from lc_wnn_server_type.
890 Introduce new scheme to specify uniqueness.
891 * wnnfns.c (Qwnn_no_uniq, Qwnn_uniq, Qwnn_uniq_kanji): Removed.
892 (Vwnn_uniqueness_specifier): Integer variable. Renamed from
895 1997-03-21 NIIBE Yutaka <gniibe@mri.co.jp>
898 * wnnfnc.c (Throughout): Change Lisp function name to follow the
899 format of wnn-VERB-OBJECT.
900 Use XFASTINT instead of XINT, if appropriate.
902 * wnnfns.c (Fwnn_fuzokugo_set): Merged with wnn-set-fuzokugo of
905 * wnn-egg.el (wnn-set-fuzokugo): Deleted.
907 * wnnfns.c (Fwnn_dict_add): Merged with wnn-add-dict of wnn-egg.el.
908 * wnn-egg.el (wnn-add-dict): Deleted.
910 * wnn-egg-msg.el (wnn-msg-get): Renamed from egg-msg-get.
911 (wnn-message-alist): Renamed from egg-message-alist.
914 * wnnfns.c (wnn_check_server_type): Renemed from
915 check_wnn_server_type.
917 * wnn-egg-msg.el (egg-error): Deleted. Not useful enough.
918 * wnn-egg.el (Throughout): Replace egg-error by error.
920 * egg.el (egg-sai-henkan-start, egg-sai-henkan-end,
921 egg-old-bunsetu-suu): Moved from wnn-egg.el.
923 * wnn-egg.el (Throughout): Change variable name and function name.
924 Added wnn- prefix, egg- prefix.
925 * wnn-egg.el: Delete historical defaliases. Only support
926 wnn-set-[cjk]server-hostname.
928 * wnn6.el: New file. Discriminate Wnn6 related functions.
929 * eggrc-wnn6: New file. Discriminate Wnn6 related setting.
931 * egg-fence.el: Removed.
933 1997-03-20 NIIBE Yutaka <gniibe@mri.co.jp>
935 Distingush continuation of egg-mode and turn off of egg-mode.
936 * its.el (its-mode-map): Bind "\C-\\" to its-exit-mode-no-egg.
937 (its-exit-mode-internal): New argument egg-mode-flag.
938 (its-exit-mode-no-egg): New Function.
940 Rethink about keymap. Once, the intention of egg-mode-map has
941 been to override ALL of the keymap. That's so selfish, and not
942 friendly to other parts of Emacs. This implementation intend to
943 be more friendly with other keymaps.
944 * its.el (its-mode-map): Remove definition of "\C-c" for
945 its-cancel-input, as C-c has special meaning in Emacs. We should
947 Remove definition of "\C-q" for its-select-previous-map.
948 Remove definition of "\C-_" for egg-jis-code-input.
949 Remove definition of "\C-w", "\C-@", [?\C-\ ] for
950 egg-henkan-fence-region.
952 Implement START/CURSOR/END scheme.
953 * its.el (its-input-to-vsyl): New function.
954 (its-beginning-of-input-buffer): New function.
955 (its-end-of-input-buffer): New function.
956 (its-backward-SYL): New function.
957 (its-forward-SYL): New function.
958 (its-delete-SYL): New function.
959 (its-delete-backward-SYL): New function.
960 (its-delete-backward-SYL-internal): New function.
961 (its-delete-backward-within-SYL): New function.
962 (its-delete-by-keystroke): New Variable.
963 (its-exit-mode): New function.
964 (its-exit-mode-internal): New function.
966 * its.el (its-standard-map-list, its-find, its-next-map,
967 its-previous-map): Deleted.
968 (its-get-indicator): Delete duplicated definition. Leave one which
969 takes <map> argument.
970 (its-input): Rename from its-input-subsubsub.
972 * egg.el (egg-mode-map): Don't include SPACE.
975 * its.el (its-state-machine): Add new argument EMIT. Return CURSOR.
976 (its-state-machine-keyseq): Likewise.
977 (its-input-subsubsub): Return CURSOR.
978 (its-input-subsub): Deleted.
979 (its-DSYL-p): Deleted.
980 (its-buffer-insert-SYL-list): Deleted.
981 (its-buffer-ins/del-SYL): New function.
982 (its-input-end): Change the argument to P of point, and return VOID.
984 Change structure of <map>. <start-state> is normal <state>.
985 (its-new-map): Follow the change of structure.
986 (its-get-indicator, its-set-indicator, its-reset-start-state):
988 (its-reset-start-state): Renamed from its-reset-start.
990 Don't use <input-buffer>, but introduce new scheme of SYL property.
991 (its-change-t-to-nil, its-nil-index, its-bytes-between,
992 its-delete-between, its-move-nil--->, its-move-nil-<--,
993 its-move-nil-<--sub, its-move-nil-to-last, its-move-nil-to-first):
996 1997-03-19 NIIBE Yutaka <gniibe@mri.co.jp>
998 * its.el: Change the structure of DSYL. Same as <state>.
999 (its-input-subsub): Follow the change of structure.
1000 (its-make-DSYL): Deleted.
1001 (its-get-keyseq-cooked): New function.
1003 Swap the meaning of T/NIL of <SYL>.
1005 Delete the structure of <input-buffer>.
1006 (its-new-input-buffer): Deleted.
1007 (its-input-subsub): Remove the argument SYLP.
1008 (its-input, its-input-sub, its-init-text-properties): Deleted.
1010 Introduce START, END and CURSOR.
1012 1997-03-19 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1014 Global-map should be used, for key sequence not defined by
1015 its-mode-map and/or egg-mode-map. Don't mask other maps.
1016 * its.el (its-mode-esc-map): Deleted.
1017 (its-mode-map): Include define-key of the esc-map here.
1018 * egg.el (egg-mode-esc-map): Deleted.
1019 (egg-mode-map): Include define-key of the esc-map here.
1021 1997-03-18 NIIBE Yutaka <gniibe@mri.co.jp>
1023 * its.el (its-input): Rename from its-input-input-buffer.
1024 (its-state-machine): Handle END of input (key == -1).
1026 ITS minor mode deleted. It's implemented by local-map of text
1028 (its-mode): Remove the variable.
1029 (its-mode): Remove the function.
1031 * its.el (<input-buffer>): Change the order of <SYL> list.
1032 (car sylp) is last entry of the list.
1033 (its-input-buffer): Deleted. It's now a member of text
1035 (<map>): Change the structure. Start state should have "" for keyseq.
1036 (its-get-start-state): Follow chage of the <map> structure.
1037 (its-reset-start, its-set-indicator, its-get-indicator): Likewise.
1038 (its-new-state, its-new-map): Split from its-new-state/map.
1039 (its-make-map): Deleted.
1041 1997-03-17 NIIBE Yutaka <gniibe@mri.co.jp>
1043 * its.el (its-buffer-insert-SYL-list): Use insert-and-inherit to
1045 (its-fence-overlay): Removed. Don't use overlay, as it has no
1046 information in undo-list.
1048 1997-03-16 NIIBE Yutaka <gniibe@mri.co.jp>
1050 * its/hira.el ("n"): Use new feature END.
1051 ("ppy", "bby", "ddy", "jjy", "zzy", "ggy", "lly", "rry", "hhy",
1052 "cch", "tts", "tty", "ssh", "ssy", "kky"): its-defoutput.
1054 * its.el (its-defrule): Add argument END.
1055 (its-buffer-delete-SYL): Bug fix. Use length instead of string-width.
1057 1997-03-15 NIIBE Yutaka <gniibe@mri.co.jp>
1059 * its.el (its-input-input-buffer): Implement the case of DSYL.
1061 1997-03-14 NIIBE Yutaka <gniibe@mri.co.jp>
1063 * its.el (its-buffer-delete-SYL): Handle the case of NIL.
1065 * its/hira.el: Implement "kka" and others. Implemlement "N".
1066 (digit-characters, symbol-characters, downcase-alphabets,
1067 upcase-alphabets): Delete useless defvar-s.
1069 1997-03-14 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1071 * its/hira.el ("roma-kana"): Follow change of implementation of
1074 Correct the abuse of the word "MODE". It seems that it's direct
1075 influence of "mode" in Emacs, but it's not mode at all.
1076 * its.el (its-map-alist): Renamed from its-mode-alist.
1077 (its-get-map): Renamed from its-get-mode-map.
1078 (its-set-map): Renamed from its-set-mode-map.
1079 (its-define-state-machine): Renamed from its-define-mode.
1080 (its-select-map-menu): Renamed from its-select-mode-menu.
1081 (its-select-map-from-menu): Renamed from its-select-mode-from-menu.
1082 (its-standard-map-list): Renamed from its-standard-modes.
1083 (its-next-map): Renamed from its-next-mode.
1084 (its-previous-map): Renamed from its-previous-mode.
1085 (its-select-map): Renamed from its-select-mode.
1086 (its-get-indicator): Renamed from its-get-mode-indicator.
1088 (its-select-map-from-menu): As it's not mode, don't need offer hooks.
1089 (its-next-map): Likewise.
1090 (its-previous-map): Likewise.
1091 (its-select-map): Likewise.
1093 Change the implementation of its-mode-alist. Name is in <map> now.
1094 * its.el (its-get-mode-map): Just do assoc.
1095 (its-set-mode-map): Simplified.
1097 * its.el (its-get-indicator): Renamed from its-map-indicator.
1098 (its-set-indicator): Renamed from its-map-set-indicator.
1099 (its-get-start-state): Renamed from its-map-start.
1100 (its-new-state): Change the argunents.
1101 (its-map-set-start): Removed.
1102 (its-reset-start): New function.
1104 Remove old implemantation of translator.
1105 * its.el (its-resize, its-maps, its-actions, its-inputs,
1106 its-level, its-maxlevel, its-char-from-buff, its-interactive):
1108 (its-make-action, its-reset-maps, its-current-map,
1109 its-previous-map, its-level, its-enter-newlevel, its-reset-input,
1110 its-flush-input-before-point, its-peek-char, its-read-char):
1112 (its-push-char, its-ordinal-charp, its-delete-charp): Removed.
1113 (its-translate-region): Removed.
1114 (its-buff-s, its-buff-e): Removed.
1115 (its-state-terminalp): Removed.
1117 Remove selection of candidates in map, it's questionable to
1118 implement this feature with SYL. Might rethink in future.
1119 (its-make-menu-from-map-result, its-make-alist-from-map-result):
1121 (its-make-menu-from-map, its-make-menu-from-map*): Removed.
1122 (its-make-alist-from-map, its-make-alist-from-map*): Removed.
1123 (its-completing-read): Removed.
1124 (its-minibuffer-local-must-match-map,
1125 its-minibuffer-local-completion-map): Removed.
1126 (its-minibuffer-completion-help, car-string-lessp,
1127 its-temp-echo-area-contents): Removed.
1129 Implement SYL-based state machine.
1130 * its.el (its-input-buffer, its-barf-on-invalid-keyseq): New variables.
1131 (its-new-input-buffer): New function.
1132 (its-self-insert-char): New command.
1133 (its-initial-ISYL, its-make-DSYL, its-make-VSYL,
1134 its-input-input-buffer, its-input-input-buffer-sub,
1135 its-state-machine, its-state-machine-keyseq,
1136 its-buffer-delete-SYL, its-buffer-insert-SYL-list,
1137 its-get-next-state, its-get-ksa/b, its-get-keyseq, its-ksa-p,
1138 its-get-output): New function.
1139 (its-get-KAS): Removed.
1140 (its-get-state, its-get-action, its-set-action): Removed.
1141 (its-make-KAS, its-get-KAS): Removed.
1143 * its.el (its-defrule-sub): Merged into its-defrule.
1145 1997-03-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1147 * its.el: (its-define-mode): Change the arguments.
1148 * its/zhuyin.el ("zhuyin"): Follow the changes of its-define-mode.
1149 * its/zenkaku.el ("zenkaku-downcase"): Likewise.
1150 * its/pinyin.el ("PinYin"): Likewise.
1151 * its/kata.el ("roma-kata"): Likewise.
1152 * its/kanainput.el ("kanainput"): Likewise.
1153 * its/hira.el ("roma-kana"): Likewise.
1154 * its/hankaku.el ("downcase"): Likewise.
1155 * its/hangul.el ("hangul"): Likewise.
1156 * its/han-kata.el ("roma-han-kata"): Likewise.
1158 * its.el (its-action-output, its-action-next, its-get-next-map,
1159 its-set-next-map): Removed.
1160 (its-make-next-state): New function.
1161 (its-make-state): Removed.
1163 * its.el (its-defrule-sub): Renamed from `its-defrule**'.
1165 * wnnfns.h: New file. Macros for WNN6 are defined here.
1166 * wnn6fns.c: New file. Moved from wnnfns.c for WNN6 specific
1169 1997-03-12 NIIBE Yutaka <gniibe@mri.co.jp>
1171 * wnnfns.c: cosmetic changes (indentation, commenting-out-style,
1172 and compare to Qnil, etc).
1173 Get rid of "register" qualifier.
1175 1997-03-05 NIIBE Yutaka <gniibe@mri.co.jp>
1177 * its.el (its-define-mode): Change internal structure. Completely
1179 (its-make-map): Function to make map.
1180 (its-make-state): New function. Make new state.
1181 (its-make-KAS): New function. Make Key-Action-State triad.
1182 (its-state-terminalp): New function. True when the state is
1184 (its-map-indicator, its-map-set-indicator,): Changed.
1185 (its-map-terminalp, its-map-incrementalp,
1186 its-map-set-incrementalp, its-map-alist, its-map-set-alist,
1187 its-map-action, its-map-set-action): Removed.
1189 (its-defrule-verbose): Deleted. Seems debug purpose variable.
1191 (its-make-map): Removed <state>. It was useless space eater.
1192 (its-map-indicator, its-map-set-indicator, its-map-alist,
1193 its-map-set-alist, its-map-action, its-map-set-action): Follow the
1195 (its-define-mode): Likewise.
1196 (its-defrule**): Change the argument. Delete STATE.
1197 (its-defrule): Likewise.
1198 (its-map-state, its-map-set-state): Removed.
1200 <topmap>: Changed the structure. Introduce <incrementalp>, which
1201 is t on hangul-map, zhuyin-map, and kanainput-map.
1202 (its-define-mode): Change the arguments. INDICATOR and RESET is
1203 always required. Add new argument INCREMENTALP.
1204 * its/kanainput.el ("kanainput"): Use new API of its-define-mode.
1205 * its/hangul.el ("hangul"): Likewise.
1206 * its/zhuyin.el ("zhuyin"): Likewise.
1207 * its.el (its-make-terminal-state-sofar): Removed.
1208 (its-default-make-terminal-state): Removed.
1209 (its-make-terminal-state): Removed
1210 (its-make-non-terminal-state): Removed. Not used.
1211 (its-map-incrementalp, its-map-set-incrementalp): New functions.
1213 1997-03-04 NIIBE Yutaka <gniibe@mri.co.jp>
1215 * its.el (its-defrule-conditional, its-defrule-conditional*):
1216 Removed. Evaluating cond clause at runtime is stupid. Rules
1217 should be determined at compile time, not at run time.
1218 (its-get-action): Simplified. It's always standard.
1219 (its-make-terminal-state-sofar): Likewise.
1220 (its-make-action): Renamed from its-make-standard-action.
1221 (its-standard-actionp): Removed. No use.
1222 (its-translate-region): Simplified.
1224 (its-map-topmap-p): Removed. No use.
1226 (its-simple-actionp, its-collect-simple-action): Removed. No use.
1228 (its-insert-output-string, its-display-status-string): Removed.
1229 It seemd these variables is to debug ITS itself.
1230 (its-translate-region): Simplified.
1232 * its/hira.el (".", ",", "n", "nn"): Rules should be determined at
1234 * its/han-kata.el: Likewise.
1235 * its/kata.el: Likewise.
1237 * its.el (its-make-standard-action): Simplified.
1238 (its-make-standard-action): Remove alternative output.
1239 (its-standard-actionp): Simplified.
1240 (its-action-next): Simplified.
1241 (its-select-alternative-output-menu): Removed. Not used at all.
1242 (its-select-alternative-output): Ditto.
1244 * its/han-kata.el, its/zenkaku.el, its/kata.el, its/kanainput.el,
1245 its/hira.el, its/hankaku.el: Add (require cl).
1247 * its.el (its-enable-double-n-syntax, its-use-kuten-for-period,
1248 its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape):
1249 Declare here. Add prefix `its-'. ):
1251 (its-defrule, its-defrule*): Remove MAP argument.
1252 Merged into its-defrule.
1254 1997-03-04 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1256 * its.el (its-completing-input-menu): Removed. Not used.
1257 (its-completing-input): Ditto.
1258 (its-translate-region): Remove (null action) clause. It's identical
1261 (its-map-supers): Deleted.
1262 (its-map-set-supers): Ditto.
1263 (its-get-next-map-locally): Deleted.
1265 (its-define-mode): Remove supers.
1266 (its-make-map): Likewise.
1268 (its-simulate-input): sref -> aref. add char-bytes -> +1.
1269 (its-defrule**): Likewise.
1271 (its-flush-input-before-point): Delete useless save-excursion.
1272 (its-push-char): Likewise.
1273 (its-translate-region): Likewise.
1275 * its/zhuyin.el (its-make-terminal-state):
1276 * its/kanainput.el (its-make-terminal-state):
1277 * its/hangul.el (its-make-terminal-state):
1278 Use its-make-terminal-state-sofar.
1280 * its/kanainput.el (its-make-terminal-state-kanainput): Removed.
1282 * its.el (its-make-terminal-state-sofar): Renamed.
1283 (was: its-make-terminal-state-hangul)
1285 * its/han-kata.el (its-select-hankaku-katakana): Renamed.
1286 (was: its:select-hankaku-katakana).
1288 * its.el (its-map-topmap-p, its-map-supers, its-map-set-supers,
1289 its-map-terminalp, its-map-state, its-map-set-state,
1290 its-map-indicator, its-map-set-indicator, its-map-action,
1291 its-map-set-action, its-map-alist, its-map-set-alist,
1292 its-get-action, its-action-output, its-action-next,
1293 its-get-next-map, its-get-next-map-locally, its-set-next-map,
1294 its-collect-simple-action, its-read-current-its-string,
1295 its-make-map): Add prefix 'its-'.
1297 * its.el (its-defrule-select-mode-temporally): Deleted.
1298 (its-select-mode-temporally): Deleted.
1299 (its-select-previous-mode): Deleted.
1301 * its/hira.el ("q", "Q"): Removed.
1303 * its.el (its-defrule**): Don't call coerce-internal-string.
1304 (map-state-string): Removed.
1305 (its-default-make-standard-non-terminal-state): Don't call
1308 * egg.el (characterp, coerce-internal-string, coerce-string): Removed.
1310 * its.el (its-insert-char): Deleted.
1311 (its-internal-mode-alist): Removed.
1312 (its-set-mode-map, its-define-mode): Remove internalp.
1313 (its-set-mode-indicator): Removed.
1315 * egg-fence.el (egg-fence-self-insert-command): Add prefix 'egg-'.
1317 * its.el (fence-self-insert-command): Move to egg-fence.el.
1319 * egg-fence.el (egg-exit-fence-mode): Renamed (egg-fence-exit-mode).
1320 (egg-enter-fence-mode-and-self-insert): Deleted.
1322 * egg.el (egg-quit-egg-mode): Deleted.
1324 * egg-misc.el (egg-fence-toggle-egg-mode): Add prefix 'egg-'.
1325 (egg-fence-toggle-egg-mode): beep -> ding.
1326 (global-map): bind C-\ to egg-enter-fence-mode.
1328 1997-03-02 NIIBE Yutaka <gniibe@mri.co.jp>
1330 * egg-henkan.el: New file.
1332 Use new API (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi,
1333 egg-is-dai-bunsetu, bunsetu-suu, egg-hindo-update,
1334 egg-get-bunsetu-end).
1336 * wnn-egg.el: Move egg-henkan-* to egg-henkan.el.
1338 * wnn-egg.el (egg-startup-file-search-path): Remove current
1340 (egg-open-wnn): Renamed from EGG-open-wnn.
1341 (bunsetu-suu): New function.
1342 (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi): New function.
1343 (egg-is-dai-bunsetu): New function.
1344 (egg-hindo-update): New function.
1345 (egg-get-bunsetu-end): New function.
1347 (egg-henkan-region, egg-gyaku-henkan-region,
1348 egg-henkan-region-internal, egg-henkan-paragraph,
1349 egg-gyaku-henkan-paragraph, egg-henkan-sentence,
1350 egg-gyaku-henkan-sentence, egg-henkan-word, egg-gyaku-henkan-word,
1351 egg-henkan-insert-kouho, egg-henkan-kakutei,
1352 egg-henkan-kakutei-first-char, egg-henkan-kakutei-before-point,
1353 egg-sai-henkan, egg-henkan-goto-bunsetu,
1354 egg-henkan-forward-bunsetu, egg-henkan-backward-bunsetu,
1355 egg-henkan-first-bunsetu, egg-henkan-last-bunsetu,
1356 egg-henkan-hiragana, egg-henkan-katakana, egg-henkan-next-kouho,
1357 egg-henkan-next-kouho-dai, egg-henkan-next-kouho-sho,
1358 egg-henkan-previous-kouho, egg-henkan-previous-kouho-dai,
1359 egg-henkan-previous-kouho-sho, egg-henkan-goto-kouho,
1360 egg-henkan-bunsetu-chijime-dai, egg-henkan-bunsetu-chijime-sho,
1361 egg-henkan-bunsetu-nobasi-dai, egg-henkan-saishou-bunsetu,
1362 egg-henkan-saichou-bunsetu, egg-bunsetu-length-henko,
1363 egg-henkan-quit, egg-henkan-select-kouho,
1364 egg-henkan-select-kouho-dai, egg-henkan-select-kouho-sho,
1365 egg-henkan-word-off, egg-henkan-kakutei-and-self-insert,
1366 egg-henkan-mode-map, egg-henkan-mode-esc-prefix,
1367 egg-henkan-help-command, egg-henkan-inspect-bunsetu):
1370 (egg-henkan-mode-in-use): Deleted.
1371 (set-egg-henkan-mode-format): Deleted. Don't need.
1373 (disconnect-wnn): Let it be normal function, instead of command.
1376 (set-jserver-host-name, set-kserver-host-name,
1377 set-cserver-host-name): Use defalias.
1379 (close-wnn): Take an argument of wnn-server-type.
1380 (wnn-egg-kill-emacs-function, set-wnn-host-name,
1381 set-cwnn-host-name, set-kwnn-host-name): Likewise.
1383 * egg.el (egg-global-map-backup): Deleted.
1384 (egg-local-map-backup): Deleted.
1385 (egg-insert-after-hook): it's global variable, nod buffer-local.
1387 * egg-fence.el (egg-henkan-fence-region, egg-enter-fence-mode,
1388 egg-fence-katakana, egg-fence-hiragana, egg-fence-hankaku,
1389 egg-fence-zenkaku, egg-fence-backward-char,
1390 egg-fence-forward-char, egg-fence-beginning-of-line,
1391 egg-fence-end-of-line, egg-fence-transpose-chars,
1392 egg-fence-delete-char, egg-fence-backward-delete-char,
1393 egg-fence-kill-line, egg-fence-exit-mode, egg-fence-cancel-input,
1394 egg-fence-mode-help-command): Add Prefix `egg-'.
1396 (egg-fence-mode-map): Remove binding to eval-expression (C-z).
1398 (egg-self-insert-non-undo-count): Removed.
1399 (egg-self-insert-command): Removed.
1401 (egg-fence-backward-char, egg-fence-forward-char,
1402 egg-fence-transpose-chars, egg-fence-delete-char,
1403 egg-fence-backward-delete-char): beep -> ding.
1404 wnn-egg.el (egg-henkan-select-kouho): Likewise.
1406 1997-02-27 NIIBE Yutaka <gniibe@mri.co.jp>
1408 * wnn-egg.el (push-end, push-end-internal): Removed.
1410 * its.el (dolist): Removed. It's in CL package.
1411 (for-each, for-each*): Removed.
1413 * egg-keymap.el: Removed. I guess noone use it.
1415 * egg-jsymbol.el (*-alist): Declare by defconst.
1417 * egg-misc.el (toggle-egg-mode): Removed.
1419 * All files: Change the identifier XXX:YYYY --> XXX-YYYY,
1422 * egg-fence.el (enter-fence-mode): Use new API for marker
1423 insertion `set-marker-insertion-type'.
1424 * its.el (its-*buff-e*): Likewise.
1426 * egg-jsymbol.el: lc-jp --> (charset-id 'japanese-jisx0208)
1427 lc-jp2 --> (charset-id 'japanese-jisx0212).
1429 1997-02-26 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1431 * egg-fence.el (egg:fence-mode-map): Renamed from fence-mode-map.
1432 (egg:fence-mode-esc-prefix): Renamed from egg:fence-mode-esc-map.
1433 (henkan-fence-region-or-single-space): Removed.
1435 * egg-misc.el (toggle-egg-mode): mc-flag
1436 -> enable-multibyte-characters.
1438 * its.el (read-current-its-string): New function. Moved from
1440 (In meny functions): beep --> ding.
1442 * egg-misc.el (read-hiragana-string): Removed.
1443 (read-kanji-string): Removed.
1444 (egg:special-symbol-input): Renamed from special-symbol-input.
1445 (egg:special-symbol-input-point): Renamed from
1446 special-symbol-input-point.
1447 (si:*global-map*): Remeved.
1448 Removed 'Changes on Global map'.
1449 (its-mode-map): Renamed from mule-keymap.
1451 * wnn-egg.el (henkan-region-internal): Use new API for undo.
1452 (henkan-kakutei): Likewise.
1453 (henkan-kakutei-first-char): Likewise.
1454 (henkan-kakutei-before-point): Likewise.
1455 (sai-henkan): Likewise.
1456 * egg.el (egg:quit-egg-mode): Likewise.
1458 * egg-fence.el (egg:*fence-open*, egg:*fence-close*,
1459 egg:*fence-face*): Let them be declared by defvar.
1460 (egg:*fence-open-in-cont*, egg:*fence-close-in-cont*,
1461 egg:*fence-face-in-cont*): Likewise.
1463 (set-egg-fence-mode-format): Removed. Useless. Don't need to be
1465 (set-egg-fence-mode-format-in-cont): Removed.
1466 (egg:*face-alist*): Removed.
1468 * wnn-egg-misc.el (its:select-mode, its:select-mode-from-menu,
1469 its:next-mode, its:previous-mode):
1470 Removed (Merged into its.el).
1472 * its.el (its:select-mode, its:select-mode-from-menu,
1473 its:next-mode, its:previous-mode): Call hook of
1474 `its:select-mode-hook'.
1476 * diced.el: Removed. This depends on wnn. Functions are moved to
1479 * wnn-egg-dict.el (remove-regexp-in-string): Removed.
1480 (toroku-region): Don't call `remove-regexp-in-string'. Removing
1481 invalid sequence (TAB?) automatically is not good idea. It should
1482 notify user. Currently, just don't remove.
1484 * busyu.el (busyu-table): defconst instead of defvar.
1485 (busyu-kaku-alist): defconst instead of defvar.
1487 * its.el (egg:member): Removed. Not used.
1489 * wnn-egg-msg.el (*egg-message-alist*): Include asking string in
1490 register-notify and remove-notify. Should also change Korean and
1493 * egg.el: Removed "Tamago Notification System".
1494 It is useless, as we have *Messages* buffer in GNU Emacs 19.
1496 * diced.el (diced-execute): Don't use `notify' but `message'.
1497 (set-dict-comment): Likewise.
1498 * its.el (its-defrule**): Likewise.
1499 * wnn-egg-dict.el (egg:toroku-word): Likewise.
1500 * wnn-egg-msg.el (egg:error): Likewise.
1501 * wnn-egg.el (set-wnn-param): Likewise.
1502 (EGG:open-wnn): Likewise.
1503 (close-wnn): Likewise.
1504 (henkan-word-off): Likewise.
1505 (henkan-inspect-bunsetu): Likewise.
1507 * diced.el (diced-execute): Don't use `notify-yes-or-no-p' but use
1508 plain `yes-or-no-p' and format.
1509 * wnn-egg-dict.el (egg:toroku-word): Likewise.
1511 * egg.el (notify-yes-or-no-p-internal): IIDESUKA is not good.
1512 it should get the message through egg:get-msg. Currently, use
1514 (notify-y-or-n-p-internal): Likewise.
1516 * wnn-egg.el: Split into wnn-egg-dict.el, wnn-egg-misc.el, and
1518 (many functions): remove commented out line of
1519 (open-wnn-if-disconnected).
1521 * egg.el: Split into egg.el, egg-fence.el, egg-misc.el,
1522 jis-input.el, and modeline.el.
1524 * wnn-egg.el (egg-default-startup-file): change to eggrc-wnn from
1526 (henkan-region-internal): Use new API for marker insertion
1527 `set-marker-insertion-type'.
1529 1997-02-13 NIIBE Yutaka <gniibe@akebono.etl.go.jp>
1531 * menu.el (menu:select-from-menu): Rewritten.