From: akr Date: Sat, 27 Jan 2001 18:46:16 +0000 (+0000) Subject: tamago-4.0.3 X-Git-Tag: tamago-4_0_3~1 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=cfd1af000718620b8b9a5adeb84bf27cb57c14b2;p=elisp%2Ftamago.git tamago-4.0.3 --- diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..d60c31a --- /dev/null +++ b/COPYING @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/ChangeLog b/ChangeLog index 4fcbdbb..4cf70f1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,2311 +1,46 @@ -1998-07-12 NIIBE Yutaka +2000-01-12 Satoru Tomura - * egg-mlh.el (mlh-space-bar-backward-henkan): Don't test against - egg-conversion-backend-alist. - - * egg/wnn.el (wnn-fini-lang): Reneme from wnn-fini. - (wnn-fini): New implementation calling wnn-fini-lang. - - (wnn-close): Call wnn-fini-lang. - (wnn-dictionary-save): Ditto. - - * egg/canna.el (canna-fini): Delete LANG argument. - * egg/sj3.el (sj3-fini): Ditto. - - * egg-cnv.el (egg-set-conversion-backend): Removed. - - * egg/sj3.el (sj3-start-conversion): Signal error on non-supported - language. - * egg/canna.el (canna-start-conversion): Likewise. - * egg/wnn.el (wnn-start-conversion): Likewise. - - * egg-cnv.el (egg-convert-region): Add handler for - lang-not-supported. - - * egg/wnn.el (egg-activate-wnn): load wnnrpc here conditionally. - * egg/sj3.el: Likewise. - * egg/canna.el: Likewise. - - * egg.el (egg-support-languages, egg-set-support-languages): Removed. - (egg-mode): Don't call egg-set-conversion-backend. - * egg/{canna.el, wnn.el, sj3.el}: Don't call egg-support-languages. - - * egg-cnv.el (egg-set-current-backend): Removed. - (egg-initialize-backend, egg-start-conversion, - egg-start-reverse-conversion): Don't call egg-set-current-backend. - (egg-conversion-backend-null): Rename from *-other-languages. - (egg-conversion-backend-alist): Removed. - (egg-conversion-backend): Not buffer local. - (egg-finalize-backend-alist): Removed. - -1998-07-10 NIIBE Yutaka - - * egg-cnv.el (egg-start-conversion-failure-hook): New Variable. - (egg-start-conversion-failure-fallback): New Function. - (egg-convert-region): Handle error and hook on failure. - - * egg/sj3.el (sj3-open): Remove bogus setq-s of sj3-sys-dict-list, - sj3-user-dict-list. - - * egg-mlh.el (mlh-space-bar-backward-henkan): Don't emit message - "converting...", as it may flush out error message. - - * egg/sj3rpc.el ("egg-com", "egg/sj3"): Require on compilation. - (sj3rpc-open): Failure when version is different. - -1998-07-03 KATAYAMA Yoshio - - * its/erpin.el, its/hangul.el, its/hankata.el, its/hira.el, - its/jeonkak.el, its/kata.el, its/pinyin.el, its/quanjiao.el, - its/thai.el, its/zenkaku.el: Updated using new its-*. - - * its.el (define-its-state-machine): Rewritten. - (define-its-compiled-map): Deleted. - (define-its-state-machine-append): Rewritten. - (its-defrule): Rewritten. - (its-defrule*): Rewritten. - (its-parent-states): New Variable. - (its-goto-state): Remove 2nd optional argument INITIAL-STATE. - (its-set-interim-terminal-state): New Function. - (its-make-next-state): Remove 2nd argument KEYSEQ. - -1998-07-01 NIIBE Yutaka - - * egg-mlh.el (mlh-hira-to-kata): Removed. Doesn't work any more. - (mlh-katakana): Use japanese-katakana-region. - - * egg-cnv.el (egg-conversion-map): Add again mapping for "/". - -1998-06-27 KATAYAMA Yoshio - - * egg-cnv.el (egg-abort-conversion): Bug fix. - -1998-06-27 NIIBE Yutaka - - * egg/wnn.el (wnn-dictionary-specification-list): Don' specify - for gerodic/g-jinmei. - Suggested by SAKAI Kiyotaka . - -1998-06-26 KATAYAMA Yoshio - - * its.el (its-cancel-input): Bug fix. - -1998-06-26 SAKAI Kiyotaka - - * egg-cnv.el (egg-conversion-mode, egg-help-command): New - functions for help string. - * its.el (its-mode, its-mode-help-command): Likewise. - -1998-06-26 KATAYAMA Yoshio - - * egg-cnv.el (egg-convert-region): Bug fix. - * egg.el (egg-default-language): Don't use string. - - * its/hankata.el (its-han-kata-enable-double-n, and others): - Variable name change (-han-) to distingush kata.el. - - * its/erpin.el (its-erpin-tw-enable-quanjioao-alphabet, - its-erpin-cn-enable-quanjioao-alphabet): - See its-enable-fullwidth-alphabet. - * its/kata.el (its-kata-enable-zenkaku-alphabet): Likewise. - * its/pinyin.el (its-pinyin-cn-enable-quanjioao-alphabet): Likewise. - * its/zenkaku.el (its-zenkaku-down-map): Likewise. - - * its/erpin.el (its-erpin-tw-map): Bug fix for "\\", "{", "}", and - "/". - * its/pinyin.el (its-pinyin-cn-map): Ditto. - * its/quanjiao.el (its-quanjiao-down-tw-map): Ditto. - * its/zhuyin.el (its-zhuyin-cn-enable-quanjioao-alphabet): Ditto. - - * its/hira.el (its-hira-enable-zenkaku-alphabet): Follow changes - of its.el. - * its/ascii.el (its-up-map, its-down-map): Ditto. - * its/jeonkak.el (its-jeonkak-up-map): Ditto. - - * its/hira.el (its-hira-enable-zenkaku-alphabet): - See its-enable-fullwidth-alphabet. - - * egg/wnn.el (wnn-save-dictionaries): Rewritten. - - * egg/canna.el (egg-edep): Required. - (canna-support-languages): Use symbol. - * egg/sj3.el (egg-edep): Likewise. - - * egg/wnn.el (egg-edep): Likewise. - * egg/wnnrpc.el: Use symbol. - - * menudiag.el (menudiag-mode-map): Bug fix for boundary conditions. - (menudiag-make-selection-list): Bug fix in case of many items. - - (menudiag-forward-item, menudiag-backward-item, - menudiag-goto-line): Change so that it wraps. - - * its.el (egg-edep): Required. - (its-keydef): Require unconditioanlly. - (its-mode-map): Don't call its-define-select-keys here. - (its-mode-map): Use of symbol as keymap. - (its-fence-invisible): New variable. - (its-put-cursor): Don't call its-define-select-keys. - (its-setup-fence-mode): invisible handling and its-define-select-keys. - (its-keyseq-acceptable-p): if (CDR SYL) is number, return NIL. - (define-its-state-machine): Introduce its-temporaly-map. - (define-its-state-machine-append): Likewise. - - (its-goto-state): Use symbol as keymap, not directly. - - (its-set-part-1,its-set-part-2): New function. - (its-delete-backward-within-SYL): Conditionalize. - - * egg.el (egg-edep): Required. - (egg-mode): Add remove-hook call. - Supply NIL as first argument to egg-set-conversion-backend. - make-local-hook for input-method-activate-hook. - (egg-set-face): Add optional argument OBJECT. - (egg-redraw-face): Bind inhibit-point-motion-hooks. - - * egg.el (set-buffer-multibyte): Move to egg-edep.el. - - * egg-mlh.el (mlh-space-bar-backward-henkan): Use assq. - - * egg-com.el (egg-zhuyin-syllable): compatibility change. - (encode-fixed-euc-china-region): Removed maxlen. - - Really Needed? -- gN. - * egg-com.el (egg-pinyin-syllable): Check exact match. - (egg-zhuyin-syllable): Likewise. - - * egg-cnv.el (egg-edep): Required. - (its-keydef): Not required. - (egg-conversion-map): Don't call its-define-select-keys here. - Fset it to use symbol instead of the map directly. - - (egg-get-bunsetsu-info): Add new optional argument for getting - property. - (egg-start-conversion-other-languages): set egg-conversion-backend. - (egg-set-current-backend): Use assq instead of assoc. - (egg-get-conversion-face): Likewise. - (egg-conversion-invisible): New variable. - (egg-convert-region): Change for open/close delimiter. - (egg-chinese-sisheng-regexp): New function. - (egg-separate-languages): Use egg-chinese-sisheng-regexp, - use symbol for language specifier (instead of string). - - (egg-charset-to-language): Use symbol for language specifier - (instead of string). - (egg-next-chinese-lang): Likewise. - - (egg-next-part-lang): Change the arguments. - - (egg-make-bunsetsu): New function changing egg-insert-bunsetsu. - - (egg-separate-characters): compatibility changes. - - (egg-conversion-wrap-select): New Variable. - - (egg-next-candidate): Can wrap around. - - (egg-decide-before-point): Rewritten. - (egg-abort-conversion): Back to previous one. - (egg-select-candidate): Use egg-make-bunsetsu. - - * egg-edep.el: New File for handling differences between Emacs version. - * its/thai.el: New File. - * its/hangul.el: Updated. - -1998-06-26 NIIBE Yutaka - - * Makefile (install): Don't touch .emacs and leim-list.el - directly. User should do it by her hand. - Reported by SAKAI Kiyotaka - -1998-06-25 NIIBE Yutaka - - * egg/canna.el (canna-dictionary-specification): "user" instead of - ("user"). Should chnage canna-filename later. - Reported by Akio Morita . - -1998-04-02 NIIBE Yutaka - - * egg-com.el (comm-unpack-u16-string): Call string-as-multibyte. - (comm-unpack-mb-string): Likewise. - - * egg.el (set-buffer-multibyte): Function for Emacs 20.2. - - * egg/wnn.el (wnn-open): Call set-buffer-multibyte. - * egg/sj3.el (sj3-open): Ditto. - * egg/canna.el (canna-open): Ditto. - -1998-04-02 KATAYAMA Yoshio - - Implement hilight. - * egg.el (egg-mark-list, egg-suppress-marking): New Variables. - (egg-set-face, egg-mark-modification, egg-redraw-face): New - Functions. - * its.el (its-buffer-ins/del-SYL): Call egg-set-face. - (its-setup-yanked-portion): Likewise. - * egg-cnv.el (egg-insert-bunsetsu): Call egg-set-face. - - * egg.el (egg-mode): set default backend. - * egg-mlh.el (mlh-space-bar-backward-henkan): activate input - method. - -1998-04-02 NIIBE Yutaka - - * egg-cnv.el (egg-decide-bunsetsu): Undo changes of 03-16. - (egg-abort-conversion): Call egg-end-conversion. - (egg-decide-before-point): Call egg-end-conversion widh ABORT=NIL. - -1998-03-16 NIIBE Yutaka - - CANNA Support. - * egg/canna.el, egg/cannarpc.el: New file. - * Makefile (SRCS): Added. - - * egg-cnv.el (egg-end-conversion): Add argument ABORT. - - * egg/wnn.el (wnn-end-conversion): Follow the change of - EGG-END-CONVERSION. - * egg/sj3.el (sj3-end-conversion): Likewise. - -1998-03-15 NIIBE Yutaka - - * Makefile: Add dependencies for its-keydef.elc. - * egg/sj3rpc.el (sj3-open): Don't support list of hosts. - * its.el (its-exit-mode, its-kick-convert-region): Bug fix. Call - its-input-end and its-put-cursor. - (its-exit-mode-off-input-method): Removed. - -1998-03-14 KATAYAMA Yoshio - - * docomp.el (its-keydef): Undo the changes of 03-09. its.el - is fixed. - - * egg-cnv.el (egg-current-language): New valiable. - (egg-bunsetsu-info): Separate bunsetsu-info and lunguage. - (egg-conversion-backend-other-languages - egg-init-other-languages - egg-start-conversion-other-languages - egg-get-bunsetsu-converted-other-languages - egg-get-bunsetsu-source-other-languages - egg-list-candidates-other-languages - egg-get-number-of-candidates-other-languages - egg-get-current-candidate-number-other-languages - egg-get-all-candidates-other-languages - egg-decide-candidate-other-languages - egg-change-bunsetsu-length-other-languages - egg-end-conversion-other-languages - egg-fini-other-languages): New valiable and functions for - handling unknown language. - (egg-set-current-backend): Set egg-conversion-backend-other-languages - when backend for specified language isn't found. - (egg-start-reverse-conversion): New function for reverse conversion. - (egg-set-conversion-backend-internal): Removed. - (egg-set-conversion-backend): Args are changed. - (egg-get-conversion-face): New function for different face for - every language. - (egg-convert-region): Make converting text read-only. Handle - unknown laguages and backend opening error. Rename its-lang to - egg-lang. - (egg-separate-languages): Argument use-context is added to - utilize context when called by its-yank. Rename its-lang to - egg-lang Improve speed. - (egg-charset-to-language): Renamed from egg-char-to-language. - (egg-next-part-lang egg-next-chinese-lang): Rename its-lang to - egg-lang. - (egg-conversion-map): Unbind C-\ and /. Bind C-X RET XXX to - its-select-XXX. - (egg-insert-bunsetsu): Make conversion text read-only. Separate - bunsetsu-info and conversion-backend. - (egg-insert-bunsetsu-list): Remove redundant variables. - (egg-beginning-of-conversion-buffer): New function. - (egg-end-of-conversion-buffer): New function. - (egg-enlarge-bunsetsu): Handle read-only text. - (egg-next-candidate): Handle read-only text. Bug on no candidate - bunsetsu is fiexed. - (egg-reconvert-bunsetsu-internal egg-reverse-convert-bunsetu - egg-reconvert-bunsetsu): New functions for reverse conversion and - re-conversion. - (egg-decide-before-point egg-abort-conversion): Handle read-only - text. Bug on pinyin and zhuyin mixed conversion is fixed. Allow - long fence. - (egg-select-candidate): Handle read-only text. Bug on no candidate - bunsetsu is fiexed. - - * egg-com.el: Change coding-system from internal to iso-2022-7bit. - - * egg-mlh.el (mlh-space-bar-backward-henkan): Disable temporally - mode selection. - - * egg.el (egg-mode): Set cureent lang to conversion backend. - (egg-set-mode-line-title): Renamed to its-set-mode-line-title - and moved to its.el. - (egg-check-language): Removed. - - * egg/sj3.el (sj3-server-port): Change from defconst to defver for - user customization. - (sj3-open sj3-get-environment): Try opening alternate servers. - (sj3-start-conversion): Make second argument LANGUAGE optional. - (egg-activate-sj3): Parameters of egg-set-conversion-backend is - changed. - - * egg/sj3rpc.el (sj3rpc-error-message): New constant (Not yet - completed). - (sj3rpc-get-error-message): Check range of errno to avoid - args-out-ou-range error. - - * egg/wnn.el (wnn-jport wnn-cport wnn-tport wnn-kport): New - variables for user customization. - (wnn-server-info-list wnn-server-port): Type of fourth element - is changed from integer to symbol. - (wnn-start-reverse-conversion): New function. - (wnn-open wnn-get-environment): Try opening alternate servers. - (egg-activate-wnn): Parameters of egg-set-conversion-backend is - changed. - - * its-keydef.el (its-current-language): Moved to its.el. - (its-make-select-func): Remove language check (egg-check-language). - Add temporally mode selection. - (its-do-list-make-select-func): Binding of zhuyin-tw is changed to - `C' because conflicting zenkaku-upcase. - - * its.el (its-current-select-func its-previous-select-func): New - variables for temporally mode selection. - (its-keydef requiring): Use eval-when to avoid error on using - compiled file. - (its-get-fence-face): New function for different face for - every language. - (its-put-cursor its-setup-fence-mode): Make fence read-only. - (its-start): Remove force-mode-line-update calling. - (its-restart): Add optional argument set-prop. - (its-self-insert-char its-backward-SYL its-forward-SYL - its-delete-SYL its-delete-backward-SYL its-exit-mode - its-delete-backward-SYL-by-keystroke its-transpose-chars - its-kick-convert-region its-end-of-input-buffer): Handle read-only - fence. - (its-state-machine): Accept special actions to handle temporally - mode selection. - (its-buffer-ins/del-SYL its-ins/del-SYL-batch): Handle read-only - fence. Property its-lang is renamed to egg-lang. - (its-get-next-state its-make-next-state): Add type check to avoid - wrong-type-argument error. - (its-keyseq-acceptable-p): Save informations of its-map to avoid - confusing on temporally mode selection. - (its-defrule-select-mode-temporally): New macro. - (its-kill-line its-cancel-input): New function. - (its-delete-backward-within-SYL): Bind its-current-language to - avoid confusing when undo is done beyond language change. - (its-yank its-yank-pop its-setup-yanked-portion): New functions. - (its-exit-mode-internal): Reset temporally selected mode. Allow - long fence. - (its-kick-convert-region-or-self-insert): New function. - (its-translate-region): Remove text properties completly. - (its-set-mode-line-title): Moved from egg.el and renamed. - (its-select-mode-temporally its-select-previous-mode): New functions - for temporally mode selection. - - * leim-list-egg.el: Secondary argument for egg-activate-sj3/wnn - is no longer needed. - - * its/hira.el: Remove the rule for "~" which destroies the rules - with its-hankaku-escape. - - * its/pinyin.el: Implement its-pinyin-cn-enable-quanjioao-alphabet - and its-pinyin-tw-enable-quanjioao-alphabet. - - * its/hangul.el: Implement its-hangul-enable-quanjioao-alphabet. - - * its/ascii.el: New file. - * its/erpin.el: New file. - * its/hankata.el: New file. - * its/jeonkak.el: New file. - * its/kata.el: New file. - * its/quanjiao.el: New file. - * its/zenkaku.el: New file. - * its/zhuyin.el: New file. - -1998-03-14 NIIBE Yutaka - - * egg/sj3rpc.el (sj3rpc-close): New function. - - * egg/sj3.el (sj3bunsetsu-[sg]et-kugiri-changed): Rename from - sj3bunsetsu-get-stdy-down. - (sj3-end-conversion): Implement CLSTDY. - (sj3-fini): Implemented. - -1998-03-10 NIIBE Yutaka - - * egg/sj3.el (sj3-end-conversion): Implement bunsetsu study. - CLSTDY not yet. - - * egg/sj3rpc.el (sj3rpc-get-bunsetsu-candidates-sub): Bug fix. - Always add hiragana and katakana candidates. - (sj3-const: CLSTDY, CLSTDY_EUC): Renamed from END and END_EUC - according to "sj3cmd.h" of SJ3 distribution. - (sj3rpc-bunsetsu-stdy, sj3rpc-kugiri-stdy): New functions. - - * egg-com.el (comm-format-u8-vector): New substitution. - (comm-format): New format 'v'. - -1998-03-09 NIIBE Yutaka - - * docomp.el (its-keydef): Require its-keydef when compile. - Not so good. Just a work around. - (its-mode-map): Undo the changes of 03-04. - -1998-03-09 KATAYAMA Yoshio - - * its.el (its-translate-region): Make it command. - (its-translate-region-internal): Make it function. - -1998-03-04 NIIBE Yutaka - - * its.el (its-define-select-keys of its-mode-map): Comment it out. - * its-keydef.el (its-make-select-func): Add eval-when to compile this. - - * egg-cnv.el (egg-decide-bunsetsu): Deleted. - * its.el (its-restart): Call its-setup-fence-mode with no argument. - - * its.el (its-keyseq-acceptable-p): Bug fix. - -1998-03-03 KATAYAMA Yoshio - - *its.el (its-get-keyseq-syl): Compensate when DSYL has back. - (its-DSYL-with-back-p): New function. Return t when DSYL has back. - (its-concrete-DSYL-p): New function. Return t when DSYL is cons - form which means input is not continued after DSYL was created. - (its-make-concrete-DSYL): New function. - (its-self-insert-char): Make DSYL to ``concrete-DSYL'' if cursor - is t which means input is not continued. - (its-input): Test input key is whether acceptable or not when - its-barf-on-invalid-keyseq is non-nil. - (its-input-to-vsyl): Set cursor status, not just returning it. - (its-state-machine its-state-machine-keyseq): Make sure to issue - ``DSYL-with-back'' when syllable is decided by the rule with back. - ``test mode'' is added. - (its-keyseq-acceptable-p): New function. - (its-forward-SYL): The args order of put-text-property was wrong. - (its-delete-backward-SYL-by-keystroke): New function. - (its-delete-backward-within-SYL): ``delete-by-keystroke'' mode - did not work when syllable is decided by the rule with back. - Deletion limit is extended to outside of SYL (meaning of - ``within-SYL'' is changed to ``deletion starts within SYL). - (its-transpose-chars): Fixed up. - (its-in-fence-p): Confuse at openning fence. - -1998-02-25 KATAYAMA Yoshio - - * its.el (its-put-cursor): Enable its-map change in fence mode. - - * its-keydef.el (its-make-select-func): Same as above. - -1998-02-25 KATAYAMA Yoshio - - * its.el (its-set-cursor-status): New function. - (its-setup-fence-mode): New function. - (its-insert-fence-open its-insert-fence-close): Deleted. - (its-start, its-restart, its-self-insert-char): Avoid fence - destruction on its-barf. - (its-input-to-vsyl, its-state-machine, its-state-machine-keyseq, - its-buffer-ins/del-SYL, its-ins/del-SYL-batch): Update cursor - status on updating syllables. - (its-input-error): New function to realize doc-string of - its-barf-on-invalid-keyseq. - - * egg.el (egg-mode): Don't use egg-mode-line-title which cause - wrong-type-argument at isearch. Bind its-select-XXX to key only - when modefull is select. - - * egg-mlh.el (mlh-hangul, mlh-zhongwen, mlh-zhongwen-tw): Same - as above. - - * its-keydef.el (its-make-select-func): Same as above. - - * leim-list-egg.el: Same as above. - -1998-02-24 KATAYAMA Yoshio - - * its.el (its-state-machine-keyseq): Remove binding - its-barf-on-invalid-keyseq to nil. - (its-ins/del-SYL-batch): Avoide altering its-XXX-map. - (its-translate-region-internal): its-translation-result's data - type is changed to string. - - * egg-cnv.el (egg-convert-region): Gather contiguous same - language part. - -1998-02-21 KATAYAMA Yoshio - - * its.el (its-ins/del-SYL-batch): Set its-lang property. - (its-translate-region): Remove its-lang property from translated - text. - (its-translate-region-internal): New function. Retain its-lang - property on translated text. - - * egg-mlh.el (mlh-space-bar-backward-henkan): Force base language - to Japanese. - - (mlh-hangul mlh-zhongwen-tw mlh-zhongwen): New functions for - conversion functions. - -1998-02-20 KATAYAMA Yoshio - - * its.el (its-restart): New function. - (its-insert-fence-open, its-insert-fence-close): New function. - (its-start): Rewritten. Use its-insert-fence-open and - its-insert-fence-close. - (its-exit-mode-internal): Leave its-syl property. - (its-exit-mode-internal): Delete the property in this case. - (its-keydef): Require it. - - * its-keydef.el: Provide the feature. - - * egg-cnv.el (egg-convert-region): Add egg-source property to save - the source string. - (egg-conversion-map, \C-c): New keybind. - (egg-get-previous-bunsetsu): Bug fix. - (egg-decide-before-point): New implementation. - (egg-exit-conversion): Use gg-decide-before-point. - (egg-abort-conversion): New command. - -1998-02-20 NIIBE Yutaka - - * Makefile (SRCS), Egg.prj: Remove euc-china.el. - * egg-com.el: Include egg-china.el. - * egg-china.el: Removed. - -1998-02-18 NIIBE Yutaka - - * Egg.prj: Use PRCS. - - * Makefile (SRCS): Rename euc-cn.el to euc-china.el - * egg-mlh.el (mlh-space-bar-backward-henkan): Put "Japanese" - language property for text. - -1998-02-18 KATAYAMA Yoshio - - * euc-china.el: Rename from euc-cn.el. Update. - - * egg.el (egg-mode): Bug fix. Call get-exit-conversion. - * leim-list-egg.el ("japanese-egg-wnn", "japanese-egg-sj3"): - Use new definition (with language argument). - * egg/wnn.el (egg-activate-wnn): - * egg/sj3.el (egg-activate-sj3): - -1998-02-17 NIIBE Yutaka - - * Makefile (SRCS): Add its/pinyin.el, its/hangul.el and - its-keydef.el. - - * egg-com.el (ccl-encode-fixed-euc-kr): Fixed the name. - -1998-02-17 KATAYAMA Yoshio - - * its-keydef.el: New file. - * its/hangul.el, its/pinyin.el: New version. - - * egg/wnnrpc.el (load-library "egg/wnn"): Comment it out. - (wnnrpc-get-error-message): Support multiple languages. - (wnnrpc-call-with-environment): Chinese support. - - * egg/wnn.el (wnn-support-languages): New const. - (): Add , , and . - (wnnenv-get-server-type, wnnenv-get-dictionary-set, - wnnenv-get-reverse-flag): New substs. - (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Changed. - (wnn-server): Removed. - (wnn-jserver, wnn-cserver, wnn-tserver, wnn-kserver): New custom. - (wnn-server-info-list): New const. - (wnn-get-server-info): New function. - (wnn-server-locale, wnn-server-type, wnn-server-port, - wnn-server-stream-name, wnn-server-buffer-name, - wnn-server-coding-system, wnn-server-hostname): New substs. - (wnn-start-conversion): Add new arguments. - (wnn-uniq-candidates): Initialize 'n'. - (wnn-change-bunsetsu-length): Simplefied. - (wnn-change-bunsetsu-length): Call renbunsetsu-conversion, - instead. - (wnn-fini, wnn-comm-sentinel): back to 971009 version. - (wnn-jserver-port): Removed. - (wnn-open): Argument change. Support languages. - - (wnn-dictionary-specification): Removed. - (wnn-dictionary-specification-list): New variable. - (wnn-get-dic-spec, wnn-dic-spec-dic-set, wnn-dic-spec-reverse, - wnn-dic-spec-name, wnn-dic-spec-param, wnn-dic-spec-fuzokugo, - wnn-dic-spec-dic-list): New substs. - (wnn-get-environment): Rewrite. - (wnn-create-environment): Rewrite. - - (egg-activate-wnn): Support languages. - - * egg/sj3rpc.el (load-library "egg/sj3"): Don't load it. - - * egg/sj3.el (sj3-support-languages): New const. - (sj3-start-conversion, sj3-fini): Add lang. - (sj3-change-bunsetsu-length): Simplified. - (egg-activate-sj3): Support language. - - * its/hira.el (its/hira): Packagefy. (?) - (its-hira-map): Add language spec. Move here the escape keys - ("Z", "~"). - - * leim-list-egg.el ("chinese-gb-egg-wnn-py", "chinese-gb-egg-wnn-zy", - "chinese-cns-egg-wnn-py", "chinese-cns-egg-wnn-zy", - "korean-egg-wnn"): New input methods. - - * its.el (its-current-language): New Local Variables. - : Change the structure. Add . - (its-get-language): New substitution. - (its-set-indicator): Removed. - (its-get-indicator, its-get-start-state): New implementation. - (its-reset-start-state): Removed. - (its-buffer-ins/del-SYL): Add new properties, its-map and its-lang. - (its-exit-mode-internal): Change for its-map and its-lang. - (its-in-fence-p): New function. - - ("its-keydef.el"): Load it. - - (its-select-map-menu): Removed. - (its-select-map-from-menu): Removed. - (its-select-hiragana, its-select-katakana, its-select-downcase, - its-select-upcase, its-select-zenkaku-downcase, - its-select-zenkaku-upcase, its-select-map, its-zenkaku-escape, - its-hankaku-escape): Removed. - - (define-its-state-machine): Rewrite. - (define-its-compiled-map): New macro. - (its-define-state-machine): Removed. - - (its-forward-SYL): Cleanup. - - (its-beginning-of-input-buffer): Fix. - (its-end-of-input-buffer): Likewise. - - * egg-com.el (egg-fixed-euc, egg-mb-euc): New Local Variables. - (ccl-decode-fixed-euc-kr, ccl-encode-fixed-euc-kr): New CCLs. - (fixed-euc-kr): New coding system. - (comm-format-mb-string, comm-format-u16-string): Support EUC-KR. - (comm-unpack-u16-string, comm-unpack-mb-string): Likewise. - - * egg-cnv.el (egg-get-bunsetsu-info): New function. - (egg-conversion-backend-alist, egg-finalize-backend-alist): - New Variables. - Make egg-conversion-backend buffer local. - (egg-set-current-backend): New function. - (egg-initialize-backend): Call egg-set-current-backend. - (egg-start-conversion): Add new argument LANGUAGE. - (egg-finalize-backend): Finalize for all backend(s). - (egg-set-conversion-backend-internal): New Macro. - (egg-convert-region): Support multiple languages in the region. - (egg-separate-languages, egg-char-to-language, egg-next-part-lang, - egg-next-chinese-lang): New functions. - (egg-insert-bunsetsu-list): Change the meaning of last argument. - (egg-shrink-bunsetsu): Simplified. Just call egg-enlarge-bunsetsu. - (egg-enlarge-bunsetsu): Support shrink. - - (egg-decide-bunsetsu, egg-next-candidate, egg-select-candidate): - Use egg-get-bunsetsu-info. - - (egg-insert-bunsetsu): The property now includes - egg-conversion-backend. - - * egg.el: Don't load its/hira and don't set its-current-map. - - * egg.el (egg-default-language, egg-support-languages): New Variables. - (egg-last-method-name, egg-mode-line-title): New Local Variables. - (egg-set-mode-line-title, egg-check-language): New functions. - (egg-set-support-languages): New function. - (egg-mode): Final processing: call its-exit-mode, call - egg-exit-conversion. - Changing the arguments, remember last input method. - - Bug fix. Don't set its-hira-period and its-hira-comma. - -1998-02-17 KAWABATA, Taichi - - * menudiag.el (menudiag-mode-map): New binds for new commands. - (menudiag-beginning-of-items, menudiag-end-of-items): New commands. - (menudiag-make-menu-formatted-string): Bug fix. Use - menudiag-item-num-to-char. - (menudiag-goto-item): Rewrite. Better user interface. - (menudiag-char-to-item-num, menudiag-item-num-to-char): New - functions. - -1998-02-07 MORIOKA Tomohiko - - * leim-list-egg.el: Delete autoload setting for `egg-mode'. - Delete input method registration for "japanese-egg". - - * egg.el: Comment out setting for Wnn. - - * leim-list-egg.el: Add autoload setting for - `egg-activate-{wnn|sj3}'. - - * egg/sj3.el (egg-activate-sj3): Add DOC-string. - - * egg/sj3.el (egg-activate-sj3): New function. - Require egg. - Load egg/sj3rpc.el. - - * egg/wnn.el (egg-activate-wnn): New function. - Require egg. - Load egg/wnnrpc.el. - -1998-02-07 MORIOKA Tomohiko - - * leim-list-egg.el (japanese-egg-wnn): New input method. - (japanese-egg-sj3): New input method. - -1997-11-20 MORIOKA Tomohiko - - * leim-list-egg.el: Rename `egg-ja' -> `japanese-egg'. - -1997-11-20 MORIOKA Tomohiko - - * egg/wnn.el (wnn): New group. - (wnn-server): Use `defcustom'. - (wnn-usr-dic-dir): Use `defcustom'. - - * egg.el (egg): New group. - -1997-11-20 MORIOKA Tomohiko - - * menudiag.el (menudiag-mode-map): Swap binding for left and - right. - - * egg.el (egg-toroku-region): `wnn-get-environment' requires - dictionary-specification. - - * leim-list-egg.el: add autoload setting for egg-mode. - -1997-11-03 KATAYAMA Yoshio - - * euc-cn.el: New file. Original name was yincoding.el. - Adopted by NIIBE Yutaka . - -1997-11-03 NIIBE Yutaka - - * its.el (its-start): Add INVISIBLE property if ITS-FENCE-FACE. - * egg-cnv.el (egg-decide-before-point): Ditto. - Based on patch by Kenichi HANDA . - - Once, I thought that we need many environments which correspond to - outstanding CONVERSION buffre. However, I've learned that WNN4 - protocol is completely independent. It's no use to maintain each - environment. Share the one environment. - * egg/wnn.el (wnn-environments): Removed. - (wnn-environment): New variable. - (wnn-comm-sentinel): Follow the change. Let users know the close. - (wnn-fini): Likewise. - - : Remove the member . - (wnnenv-create): Follow the structure change. - (wnn-end-conversion): Likewise. - (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Removed. - (wnn-find-env-not-in-use): Removed. - (wnn-get-environment): Use wnn-environment instead of wnn-environments. - Take one argument. - - * egg-cnv.el (egg-decide-before-point): Signal error on first SYL. - Reported by KATAYAMA Yoshio . Changes of 1997-09-07 - was not enough. - Set-marker M to NIL after PUT-TEXT-PROPERTY. - - Because the name of identifier begins egg-*, change the file names. - * tamago: Rename from tamago. - * egg.el, egg-mlh.el, egg-com.el, egg-cnv.el: Rename from tamago-*.el - * Makefile: Follow the changes. - -1997-10-05 NIIBE Yutaka - - * tamago/wnn.el (wnn-uniq-candidates): Add new argument BUNSETSU. - Call WNN-BUNSETSU-SET-ZENKOUHO-POS, WNN-BUNSETSU-SET-ZENKOUHO in - this function. Handle the case where BUNSETSU is not the first - element of BUNSETSU-LIST. - (wnn-list-candidates): Use new API of WNN-UNIQ-CANDIDATES. - - * tamago-cnv.el (egg-next-candidate): Handle the case where - EGG-LIST-CANDIDATES returns non zero value. - -1997-10-04 NIIBE Yutaka - - * Makefile (install): Install to SITEDIR. - -1997-09-26 NIIBE Yutaka - - * its/hira.el (its-hira-enable-zenkaku-alphabet): New variable. - (its-hira-map): Use it. - -1997-09-19 NIIBE Yutaka - - Arrange for LEIM. Use tamago/ subdirectory. - * tamago/: Rename from tamago-lib. - -1997-09-18 NIIBE Yutaka - - * tamago-cnv.el (egg-select-candidate): menu-select --> - menudiag-select. - * tamago.el (egg-toroku-region, egg-hinshi-select): Likewise. - - * tamago-cnv.el (egg-exit-conversion): Run hook of - input-method-after-insert-chunk-hook. - * its.el (its-exit-mode-internal): Ditto. - - * tamago-mlh.el (mlh-comma-period-style): Deleted. - - * its/, tamago-lib/: New directory. - * its/: Move its-*.el files here. - * tamago-lib/: Move sj3.el, sj3rpc.el, wnn.el and wnnrpc.el here. - - * tamago-com.el: Rename from comm.el. - * tamago-mlh.el: Rename from mlh.el. - * tamago-cnv.el: Rename from convert.el. - - * menudiag.el: Rename from menu.el. - (Throughout): Rename menu-* to menudiag-*. - -1997-09-07 NIIBE Yutaka - - * egg.el (egg-insert-after-hook, egg-exit-hook): Removed. - (egg-sai-henkan-start, egg-sai-henkan-end, egg-old-bunsetu-suu): - Removed. - - * wnn.el (WNN-const): New macro. - (wnn-start-conversion, wnn-open-dictionary, wnn-open-frequency, - wnn-set-dictionary-sub, wnn-update-frequency): Use it. - - * wnnrpc.el (wnn-const): New macro. - Throughout: Use wnn-const. - - * convert.el (egg-decide-before-point): Bug fix. Handle the case - where all bunsetsu are decided. - Reported by KATAYAMA Yoshio . - - * convert.el (egg-exit-conversion): Call egg-end-conversion at end. - (egg-decide-before-point): Ditto. - - * wnn.el (wnn-environments): Change the structure of enviromnents. - (wnn-fini): Handle errors. - (wnn-open): Set sentinel. Delete buffer on failure. - (wnn-comm-sentinel): New function. - (wnn-find-env-not-in-use): Return nil when not found. - - (wnn-create-environment): Take username as argument. - (wnn-get-environment): Follow the change. - - (wnnenv-create): Remove useless serial no. - (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Follow the change. - (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Likewise. - (wnn-create-environment, wnn-get-environment): Likewise. - -1997-09-04 NIIBE Yutaka - - * its.el (its-state-machine-keyseq): Bug fix. Handle VSYL. - - * sj3.el, sj3rpc.el: New files. - - * comm.el (comm-call-with-proc, comm-call-with-proc-1): New macros. - * wnnrpc.el (wnnrpc-call-with-proc, wnnrpc-call-with-proc-1): Deleted. - Throughout: Use comm-call-with-proc and comm-call-with-proc-1. - -1997-09-03 NIIBE Yutaka - - * wnnrpc.el (wnnrpc-call-with-proc-1): Bug fix. let --> progn. - - * convert.el (egg-conversion-backend): Initail value is NIL. - - * wnn.el (wnn-conversion-backend): New constant. - - * comm.el (comm-format,comm-unpack): Support multibyte string. - (comm-format-mb-string): New substitution. - (comm-unpack-mb-string): New substitution. - - * wnn.el (wnn-fini): Handle the case where wnn-environments is nil. - Reported by Hisashi Miyashita . - -1997-09-03 Hiroshi Ogata - - * mlh.el (mlh-zenkaku): Use new API of Emacs-20, - japanese-zenkaku-region. - -1997-09-02 NIIBE Yutaka - - * egg.el (egg-toroku-region): New function. - - * wnn.el (wnn-list-dictionaries): New function. - (wnnenv-get-proc): New function. - - * wnnrpc.el (wnndic-get-id, wnndic-get-comment, wnndic-get-dictname): - New substitution. - (wnnrpc-get-writable-dictionary-id-list): Rename from - wnnrpc-get-writable-dictionary-list. - -1997-09-01 NIIBE Yutaka - - * convert.el (egg-decide-bunsetsu): New function. - (egg-decide-before-point): New command. - (egg-exit-conversion): Use egg-decide-bunsetsu. - - * its.el (its-start): Divide the fence buffer into two parts and - make them intangible, so that point goes appropriate position. - (its-put-cursor): The cursor belongs to part-2. - (its-buffer-ins/del-SYL): The new SYL belongs to part-1. - (its-exit-mode-internal): Remove the property on exit. - (its-beginning-of-input-buffer): Make SYLs have property of "part 2". - (its-backward-SYL): Likewise. - (its-forward-SYL): Make SYLs have property of "part 1". - (its-end-of-input-buffer): Likewise. - - (its-input-end): Delete useless argument. - (its-beginning-of-input-buffer, its-exit-mode, - its-exit-mode-off-input-method, its-kick-convert-region, - its-end-of-input-buffer, its-backward-SYL, its-forward-SYL, - its-delete-SYL): Follow the change. - -1997-08-31 NIIBE Yutaka - - For egg-mode, don't use minor mode, override local map instead. - For its-mode and egg-conversion-mode, don't use minor mode, - instead use local-map of text property. - - Although overriding local map is not good, using local-map of - property is natural thing. Besides, point-left/point-entered - don't work as I expected (yet). - - * egg.el (egg-mode: variable): Removed. - * egg.el (egg-modefull-map, egg-modeless-map): Make them functions. - Generate overriding local map. - * egg.el (egg-mode): use overriding local map. - - * its.el, convert.el: Undo changes of 1997-08-28 for minor mode - and local map of text properties. - - * its.el (its-exit-mode-off-input-method): New function. - -1997-08-29 NIIBE Yutaka - - Let Undo work correctly. - * its.el (its-self-insert-char): Delete/Insert cursor. - - * its.el (its-put-cursor): Remove useless first argument. - (its-start, its-beginning-of-input-buffer, its-end-of-input-buffer, - its-backward-SYL, its-forward-SYL, its-delete-SYL, its-delete-SYL, - its-delete-backward-SYL-internal, its-delete-backward-within-SYL): - Follow the change. - -1997-08-28 KATAYAMA Yoshio - - * its-erpin.el: New file. - * its-pinyin.el: New file. - * its-zhuyin.el: New file. - -1997-08-28 NIIBE Yutaka - - * its.el (its-exit-mode-no-egg): Removed. - (its-exit-mode-internal): Remove first argument. - (its-kick-convert-region, its-delete-SYL, - its-delete-backward-SYL-internal, its-delete-backward-within-SYL): - Follow the change. - - Don't use local map of text properties, instead use minor mode. - * convert.el (egg-conversion-mode): New minor mode. - (egg-conversion-left, egg-conversion-enter): New functions. - (egg-insert-bunsetsu): remove local-map, add point-entered and - point-left properties. - (egg-exit-conversion): Likewise. - (egg-exit-conversion): Exit minor mode. - - * its.el (its-put-cursor): remove local-map, add point-entered and - point-left properties. - (its-enter, its-left): New functions. - (its-mode): New variable. New minor mode. - -1997-08-27 NIIBE Yutaka - - * convert.el (egg-exit-conversion-no-egg): Removed. - (egg-exit-conversion): No argument, no egg-mode. - - * convert.el (egg-convert-region): No egg-flag. - * its.el (its-exit-mode-internal): Follow it. - * mlh.el (mlh-space-bar-backward-henkan): Ditto. - -1997-08-26 NIIBE Yutaka - - * wnn.el (wnn-change-bunsetsu-length): Don't use magic #3. - - * convert.el (egg-insert-bunsetsu-list): Add optional argument - CONTIN. - -1997-08-25 NIIBE Yutaka - - * convert.el (egg-insert-bunsetsu): Include seperator. Add - intangible property to bunsetsu. - (egg-insert-bunsetsu-list): Follow the change. - (egg-backward-bunsetsu, egg-forward-bunsetsu, - egg-select-candidate, egg-next-candidate, - egg-shrink-bunsetsu, egg-enlarge-bunsetsu, - egg-exit-conversion): Ditto. - - * mlh.el (mlh-space-bar-backward-henkan): Call egg-convert-region - with last argument t. Turn of egg-mode. - -1997-08-24 NIIBE Yutaka - - * its.el (its-exit-mode-internal): Inactivate input method. - - * wnn.el (wnn-end-conversion): Change the interface. - (wnn-update-frequency): Follow the change. - * convert.el (egg-exit-conversion): Follow the change. - - * wnn.el (wnn-start-conversion): Change the return value interface. - * convert.el (egg-convert-region): Follow the change. - - * wnn.el (wnnenv-get-bunsetsu-pos, wnnenv-set-bunsetsu-pos): Removed. - (wnn-get-bunsetsu-source-afterwards): Removed. - (wnn-get-number-of-bunsetsu, wnn-get-bunsetsu-info): Removed. - (wnnenv-get-bunsetsu-list, wnnenv-set-bunsetsu-list): Removed. - (wnn-start-conversion): Don't call wnnenv-set-bunsetsu-list. - (wnn-end-conversion): Ditto. - -1997-08-23 NIIBE Yutaka - - * convert.el (egg-change-bunsetsu-length): Change the interface. - (egg-shrink-bunsetsu,egg-enlarge-bunsetsu): Follow it. - - (egg-source-maxlen-from-here): Removed. - (egg-get-previous-bunsetsu): New function. - (egg-select-candidate, egg-shrink-bunsetsu, egg-enlarge-bunsetsu, - egg-next-candidate): Use egg-get-previous-bunsetsu. - -1997-08-20 NIIBE Yutaka - - * egg.el (minor-mode-alist): Don't show " EGG" in mode line. - (egg-mode): Use input method indicator instead. - -1997-07-20 NIIBE Yutaka - - * convert.el (egg-next-candidate): Rename from egg-next-conversion. - (egg-previous-candidate): Rename from egg-previous-conversion. - (egg-select-candidate): Follow the change of new interface. - (egg-source-maxlen-from-here): Likewise. - -1997-07-19 NIIBE Yutaka - - * wnn.el (wnn-start-conversion): Change the interface. Return ENV - and the list of bunsetsu. Fix the documentation string too. - * convert.el (egg-convert-region): Follow the change. - (egg-insert-converted-result): Change the argument. - (egg-insert-bunsetsu-list): Rename from egg-insert-converted-result. - (egg-insert-bunsetsu): New function. - (egg-get-number-of-bunsetsu,egg-get-bunsetsu-info): Removed. - (egg-backward-bunsetsu): Don't use bunsetsu-pos. - - * wnn.el (wnn-get-bunsetsu-converted): Change the interface. Take - BUNSETSU as the argument instead of ENV and POS. - * convert.el (egg-get-bunsetsu-converted): Follow the change. - - * wnn.el (wnn-bunsetsu-create): Take ENV as the first argument. - (wnn-list-candidates): Dont take ENV. - (wnn-bunsetsu-get-env): New substitution. - - * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub): Take the argument - for ENV, and use it for the argument of wnn-bunsetsu-create. - (wnnrpc-receive-sho-bunsetsu-list): Take ENV as the first argument. - (wnnrpc-renbunsetsu-conversion): Follow the change. - -1997-07-17 NIIBE Yutaka - - * convert.el (egg-decide-candidate): Change the interface. - Take the argument bunsetsu-info instead of conversion-engine. - - * wnn.el (wnn-get-candidate): Deleted. - - * convert.el (egg-get-all-candidates): Change the interface. - Take an argument bunsetsu-info instead of conversion-engine. - (egg-select-candidate): Follow the change. - - * convert.el (egg-set-bunsetsu-pos,egg-get-bunsetsu-pos): Deleted. - (egg-list-candidates,egg-get-current-candidate-number): New stub. - * wnn.el (wnn-bunsetsu-create): Add new member zenkouho-pos. - (wnn-bunsetsu-get-zenkouho-pos,wnn-bunsetsu-set-zenkouho-pos): New - functions. - (wnn-list-candidates,wnn-get-current-candidate-number): New functions. - (wnn-set-bunsetsu-pos,wnn-get-bunsetsu-pos): Deleted. - - * convert.el (egg-get-number-of-candidates): Change the interface. - Take an argument bunsetsu-info instead of conversion-engine. - (egg-next-conversion,egg-select-candidate): Follow the change. - * wnn.el (wnn-get-number-of-candidates): Follow the change. - - * wnn.el (wnn-get-bunsetsu-source-afterwards): New function. - (wnn-change-bunsetsu-length): Use it. - - * convert.el (egg-get-bunsetsu-source): Change the interface. - Take an argument bunsetsu-info instead of conversion-engine. - (egg-enlarge-bunsetsu,egg-shrink-bunsetsu,egg-source-maxlen-from-here): - Follow the change. - * wnn.el (wnn-get-bunsetsu-source): Follow the change. - - Put bunsetsu information on text property. - * wnn.el (wnn-get-bunsetsu-info): New function. - - * convert.el (egg-insert-converted-result): Put it on text property. - (egg-conversion-backend): Add new interface - wnn-get-bunsetsu-info. - (egg-get-bunsetsu-info): New stub. - -1997-07-17 KATAYAMA Yoshio - - * its.el (its-state-machine-keyseq, its-state-machine): Handle - end-of-input correctly when going backward. - -1997-07-16 NIIBE Yutaka - - * wnn.el (wnn-create-directory): Bug fix. Really make directory. - -1997-07-15 NIIBE Yutaka - - * its-hangul.el (its-define-hangul): Use its-defrule-otherwise. - -1997-07-15 KATAYAMA Yoshio - - * its-hangul.el: Updated. - -1997-06-19 NIIBE Yutaka - - * its-hira.el: its-hira-hankaku-escape --> its-hankaku-escape. - its-hira-zenkaku-escape --> its-zenkaku-escape. - -1997-06-14 NIIBE Yutaka - - * its.el: Change the data structure of so - that it can encourage sharing same structure and it can use same - structure of SYL. - (its-ins/del-SYL-batch): Follow the change of data structure. - (its-define-otherwise): Change the argument. - (its-defrule-otherwise): New function. - (its-eob-keyexpr, its-eob-back, its-make-class+back, - its-make-otherwise): New substitutions. - -1997-06-13 NIIBE Yutaka - - * its-kana.el: New file. Taken from its/kanainput.el of Mule-2.3. - - * its-hira.el: Use `define-its-state-machine'. - - * its.el (its-zenkaku-escape, its-hankaku-escape): Make them - defconst. - (define-its-state-machine, define-its-state-machine-append): New - macro. - -1997-06-13 NIIBE Yutaka - - * its-hira.el ("n'"): Added. - -1997-06-12 NIIBE Yutaka - - its-zenkaku-escape and its-hankaku-escape are also used in hangul. - * its.el (its-zenkaku-escape, its-hankaku-escape): Moved to here - and rename them. - * its-hira.el (its-hira-hankaku-escape, its-hira-zenkaku-escape): - Removed. - - * its.el (its-read-current-its-string): Removed. There's the - function `read-multilingual-string' already. - -1997-06-12 KATAYAMA Yoshio - - * its-hangul.el: New file. - -1997-06-10 NIIBE Yutaka - - Miscellaneous cosmetic changes. - * comm.el: New file. Move communication related funcitons from - wnnrpc.el. - (comm-format-u32c, and others): Rename from wnnrpc-*. - * wnnrpc.el (Throughout): Follow the rename. - - * wnn.el (wnnenv-get-in-use-flag): Rename from wnn-e-get-in-use. - (wnnenv-set-in-use-flag): Rename from wnn-e-set-in-use. - (Others): Rename from wnn-e-*. - (wnn-bunsetsu-*): Rename from wnnrpc-b-*, and moved from wnnrpc.el. - - * convert.el (egg-exit-conversion): Call egg-do-auto-fill. - - * its.el (its-translate-region): Bug fix. End of input. - (its-state-machine): Bug fix. Generate error if - its-barf-on-invalid-keyseq. - (its-exit-mode-internal): Call egg-do-auto-fill. - - * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for ASCII. - - * mlh.el (mlh-space-bar-backward-henkan): Call egg-do-auto-fill. - - * egg.el: Comment out definition of C-\ in global-map. - -1997-06-09 NIIBE Yutaka - - * its.el (its-kick-convert-region): Rename from its-convert-region. - (its-mode-map): Follow the change. - - (its-make-next-state): Use list instead of cons. - - (its-get-kst/t): Make it substitution. - (its-set-kst, its-get-keyseq, its-set-keyseq, its-kst-p, - its-get-output, its-set-output, its-get-keyseq-syl): Likewise. - (its-new-state, its-new-map, its-get-indicator, its-set-indicator, - its-get-start-state, its-reset-start-state): Likewise. - - (its-get-next-state): Use assq instead of assoc. - - (its-goto-state): Tune up. - -1997-06-08 NIIBE Yutaka - - * mlh.el: Merge mlh-nihongo.el. - * mlh-nihongo.el: Removed. - - * its-hira.el: Moved from its/hira.el. Move comments to HISTORY. - (its-hira-enable-double-n, its-hira-period, its-hira-comma, - its-hira-open-bracket, its-hira-close-bracket, - its-hira-horizontal): New variables. - Use the variables to define the state-machine. - - Implement non-interactive translation in ITS. - * its.el (its-translate-region): New function. - (its-latest-SYL): New Variable. - (its-state-machine-keyseq): Use it. - (its-update-latest-SYL): New function. - (its-buffer-ins/del-SYL): Use it. - (its-translation-result): New variable. - (its-ins/del-SYL-batch): New function. - (its-enable-double-n-syntax, its-use-kuten-for-period, - its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape): - Removed. - - Use ITS, delete mlh's own implementation of automata. - * mlh.el (mlh-start-state, mlh-set-of-chars, mlh-start-state-sym, - mlh-set-of-chars-sym, mlh-define-automata, mlh-end-of-definition, - mlh-defrule, mlh-next-state, mlh-roma-kana-backward): Removed. - (mlh-cause-error-when-unknown-romaji-sequence): Removed. - (mlh-atoi): Removed. - (mlh-white-space, mlh-zenkaku-white): Use string-to-int. - * mlh-nihongo.el (mlh-hira-start-state, mlh-hira-chars, and all - rules of definition which defines the automaton): Removed. - (mlh-kanji-with-henkan-region-function): Use its-translate-region. - (mlh-hiragana, mlh-katakana): Likewise. - - Fix of CCL. - * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for jisx0212. - Add missing parens. - - Speed up of unpacking. - * wnnrpc.el (wnnrpc-following-char-or-wait): Tune up. - (wnnrpc-following+forward-char): New function. - (wnnrpc-unpack-u32c, wnnrpc-unpack-u32, wnnrpc-unpack-u16, - wnnrpc-unpack-u8): Use it. - (wnnrpc-accept-process-output): New function. - (wnnrpc-unpack-u16-string, wnnrpc-unpack-u8-string, - wnnrpc-unpack-bytes): Use it. Use search-forward. - (wnnrpc-unpack-u16-string): Use decode-coding-region. - -1997-06-07 NIIBE Yutaka - - * wnn.el (wnn-get-all-candidates): New function. - (wnn-set-bunsetsu-pos): Return 0 (instead of -1). - - * convert.el (egg-get-candidate): Removed. - (egg-get-all-candidates): New entry function. - (egg-conversion-backend): Entry for egg-get-all-candidates. - (egg-select-candidate): New function. - (egg-conversion-map): Bind "\M-s" and egg-select-candidate. - -1997-06-05 NIIBE Yutaka - - * bushu.el: Renamed from busyu.el. - (bushu-break-string, etc): Renamed from busyu*. - - * menu.el: Completely rewritten. - -1997-06-03 NIIBE Yutaka - - * its.el (its-reset-start-state): Bug fix. Delete a CDR. - - Implement "class of key" transition. - Change the structure of , the last member is - instead of . - * its.el (its-kst-p): Rename from its-ksa-p. - (its-get-next-state): Follow the change of the data structure. - (its-state-machine): Likewise. - (its-make-next-state): Likewise. - (its-set-kst): New function. - (its-get-otherwise): New function. - (its-otherwise-match): New function. - (its-define-otherwise-terminate-here): Removed. - (its-define-otherwise): New function. - (its-defrule*): Use its-define-otherwise. - - * its/hira.el (n): Use its-define-otherwise. - -1997-06-02 NIIBE Yutaka - - * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub, - wnnrpc-receive-sho-bunsetsu-list-sub-2): Splited from - wnnrpc-receive-sho-bunsetsu-list. - (wnnrpc-receive-dai-bunsetsu-list): New function. - (wnnrpc-daibunsetsu-conversion, wnnrpc-get-daibunsetsu-candidate): - New function. - -1997-06-01 NIIBE Yutaka - - * wnnrpc.el (ccl-decode-fixed-euc-jp): Clean it up. - (wnnrpc-file-attribute): Rename from wnnrpc-stat-file. - (wnnrpc-get-dictionary-list-with-environment): Rename from - wnnrpc-get-dictionary-list-with-environment. - - Implement RPC more. - * wnnrpc.el (wnnrpc-who, wnnrpc-get-env-list, wnnrpc-kill, - wnnrpc-delete-dictionary, wnnrpc-set-flag-on-dictionary, - wnnrpc-get-dictionary-list, wnnrpc-delete-word, - wnnrpc-receive-word, wnnrpc-search-word, - wnnrpc-search-word-in-dictionary, wnnrpc-get-word-info, - wnnrpc-set-comment-on-word, wnnrpc-get-dictionary-info, - wnnrpc-set-file-comment, wnnrpc-hinshi-name, - wnnrpc-set-file-password, wnnrpc-set-hinshi-table): New functions. - -1997-05-31 NIIBE Yutaka - - * wnnrpc.el (wnnrpc-format-u32c, wnnrpc-unpack-u32c): New - substitutions. Support 32-bit number represented in cons cell of - a pair of 16-bit integer. - (wnnrpc-format, wnnrpc-unpack): Handle u32c (U). - - (wnnrpc-format-bytes, wnnrpc-unpack-bytes): New substitutions. - Support byte stream end with 255(-1). - (wnnrpc-format, wnnrpc-unpack): Handle bytes (B). - - (wnnrpc-local-file-loaded): New function. - (wnnrpc-call-with-proc-1): New macro. Assume the buffer is the one - of process. - -1997-05-29 NIIBE Yutaka - - * wnnrpc.el (wnnrpc-get-conversion-parameters, wnnrpc-file-loaded, - wnnrpc-write-file, wnnrpc-get-fuzokugo-file, wnnrpc-get-file-list, - wnnrpc-get-file-list-with-env, wnnrpc-stat-file, - wnnrpc-get-file-info): New functions. - wnnrpc-receive-file-list): New subst. - -1997-05-29 Kenichi Handa - - * wnnrpc.el (ccl-decode-fixed-euc-jp): Tune it up. - -1997-05-29 Hisashi Miyashita - - * wnnrpc.el (fixed-euc-jp, ccl-decode-fixed-euc-jp, - ccl-encode-fixed-euc): New private coding system. Encode/decode - CCL for it. - -1997-05-27 NIIBE Yutaka - - * wnnrpc.el (wnnrpc-tanbunsetsu-conversion): Change the argument. - (wnnrpc-get-bunsetsu-candidates): Likewise. - (wnnrpc-renbunsetsu-conversion): Likewise. - - * wnn.el (wnn-change-bunsetsu-length): Follow the change. - (wnn-set-bunsetsu-pos): Likewise. - (wnn-change-bunsetsu-length, wnn-start-conversion): Likewise. - -1997-05-25 NIIBE Yutaka - - * wnnrpc.el (wnnrpc-add-word, wnnrpc-get-dictionary-list, - wnnrpc-receive-dictionary-list, wnnrpc-get-writable-dictionary-list, - wnnrpc-get-hinshi-list, wnnrpc-hinshi-number): New functions. - (wnnrpc-unpack-u16-string): Bug fix for the case of ASCII string. - - * wnn.el (wnn-dictionary-specification): Add dictionaries of - gerodic and ones of WNN consortium. - - Implement a false path. - * wnnrpc.el (wnnrpc-renbunsetsu-conversion): Generate an error on - failure. - (wnnrpc-get-bunsetsu-candidates): Ditto. - (wnnrpc-tanbunsetsu-conversion): Ditto. - - Implement a false path. Error recovery. - * wnn.el (wnn-create-directory, wnn-open-dictionary, - wnn-open-frequency, wnn-query-del/create-frequency): New function. - (wnn-set-dictionary-sub): New function. - -1997-05-24 NIIBE Yutaka - - * wnnrpc.el (wnnrpc-version, wnnrpc-access, wnnrpc-mkdir, - wnnrpc-create-dictionary, wnnrpc-create-frequency, - wnnrpc-discard-file, wnnrpc-remove-file): New functions. - (wnnrpc-test-result-and-get-error): New subst. - - Implement a false path from wnnrpc-set-fuzokugo-file. - * wnnrpc.el (wnnrpc-set-fuzokugo-file): Return negate-encoded - error code on failure. - * wnn.el (wnn-create-environment): Generate an error message. - - Implement a false path from wnnrpc-open-file. - * wnnrpc.el (wnnrpc-open-file): Change the interface. Return - negate-encoded error code on failure. - * wnn.el (wnn-open-file): New function. - (wnn-create-environment): Handle return value, and generate - an error message for wnnrpc-set-fuzokugo-file on failure. - (wnn-set-dictionary): Handle return value. - -1997-05-17 NIIBE Yutaka - - * wnnrpc.el (wnnrpc-error-message): Error strings taken from - Wnn-4.2 distribution. - (wnnrpc-errono): Removed. - - Implement a false path from wnnrpc-open. - * wnnrpc.el (wnnrpc-open): Change the interface. Return NIL on - success, error code on failure. - * wnn.el (wnn-open): Delete process and buffer. - Generate an error on failure. - (wnn-get-environment): Follow the change (none). - (wnn-start-conversion): Follow the change (none). - * convert.el (egg-convert-region): Follow the change. Call - delete-region after egg-start-conversion. - - Implement a false path from wnnrpc-connect. - * wnnrpc.el (wnnrpc-connect): Change the interface. Return - negate-encoded error code on failure. - * wnn.el (wnn-create-environment): Generate an error on failure. - (wnn-get-environment): Follow the change. On failure, don't - register the environment to wnn-environments. - -1997-05-16 NIIBE Yutaka - - Dynamically allocate environment arbitrarily. - * wnn.el (wnn-create-environment): Change the structure of ENV. - (wnn-e-get-in-use, wnn-e-set-in-use): New subst. - (wnn-end-conversion): Call wnn-e-set-in-use. - (wnn-get-environment, wnn-find-env-not-in-use): New function. - (wnn-start-conversion): Call wnn-get-environment. - - * wnn.el (wnn-fini): Implemented. - -1997-05-15 NIIBE Yutaka - - * convert.el (egg-start-conversion): Change the interface. - (egg-convert-region): Follow the change. - (egg-open-if-not): Removed. - * wnn.el (wnn-start-conversion): Follow the change. - - * wnn.el (wnn-environment-list): Removed. - (wnn-environment-serial): Removed. - (wnn-connect-and-init): Removed. - (wnn-environments): New variable which holds all environments. - -1997-05-15 NIIBE Yutaka - - * wnn.el (wnn-change-bunsetsu-length): Bug fix. Last argument to - wnnrpc-b-set-freq-down is list of bunsetsu. - - * mlh.el (mlh-do-spacing): Emacs 20 related changes. - Use category-set-mnemonics, and char-category-set. - According to suggestion by Kenichi Handa . - -1997-05-15 MORIOKA Tomohiko - - * wnn.el (wnn-usr-dic-dir): New variable. - (wnn-filename): Use wnn-usr-dic-dir. - - * its.el (its-defrule): New argument `enable-overwrite'. - -1997-05-14 NIIBE Yutaka - - * convert.el (egg-exit-conversion-unread-char): Use newer variable - unread-command-events, as unread-command-char is obsolete. - (egg-shrink-bunsetsu, egg-source-maxlen-from-here, - egg-enlarge-bunsetsu, egg-next-conversion, egg-exit-conversion, - egg-exit-conversion, egg-insert-converted-result): New property - EGG-CONVERSION-ENGINE, which specifis backend. - - (egg-start-conversion, egg-get-number-of-bunsetsu, - egg-get-bunsetsu-converted, egg-set-bunsetsu-pos, - egg-get-bunsetsu-pos, egg-get-number-of-candidates, - egg-get-candidate, egg-decide-candidate, - egg-change-bunsetsu-length, egg-get-bunsetsu-source, - egg-end-conversion): Change the interface, new argument c. - * wnn.el (wnn-start-conversion, wnn-get-number-of-bunsetsu, - wnn-get-bunsetsu-converted, wnn-set-bunsetsu-pos, - wnn-get-bunsetsu-pos, wnn-get-number-of-candidates, - wnn-get-candidate, wnn-decide-candidate, - wnn-change-bunsetsu-length, wnn-get-bunsetsu-source, - wnn-end-conversion): Likewise. - - * convert.el (egg-open-if-not): Change the interface. Return - conversion backend. - - * wnnrpc.el (wnnrpc-following-char-or-wait, wnnrpc-unpack-u32, - wnnrpc-unpack-u16, wnnrpc-unpack-u8, wnnrpc-unpack-u16-string, - wnnrpc-unpack-u8-string): Change the interface to avoid - compilation warnings. - (wnnrpc-unpack): Use new interface. - - * wnn.el (wnn-open): Change the name of WNN buffer as debug has - been done. - -1997-05-11 NIIBE Yutaka - - * wnnrpc.el (wnnrpc-following-char-or-wait): Rename from - wnn-following-char-or-wait. - (wnnrpc-following-char-or-wait): Declare with DEFUN instead of - DEFSUBST. - -1997-05-10 NIIBE Yutaka - - * Throughout: Use JUNET coding system for file format. - - * mlh.el: Move some comments to HISTORY. - (mlh-version): Removed. - Remove all autoload entries. - (henkan-region-function): Removed. - (member): Don't need any more. - - * mlh-nihongo.el: Renamed from nihongo.el. - - * mlh.el (mlh-space-bar-backward-henkan): call egg-convert-region - directly. - (mlh-space-bar-backward-henkan): Fix for Emacs 20. - Don't call egg:do-auto-fill. - (mlh-backward-henkan): Use set-marker-insertion-type. - (mlh-do-spacing): Char-category. - - * mlh.el, nihongo.el: Taken from mlh-1.002 distribution. - -1997-05-07 NIIBE Yutaka - - * convert.el (egg-update-frequency): Removed. - (egg-conversion-backend): Remove entry for update-frequency. - - * wnn.el (wnn-dictionary-specification): Change parameters - according to suggestion by Tomoko Yoshida in mule-jp@etl.go.jp. - Original had been taken from wnn-4.2. - -1997-05-06 NIIBE Yutaka - - * convert.el (egg-next-conversion): Bug fix. It's max+ instead of n. - -1997-05-05 NIIBE Yutaka - - * wnnfns.c (Fwnn_get_bunsetsu_converted): Rename from - get-converted-bunsetsu. - (Fwnn_get_bunsetsu_source): Ditto. - * convert.el (egg-get-bunsetsu-converted): Ditto. - (egg-get-bunsetsu-source): Ditto. - - * wnn.el (wnn-create-environment): New file which mimics API of - wnnfns.c. - -1997-04-29 NIIBE Yutaka - - * wnnrpc.el: New file which implements Remote Procedure Calls of WNN. - -1997-04-16 NIIBE Yutaka - - * its/kanainput.el (normal-pair): Use its-defrule*. - - * its.el (its-defrule*): Rewritten. - - * its/hira.el ("n"): Alternative implementation using 'otherwise'. - - * its.el (its-processing-map): Removed. - (its-register-map): Rename from its-set-map. - (its-register-map): Remove first argumet NAME. - (its-defrule): Remove last optional argument END. - (its-define-otherwise-terminate-here): New function. - (its-goto-state): New function. - (its-defrule, its-defoutput): Use its-goto-state. - -1997-04-12 NIIBE Yutaka - - * its.el: Enhance meaning of ITS state machine. Now, - includes representation of "ANY of key stroke" (-2). - (its-defrule): New feature end=='otherwise. - (its-defrule*): New function. - (its-state-machine): Implement otherwise-terminate-before-this-key. - - * its/kanainput.el (its-k-zenkaku-escape, its-k-hankaku-escape, - its-k-symbols-escape): Add prefix its-. Let them defconst. - "W": Move the definition beginning to avoid error. - -1997-03-26 NIIBE Yutaka - - * convert.el (egg-next-conversion): -1 goes to end of bunsetsu. - -1997-03-25 NIIBE Yutaka - - * egg.el (egg-mode-on, egg-input-mode, egg-in-fence-mode): Deleted. - (egg-fence-face-on, egg-fence-face-off): Deleted. - (egg-region-start, egg-region-end): Deleted. - -1997-03-24 NIIBE Yutaka - - * its/hira.el ("n"): Add "z" and "?" for prefetch char of "n". - - Implement conversion mode. - * convert.el: New file. - -1997-03-23 NIIBE Yutaka - - * its.el (its-mode-map): As "\C-g" is used in global-map, use - "\C-]" instead (for its-cancel-input). - -1997-03-22 NIIBE Yutaka - - Introduce new scheme to specify server. - * wnnfns.c (Qjserver, Qcserver, Qtserver, Qkserver): Removed. - (Vwnn_server_type): Integer variable. - (wnn_get_server_type): Renamed from wnn_check_server_type. - (charset_wnn_server_type): Renamed from lc_wnn_server_type. - - Introduce new scheme to specify uniqueness. - * wnnfns.c (Qwnn_no_uniq, Qwnn_uniq, Qwnn_uniq_kanji): Removed. - (Vwnn_uniqueness_specifier): Integer variable. Renamed from - wnn_uniq_level. - -1997-03-21 NIIBE Yutaka - - Cosmetic changes. - * wnnfnc.c (Throughout): Change Lisp function name to follow the - format of wnn-VERB-OBJECT. - Use XFASTINT instead of XINT, if appropriate. + * Version 4.0.3 released. - * wnnfns.c (Fwnn_fuzokugo_set): Merged with wnn-set-fuzokugo of - wnn-egg.el. - - * wnn-egg.el (wnn-set-fuzokugo): Deleted. - - * wnnfns.c (Fwnn_dict_add): Merged with wnn-add-dict of wnn-egg.el. - * wnn-egg.el (wnn-add-dict): Deleted. - - * wnn-egg-msg.el (wnn-msg-get): Renamed from egg-msg-get. - (wnn-message-alist): Renamed from egg-message-alist. - Use defconst. - - * wnnfns.c (wnn_check_server_type): Renemed from - check_wnn_server_type. +2000-01-12 Satoru Tomura - * wnn-egg-msg.el (egg-error): Deleted. Not useful enough. - * wnn-egg.el (Throughout): Replace egg-error by error. + * install-sh: copied from automake distribution - * egg.el (egg-sai-henkan-start, egg-sai-henkan-end, - egg-old-bunsetu-suu): Moved from wnn-egg.el. + * configure.in: created - * wnn-egg.el (Throughout): Change variable name and function name. - Added wnn- prefix, egg- prefix. - * wnn-egg.el: Delete historical defaliases. Only support - wnn-set-[cjk]server-hostname. + * Makefile.in: created - * wnn6.el: New file. Discriminate Wnn6 related functions. - * eggrc-wnn6: New file. Discriminate Wnn6 related setting. - - * egg-fence.el: Removed. - -1997-03-20 NIIBE Yutaka - - Distingush continuation of egg-mode and turn off of egg-mode. - * its.el (its-mode-map): Bind "\C-\\" to its-exit-mode-no-egg. - (its-exit-mode-internal): New argument egg-mode-flag. - (its-exit-mode-no-egg): New Function. - - Rethink about keymap. Once, the intention of egg-mode-map has - been to override ALL of the keymap. That's so selfish, and not - friendly to other parts of Emacs. This implementation intend to - be more friendly with other keymaps. - * its.el (its-mode-map): Remove definition of "\C-c" for - its-cancel-input, as C-c has special meaning in Emacs. We should - not re-define it. - Remove definition of "\C-q" for its-select-previous-map. - Remove definition of "\C-_" for egg-jis-code-input. - Remove definition of "\C-w", "\C-@", [?\C-\ ] for - egg-henkan-fence-region. - - Implement START/CURSOR/END scheme. - * its.el (its-input-to-vsyl): New function. - (its-beginning-of-input-buffer): New function. - (its-end-of-input-buffer): New function. - (its-backward-SYL): New function. - (its-forward-SYL): New function. - (its-delete-SYL): New function. - (its-delete-backward-SYL): New function. - (its-delete-backward-SYL-internal): New function. - (its-delete-backward-within-SYL): New function. - (its-delete-by-keystroke): New Variable. - (its-exit-mode): New function. - (its-exit-mode-internal): New function. - - * its.el (its-standard-map-list, its-find, its-next-map, - its-previous-map): Deleted. - (its-get-indicator): Delete duplicated definition. Leave one which - takes argument. - (its-input): Rename from its-input-subsubsub. - - * egg.el (egg-mode-map): Don't include SPACE. - - Introduce CURSOR. - * its.el (its-state-machine): Add new argument EMIT. Return CURSOR. - (its-state-machine-keyseq): Likewise. - (its-input-subsubsub): Return CURSOR. - (its-input-subsub): Deleted. - (its-DSYL-p): Deleted. - (its-buffer-insert-SYL-list): Deleted. - (its-buffer-ins/del-SYL): New function. - (its-input-end): Change the argument to P of point, and return VOID. - - Change structure of . is normal . - (its-new-map): Follow the change of structure. - (its-get-indicator, its-set-indicator, its-reset-start-state): - Likewise. - (its-reset-start-state): Renamed from its-reset-start. - - Don't use , but introduce new scheme of SYL property. - (its-change-t-to-nil, its-nil-index, its-bytes-between, - its-delete-between, its-move-nil--->, its-move-nil-<--, - its-move-nil-<--sub, its-move-nil-to-last, its-move-nil-to-first): - Deleted. - -1997-03-19 NIIBE Yutaka - - * its.el: Change the structure of DSYL. Same as . - (its-input-subsub): Follow the change of structure. - (its-make-DSYL): Deleted. - (its-get-keyseq-cooked): New function. - - Swap the meaning of T/NIL of . - - Delete the structure of . - (its-new-input-buffer): Deleted. - (its-input-subsub): Remove the argument SYLP. - (its-input, its-input-sub, its-init-text-properties): Deleted. - - Introduce START, END and CURSOR. - -1997-03-19 NIIBE Yutaka - - Global-map should be used, for key sequence not defined by - its-mode-map and/or egg-mode-map. Don't mask other maps. - * its.el (its-mode-esc-map): Deleted. - (its-mode-map): Include define-key of the esc-map here. - * egg.el (egg-mode-esc-map): Deleted. - (egg-mode-map): Include define-key of the esc-map here. + * configure: generated by autoconf -1997-03-18 NIIBE Yutaka - - * its.el (its-input): Rename from its-input-input-buffer. - (its-state-machine): Handle END of input (key == -1). - - ITS minor mode deleted. It's implemented by local-map of text - properties. - (its-mode): Remove the variable. - (its-mode): Remove the function. - - * its.el (): Change the order of list. - (car sylp) is last entry of the list. - (its-input-buffer): Deleted. It's now a member of text - properties. - (): Change the structure. Start state should have "" for keyseq. - (its-get-start-state): Follow chage of the structure. - (its-reset-start, its-set-indicator, its-get-indicator): Likewise. - (its-new-state, its-new-map): Split from its-new-state/map. - (its-make-map): Deleted. - -1997-03-17 NIIBE Yutaka - - * its.el (its-buffer-insert-SYL-list): Use insert-and-inherit to - inherit properties. - (its-fence-overlay): Removed. Don't use overlay, as it has no - information in undo-list. - -1997-03-16 NIIBE Yutaka - - * its/hira.el ("n"): Use new feature END. - ("ppy", "bby", "ddy", "jjy", "zzy", "ggy", "lly", "rry", "hhy", - "cch", "tts", "tty", "ssh", "ssy", "kky"): its-defoutput. - - * its.el (its-defrule): Add argument END. - (its-buffer-delete-SYL): Bug fix. Use length instead of string-width. - -1997-03-15 NIIBE Yutaka - - * its.el (its-input-input-buffer): Implement the case of DSYL. - -1997-03-14 NIIBE Yutaka - - * its.el (its-buffer-delete-SYL): Handle the case of NIL. - - * its/hira.el: Implement "kka" and others. Implemlement "N". - (digit-characters, symbol-characters, downcase-alphabets, - upcase-alphabets): Delete useless defvar-s. - -1997-03-14 NIIBE Yutaka - - * its/hira.el ("roma-kana"): Follow change of implementation of - state machine. +2000-01-11 Satoru Tomura - Correct the abuse of the word "MODE". It seems that it's direct - influence of "mode" in Emacs, but it's not mode at all. - * its.el (its-map-alist): Renamed from its-mode-alist. - (its-get-map): Renamed from its-get-mode-map. - (its-set-map): Renamed from its-set-mode-map. - (its-define-state-machine): Renamed from its-define-mode. - (its-select-map-menu): Renamed from its-select-mode-menu. - (its-select-map-from-menu): Renamed from its-select-mode-from-menu. - (its-standard-map-list): Renamed from its-standard-modes. - (its-next-map): Renamed from its-next-mode. - (its-previous-map): Renamed from its-previous-mode. - (its-select-map): Renamed from its-select-mode. - (its-get-indicator): Renamed from its-get-mode-indicator. + * leim-list.el: (defgroup sj3) added. - (its-select-map-from-menu): As it's not mode, don't need offer hooks. - (its-next-map): Likewise. - (its-previous-map): Likewise. - (its-select-map): Likewise. + * egg/sj3.el (sj3-hosname, sj3-server-port): defcusotm'ed - Change the implementation of its-mode-alist. Name is in now. - * its.el (its-get-mode-map): Just do assoc. - (its-set-mode-map): Simplified. +2000-01-11 Katsumi Yamaoka - * its.el (its-get-indicator): Renamed from its-map-indicator. - (its-set-indicator): Renamed from its-map-set-indicator. - (its-get-start-state): Renamed from its-map-start. - (its-new-state): Change the argunents. - (its-map-set-start): Removed. - (its-reset-start): New function. + * egg/sj3.el : (require 'egg) added. - Remove old implemantation of translator. - * its.el (its-resize, its-maps, its-actions, its-inputs, - its-level, its-maxlevel, its-char-from-buff, its-interactive): - Removed. - (its-make-action, its-reset-maps, its-current-map, - its-previous-map, its-level, its-enter-newlevel, its-reset-input, - its-flush-input-before-point, its-peek-char, its-read-char): - Removed. - (its-push-char, its-ordinal-charp, its-delete-charp): Removed. - (its-translate-region): Removed. - (its-buff-s, its-buff-e): Removed. - (its-state-terminalp): Removed. - - Remove selection of candidates in map, it's questionable to - implement this feature with SYL. Might rethink in future. - (its-make-menu-from-map-result, its-make-alist-from-map-result): - Removed. - (its-make-menu-from-map, its-make-menu-from-map*): Removed. - (its-make-alist-from-map, its-make-alist-from-map*): Removed. - (its-completing-read): Removed. - (its-minibuffer-local-must-match-map, - its-minibuffer-local-completion-map): Removed. - (its-minibuffer-completion-help, car-string-lessp, - its-temp-echo-area-contents): Removed. - - Implement SYL-based state machine. - * its.el (its-input-buffer, its-barf-on-invalid-keyseq): New variables. - (its-new-input-buffer): New function. - (its-self-insert-char): New command. - (its-initial-ISYL, its-make-DSYL, its-make-VSYL, - its-input-input-buffer, its-input-input-buffer-sub, - its-state-machine, its-state-machine-keyseq, - its-buffer-delete-SYL, its-buffer-insert-SYL-list, - its-get-next-state, its-get-ksa/b, its-get-keyseq, its-ksa-p, - its-get-output): New function. - (its-get-KAS): Removed. - (its-get-state, its-get-action, its-set-action): Removed. - (its-make-KAS, its-get-KAS): Removed. - - * its.el (its-defrule-sub): Merged into its-defrule. - -1997-03-13 NIIBE Yutaka - - * its.el: (its-define-mode): Change the arguments. - * its/zhuyin.el ("zhuyin"): Follow the changes of its-define-mode. - * its/zenkaku.el ("zenkaku-downcase"): Likewise. - * its/pinyin.el ("PinYin"): Likewise. - * its/kata.el ("roma-kata"): Likewise. - * its/kanainput.el ("kanainput"): Likewise. - * its/hira.el ("roma-kana"): Likewise. - * its/hankaku.el ("downcase"): Likewise. - * its/hangul.el ("hangul"): Likewise. - * its/han-kata.el ("roma-han-kata"): Likewise. - - * its.el (its-action-output, its-action-next, its-get-next-map, - its-set-next-map): Removed. - (its-make-next-state): New function. - (its-make-state): Removed. - - * its.el (its-defrule-sub): Renamed from `its-defrule**'. - - * wnnfns.h: New file. Macros for WNN6 are defined here. - * wnn6fns.c: New file. Moved from wnnfns.c for WNN6 specific - functions. - -1997-03-12 NIIBE Yutaka - - * wnnfns.c: cosmetic changes (indentation, commenting-out-style, - and compare to Qnil, etc). - Get rid of "register" qualifier. - -1997-03-05 NIIBE Yutaka - - * its.el (its-define-mode): Change internal structure. Completely - rewritten. - (its-make-map): Function to make map. - (its-make-state): New function. Make new state. - (its-make-KAS): New function. Make Key-Action-State triad. - (its-state-terminalp): New function. True when the state is - terminal. - (its-map-indicator, its-map-set-indicator,): Changed. - (its-map-terminalp, its-map-incrementalp, - its-map-set-incrementalp, its-map-alist, its-map-set-alist, - its-map-action, its-map-set-action): Removed. - - (its-defrule-verbose): Deleted. Seems debug purpose variable. - - (its-make-map): Removed . It was useless space eater. - (its-map-indicator, its-map-set-indicator, its-map-alist, - its-map-set-alist, its-map-action, its-map-set-action): Follow the - change. - (its-define-mode): Likewise. - (its-defrule**): Change the argument. Delete STATE. - (its-defrule): Likewise. - (its-map-state, its-map-set-state): Removed. - - : Changed the structure. Introduce , which - is t on hangul-map, zhuyin-map, and kanainput-map. - (its-define-mode): Change the arguments. INDICATOR and RESET is - always required. Add new argument INCREMENTALP. - * its/kanainput.el ("kanainput"): Use new API of its-define-mode. - * its/hangul.el ("hangul"): Likewise. - * its/zhuyin.el ("zhuyin"): Likewise. - * its.el (its-make-terminal-state-sofar): Removed. - (its-default-make-terminal-state): Removed. - (its-make-terminal-state): Removed - (its-make-non-terminal-state): Removed. Not used. - (its-map-incrementalp, its-map-set-incrementalp): New functions. +2000-01-11 SAKAI Kiyotaka + * its.el (its-hiragana, its-katakana): New functions -1997-03-04 NIIBE Yutaka - - * its.el (its-defrule-conditional, its-defrule-conditional*): - Removed. Evaluating cond clause at runtime is stupid. Rules - should be determined at compile time, not at run time. - (its-get-action): Simplified. It's always standard. - (its-make-terminal-state-sofar): Likewise. - (its-make-action): Renamed from its-make-standard-action. - (its-standard-actionp): Removed. No use. - (its-translate-region): Simplified. - - (its-map-topmap-p): Removed. No use. - - (its-simple-actionp, its-collect-simple-action): Removed. No use. - - (its-insert-output-string, its-display-status-string): Removed. - It seemd these variables is to debug ITS itself. - (its-translate-region): Simplified. +2000-01-07 Tomura Satoru - * its/hira.el (".", ",", "n", "nn"): Rules should be determined at - compile time. - * its/han-kata.el: Likewise. - * its/kata.el: Likewise. - - * its.el (its-make-standard-action): Simplified. - (its-make-standard-action): Remove alternative output. - (its-standard-actionp): Simplified. - (its-action-next): Simplified. - (its-select-alternative-output-menu): Removed. Not used at all. - (its-select-alternative-output): Ditto. - - * its/han-kata.el, its/zenkaku.el, its/kata.el, its/kanainput.el, - its/hira.el, its/hankaku.el: Add (require cl). - - * its.el (its-enable-double-n-syntax, its-use-kuten-for-period, - its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape): - Declare here. Add prefix `its-'. ): - - (its-defrule, its-defrule*): Remove MAP argument. - Merged into its-defrule. - -1997-03-04 NIIBE Yutaka - - * its.el (its-completing-input-menu): Removed. Not used. - (its-completing-input): Ditto. - (its-translate-region): Remove (null action) clause. It's identical - to 't' case. - - (its-map-supers): Deleted. - (its-map-set-supers): Ditto. - (its-get-next-map-locally): Deleted. - - (its-define-mode): Remove supers. - (its-make-map): Likewise. - - (its-simulate-input): sref -> aref. add char-bytes -> +1. - (its-defrule**): Likewise. - - (its-flush-input-before-point): Delete useless save-excursion. - (its-push-char): Likewise. - (its-translate-region): Likewise. - - * its/zhuyin.el (its-make-terminal-state): - * its/kanainput.el (its-make-terminal-state): - * its/hangul.el (its-make-terminal-state): - Use its-make-terminal-state-sofar. - - * its/kanainput.el (its-make-terminal-state-kanainput): Removed. - - * its.el (its-make-terminal-state-sofar): Renamed. - (was: its-make-terminal-state-hangul) - - * its/han-kata.el (its-select-hankaku-katakana): Renamed. - (was: its:select-hankaku-katakana). - - * its.el (its-map-topmap-p, its-map-supers, its-map-set-supers, - its-map-terminalp, its-map-state, its-map-set-state, - its-map-indicator, its-map-set-indicator, its-map-action, - its-map-set-action, its-map-alist, its-map-set-alist, - its-get-action, its-action-output, its-action-next, - its-get-next-map, its-get-next-map-locally, its-set-next-map, - its-collect-simple-action, its-read-current-its-string, - its-make-map): Add prefix 'its-'. - - * its.el (its-defrule-select-mode-temporally): Deleted. - (its-select-mode-temporally): Deleted. - (its-select-previous-mode): Deleted. - - * its/hira.el ("q", "Q"): Removed. - - * its.el (its-defrule**): Don't call coerce-internal-string. - (map-state-string): Removed. - (its-default-make-standard-non-terminal-state): Don't call - map-state-string. - - * egg.el (characterp, coerce-internal-string, coerce-string): Removed. - - * its.el (its-insert-char): Deleted. - (its-internal-mode-alist): Removed. - (its-set-mode-map, its-define-mode): Remove internalp. - (its-set-mode-indicator): Removed. - - * egg-fence.el (egg-fence-self-insert-command): Add prefix 'egg-'. - - * its.el (fence-self-insert-command): Move to egg-fence.el. - - * egg-fence.el (egg-exit-fence-mode): Renamed (egg-fence-exit-mode). - (egg-enter-fence-mode-and-self-insert): Deleted. - - * egg.el (egg-quit-egg-mode): Deleted. - - * egg-misc.el (egg-fence-toggle-egg-mode): Add prefix 'egg-'. - (egg-fence-toggle-egg-mode): beep -> ding. - (global-map): bind C-\ to egg-enter-fence-mode. - -1997-03-02 NIIBE Yutaka - - * egg-henkan.el: New file. - - Use new API (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi, - egg-is-dai-bunsetu, bunsetu-suu, egg-hindo-update, - egg-get-bunsetu-end). - - * wnn-egg.el: Move egg-henkan-* to egg-henkan.el. - - * wnn-egg.el (egg-startup-file-search-path): Remove current - directory. - (egg-open-wnn): Renamed from EGG-open-wnn. - (bunsetu-suu): New function. - (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi): New function. - (egg-is-dai-bunsetu): New function. - (egg-hindo-update): New function. - (egg-get-bunsetu-end): New function. + * COPYING: The file is added. + * ChangeLog.1: The original ChangeLog is renamed as. + * ChangeLog: Created. + +2000-01-07 Tomura Satoru + + * Version 4.0.2 released. + +2000-01-06 Tomura Satoru + + * Version 4.0.1 released. + +2000-01-05 Tomura Satoru + + * Version 4.0.0 released. - (egg-henkan-region, egg-gyaku-henkan-region, - egg-henkan-region-internal, egg-henkan-paragraph, - egg-gyaku-henkan-paragraph, egg-henkan-sentence, - egg-gyaku-henkan-sentence, egg-henkan-word, egg-gyaku-henkan-word, - egg-henkan-insert-kouho, egg-henkan-kakutei, - egg-henkan-kakutei-first-char, egg-henkan-kakutei-before-point, - egg-sai-henkan, egg-henkan-goto-bunsetu, - egg-henkan-forward-bunsetu, egg-henkan-backward-bunsetu, - egg-henkan-first-bunsetu, egg-henkan-last-bunsetu, - egg-henkan-hiragana, egg-henkan-katakana, egg-henkan-next-kouho, - egg-henkan-next-kouho-dai, egg-henkan-next-kouho-sho, - egg-henkan-previous-kouho, egg-henkan-previous-kouho-dai, - egg-henkan-previous-kouho-sho, egg-henkan-goto-kouho, - egg-henkan-bunsetu-chijime-dai, egg-henkan-bunsetu-chijime-sho, - egg-henkan-bunsetu-nobasi-dai, egg-henkan-saishou-bunsetu, - egg-henkan-saichou-bunsetu, egg-bunsetu-length-henko, - egg-henkan-quit, egg-henkan-select-kouho, - egg-henkan-select-kouho-dai, egg-henkan-select-kouho-sho, - egg-henkan-word-off, egg-henkan-kakutei-and-self-insert, - egg-henkan-mode-map, egg-henkan-mode-esc-prefix, - egg-henkan-help-command, egg-henkan-inspect-bunsetu): - Add prefix `egg-'. - - (egg-henkan-mode-in-use): Deleted. - (set-egg-henkan-mode-format): Deleted. Don't need. - - (disconnect-wnn): Let it be normal function, instead of command. - (close-wnn): Ditto. - - (set-jserver-host-name, set-kserver-host-name, - set-cserver-host-name): Use defalias. - - (close-wnn): Take an argument of wnn-server-type. - (wnn-egg-kill-emacs-function, set-wnn-host-name, - set-cwnn-host-name, set-kwnn-host-name): Likewise. - - * egg.el (egg-global-map-backup): Deleted. - (egg-local-map-backup): Deleted. - (egg-insert-after-hook): it's global variable, nod buffer-local. - - * egg-fence.el (egg-henkan-fence-region, egg-enter-fence-mode, - egg-fence-katakana, egg-fence-hiragana, egg-fence-hankaku, - egg-fence-zenkaku, egg-fence-backward-char, - egg-fence-forward-char, egg-fence-beginning-of-line, - egg-fence-end-of-line, egg-fence-transpose-chars, - egg-fence-delete-char, egg-fence-backward-delete-char, - egg-fence-kill-line, egg-fence-exit-mode, egg-fence-cancel-input, - egg-fence-mode-help-command): Add Prefix `egg-'. - - (egg-fence-mode-map): Remove binding to eval-expression (C-z). - - (egg-self-insert-non-undo-count): Removed. - (egg-self-insert-command): Removed. - - (egg-fence-backward-char, egg-fence-forward-char, - egg-fence-transpose-chars, egg-fence-delete-char, - egg-fence-backward-delete-char): beep -> ding. - wnn-egg.el (egg-henkan-select-kouho): Likewise. - -1997-02-27 NIIBE Yutaka - - * wnn-egg.el (push-end, push-end-internal): Removed. - - * its.el (dolist): Removed. It's in CL package. - (for-each, for-each*): Removed. - - * egg-keymap.el: Removed. I guess noone use it. - - * egg-jsymbol.el (*-alist): Declare by defconst. - - * egg-misc.el (toggle-egg-mode): Removed. - - * All files: Change the identifier XXX:YYYY --> XXX-YYYY, - and *YYY* ---> YYY. - - * egg-fence.el (enter-fence-mode): Use new API for marker - insertion `set-marker-insertion-type'. - * its.el (its-*buff-e*): Likewise. - - * egg-jsymbol.el: lc-jp --> (charset-id 'japanese-jisx0208) - lc-jp2 --> (charset-id 'japanese-jisx0212). - -1997-02-26 NIIBE Yutaka - - * egg-fence.el (egg:fence-mode-map): Renamed from fence-mode-map. - (egg:fence-mode-esc-prefix): Renamed from egg:fence-mode-esc-map. - (henkan-fence-region-or-single-space): Removed. - - * egg-misc.el (toggle-egg-mode): mc-flag - -> enable-multibyte-characters. - - * its.el (read-current-its-string): New function. Moved from - wnn-egg-misc.el. - (In meny functions): beep --> ding. - - * egg-misc.el (read-hiragana-string): Removed. - (read-kanji-string): Removed. - (egg:special-symbol-input): Renamed from special-symbol-input. - (egg:special-symbol-input-point): Renamed from - special-symbol-input-point. - (si:*global-map*): Remeved. - Removed 'Changes on Global map'. - (its-mode-map): Renamed from mule-keymap. - - * wnn-egg.el (henkan-region-internal): Use new API for undo. - (henkan-kakutei): Likewise. - (henkan-kakutei-first-char): Likewise. - (henkan-kakutei-before-point): Likewise. - (sai-henkan): Likewise. - * egg.el (egg:quit-egg-mode): Likewise. - - * egg-fence.el (egg:*fence-open*, egg:*fence-close*, - egg:*fence-face*): Let them be declared by defvar. - (egg:*fence-open-in-cont*, egg:*fence-close-in-cont*, - egg:*fence-face-in-cont*): Likewise. - - (set-egg-fence-mode-format): Removed. Useless. Don't need to be - interactive. - (set-egg-fence-mode-format-in-cont): Removed. - (egg:*face-alist*): Removed. - - * wnn-egg-misc.el (its:select-mode, its:select-mode-from-menu, - its:next-mode, its:previous-mode): - Removed (Merged into its.el). - - * its.el (its:select-mode, its:select-mode-from-menu, - its:next-mode, its:previous-mode): Call hook of - `its:select-mode-hook'. - - * diced.el: Removed. This depends on wnn. Functions are moved to - wnn-egg-dict.el. - - * wnn-egg-dict.el (remove-regexp-in-string): Removed. - (toroku-region): Don't call `remove-regexp-in-string'. Removing - invalid sequence (TAB?) automatically is not good idea. It should - notify user. Currently, just don't remove. - - * busyu.el (busyu-table): defconst instead of defvar. - (busyu-kaku-alist): defconst instead of defvar. - - * its.el (egg:member): Removed. Not used. - - * wnn-egg-msg.el (*egg-message-alist*): Include asking string in - register-notify and remove-notify. Should also change Korean and - Chinese. - - * egg.el: Removed "Tamago Notification System". - It is useless, as we have *Messages* buffer in GNU Emacs 19. - - * diced.el (diced-execute): Don't use `notify' but `message'. - (set-dict-comment): Likewise. - * its.el (its-defrule**): Likewise. - * wnn-egg-dict.el (egg:toroku-word): Likewise. - * wnn-egg-msg.el (egg:error): Likewise. - * wnn-egg.el (set-wnn-param): Likewise. - (EGG:open-wnn): Likewise. - (close-wnn): Likewise. - (henkan-word-off): Likewise. - (henkan-inspect-bunsetu): Likewise. - - * diced.el (diced-execute): Don't use `notify-yes-or-no-p' but use - plain `yes-or-no-p' and format. - * wnn-egg-dict.el (egg:toroku-word): Likewise. - - * egg.el (notify-yes-or-no-p-internal): IIDESUKA is not good. - it should get the message through egg:get-msg. Currently, use - "OK?". - (notify-y-or-n-p-internal): Likewise. - - * wnn-egg.el: Split into wnn-egg-dict.el, wnn-egg-misc.el, and - wnn-egg-msg.el. - (many functions): remove commented out line of - (open-wnn-if-disconnected). - - * egg.el: Split into egg.el, egg-fence.el, egg-misc.el, - jis-input.el, and modeline.el. - - * wnn-egg.el (egg-default-startup-file): change to eggrc-wnn from - eggrc. - (henkan-region-internal): Use new API for marker insertion - `set-marker-insertion-type'. - -1997-02-13 NIIBE Yutaka - * menu.el (menu:select-from-menu): Rewritten. diff --git a/ChangeLog.0 b/ChangeLog.0 new file mode 100644 index 0000000..4fcbdbb --- /dev/null +++ b/ChangeLog.0 @@ -0,0 +1,2311 @@ +1998-07-12 NIIBE Yutaka + + * egg-mlh.el (mlh-space-bar-backward-henkan): Don't test against + egg-conversion-backend-alist. + + * egg/wnn.el (wnn-fini-lang): Reneme from wnn-fini. + (wnn-fini): New implementation calling wnn-fini-lang. + + (wnn-close): Call wnn-fini-lang. + (wnn-dictionary-save): Ditto. + + * egg/canna.el (canna-fini): Delete LANG argument. + * egg/sj3.el (sj3-fini): Ditto. + + * egg-cnv.el (egg-set-conversion-backend): Removed. + + * egg/sj3.el (sj3-start-conversion): Signal error on non-supported + language. + * egg/canna.el (canna-start-conversion): Likewise. + * egg/wnn.el (wnn-start-conversion): Likewise. + + * egg-cnv.el (egg-convert-region): Add handler for + lang-not-supported. + + * egg/wnn.el (egg-activate-wnn): load wnnrpc here conditionally. + * egg/sj3.el: Likewise. + * egg/canna.el: Likewise. + + * egg.el (egg-support-languages, egg-set-support-languages): Removed. + (egg-mode): Don't call egg-set-conversion-backend. + * egg/{canna.el, wnn.el, sj3.el}: Don't call egg-support-languages. + + * egg-cnv.el (egg-set-current-backend): Removed. + (egg-initialize-backend, egg-start-conversion, + egg-start-reverse-conversion): Don't call egg-set-current-backend. + (egg-conversion-backend-null): Rename from *-other-languages. + (egg-conversion-backend-alist): Removed. + (egg-conversion-backend): Not buffer local. + (egg-finalize-backend-alist): Removed. + +1998-07-10 NIIBE Yutaka + + * egg-cnv.el (egg-start-conversion-failure-hook): New Variable. + (egg-start-conversion-failure-fallback): New Function. + (egg-convert-region): Handle error and hook on failure. + + * egg/sj3.el (sj3-open): Remove bogus setq-s of sj3-sys-dict-list, + sj3-user-dict-list. + + * egg-mlh.el (mlh-space-bar-backward-henkan): Don't emit message + "converting...", as it may flush out error message. + + * egg/sj3rpc.el ("egg-com", "egg/sj3"): Require on compilation. + (sj3rpc-open): Failure when version is different. + +1998-07-03 KATAYAMA Yoshio + + * its/erpin.el, its/hangul.el, its/hankata.el, its/hira.el, + its/jeonkak.el, its/kata.el, its/pinyin.el, its/quanjiao.el, + its/thai.el, its/zenkaku.el: Updated using new its-*. + + * its.el (define-its-state-machine): Rewritten. + (define-its-compiled-map): Deleted. + (define-its-state-machine-append): Rewritten. + (its-defrule): Rewritten. + (its-defrule*): Rewritten. + (its-parent-states): New Variable. + (its-goto-state): Remove 2nd optional argument INITIAL-STATE. + (its-set-interim-terminal-state): New Function. + (its-make-next-state): Remove 2nd argument KEYSEQ. + +1998-07-01 NIIBE Yutaka + + * egg-mlh.el (mlh-hira-to-kata): Removed. Doesn't work any more. + (mlh-katakana): Use japanese-katakana-region. + + * egg-cnv.el (egg-conversion-map): Add again mapping for "/". + +1998-06-27 KATAYAMA Yoshio + + * egg-cnv.el (egg-abort-conversion): Bug fix. + +1998-06-27 NIIBE Yutaka + + * egg/wnn.el (wnn-dictionary-specification-list): Don' specify + for gerodic/g-jinmei. + Suggested by SAKAI Kiyotaka . + +1998-06-26 KATAYAMA Yoshio + + * its.el (its-cancel-input): Bug fix. + +1998-06-26 SAKAI Kiyotaka + + * egg-cnv.el (egg-conversion-mode, egg-help-command): New + functions for help string. + * its.el (its-mode, its-mode-help-command): Likewise. + +1998-06-26 KATAYAMA Yoshio + + * egg-cnv.el (egg-convert-region): Bug fix. + * egg.el (egg-default-language): Don't use string. + + * its/hankata.el (its-han-kata-enable-double-n, and others): + Variable name change (-han-) to distingush kata.el. + + * its/erpin.el (its-erpin-tw-enable-quanjioao-alphabet, + its-erpin-cn-enable-quanjioao-alphabet): + See its-enable-fullwidth-alphabet. + * its/kata.el (its-kata-enable-zenkaku-alphabet): Likewise. + * its/pinyin.el (its-pinyin-cn-enable-quanjioao-alphabet): Likewise. + * its/zenkaku.el (its-zenkaku-down-map): Likewise. + + * its/erpin.el (its-erpin-tw-map): Bug fix for "\\", "{", "}", and + "/". + * its/pinyin.el (its-pinyin-cn-map): Ditto. + * its/quanjiao.el (its-quanjiao-down-tw-map): Ditto. + * its/zhuyin.el (its-zhuyin-cn-enable-quanjioao-alphabet): Ditto. + + * its/hira.el (its-hira-enable-zenkaku-alphabet): Follow changes + of its.el. + * its/ascii.el (its-up-map, its-down-map): Ditto. + * its/jeonkak.el (its-jeonkak-up-map): Ditto. + + * its/hira.el (its-hira-enable-zenkaku-alphabet): + See its-enable-fullwidth-alphabet. + + * egg/wnn.el (wnn-save-dictionaries): Rewritten. + + * egg/canna.el (egg-edep): Required. + (canna-support-languages): Use symbol. + * egg/sj3.el (egg-edep): Likewise. + + * egg/wnn.el (egg-edep): Likewise. + * egg/wnnrpc.el: Use symbol. + + * menudiag.el (menudiag-mode-map): Bug fix for boundary conditions. + (menudiag-make-selection-list): Bug fix in case of many items. + + (menudiag-forward-item, menudiag-backward-item, + menudiag-goto-line): Change so that it wraps. + + * its.el (egg-edep): Required. + (its-keydef): Require unconditioanlly. + (its-mode-map): Don't call its-define-select-keys here. + (its-mode-map): Use of symbol as keymap. + (its-fence-invisible): New variable. + (its-put-cursor): Don't call its-define-select-keys. + (its-setup-fence-mode): invisible handling and its-define-select-keys. + (its-keyseq-acceptable-p): if (CDR SYL) is number, return NIL. + (define-its-state-machine): Introduce its-temporaly-map. + (define-its-state-machine-append): Likewise. + + (its-goto-state): Use symbol as keymap, not directly. + + (its-set-part-1,its-set-part-2): New function. + (its-delete-backward-within-SYL): Conditionalize. + + * egg.el (egg-edep): Required. + (egg-mode): Add remove-hook call. + Supply NIL as first argument to egg-set-conversion-backend. + make-local-hook for input-method-activate-hook. + (egg-set-face): Add optional argument OBJECT. + (egg-redraw-face): Bind inhibit-point-motion-hooks. + + * egg.el (set-buffer-multibyte): Move to egg-edep.el. + + * egg-mlh.el (mlh-space-bar-backward-henkan): Use assq. + + * egg-com.el (egg-zhuyin-syllable): compatibility change. + (encode-fixed-euc-china-region): Removed maxlen. + + Really Needed? -- gN. + * egg-com.el (egg-pinyin-syllable): Check exact match. + (egg-zhuyin-syllable): Likewise. + + * egg-cnv.el (egg-edep): Required. + (its-keydef): Not required. + (egg-conversion-map): Don't call its-define-select-keys here. + Fset it to use symbol instead of the map directly. + + (egg-get-bunsetsu-info): Add new optional argument for getting + property. + (egg-start-conversion-other-languages): set egg-conversion-backend. + (egg-set-current-backend): Use assq instead of assoc. + (egg-get-conversion-face): Likewise. + (egg-conversion-invisible): New variable. + (egg-convert-region): Change for open/close delimiter. + (egg-chinese-sisheng-regexp): New function. + (egg-separate-languages): Use egg-chinese-sisheng-regexp, + use symbol for language specifier (instead of string). + + (egg-charset-to-language): Use symbol for language specifier + (instead of string). + (egg-next-chinese-lang): Likewise. + + (egg-next-part-lang): Change the arguments. + + (egg-make-bunsetsu): New function changing egg-insert-bunsetsu. + + (egg-separate-characters): compatibility changes. + + (egg-conversion-wrap-select): New Variable. + + (egg-next-candidate): Can wrap around. + + (egg-decide-before-point): Rewritten. + (egg-abort-conversion): Back to previous one. + (egg-select-candidate): Use egg-make-bunsetsu. + + * egg-edep.el: New File for handling differences between Emacs version. + * its/thai.el: New File. + * its/hangul.el: Updated. + +1998-06-26 NIIBE Yutaka + + * Makefile (install): Don't touch .emacs and leim-list.el + directly. User should do it by her hand. + Reported by SAKAI Kiyotaka + +1998-06-25 NIIBE Yutaka + + * egg/canna.el (canna-dictionary-specification): "user" instead of + ("user"). Should chnage canna-filename later. + Reported by Akio Morita . + +1998-04-02 NIIBE Yutaka + + * egg-com.el (comm-unpack-u16-string): Call string-as-multibyte. + (comm-unpack-mb-string): Likewise. + + * egg.el (set-buffer-multibyte): Function for Emacs 20.2. + + * egg/wnn.el (wnn-open): Call set-buffer-multibyte. + * egg/sj3.el (sj3-open): Ditto. + * egg/canna.el (canna-open): Ditto. + +1998-04-02 KATAYAMA Yoshio + + Implement hilight. + * egg.el (egg-mark-list, egg-suppress-marking): New Variables. + (egg-set-face, egg-mark-modification, egg-redraw-face): New + Functions. + * its.el (its-buffer-ins/del-SYL): Call egg-set-face. + (its-setup-yanked-portion): Likewise. + * egg-cnv.el (egg-insert-bunsetsu): Call egg-set-face. + + * egg.el (egg-mode): set default backend. + * egg-mlh.el (mlh-space-bar-backward-henkan): activate input + method. + +1998-04-02 NIIBE Yutaka + + * egg-cnv.el (egg-decide-bunsetsu): Undo changes of 03-16. + (egg-abort-conversion): Call egg-end-conversion. + (egg-decide-before-point): Call egg-end-conversion widh ABORT=NIL. + +1998-03-16 NIIBE Yutaka + + CANNA Support. + * egg/canna.el, egg/cannarpc.el: New file. + * Makefile (SRCS): Added. + + * egg-cnv.el (egg-end-conversion): Add argument ABORT. + + * egg/wnn.el (wnn-end-conversion): Follow the change of + EGG-END-CONVERSION. + * egg/sj3.el (sj3-end-conversion): Likewise. + +1998-03-15 NIIBE Yutaka + + * Makefile: Add dependencies for its-keydef.elc. + * egg/sj3rpc.el (sj3-open): Don't support list of hosts. + * its.el (its-exit-mode, its-kick-convert-region): Bug fix. Call + its-input-end and its-put-cursor. + (its-exit-mode-off-input-method): Removed. + +1998-03-14 KATAYAMA Yoshio + + * docomp.el (its-keydef): Undo the changes of 03-09. its.el + is fixed. + + * egg-cnv.el (egg-current-language): New valiable. + (egg-bunsetsu-info): Separate bunsetsu-info and lunguage. + (egg-conversion-backend-other-languages + egg-init-other-languages + egg-start-conversion-other-languages + egg-get-bunsetsu-converted-other-languages + egg-get-bunsetsu-source-other-languages + egg-list-candidates-other-languages + egg-get-number-of-candidates-other-languages + egg-get-current-candidate-number-other-languages + egg-get-all-candidates-other-languages + egg-decide-candidate-other-languages + egg-change-bunsetsu-length-other-languages + egg-end-conversion-other-languages + egg-fini-other-languages): New valiable and functions for + handling unknown language. + (egg-set-current-backend): Set egg-conversion-backend-other-languages + when backend for specified language isn't found. + (egg-start-reverse-conversion): New function for reverse conversion. + (egg-set-conversion-backend-internal): Removed. + (egg-set-conversion-backend): Args are changed. + (egg-get-conversion-face): New function for different face for + every language. + (egg-convert-region): Make converting text read-only. Handle + unknown laguages and backend opening error. Rename its-lang to + egg-lang. + (egg-separate-languages): Argument use-context is added to + utilize context when called by its-yank. Rename its-lang to + egg-lang Improve speed. + (egg-charset-to-language): Renamed from egg-char-to-language. + (egg-next-part-lang egg-next-chinese-lang): Rename its-lang to + egg-lang. + (egg-conversion-map): Unbind C-\ and /. Bind C-X RET XXX to + its-select-XXX. + (egg-insert-bunsetsu): Make conversion text read-only. Separate + bunsetsu-info and conversion-backend. + (egg-insert-bunsetsu-list): Remove redundant variables. + (egg-beginning-of-conversion-buffer): New function. + (egg-end-of-conversion-buffer): New function. + (egg-enlarge-bunsetsu): Handle read-only text. + (egg-next-candidate): Handle read-only text. Bug on no candidate + bunsetsu is fiexed. + (egg-reconvert-bunsetsu-internal egg-reverse-convert-bunsetu + egg-reconvert-bunsetsu): New functions for reverse conversion and + re-conversion. + (egg-decide-before-point egg-abort-conversion): Handle read-only + text. Bug on pinyin and zhuyin mixed conversion is fixed. Allow + long fence. + (egg-select-candidate): Handle read-only text. Bug on no candidate + bunsetsu is fiexed. + + * egg-com.el: Change coding-system from internal to iso-2022-7bit. + + * egg-mlh.el (mlh-space-bar-backward-henkan): Disable temporally + mode selection. + + * egg.el (egg-mode): Set cureent lang to conversion backend. + (egg-set-mode-line-title): Renamed to its-set-mode-line-title + and moved to its.el. + (egg-check-language): Removed. + + * egg/sj3.el (sj3-server-port): Change from defconst to defver for + user customization. + (sj3-open sj3-get-environment): Try opening alternate servers. + (sj3-start-conversion): Make second argument LANGUAGE optional. + (egg-activate-sj3): Parameters of egg-set-conversion-backend is + changed. + + * egg/sj3rpc.el (sj3rpc-error-message): New constant (Not yet + completed). + (sj3rpc-get-error-message): Check range of errno to avoid + args-out-ou-range error. + + * egg/wnn.el (wnn-jport wnn-cport wnn-tport wnn-kport): New + variables for user customization. + (wnn-server-info-list wnn-server-port): Type of fourth element + is changed from integer to symbol. + (wnn-start-reverse-conversion): New function. + (wnn-open wnn-get-environment): Try opening alternate servers. + (egg-activate-wnn): Parameters of egg-set-conversion-backend is + changed. + + * its-keydef.el (its-current-language): Moved to its.el. + (its-make-select-func): Remove language check (egg-check-language). + Add temporally mode selection. + (its-do-list-make-select-func): Binding of zhuyin-tw is changed to + `C' because conflicting zenkaku-upcase. + + * its.el (its-current-select-func its-previous-select-func): New + variables for temporally mode selection. + (its-keydef requiring): Use eval-when to avoid error on using + compiled file. + (its-get-fence-face): New function for different face for + every language. + (its-put-cursor its-setup-fence-mode): Make fence read-only. + (its-start): Remove force-mode-line-update calling. + (its-restart): Add optional argument set-prop. + (its-self-insert-char its-backward-SYL its-forward-SYL + its-delete-SYL its-delete-backward-SYL its-exit-mode + its-delete-backward-SYL-by-keystroke its-transpose-chars + its-kick-convert-region its-end-of-input-buffer): Handle read-only + fence. + (its-state-machine): Accept special actions to handle temporally + mode selection. + (its-buffer-ins/del-SYL its-ins/del-SYL-batch): Handle read-only + fence. Property its-lang is renamed to egg-lang. + (its-get-next-state its-make-next-state): Add type check to avoid + wrong-type-argument error. + (its-keyseq-acceptable-p): Save informations of its-map to avoid + confusing on temporally mode selection. + (its-defrule-select-mode-temporally): New macro. + (its-kill-line its-cancel-input): New function. + (its-delete-backward-within-SYL): Bind its-current-language to + avoid confusing when undo is done beyond language change. + (its-yank its-yank-pop its-setup-yanked-portion): New functions. + (its-exit-mode-internal): Reset temporally selected mode. Allow + long fence. + (its-kick-convert-region-or-self-insert): New function. + (its-translate-region): Remove text properties completly. + (its-set-mode-line-title): Moved from egg.el and renamed. + (its-select-mode-temporally its-select-previous-mode): New functions + for temporally mode selection. + + * leim-list-egg.el: Secondary argument for egg-activate-sj3/wnn + is no longer needed. + + * its/hira.el: Remove the rule for "~" which destroies the rules + with its-hankaku-escape. + + * its/pinyin.el: Implement its-pinyin-cn-enable-quanjioao-alphabet + and its-pinyin-tw-enable-quanjioao-alphabet. + + * its/hangul.el: Implement its-hangul-enable-quanjioao-alphabet. + + * its/ascii.el: New file. + * its/erpin.el: New file. + * its/hankata.el: New file. + * its/jeonkak.el: New file. + * its/kata.el: New file. + * its/quanjiao.el: New file. + * its/zenkaku.el: New file. + * its/zhuyin.el: New file. + +1998-03-14 NIIBE Yutaka + + * egg/sj3rpc.el (sj3rpc-close): New function. + + * egg/sj3.el (sj3bunsetsu-[sg]et-kugiri-changed): Rename from + sj3bunsetsu-get-stdy-down. + (sj3-end-conversion): Implement CLSTDY. + (sj3-fini): Implemented. + +1998-03-10 NIIBE Yutaka + + * egg/sj3.el (sj3-end-conversion): Implement bunsetsu study. + CLSTDY not yet. + + * egg/sj3rpc.el (sj3rpc-get-bunsetsu-candidates-sub): Bug fix. + Always add hiragana and katakana candidates. + (sj3-const: CLSTDY, CLSTDY_EUC): Renamed from END and END_EUC + according to "sj3cmd.h" of SJ3 distribution. + (sj3rpc-bunsetsu-stdy, sj3rpc-kugiri-stdy): New functions. + + * egg-com.el (comm-format-u8-vector): New substitution. + (comm-format): New format 'v'. + +1998-03-09 NIIBE Yutaka + + * docomp.el (its-keydef): Require its-keydef when compile. + Not so good. Just a work around. + (its-mode-map): Undo the changes of 03-04. + +1998-03-09 KATAYAMA Yoshio + + * its.el (its-translate-region): Make it command. + (its-translate-region-internal): Make it function. + +1998-03-04 NIIBE Yutaka + + * its.el (its-define-select-keys of its-mode-map): Comment it out. + * its-keydef.el (its-make-select-func): Add eval-when to compile this. + + * egg-cnv.el (egg-decide-bunsetsu): Deleted. + * its.el (its-restart): Call its-setup-fence-mode with no argument. + + * its.el (its-keyseq-acceptable-p): Bug fix. + +1998-03-03 KATAYAMA Yoshio + + *its.el (its-get-keyseq-syl): Compensate when DSYL has back. + (its-DSYL-with-back-p): New function. Return t when DSYL has back. + (its-concrete-DSYL-p): New function. Return t when DSYL is cons + form which means input is not continued after DSYL was created. + (its-make-concrete-DSYL): New function. + (its-self-insert-char): Make DSYL to ``concrete-DSYL'' if cursor + is t which means input is not continued. + (its-input): Test input key is whether acceptable or not when + its-barf-on-invalid-keyseq is non-nil. + (its-input-to-vsyl): Set cursor status, not just returning it. + (its-state-machine its-state-machine-keyseq): Make sure to issue + ``DSYL-with-back'' when syllable is decided by the rule with back. + ``test mode'' is added. + (its-keyseq-acceptable-p): New function. + (its-forward-SYL): The args order of put-text-property was wrong. + (its-delete-backward-SYL-by-keystroke): New function. + (its-delete-backward-within-SYL): ``delete-by-keystroke'' mode + did not work when syllable is decided by the rule with back. + Deletion limit is extended to outside of SYL (meaning of + ``within-SYL'' is changed to ``deletion starts within SYL). + (its-transpose-chars): Fixed up. + (its-in-fence-p): Confuse at openning fence. + +1998-02-25 KATAYAMA Yoshio + + * its.el (its-put-cursor): Enable its-map change in fence mode. + + * its-keydef.el (its-make-select-func): Same as above. + +1998-02-25 KATAYAMA Yoshio + + * its.el (its-set-cursor-status): New function. + (its-setup-fence-mode): New function. + (its-insert-fence-open its-insert-fence-close): Deleted. + (its-start, its-restart, its-self-insert-char): Avoid fence + destruction on its-barf. + (its-input-to-vsyl, its-state-machine, its-state-machine-keyseq, + its-buffer-ins/del-SYL, its-ins/del-SYL-batch): Update cursor + status on updating syllables. + (its-input-error): New function to realize doc-string of + its-barf-on-invalid-keyseq. + + * egg.el (egg-mode): Don't use egg-mode-line-title which cause + wrong-type-argument at isearch. Bind its-select-XXX to key only + when modefull is select. + + * egg-mlh.el (mlh-hangul, mlh-zhongwen, mlh-zhongwen-tw): Same + as above. + + * its-keydef.el (its-make-select-func): Same as above. + + * leim-list-egg.el: Same as above. + +1998-02-24 KATAYAMA Yoshio + + * its.el (its-state-machine-keyseq): Remove binding + its-barf-on-invalid-keyseq to nil. + (its-ins/del-SYL-batch): Avoide altering its-XXX-map. + (its-translate-region-internal): its-translation-result's data + type is changed to string. + + * egg-cnv.el (egg-convert-region): Gather contiguous same + language part. + +1998-02-21 KATAYAMA Yoshio + + * its.el (its-ins/del-SYL-batch): Set its-lang property. + (its-translate-region): Remove its-lang property from translated + text. + (its-translate-region-internal): New function. Retain its-lang + property on translated text. + + * egg-mlh.el (mlh-space-bar-backward-henkan): Force base language + to Japanese. + + (mlh-hangul mlh-zhongwen-tw mlh-zhongwen): New functions for + conversion functions. + +1998-02-20 KATAYAMA Yoshio + + * its.el (its-restart): New function. + (its-insert-fence-open, its-insert-fence-close): New function. + (its-start): Rewritten. Use its-insert-fence-open and + its-insert-fence-close. + (its-exit-mode-internal): Leave its-syl property. + (its-exit-mode-internal): Delete the property in this case. + (its-keydef): Require it. + + * its-keydef.el: Provide the feature. + + * egg-cnv.el (egg-convert-region): Add egg-source property to save + the source string. + (egg-conversion-map, \C-c): New keybind. + (egg-get-previous-bunsetsu): Bug fix. + (egg-decide-before-point): New implementation. + (egg-exit-conversion): Use gg-decide-before-point. + (egg-abort-conversion): New command. + +1998-02-20 NIIBE Yutaka + + * Makefile (SRCS), Egg.prj: Remove euc-china.el. + * egg-com.el: Include egg-china.el. + * egg-china.el: Removed. + +1998-02-18 NIIBE Yutaka + + * Egg.prj: Use PRCS. + + * Makefile (SRCS): Rename euc-cn.el to euc-china.el + * egg-mlh.el (mlh-space-bar-backward-henkan): Put "Japanese" + language property for text. + +1998-02-18 KATAYAMA Yoshio + + * euc-china.el: Rename from euc-cn.el. Update. + + * egg.el (egg-mode): Bug fix. Call get-exit-conversion. + * leim-list-egg.el ("japanese-egg-wnn", "japanese-egg-sj3"): + Use new definition (with language argument). + * egg/wnn.el (egg-activate-wnn): + * egg/sj3.el (egg-activate-sj3): + +1998-02-17 NIIBE Yutaka + + * Makefile (SRCS): Add its/pinyin.el, its/hangul.el and + its-keydef.el. + + * egg-com.el (ccl-encode-fixed-euc-kr): Fixed the name. + +1998-02-17 KATAYAMA Yoshio + + * its-keydef.el: New file. + * its/hangul.el, its/pinyin.el: New version. + + * egg/wnnrpc.el (load-library "egg/wnn"): Comment it out. + (wnnrpc-get-error-message): Support multiple languages. + (wnnrpc-call-with-environment): Chinese support. + + * egg/wnn.el (wnn-support-languages): New const. + (): Add , , and . + (wnnenv-get-server-type, wnnenv-get-dictionary-set, + wnnenv-get-reverse-flag): New substs. + (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Changed. + (wnn-server): Removed. + (wnn-jserver, wnn-cserver, wnn-tserver, wnn-kserver): New custom. + (wnn-server-info-list): New const. + (wnn-get-server-info): New function. + (wnn-server-locale, wnn-server-type, wnn-server-port, + wnn-server-stream-name, wnn-server-buffer-name, + wnn-server-coding-system, wnn-server-hostname): New substs. + (wnn-start-conversion): Add new arguments. + (wnn-uniq-candidates): Initialize 'n'. + (wnn-change-bunsetsu-length): Simplefied. + (wnn-change-bunsetsu-length): Call renbunsetsu-conversion, + instead. + (wnn-fini, wnn-comm-sentinel): back to 971009 version. + (wnn-jserver-port): Removed. + (wnn-open): Argument change. Support languages. + + (wnn-dictionary-specification): Removed. + (wnn-dictionary-specification-list): New variable. + (wnn-get-dic-spec, wnn-dic-spec-dic-set, wnn-dic-spec-reverse, + wnn-dic-spec-name, wnn-dic-spec-param, wnn-dic-spec-fuzokugo, + wnn-dic-spec-dic-list): New substs. + (wnn-get-environment): Rewrite. + (wnn-create-environment): Rewrite. + + (egg-activate-wnn): Support languages. + + * egg/sj3rpc.el (load-library "egg/sj3"): Don't load it. + + * egg/sj3.el (sj3-support-languages): New const. + (sj3-start-conversion, sj3-fini): Add lang. + (sj3-change-bunsetsu-length): Simplified. + (egg-activate-sj3): Support language. + + * its/hira.el (its/hira): Packagefy. (?) + (its-hira-map): Add language spec. Move here the escape keys + ("Z", "~"). + + * leim-list-egg.el ("chinese-gb-egg-wnn-py", "chinese-gb-egg-wnn-zy", + "chinese-cns-egg-wnn-py", "chinese-cns-egg-wnn-zy", + "korean-egg-wnn"): New input methods. + + * its.el (its-current-language): New Local Variables. + : Change the structure. Add . + (its-get-language): New substitution. + (its-set-indicator): Removed. + (its-get-indicator, its-get-start-state): New implementation. + (its-reset-start-state): Removed. + (its-buffer-ins/del-SYL): Add new properties, its-map and its-lang. + (its-exit-mode-internal): Change for its-map and its-lang. + (its-in-fence-p): New function. + + ("its-keydef.el"): Load it. + + (its-select-map-menu): Removed. + (its-select-map-from-menu): Removed. + (its-select-hiragana, its-select-katakana, its-select-downcase, + its-select-upcase, its-select-zenkaku-downcase, + its-select-zenkaku-upcase, its-select-map, its-zenkaku-escape, + its-hankaku-escape): Removed. + + (define-its-state-machine): Rewrite. + (define-its-compiled-map): New macro. + (its-define-state-machine): Removed. + + (its-forward-SYL): Cleanup. + + (its-beginning-of-input-buffer): Fix. + (its-end-of-input-buffer): Likewise. + + * egg-com.el (egg-fixed-euc, egg-mb-euc): New Local Variables. + (ccl-decode-fixed-euc-kr, ccl-encode-fixed-euc-kr): New CCLs. + (fixed-euc-kr): New coding system. + (comm-format-mb-string, comm-format-u16-string): Support EUC-KR. + (comm-unpack-u16-string, comm-unpack-mb-string): Likewise. + + * egg-cnv.el (egg-get-bunsetsu-info): New function. + (egg-conversion-backend-alist, egg-finalize-backend-alist): + New Variables. + Make egg-conversion-backend buffer local. + (egg-set-current-backend): New function. + (egg-initialize-backend): Call egg-set-current-backend. + (egg-start-conversion): Add new argument LANGUAGE. + (egg-finalize-backend): Finalize for all backend(s). + (egg-set-conversion-backend-internal): New Macro. + (egg-convert-region): Support multiple languages in the region. + (egg-separate-languages, egg-char-to-language, egg-next-part-lang, + egg-next-chinese-lang): New functions. + (egg-insert-bunsetsu-list): Change the meaning of last argument. + (egg-shrink-bunsetsu): Simplified. Just call egg-enlarge-bunsetsu. + (egg-enlarge-bunsetsu): Support shrink. + + (egg-decide-bunsetsu, egg-next-candidate, egg-select-candidate): + Use egg-get-bunsetsu-info. + + (egg-insert-bunsetsu): The property now includes + egg-conversion-backend. + + * egg.el: Don't load its/hira and don't set its-current-map. + + * egg.el (egg-default-language, egg-support-languages): New Variables. + (egg-last-method-name, egg-mode-line-title): New Local Variables. + (egg-set-mode-line-title, egg-check-language): New functions. + (egg-set-support-languages): New function. + (egg-mode): Final processing: call its-exit-mode, call + egg-exit-conversion. + Changing the arguments, remember last input method. + + Bug fix. Don't set its-hira-period and its-hira-comma. + +1998-02-17 KAWABATA, Taichi + + * menudiag.el (menudiag-mode-map): New binds for new commands. + (menudiag-beginning-of-items, menudiag-end-of-items): New commands. + (menudiag-make-menu-formatted-string): Bug fix. Use + menudiag-item-num-to-char. + (menudiag-goto-item): Rewrite. Better user interface. + (menudiag-char-to-item-num, menudiag-item-num-to-char): New + functions. + +1998-02-07 MORIOKA Tomohiko + + * leim-list-egg.el: Delete autoload setting for `egg-mode'. + Delete input method registration for "japanese-egg". + + * egg.el: Comment out setting for Wnn. + + * leim-list-egg.el: Add autoload setting for + `egg-activate-{wnn|sj3}'. + + * egg/sj3.el (egg-activate-sj3): Add DOC-string. + + * egg/sj3.el (egg-activate-sj3): New function. + Require egg. + Load egg/sj3rpc.el. + + * egg/wnn.el (egg-activate-wnn): New function. + Require egg. + Load egg/wnnrpc.el. + +1998-02-07 MORIOKA Tomohiko + + * leim-list-egg.el (japanese-egg-wnn): New input method. + (japanese-egg-sj3): New input method. + +1997-11-20 MORIOKA Tomohiko + + * leim-list-egg.el: Rename `egg-ja' -> `japanese-egg'. + +1997-11-20 MORIOKA Tomohiko + + * egg/wnn.el (wnn): New group. + (wnn-server): Use `defcustom'. + (wnn-usr-dic-dir): Use `defcustom'. + + * egg.el (egg): New group. + +1997-11-20 MORIOKA Tomohiko + + * menudiag.el (menudiag-mode-map): Swap binding for left and + right. + + * egg.el (egg-toroku-region): `wnn-get-environment' requires + dictionary-specification. + + * leim-list-egg.el: add autoload setting for egg-mode. + +1997-11-03 KATAYAMA Yoshio + + * euc-cn.el: New file. Original name was yincoding.el. + Adopted by NIIBE Yutaka . + +1997-11-03 NIIBE Yutaka + + * its.el (its-start): Add INVISIBLE property if ITS-FENCE-FACE. + * egg-cnv.el (egg-decide-before-point): Ditto. + Based on patch by Kenichi HANDA . + + Once, I thought that we need many environments which correspond to + outstanding CONVERSION buffre. However, I've learned that WNN4 + protocol is completely independent. It's no use to maintain each + environment. Share the one environment. + * egg/wnn.el (wnn-environments): Removed. + (wnn-environment): New variable. + (wnn-comm-sentinel): Follow the change. Let users know the close. + (wnn-fini): Likewise. + + : Remove the member . + (wnnenv-create): Follow the structure change. + (wnn-end-conversion): Likewise. + (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Removed. + (wnn-find-env-not-in-use): Removed. + (wnn-get-environment): Use wnn-environment instead of wnn-environments. + Take one argument. + + * egg-cnv.el (egg-decide-before-point): Signal error on first SYL. + Reported by KATAYAMA Yoshio . Changes of 1997-09-07 + was not enough. + Set-marker M to NIL after PUT-TEXT-PROPERTY. + + Because the name of identifier begins egg-*, change the file names. + * tamago: Rename from tamago. + * egg.el, egg-mlh.el, egg-com.el, egg-cnv.el: Rename from tamago-*.el + * Makefile: Follow the changes. + +1997-10-05 NIIBE Yutaka + + * tamago/wnn.el (wnn-uniq-candidates): Add new argument BUNSETSU. + Call WNN-BUNSETSU-SET-ZENKOUHO-POS, WNN-BUNSETSU-SET-ZENKOUHO in + this function. Handle the case where BUNSETSU is not the first + element of BUNSETSU-LIST. + (wnn-list-candidates): Use new API of WNN-UNIQ-CANDIDATES. + + * tamago-cnv.el (egg-next-candidate): Handle the case where + EGG-LIST-CANDIDATES returns non zero value. + +1997-10-04 NIIBE Yutaka + + * Makefile (install): Install to SITEDIR. + +1997-09-26 NIIBE Yutaka + + * its/hira.el (its-hira-enable-zenkaku-alphabet): New variable. + (its-hira-map): Use it. + +1997-09-19 NIIBE Yutaka + + Arrange for LEIM. Use tamago/ subdirectory. + * tamago/: Rename from tamago-lib. + +1997-09-18 NIIBE Yutaka + + * tamago-cnv.el (egg-select-candidate): menu-select --> + menudiag-select. + * tamago.el (egg-toroku-region, egg-hinshi-select): Likewise. + + * tamago-cnv.el (egg-exit-conversion): Run hook of + input-method-after-insert-chunk-hook. + * its.el (its-exit-mode-internal): Ditto. + + * tamago-mlh.el (mlh-comma-period-style): Deleted. + + * its/, tamago-lib/: New directory. + * its/: Move its-*.el files here. + * tamago-lib/: Move sj3.el, sj3rpc.el, wnn.el and wnnrpc.el here. + + * tamago-com.el: Rename from comm.el. + * tamago-mlh.el: Rename from mlh.el. + * tamago-cnv.el: Rename from convert.el. + + * menudiag.el: Rename from menu.el. + (Throughout): Rename menu-* to menudiag-*. + +1997-09-07 NIIBE Yutaka + + * egg.el (egg-insert-after-hook, egg-exit-hook): Removed. + (egg-sai-henkan-start, egg-sai-henkan-end, egg-old-bunsetu-suu): + Removed. + + * wnn.el (WNN-const): New macro. + (wnn-start-conversion, wnn-open-dictionary, wnn-open-frequency, + wnn-set-dictionary-sub, wnn-update-frequency): Use it. + + * wnnrpc.el (wnn-const): New macro. + Throughout: Use wnn-const. + + * convert.el (egg-decide-before-point): Bug fix. Handle the case + where all bunsetsu are decided. + Reported by KATAYAMA Yoshio . + + * convert.el (egg-exit-conversion): Call egg-end-conversion at end. + (egg-decide-before-point): Ditto. + + * wnn.el (wnn-environments): Change the structure of enviromnents. + (wnn-fini): Handle errors. + (wnn-open): Set sentinel. Delete buffer on failure. + (wnn-comm-sentinel): New function. + (wnn-find-env-not-in-use): Return nil when not found. + + (wnn-create-environment): Take username as argument. + (wnn-get-environment): Follow the change. + + (wnnenv-create): Remove useless serial no. + (wnnenv-get-in-use-flag, wnnenv-set-in-use-flag): Follow the change. + (wnnenv-get-daibunsetsu-info, wnnenv-set-daibunsetsu-info): Likewise. + (wnn-create-environment, wnn-get-environment): Likewise. + +1997-09-04 NIIBE Yutaka + + * its.el (its-state-machine-keyseq): Bug fix. Handle VSYL. + + * sj3.el, sj3rpc.el: New files. + + * comm.el (comm-call-with-proc, comm-call-with-proc-1): New macros. + * wnnrpc.el (wnnrpc-call-with-proc, wnnrpc-call-with-proc-1): Deleted. + Throughout: Use comm-call-with-proc and comm-call-with-proc-1. + +1997-09-03 NIIBE Yutaka + + * wnnrpc.el (wnnrpc-call-with-proc-1): Bug fix. let --> progn. + + * convert.el (egg-conversion-backend): Initail value is NIL. + + * wnn.el (wnn-conversion-backend): New constant. + + * comm.el (comm-format,comm-unpack): Support multibyte string. + (comm-format-mb-string): New substitution. + (comm-unpack-mb-string): New substitution. + + * wnn.el (wnn-fini): Handle the case where wnn-environments is nil. + Reported by Hisashi Miyashita . + +1997-09-03 Hiroshi Ogata + + * mlh.el (mlh-zenkaku): Use new API of Emacs-20, + japanese-zenkaku-region. + +1997-09-02 NIIBE Yutaka + + * egg.el (egg-toroku-region): New function. + + * wnn.el (wnn-list-dictionaries): New function. + (wnnenv-get-proc): New function. + + * wnnrpc.el (wnndic-get-id, wnndic-get-comment, wnndic-get-dictname): + New substitution. + (wnnrpc-get-writable-dictionary-id-list): Rename from + wnnrpc-get-writable-dictionary-list. + +1997-09-01 NIIBE Yutaka + + * convert.el (egg-decide-bunsetsu): New function. + (egg-decide-before-point): New command. + (egg-exit-conversion): Use egg-decide-bunsetsu. + + * its.el (its-start): Divide the fence buffer into two parts and + make them intangible, so that point goes appropriate position. + (its-put-cursor): The cursor belongs to part-2. + (its-buffer-ins/del-SYL): The new SYL belongs to part-1. + (its-exit-mode-internal): Remove the property on exit. + (its-beginning-of-input-buffer): Make SYLs have property of "part 2". + (its-backward-SYL): Likewise. + (its-forward-SYL): Make SYLs have property of "part 1". + (its-end-of-input-buffer): Likewise. + + (its-input-end): Delete useless argument. + (its-beginning-of-input-buffer, its-exit-mode, + its-exit-mode-off-input-method, its-kick-convert-region, + its-end-of-input-buffer, its-backward-SYL, its-forward-SYL, + its-delete-SYL): Follow the change. + +1997-08-31 NIIBE Yutaka + + For egg-mode, don't use minor mode, override local map instead. + For its-mode and egg-conversion-mode, don't use minor mode, + instead use local-map of text property. + + Although overriding local map is not good, using local-map of + property is natural thing. Besides, point-left/point-entered + don't work as I expected (yet). + + * egg.el (egg-mode: variable): Removed. + * egg.el (egg-modefull-map, egg-modeless-map): Make them functions. + Generate overriding local map. + * egg.el (egg-mode): use overriding local map. + + * its.el, convert.el: Undo changes of 1997-08-28 for minor mode + and local map of text properties. + + * its.el (its-exit-mode-off-input-method): New function. + +1997-08-29 NIIBE Yutaka + + Let Undo work correctly. + * its.el (its-self-insert-char): Delete/Insert cursor. + + * its.el (its-put-cursor): Remove useless first argument. + (its-start, its-beginning-of-input-buffer, its-end-of-input-buffer, + its-backward-SYL, its-forward-SYL, its-delete-SYL, its-delete-SYL, + its-delete-backward-SYL-internal, its-delete-backward-within-SYL): + Follow the change. + +1997-08-28 KATAYAMA Yoshio + + * its-erpin.el: New file. + * its-pinyin.el: New file. + * its-zhuyin.el: New file. + +1997-08-28 NIIBE Yutaka + + * its.el (its-exit-mode-no-egg): Removed. + (its-exit-mode-internal): Remove first argument. + (its-kick-convert-region, its-delete-SYL, + its-delete-backward-SYL-internal, its-delete-backward-within-SYL): + Follow the change. + + Don't use local map of text properties, instead use minor mode. + * convert.el (egg-conversion-mode): New minor mode. + (egg-conversion-left, egg-conversion-enter): New functions. + (egg-insert-bunsetsu): remove local-map, add point-entered and + point-left properties. + (egg-exit-conversion): Likewise. + (egg-exit-conversion): Exit minor mode. + + * its.el (its-put-cursor): remove local-map, add point-entered and + point-left properties. + (its-enter, its-left): New functions. + (its-mode): New variable. New minor mode. + +1997-08-27 NIIBE Yutaka + + * convert.el (egg-exit-conversion-no-egg): Removed. + (egg-exit-conversion): No argument, no egg-mode. + + * convert.el (egg-convert-region): No egg-flag. + * its.el (its-exit-mode-internal): Follow it. + * mlh.el (mlh-space-bar-backward-henkan): Ditto. + +1997-08-26 NIIBE Yutaka + + * wnn.el (wnn-change-bunsetsu-length): Don't use magic #3. + + * convert.el (egg-insert-bunsetsu-list): Add optional argument + CONTIN. + +1997-08-25 NIIBE Yutaka + + * convert.el (egg-insert-bunsetsu): Include seperator. Add + intangible property to bunsetsu. + (egg-insert-bunsetsu-list): Follow the change. + (egg-backward-bunsetsu, egg-forward-bunsetsu, + egg-select-candidate, egg-next-candidate, + egg-shrink-bunsetsu, egg-enlarge-bunsetsu, + egg-exit-conversion): Ditto. + + * mlh.el (mlh-space-bar-backward-henkan): Call egg-convert-region + with last argument t. Turn of egg-mode. + +1997-08-24 NIIBE Yutaka + + * its.el (its-exit-mode-internal): Inactivate input method. + + * wnn.el (wnn-end-conversion): Change the interface. + (wnn-update-frequency): Follow the change. + * convert.el (egg-exit-conversion): Follow the change. + + * wnn.el (wnn-start-conversion): Change the return value interface. + * convert.el (egg-convert-region): Follow the change. + + * wnn.el (wnnenv-get-bunsetsu-pos, wnnenv-set-bunsetsu-pos): Removed. + (wnn-get-bunsetsu-source-afterwards): Removed. + (wnn-get-number-of-bunsetsu, wnn-get-bunsetsu-info): Removed. + (wnnenv-get-bunsetsu-list, wnnenv-set-bunsetsu-list): Removed. + (wnn-start-conversion): Don't call wnnenv-set-bunsetsu-list. + (wnn-end-conversion): Ditto. + +1997-08-23 NIIBE Yutaka + + * convert.el (egg-change-bunsetsu-length): Change the interface. + (egg-shrink-bunsetsu,egg-enlarge-bunsetsu): Follow it. + + (egg-source-maxlen-from-here): Removed. + (egg-get-previous-bunsetsu): New function. + (egg-select-candidate, egg-shrink-bunsetsu, egg-enlarge-bunsetsu, + egg-next-candidate): Use egg-get-previous-bunsetsu. + +1997-08-20 NIIBE Yutaka + + * egg.el (minor-mode-alist): Don't show " EGG" in mode line. + (egg-mode): Use input method indicator instead. + +1997-07-20 NIIBE Yutaka + + * convert.el (egg-next-candidate): Rename from egg-next-conversion. + (egg-previous-candidate): Rename from egg-previous-conversion. + (egg-select-candidate): Follow the change of new interface. + (egg-source-maxlen-from-here): Likewise. + +1997-07-19 NIIBE Yutaka + + * wnn.el (wnn-start-conversion): Change the interface. Return ENV + and the list of bunsetsu. Fix the documentation string too. + * convert.el (egg-convert-region): Follow the change. + (egg-insert-converted-result): Change the argument. + (egg-insert-bunsetsu-list): Rename from egg-insert-converted-result. + (egg-insert-bunsetsu): New function. + (egg-get-number-of-bunsetsu,egg-get-bunsetsu-info): Removed. + (egg-backward-bunsetsu): Don't use bunsetsu-pos. + + * wnn.el (wnn-get-bunsetsu-converted): Change the interface. Take + BUNSETSU as the argument instead of ENV and POS. + * convert.el (egg-get-bunsetsu-converted): Follow the change. + + * wnn.el (wnn-bunsetsu-create): Take ENV as the first argument. + (wnn-list-candidates): Dont take ENV. + (wnn-bunsetsu-get-env): New substitution. + + * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub): Take the argument + for ENV, and use it for the argument of wnn-bunsetsu-create. + (wnnrpc-receive-sho-bunsetsu-list): Take ENV as the first argument. + (wnnrpc-renbunsetsu-conversion): Follow the change. + +1997-07-17 NIIBE Yutaka + + * convert.el (egg-decide-candidate): Change the interface. + Take the argument bunsetsu-info instead of conversion-engine. + + * wnn.el (wnn-get-candidate): Deleted. + + * convert.el (egg-get-all-candidates): Change the interface. + Take an argument bunsetsu-info instead of conversion-engine. + (egg-select-candidate): Follow the change. + + * convert.el (egg-set-bunsetsu-pos,egg-get-bunsetsu-pos): Deleted. + (egg-list-candidates,egg-get-current-candidate-number): New stub. + * wnn.el (wnn-bunsetsu-create): Add new member zenkouho-pos. + (wnn-bunsetsu-get-zenkouho-pos,wnn-bunsetsu-set-zenkouho-pos): New + functions. + (wnn-list-candidates,wnn-get-current-candidate-number): New functions. + (wnn-set-bunsetsu-pos,wnn-get-bunsetsu-pos): Deleted. + + * convert.el (egg-get-number-of-candidates): Change the interface. + Take an argument bunsetsu-info instead of conversion-engine. + (egg-next-conversion,egg-select-candidate): Follow the change. + * wnn.el (wnn-get-number-of-candidates): Follow the change. + + * wnn.el (wnn-get-bunsetsu-source-afterwards): New function. + (wnn-change-bunsetsu-length): Use it. + + * convert.el (egg-get-bunsetsu-source): Change the interface. + Take an argument bunsetsu-info instead of conversion-engine. + (egg-enlarge-bunsetsu,egg-shrink-bunsetsu,egg-source-maxlen-from-here): + Follow the change. + * wnn.el (wnn-get-bunsetsu-source): Follow the change. + + Put bunsetsu information on text property. + * wnn.el (wnn-get-bunsetsu-info): New function. + + * convert.el (egg-insert-converted-result): Put it on text property. + (egg-conversion-backend): Add new interface + wnn-get-bunsetsu-info. + (egg-get-bunsetsu-info): New stub. + +1997-07-17 KATAYAMA Yoshio + + * its.el (its-state-machine-keyseq, its-state-machine): Handle + end-of-input correctly when going backward. + +1997-07-16 NIIBE Yutaka + + * wnn.el (wnn-create-directory): Bug fix. Really make directory. + +1997-07-15 NIIBE Yutaka + + * its-hangul.el (its-define-hangul): Use its-defrule-otherwise. + +1997-07-15 KATAYAMA Yoshio + + * its-hangul.el: Updated. + +1997-06-19 NIIBE Yutaka + + * its-hira.el: its-hira-hankaku-escape --> its-hankaku-escape. + its-hira-zenkaku-escape --> its-zenkaku-escape. + +1997-06-14 NIIBE Yutaka + + * its.el: Change the data structure of so + that it can encourage sharing same structure and it can use same + structure of SYL. + (its-ins/del-SYL-batch): Follow the change of data structure. + (its-define-otherwise): Change the argument. + (its-defrule-otherwise): New function. + (its-eob-keyexpr, its-eob-back, its-make-class+back, + its-make-otherwise): New substitutions. + +1997-06-13 NIIBE Yutaka + + * its-kana.el: New file. Taken from its/kanainput.el of Mule-2.3. + + * its-hira.el: Use `define-its-state-machine'. + + * its.el (its-zenkaku-escape, its-hankaku-escape): Make them + defconst. + (define-its-state-machine, define-its-state-machine-append): New + macro. + +1997-06-13 NIIBE Yutaka + + * its-hira.el ("n'"): Added. + +1997-06-12 NIIBE Yutaka + + its-zenkaku-escape and its-hankaku-escape are also used in hangul. + * its.el (its-zenkaku-escape, its-hankaku-escape): Moved to here + and rename them. + * its-hira.el (its-hira-hankaku-escape, its-hira-zenkaku-escape): + Removed. + + * its.el (its-read-current-its-string): Removed. There's the + function `read-multilingual-string' already. + +1997-06-12 KATAYAMA Yoshio + + * its-hangul.el: New file. + +1997-06-10 NIIBE Yutaka + + Miscellaneous cosmetic changes. + * comm.el: New file. Move communication related funcitons from + wnnrpc.el. + (comm-format-u32c, and others): Rename from wnnrpc-*. + * wnnrpc.el (Throughout): Follow the rename. + + * wnn.el (wnnenv-get-in-use-flag): Rename from wnn-e-get-in-use. + (wnnenv-set-in-use-flag): Rename from wnn-e-set-in-use. + (Others): Rename from wnn-e-*. + (wnn-bunsetsu-*): Rename from wnnrpc-b-*, and moved from wnnrpc.el. + + * convert.el (egg-exit-conversion): Call egg-do-auto-fill. + + * its.el (its-translate-region): Bug fix. End of input. + (its-state-machine): Bug fix. Generate error if + its-barf-on-invalid-keyseq. + (its-exit-mode-internal): Call egg-do-auto-fill. + + * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for ASCII. + + * mlh.el (mlh-space-bar-backward-henkan): Call egg-do-auto-fill. + + * egg.el: Comment out definition of C-\ in global-map. + +1997-06-09 NIIBE Yutaka + + * its.el (its-kick-convert-region): Rename from its-convert-region. + (its-mode-map): Follow the change. + + (its-make-next-state): Use list instead of cons. + + (its-get-kst/t): Make it substitution. + (its-set-kst, its-get-keyseq, its-set-keyseq, its-kst-p, + its-get-output, its-set-output, its-get-keyseq-syl): Likewise. + (its-new-state, its-new-map, its-get-indicator, its-set-indicator, + its-get-start-state, its-reset-start-state): Likewise. + + (its-get-next-state): Use assq instead of assoc. + + (its-goto-state): Tune up. + +1997-06-08 NIIBE Yutaka + + * mlh.el: Merge mlh-nihongo.el. + * mlh-nihongo.el: Removed. + + * its-hira.el: Moved from its/hira.el. Move comments to HISTORY. + (its-hira-enable-double-n, its-hira-period, its-hira-comma, + its-hira-open-bracket, its-hira-close-bracket, + its-hira-horizontal): New variables. + Use the variables to define the state-machine. + + Implement non-interactive translation in ITS. + * its.el (its-translate-region): New function. + (its-latest-SYL): New Variable. + (its-state-machine-keyseq): Use it. + (its-update-latest-SYL): New function. + (its-buffer-ins/del-SYL): Use it. + (its-translation-result): New variable. + (its-ins/del-SYL-batch): New function. + (its-enable-double-n-syntax, its-use-kuten-for-period, + its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape): + Removed. + + Use ITS, delete mlh's own implementation of automata. + * mlh.el (mlh-start-state, mlh-set-of-chars, mlh-start-state-sym, + mlh-set-of-chars-sym, mlh-define-automata, mlh-end-of-definition, + mlh-defrule, mlh-next-state, mlh-roma-kana-backward): Removed. + (mlh-cause-error-when-unknown-romaji-sequence): Removed. + (mlh-atoi): Removed. + (mlh-white-space, mlh-zenkaku-white): Use string-to-int. + * mlh-nihongo.el (mlh-hira-start-state, mlh-hira-chars, and all + rules of definition which defines the automaton): Removed. + (mlh-kanji-with-henkan-region-function): Use its-translate-region. + (mlh-hiragana, mlh-katakana): Likewise. + + Fix of CCL. + * wnnrpc.el (ccl-decode-fixed-euc-jp): Bug fix for jisx0212. + Add missing parens. + + Speed up of unpacking. + * wnnrpc.el (wnnrpc-following-char-or-wait): Tune up. + (wnnrpc-following+forward-char): New function. + (wnnrpc-unpack-u32c, wnnrpc-unpack-u32, wnnrpc-unpack-u16, + wnnrpc-unpack-u8): Use it. + (wnnrpc-accept-process-output): New function. + (wnnrpc-unpack-u16-string, wnnrpc-unpack-u8-string, + wnnrpc-unpack-bytes): Use it. Use search-forward. + (wnnrpc-unpack-u16-string): Use decode-coding-region. + +1997-06-07 NIIBE Yutaka + + * wnn.el (wnn-get-all-candidates): New function. + (wnn-set-bunsetsu-pos): Return 0 (instead of -1). + + * convert.el (egg-get-candidate): Removed. + (egg-get-all-candidates): New entry function. + (egg-conversion-backend): Entry for egg-get-all-candidates. + (egg-select-candidate): New function. + (egg-conversion-map): Bind "\M-s" and egg-select-candidate. + +1997-06-05 NIIBE Yutaka + + * bushu.el: Renamed from busyu.el. + (bushu-break-string, etc): Renamed from busyu*. + + * menu.el: Completely rewritten. + +1997-06-03 NIIBE Yutaka + + * its.el (its-reset-start-state): Bug fix. Delete a CDR. + + Implement "class of key" transition. + Change the structure of , the last member is + instead of . + * its.el (its-kst-p): Rename from its-ksa-p. + (its-get-next-state): Follow the change of the data structure. + (its-state-machine): Likewise. + (its-make-next-state): Likewise. + (its-set-kst): New function. + (its-get-otherwise): New function. + (its-otherwise-match): New function. + (its-define-otherwise-terminate-here): Removed. + (its-define-otherwise): New function. + (its-defrule*): Use its-define-otherwise. + + * its/hira.el (n): Use its-define-otherwise. + +1997-06-02 NIIBE Yutaka + + * wnnrpc.el (wnnrpc-receive-sho-bunsetsu-list-sub, + wnnrpc-receive-sho-bunsetsu-list-sub-2): Splited from + wnnrpc-receive-sho-bunsetsu-list. + (wnnrpc-receive-dai-bunsetsu-list): New function. + (wnnrpc-daibunsetsu-conversion, wnnrpc-get-daibunsetsu-candidate): + New function. + +1997-06-01 NIIBE Yutaka + + * wnnrpc.el (ccl-decode-fixed-euc-jp): Clean it up. + (wnnrpc-file-attribute): Rename from wnnrpc-stat-file. + (wnnrpc-get-dictionary-list-with-environment): Rename from + wnnrpc-get-dictionary-list-with-environment. + + Implement RPC more. + * wnnrpc.el (wnnrpc-who, wnnrpc-get-env-list, wnnrpc-kill, + wnnrpc-delete-dictionary, wnnrpc-set-flag-on-dictionary, + wnnrpc-get-dictionary-list, wnnrpc-delete-word, + wnnrpc-receive-word, wnnrpc-search-word, + wnnrpc-search-word-in-dictionary, wnnrpc-get-word-info, + wnnrpc-set-comment-on-word, wnnrpc-get-dictionary-info, + wnnrpc-set-file-comment, wnnrpc-hinshi-name, + wnnrpc-set-file-password, wnnrpc-set-hinshi-table): New functions. + +1997-05-31 NIIBE Yutaka + + * wnnrpc.el (wnnrpc-format-u32c, wnnrpc-unpack-u32c): New + substitutions. Support 32-bit number represented in cons cell of + a pair of 16-bit integer. + (wnnrpc-format, wnnrpc-unpack): Handle u32c (U). + + (wnnrpc-format-bytes, wnnrpc-unpack-bytes): New substitutions. + Support byte stream end with 255(-1). + (wnnrpc-format, wnnrpc-unpack): Handle bytes (B). + + (wnnrpc-local-file-loaded): New function. + (wnnrpc-call-with-proc-1): New macro. Assume the buffer is the one + of process. + +1997-05-29 NIIBE Yutaka + + * wnnrpc.el (wnnrpc-get-conversion-parameters, wnnrpc-file-loaded, + wnnrpc-write-file, wnnrpc-get-fuzokugo-file, wnnrpc-get-file-list, + wnnrpc-get-file-list-with-env, wnnrpc-stat-file, + wnnrpc-get-file-info): New functions. + wnnrpc-receive-file-list): New subst. + +1997-05-29 Kenichi Handa + + * wnnrpc.el (ccl-decode-fixed-euc-jp): Tune it up. + +1997-05-29 Hisashi Miyashita + + * wnnrpc.el (fixed-euc-jp, ccl-decode-fixed-euc-jp, + ccl-encode-fixed-euc): New private coding system. Encode/decode + CCL for it. + +1997-05-27 NIIBE Yutaka + + * wnnrpc.el (wnnrpc-tanbunsetsu-conversion): Change the argument. + (wnnrpc-get-bunsetsu-candidates): Likewise. + (wnnrpc-renbunsetsu-conversion): Likewise. + + * wnn.el (wnn-change-bunsetsu-length): Follow the change. + (wnn-set-bunsetsu-pos): Likewise. + (wnn-change-bunsetsu-length, wnn-start-conversion): Likewise. + +1997-05-25 NIIBE Yutaka + + * wnnrpc.el (wnnrpc-add-word, wnnrpc-get-dictionary-list, + wnnrpc-receive-dictionary-list, wnnrpc-get-writable-dictionary-list, + wnnrpc-get-hinshi-list, wnnrpc-hinshi-number): New functions. + (wnnrpc-unpack-u16-string): Bug fix for the case of ASCII string. + + * wnn.el (wnn-dictionary-specification): Add dictionaries of + gerodic and ones of WNN consortium. + + Implement a false path. + * wnnrpc.el (wnnrpc-renbunsetsu-conversion): Generate an error on + failure. + (wnnrpc-get-bunsetsu-candidates): Ditto. + (wnnrpc-tanbunsetsu-conversion): Ditto. + + Implement a false path. Error recovery. + * wnn.el (wnn-create-directory, wnn-open-dictionary, + wnn-open-frequency, wnn-query-del/create-frequency): New function. + (wnn-set-dictionary-sub): New function. + +1997-05-24 NIIBE Yutaka + + * wnnrpc.el (wnnrpc-version, wnnrpc-access, wnnrpc-mkdir, + wnnrpc-create-dictionary, wnnrpc-create-frequency, + wnnrpc-discard-file, wnnrpc-remove-file): New functions. + (wnnrpc-test-result-and-get-error): New subst. + + Implement a false path from wnnrpc-set-fuzokugo-file. + * wnnrpc.el (wnnrpc-set-fuzokugo-file): Return negate-encoded + error code on failure. + * wnn.el (wnn-create-environment): Generate an error message. + + Implement a false path from wnnrpc-open-file. + * wnnrpc.el (wnnrpc-open-file): Change the interface. Return + negate-encoded error code on failure. + * wnn.el (wnn-open-file): New function. + (wnn-create-environment): Handle return value, and generate + an error message for wnnrpc-set-fuzokugo-file on failure. + (wnn-set-dictionary): Handle return value. + +1997-05-17 NIIBE Yutaka + + * wnnrpc.el (wnnrpc-error-message): Error strings taken from + Wnn-4.2 distribution. + (wnnrpc-errono): Removed. + + Implement a false path from wnnrpc-open. + * wnnrpc.el (wnnrpc-open): Change the interface. Return NIL on + success, error code on failure. + * wnn.el (wnn-open): Delete process and buffer. + Generate an error on failure. + (wnn-get-environment): Follow the change (none). + (wnn-start-conversion): Follow the change (none). + * convert.el (egg-convert-region): Follow the change. Call + delete-region after egg-start-conversion. + + Implement a false path from wnnrpc-connect. + * wnnrpc.el (wnnrpc-connect): Change the interface. Return + negate-encoded error code on failure. + * wnn.el (wnn-create-environment): Generate an error on failure. + (wnn-get-environment): Follow the change. On failure, don't + register the environment to wnn-environments. + +1997-05-16 NIIBE Yutaka + + Dynamically allocate environment arbitrarily. + * wnn.el (wnn-create-environment): Change the structure of ENV. + (wnn-e-get-in-use, wnn-e-set-in-use): New subst. + (wnn-end-conversion): Call wnn-e-set-in-use. + (wnn-get-environment, wnn-find-env-not-in-use): New function. + (wnn-start-conversion): Call wnn-get-environment. + + * wnn.el (wnn-fini): Implemented. + +1997-05-15 NIIBE Yutaka + + * convert.el (egg-start-conversion): Change the interface. + (egg-convert-region): Follow the change. + (egg-open-if-not): Removed. + * wnn.el (wnn-start-conversion): Follow the change. + + * wnn.el (wnn-environment-list): Removed. + (wnn-environment-serial): Removed. + (wnn-connect-and-init): Removed. + (wnn-environments): New variable which holds all environments. + +1997-05-15 NIIBE Yutaka + + * wnn.el (wnn-change-bunsetsu-length): Bug fix. Last argument to + wnnrpc-b-set-freq-down is list of bunsetsu. + + * mlh.el (mlh-do-spacing): Emacs 20 related changes. + Use category-set-mnemonics, and char-category-set. + According to suggestion by Kenichi Handa . + +1997-05-15 MORIOKA Tomohiko + + * wnn.el (wnn-usr-dic-dir): New variable. + (wnn-filename): Use wnn-usr-dic-dir. + + * its.el (its-defrule): New argument `enable-overwrite'. + +1997-05-14 NIIBE Yutaka + + * convert.el (egg-exit-conversion-unread-char): Use newer variable + unread-command-events, as unread-command-char is obsolete. + (egg-shrink-bunsetsu, egg-source-maxlen-from-here, + egg-enlarge-bunsetsu, egg-next-conversion, egg-exit-conversion, + egg-exit-conversion, egg-insert-converted-result): New property + EGG-CONVERSION-ENGINE, which specifis backend. + + (egg-start-conversion, egg-get-number-of-bunsetsu, + egg-get-bunsetsu-converted, egg-set-bunsetsu-pos, + egg-get-bunsetsu-pos, egg-get-number-of-candidates, + egg-get-candidate, egg-decide-candidate, + egg-change-bunsetsu-length, egg-get-bunsetsu-source, + egg-end-conversion): Change the interface, new argument c. + * wnn.el (wnn-start-conversion, wnn-get-number-of-bunsetsu, + wnn-get-bunsetsu-converted, wnn-set-bunsetsu-pos, + wnn-get-bunsetsu-pos, wnn-get-number-of-candidates, + wnn-get-candidate, wnn-decide-candidate, + wnn-change-bunsetsu-length, wnn-get-bunsetsu-source, + wnn-end-conversion): Likewise. + + * convert.el (egg-open-if-not): Change the interface. Return + conversion backend. + + * wnnrpc.el (wnnrpc-following-char-or-wait, wnnrpc-unpack-u32, + wnnrpc-unpack-u16, wnnrpc-unpack-u8, wnnrpc-unpack-u16-string, + wnnrpc-unpack-u8-string): Change the interface to avoid + compilation warnings. + (wnnrpc-unpack): Use new interface. + + * wnn.el (wnn-open): Change the name of WNN buffer as debug has + been done. + +1997-05-11 NIIBE Yutaka + + * wnnrpc.el (wnnrpc-following-char-or-wait): Rename from + wnn-following-char-or-wait. + (wnnrpc-following-char-or-wait): Declare with DEFUN instead of + DEFSUBST. + +1997-05-10 NIIBE Yutaka + + * Throughout: Use JUNET coding system for file format. + + * mlh.el: Move some comments to HISTORY. + (mlh-version): Removed. + Remove all autoload entries. + (henkan-region-function): Removed. + (member): Don't need any more. + + * mlh-nihongo.el: Renamed from nihongo.el. + + * mlh.el (mlh-space-bar-backward-henkan): call egg-convert-region + directly. + (mlh-space-bar-backward-henkan): Fix for Emacs 20. + Don't call egg:do-auto-fill. + (mlh-backward-henkan): Use set-marker-insertion-type. + (mlh-do-spacing): Char-category. + + * mlh.el, nihongo.el: Taken from mlh-1.002 distribution. + +1997-05-07 NIIBE Yutaka + + * convert.el (egg-update-frequency): Removed. + (egg-conversion-backend): Remove entry for update-frequency. + + * wnn.el (wnn-dictionary-specification): Change parameters + according to suggestion by Tomoko Yoshida in mule-jp@etl.go.jp. + Original had been taken from wnn-4.2. + +1997-05-06 NIIBE Yutaka + + * convert.el (egg-next-conversion): Bug fix. It's max+ instead of n. + +1997-05-05 NIIBE Yutaka + + * wnnfns.c (Fwnn_get_bunsetsu_converted): Rename from + get-converted-bunsetsu. + (Fwnn_get_bunsetsu_source): Ditto. + * convert.el (egg-get-bunsetsu-converted): Ditto. + (egg-get-bunsetsu-source): Ditto. + + * wnn.el (wnn-create-environment): New file which mimics API of + wnnfns.c. + +1997-04-29 NIIBE Yutaka + + * wnnrpc.el: New file which implements Remote Procedure Calls of WNN. + +1997-04-16 NIIBE Yutaka + + * its/kanainput.el (normal-pair): Use its-defrule*. + + * its.el (its-defrule*): Rewritten. + + * its/hira.el ("n"): Alternative implementation using 'otherwise'. + + * its.el (its-processing-map): Removed. + (its-register-map): Rename from its-set-map. + (its-register-map): Remove first argumet NAME. + (its-defrule): Remove last optional argument END. + (its-define-otherwise-terminate-here): New function. + (its-goto-state): New function. + (its-defrule, its-defoutput): Use its-goto-state. + +1997-04-12 NIIBE Yutaka + + * its.el: Enhance meaning of ITS state machine. Now, + includes representation of "ANY of key stroke" (-2). + (its-defrule): New feature end=='otherwise. + (its-defrule*): New function. + (its-state-machine): Implement otherwise-terminate-before-this-key. + + * its/kanainput.el (its-k-zenkaku-escape, its-k-hankaku-escape, + its-k-symbols-escape): Add prefix its-. Let them defconst. + "W": Move the definition beginning to avoid error. + +1997-03-26 NIIBE Yutaka + + * convert.el (egg-next-conversion): -1 goes to end of bunsetsu. + +1997-03-25 NIIBE Yutaka + + * egg.el (egg-mode-on, egg-input-mode, egg-in-fence-mode): Deleted. + (egg-fence-face-on, egg-fence-face-off): Deleted. + (egg-region-start, egg-region-end): Deleted. + +1997-03-24 NIIBE Yutaka + + * its/hira.el ("n"): Add "z" and "?" for prefetch char of "n". + + Implement conversion mode. + * convert.el: New file. + +1997-03-23 NIIBE Yutaka + + * its.el (its-mode-map): As "\C-g" is used in global-map, use + "\C-]" instead (for its-cancel-input). + +1997-03-22 NIIBE Yutaka + + Introduce new scheme to specify server. + * wnnfns.c (Qjserver, Qcserver, Qtserver, Qkserver): Removed. + (Vwnn_server_type): Integer variable. + (wnn_get_server_type): Renamed from wnn_check_server_type. + (charset_wnn_server_type): Renamed from lc_wnn_server_type. + + Introduce new scheme to specify uniqueness. + * wnnfns.c (Qwnn_no_uniq, Qwnn_uniq, Qwnn_uniq_kanji): Removed. + (Vwnn_uniqueness_specifier): Integer variable. Renamed from + wnn_uniq_level. + +1997-03-21 NIIBE Yutaka + + Cosmetic changes. + * wnnfnc.c (Throughout): Change Lisp function name to follow the + format of wnn-VERB-OBJECT. + Use XFASTINT instead of XINT, if appropriate. + + * wnnfns.c (Fwnn_fuzokugo_set): Merged with wnn-set-fuzokugo of + wnn-egg.el. + + * wnn-egg.el (wnn-set-fuzokugo): Deleted. + + * wnnfns.c (Fwnn_dict_add): Merged with wnn-add-dict of wnn-egg.el. + * wnn-egg.el (wnn-add-dict): Deleted. + + * wnn-egg-msg.el (wnn-msg-get): Renamed from egg-msg-get. + (wnn-message-alist): Renamed from egg-message-alist. + Use defconst. + + * wnnfns.c (wnn_check_server_type): Renemed from + check_wnn_server_type. + + * wnn-egg-msg.el (egg-error): Deleted. Not useful enough. + * wnn-egg.el (Throughout): Replace egg-error by error. + + * egg.el (egg-sai-henkan-start, egg-sai-henkan-end, + egg-old-bunsetu-suu): Moved from wnn-egg.el. + + * wnn-egg.el (Throughout): Change variable name and function name. + Added wnn- prefix, egg- prefix. + * wnn-egg.el: Delete historical defaliases. Only support + wnn-set-[cjk]server-hostname. + + * wnn6.el: New file. Discriminate Wnn6 related functions. + * eggrc-wnn6: New file. Discriminate Wnn6 related setting. + + * egg-fence.el: Removed. + +1997-03-20 NIIBE Yutaka + + Distingush continuation of egg-mode and turn off of egg-mode. + * its.el (its-mode-map): Bind "\C-\\" to its-exit-mode-no-egg. + (its-exit-mode-internal): New argument egg-mode-flag. + (its-exit-mode-no-egg): New Function. + + Rethink about keymap. Once, the intention of egg-mode-map has + been to override ALL of the keymap. That's so selfish, and not + friendly to other parts of Emacs. This implementation intend to + be more friendly with other keymaps. + * its.el (its-mode-map): Remove definition of "\C-c" for + its-cancel-input, as C-c has special meaning in Emacs. We should + not re-define it. + Remove definition of "\C-q" for its-select-previous-map. + Remove definition of "\C-_" for egg-jis-code-input. + Remove definition of "\C-w", "\C-@", [?\C-\ ] for + egg-henkan-fence-region. + + Implement START/CURSOR/END scheme. + * its.el (its-input-to-vsyl): New function. + (its-beginning-of-input-buffer): New function. + (its-end-of-input-buffer): New function. + (its-backward-SYL): New function. + (its-forward-SYL): New function. + (its-delete-SYL): New function. + (its-delete-backward-SYL): New function. + (its-delete-backward-SYL-internal): New function. + (its-delete-backward-within-SYL): New function. + (its-delete-by-keystroke): New Variable. + (its-exit-mode): New function. + (its-exit-mode-internal): New function. + + * its.el (its-standard-map-list, its-find, its-next-map, + its-previous-map): Deleted. + (its-get-indicator): Delete duplicated definition. Leave one which + takes argument. + (its-input): Rename from its-input-subsubsub. + + * egg.el (egg-mode-map): Don't include SPACE. + + Introduce CURSOR. + * its.el (its-state-machine): Add new argument EMIT. Return CURSOR. + (its-state-machine-keyseq): Likewise. + (its-input-subsubsub): Return CURSOR. + (its-input-subsub): Deleted. + (its-DSYL-p): Deleted. + (its-buffer-insert-SYL-list): Deleted. + (its-buffer-ins/del-SYL): New function. + (its-input-end): Change the argument to P of point, and return VOID. + + Change structure of . is normal . + (its-new-map): Follow the change of structure. + (its-get-indicator, its-set-indicator, its-reset-start-state): + Likewise. + (its-reset-start-state): Renamed from its-reset-start. + + Don't use , but introduce new scheme of SYL property. + (its-change-t-to-nil, its-nil-index, its-bytes-between, + its-delete-between, its-move-nil--->, its-move-nil-<--, + its-move-nil-<--sub, its-move-nil-to-last, its-move-nil-to-first): + Deleted. + +1997-03-19 NIIBE Yutaka + + * its.el: Change the structure of DSYL. Same as . + (its-input-subsub): Follow the change of structure. + (its-make-DSYL): Deleted. + (its-get-keyseq-cooked): New function. + + Swap the meaning of T/NIL of . + + Delete the structure of . + (its-new-input-buffer): Deleted. + (its-input-subsub): Remove the argument SYLP. + (its-input, its-input-sub, its-init-text-properties): Deleted. + + Introduce START, END and CURSOR. + +1997-03-19 NIIBE Yutaka + + Global-map should be used, for key sequence not defined by + its-mode-map and/or egg-mode-map. Don't mask other maps. + * its.el (its-mode-esc-map): Deleted. + (its-mode-map): Include define-key of the esc-map here. + * egg.el (egg-mode-esc-map): Deleted. + (egg-mode-map): Include define-key of the esc-map here. + +1997-03-18 NIIBE Yutaka + + * its.el (its-input): Rename from its-input-input-buffer. + (its-state-machine): Handle END of input (key == -1). + + ITS minor mode deleted. It's implemented by local-map of text + properties. + (its-mode): Remove the variable. + (its-mode): Remove the function. + + * its.el (): Change the order of list. + (car sylp) is last entry of the list. + (its-input-buffer): Deleted. It's now a member of text + properties. + (): Change the structure. Start state should have "" for keyseq. + (its-get-start-state): Follow chage of the structure. + (its-reset-start, its-set-indicator, its-get-indicator): Likewise. + (its-new-state, its-new-map): Split from its-new-state/map. + (its-make-map): Deleted. + +1997-03-17 NIIBE Yutaka + + * its.el (its-buffer-insert-SYL-list): Use insert-and-inherit to + inherit properties. + (its-fence-overlay): Removed. Don't use overlay, as it has no + information in undo-list. + +1997-03-16 NIIBE Yutaka + + * its/hira.el ("n"): Use new feature END. + ("ppy", "bby", "ddy", "jjy", "zzy", "ggy", "lly", "rry", "hhy", + "cch", "tts", "tty", "ssh", "ssy", "kky"): its-defoutput. + + * its.el (its-defrule): Add argument END. + (its-buffer-delete-SYL): Bug fix. Use length instead of string-width. + +1997-03-15 NIIBE Yutaka + + * its.el (its-input-input-buffer): Implement the case of DSYL. + +1997-03-14 NIIBE Yutaka + + * its.el (its-buffer-delete-SYL): Handle the case of NIL. + + * its/hira.el: Implement "kka" and others. Implemlement "N". + (digit-characters, symbol-characters, downcase-alphabets, + upcase-alphabets): Delete useless defvar-s. + +1997-03-14 NIIBE Yutaka + + * its/hira.el ("roma-kana"): Follow change of implementation of + state machine. + + Correct the abuse of the word "MODE". It seems that it's direct + influence of "mode" in Emacs, but it's not mode at all. + * its.el (its-map-alist): Renamed from its-mode-alist. + (its-get-map): Renamed from its-get-mode-map. + (its-set-map): Renamed from its-set-mode-map. + (its-define-state-machine): Renamed from its-define-mode. + (its-select-map-menu): Renamed from its-select-mode-menu. + (its-select-map-from-menu): Renamed from its-select-mode-from-menu. + (its-standard-map-list): Renamed from its-standard-modes. + (its-next-map): Renamed from its-next-mode. + (its-previous-map): Renamed from its-previous-mode. + (its-select-map): Renamed from its-select-mode. + (its-get-indicator): Renamed from its-get-mode-indicator. + + (its-select-map-from-menu): As it's not mode, don't need offer hooks. + (its-next-map): Likewise. + (its-previous-map): Likewise. + (its-select-map): Likewise. + + Change the implementation of its-mode-alist. Name is in now. + * its.el (its-get-mode-map): Just do assoc. + (its-set-mode-map): Simplified. + + * its.el (its-get-indicator): Renamed from its-map-indicator. + (its-set-indicator): Renamed from its-map-set-indicator. + (its-get-start-state): Renamed from its-map-start. + (its-new-state): Change the argunents. + (its-map-set-start): Removed. + (its-reset-start): New function. + + Remove old implemantation of translator. + * its.el (its-resize, its-maps, its-actions, its-inputs, + its-level, its-maxlevel, its-char-from-buff, its-interactive): + Removed. + (its-make-action, its-reset-maps, its-current-map, + its-previous-map, its-level, its-enter-newlevel, its-reset-input, + its-flush-input-before-point, its-peek-char, its-read-char): + Removed. + (its-push-char, its-ordinal-charp, its-delete-charp): Removed. + (its-translate-region): Removed. + (its-buff-s, its-buff-e): Removed. + (its-state-terminalp): Removed. + + Remove selection of candidates in map, it's questionable to + implement this feature with SYL. Might rethink in future. + (its-make-menu-from-map-result, its-make-alist-from-map-result): + Removed. + (its-make-menu-from-map, its-make-menu-from-map*): Removed. + (its-make-alist-from-map, its-make-alist-from-map*): Removed. + (its-completing-read): Removed. + (its-minibuffer-local-must-match-map, + its-minibuffer-local-completion-map): Removed. + (its-minibuffer-completion-help, car-string-lessp, + its-temp-echo-area-contents): Removed. + + Implement SYL-based state machine. + * its.el (its-input-buffer, its-barf-on-invalid-keyseq): New variables. + (its-new-input-buffer): New function. + (its-self-insert-char): New command. + (its-initial-ISYL, its-make-DSYL, its-make-VSYL, + its-input-input-buffer, its-input-input-buffer-sub, + its-state-machine, its-state-machine-keyseq, + its-buffer-delete-SYL, its-buffer-insert-SYL-list, + its-get-next-state, its-get-ksa/b, its-get-keyseq, its-ksa-p, + its-get-output): New function. + (its-get-KAS): Removed. + (its-get-state, its-get-action, its-set-action): Removed. + (its-make-KAS, its-get-KAS): Removed. + + * its.el (its-defrule-sub): Merged into its-defrule. + +1997-03-13 NIIBE Yutaka + + * its.el: (its-define-mode): Change the arguments. + * its/zhuyin.el ("zhuyin"): Follow the changes of its-define-mode. + * its/zenkaku.el ("zenkaku-downcase"): Likewise. + * its/pinyin.el ("PinYin"): Likewise. + * its/kata.el ("roma-kata"): Likewise. + * its/kanainput.el ("kanainput"): Likewise. + * its/hira.el ("roma-kana"): Likewise. + * its/hankaku.el ("downcase"): Likewise. + * its/hangul.el ("hangul"): Likewise. + * its/han-kata.el ("roma-han-kata"): Likewise. + + * its.el (its-action-output, its-action-next, its-get-next-map, + its-set-next-map): Removed. + (its-make-next-state): New function. + (its-make-state): Removed. + + * its.el (its-defrule-sub): Renamed from `its-defrule**'. + + * wnnfns.h: New file. Macros for WNN6 are defined here. + * wnn6fns.c: New file. Moved from wnnfns.c for WNN6 specific + functions. + +1997-03-12 NIIBE Yutaka + + * wnnfns.c: cosmetic changes (indentation, commenting-out-style, + and compare to Qnil, etc). + Get rid of "register" qualifier. + +1997-03-05 NIIBE Yutaka + + * its.el (its-define-mode): Change internal structure. Completely + rewritten. + (its-make-map): Function to make map. + (its-make-state): New function. Make new state. + (its-make-KAS): New function. Make Key-Action-State triad. + (its-state-terminalp): New function. True when the state is + terminal. + (its-map-indicator, its-map-set-indicator,): Changed. + (its-map-terminalp, its-map-incrementalp, + its-map-set-incrementalp, its-map-alist, its-map-set-alist, + its-map-action, its-map-set-action): Removed. + + (its-defrule-verbose): Deleted. Seems debug purpose variable. + + (its-make-map): Removed . It was useless space eater. + (its-map-indicator, its-map-set-indicator, its-map-alist, + its-map-set-alist, its-map-action, its-map-set-action): Follow the + change. + (its-define-mode): Likewise. + (its-defrule**): Change the argument. Delete STATE. + (its-defrule): Likewise. + (its-map-state, its-map-set-state): Removed. + + : Changed the structure. Introduce , which + is t on hangul-map, zhuyin-map, and kanainput-map. + (its-define-mode): Change the arguments. INDICATOR and RESET is + always required. Add new argument INCREMENTALP. + * its/kanainput.el ("kanainput"): Use new API of its-define-mode. + * its/hangul.el ("hangul"): Likewise. + * its/zhuyin.el ("zhuyin"): Likewise. + * its.el (its-make-terminal-state-sofar): Removed. + (its-default-make-terminal-state): Removed. + (its-make-terminal-state): Removed + (its-make-non-terminal-state): Removed. Not used. + (its-map-incrementalp, its-map-set-incrementalp): New functions. + +1997-03-04 NIIBE Yutaka + + * its.el (its-defrule-conditional, its-defrule-conditional*): + Removed. Evaluating cond clause at runtime is stupid. Rules + should be determined at compile time, not at run time. + (its-get-action): Simplified. It's always standard. + (its-make-terminal-state-sofar): Likewise. + (its-make-action): Renamed from its-make-standard-action. + (its-standard-actionp): Removed. No use. + (its-translate-region): Simplified. + + (its-map-topmap-p): Removed. No use. + + (its-simple-actionp, its-collect-simple-action): Removed. No use. + + (its-insert-output-string, its-display-status-string): Removed. + It seemd these variables is to debug ITS itself. + (its-translate-region): Simplified. + + * its/hira.el (".", ",", "n", "nn"): Rules should be determined at + compile time. + * its/han-kata.el: Likewise. + * its/kata.el: Likewise. + + * its.el (its-make-standard-action): Simplified. + (its-make-standard-action): Remove alternative output. + (its-standard-actionp): Simplified. + (its-action-next): Simplified. + (its-select-alternative-output-menu): Removed. Not used at all. + (its-select-alternative-output): Ditto. + + * its/han-kata.el, its/zenkaku.el, its/kata.el, its/kanainput.el, + its/hira.el, its/hankaku.el: Add (require cl). + + * its.el (its-enable-double-n-syntax, its-use-kuten-for-period, + its-use-touten-for-comma, its-zenkaku-escape, its-hankaku-escape): + Declare here. Add prefix `its-'. ): + + (its-defrule, its-defrule*): Remove MAP argument. + Merged into its-defrule. + +1997-03-04 NIIBE Yutaka + + * its.el (its-completing-input-menu): Removed. Not used. + (its-completing-input): Ditto. + (its-translate-region): Remove (null action) clause. It's identical + to 't' case. + + (its-map-supers): Deleted. + (its-map-set-supers): Ditto. + (its-get-next-map-locally): Deleted. + + (its-define-mode): Remove supers. + (its-make-map): Likewise. + + (its-simulate-input): sref -> aref. add char-bytes -> +1. + (its-defrule**): Likewise. + + (its-flush-input-before-point): Delete useless save-excursion. + (its-push-char): Likewise. + (its-translate-region): Likewise. + + * its/zhuyin.el (its-make-terminal-state): + * its/kanainput.el (its-make-terminal-state): + * its/hangul.el (its-make-terminal-state): + Use its-make-terminal-state-sofar. + + * its/kanainput.el (its-make-terminal-state-kanainput): Removed. + + * its.el (its-make-terminal-state-sofar): Renamed. + (was: its-make-terminal-state-hangul) + + * its/han-kata.el (its-select-hankaku-katakana): Renamed. + (was: its:select-hankaku-katakana). + + * its.el (its-map-topmap-p, its-map-supers, its-map-set-supers, + its-map-terminalp, its-map-state, its-map-set-state, + its-map-indicator, its-map-set-indicator, its-map-action, + its-map-set-action, its-map-alist, its-map-set-alist, + its-get-action, its-action-output, its-action-next, + its-get-next-map, its-get-next-map-locally, its-set-next-map, + its-collect-simple-action, its-read-current-its-string, + its-make-map): Add prefix 'its-'. + + * its.el (its-defrule-select-mode-temporally): Deleted. + (its-select-mode-temporally): Deleted. + (its-select-previous-mode): Deleted. + + * its/hira.el ("q", "Q"): Removed. + + * its.el (its-defrule**): Don't call coerce-internal-string. + (map-state-string): Removed. + (its-default-make-standard-non-terminal-state): Don't call + map-state-string. + + * egg.el (characterp, coerce-internal-string, coerce-string): Removed. + + * its.el (its-insert-char): Deleted. + (its-internal-mode-alist): Removed. + (its-set-mode-map, its-define-mode): Remove internalp. + (its-set-mode-indicator): Removed. + + * egg-fence.el (egg-fence-self-insert-command): Add prefix 'egg-'. + + * its.el (fence-self-insert-command): Move to egg-fence.el. + + * egg-fence.el (egg-exit-fence-mode): Renamed (egg-fence-exit-mode). + (egg-enter-fence-mode-and-self-insert): Deleted. + + * egg.el (egg-quit-egg-mode): Deleted. + + * egg-misc.el (egg-fence-toggle-egg-mode): Add prefix 'egg-'. + (egg-fence-toggle-egg-mode): beep -> ding. + (global-map): bind C-\ to egg-enter-fence-mode. + +1997-03-02 NIIBE Yutaka + + * egg-henkan.el: New file. + + Use new API (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi, + egg-is-dai-bunsetu, bunsetu-suu, egg-hindo-update, + egg-get-bunsetu-end). + + * wnn-egg.el: Move egg-henkan-* to egg-henkan.el. + + * wnn-egg.el (egg-startup-file-search-path): Remove current + directory. + (egg-open-wnn): Renamed from EGG-open-wnn. + (bunsetu-suu): New function. + (egg-get-bunsetu-kanji, egg-get-bunsetu-yomi): New function. + (egg-is-dai-bunsetu): New function. + (egg-hindo-update): New function. + (egg-get-bunsetu-end): New function. + + (egg-henkan-region, egg-gyaku-henkan-region, + egg-henkan-region-internal, egg-henkan-paragraph, + egg-gyaku-henkan-paragraph, egg-henkan-sentence, + egg-gyaku-henkan-sentence, egg-henkan-word, egg-gyaku-henkan-word, + egg-henkan-insert-kouho, egg-henkan-kakutei, + egg-henkan-kakutei-first-char, egg-henkan-kakutei-before-point, + egg-sai-henkan, egg-henkan-goto-bunsetu, + egg-henkan-forward-bunsetu, egg-henkan-backward-bunsetu, + egg-henkan-first-bunsetu, egg-henkan-last-bunsetu, + egg-henkan-hiragana, egg-henkan-katakana, egg-henkan-next-kouho, + egg-henkan-next-kouho-dai, egg-henkan-next-kouho-sho, + egg-henkan-previous-kouho, egg-henkan-previous-kouho-dai, + egg-henkan-previous-kouho-sho, egg-henkan-goto-kouho, + egg-henkan-bunsetu-chijime-dai, egg-henkan-bunsetu-chijime-sho, + egg-henkan-bunsetu-nobasi-dai, egg-henkan-saishou-bunsetu, + egg-henkan-saichou-bunsetu, egg-bunsetu-length-henko, + egg-henkan-quit, egg-henkan-select-kouho, + egg-henkan-select-kouho-dai, egg-henkan-select-kouho-sho, + egg-henkan-word-off, egg-henkan-kakutei-and-self-insert, + egg-henkan-mode-map, egg-henkan-mode-esc-prefix, + egg-henkan-help-command, egg-henkan-inspect-bunsetu): + Add prefix `egg-'. + + (egg-henkan-mode-in-use): Deleted. + (set-egg-henkan-mode-format): Deleted. Don't need. + + (disconnect-wnn): Let it be normal function, instead of command. + (close-wnn): Ditto. + + (set-jserver-host-name, set-kserver-host-name, + set-cserver-host-name): Use defalias. + + (close-wnn): Take an argument of wnn-server-type. + (wnn-egg-kill-emacs-function, set-wnn-host-name, + set-cwnn-host-name, set-kwnn-host-name): Likewise. + + * egg.el (egg-global-map-backup): Deleted. + (egg-local-map-backup): Deleted. + (egg-insert-after-hook): it's global variable, nod buffer-local. + + * egg-fence.el (egg-henkan-fence-region, egg-enter-fence-mode, + egg-fence-katakana, egg-fence-hiragana, egg-fence-hankaku, + egg-fence-zenkaku, egg-fence-backward-char, + egg-fence-forward-char, egg-fence-beginning-of-line, + egg-fence-end-of-line, egg-fence-transpose-chars, + egg-fence-delete-char, egg-fence-backward-delete-char, + egg-fence-kill-line, egg-fence-exit-mode, egg-fence-cancel-input, + egg-fence-mode-help-command): Add Prefix `egg-'. + + (egg-fence-mode-map): Remove binding to eval-expression (C-z). + + (egg-self-insert-non-undo-count): Removed. + (egg-self-insert-command): Removed. + + (egg-fence-backward-char, egg-fence-forward-char, + egg-fence-transpose-chars, egg-fence-delete-char, + egg-fence-backward-delete-char): beep -> ding. + wnn-egg.el (egg-henkan-select-kouho): Likewise. + +1997-02-27 NIIBE Yutaka + + * wnn-egg.el (push-end, push-end-internal): Removed. + + * its.el (dolist): Removed. It's in CL package. + (for-each, for-each*): Removed. + + * egg-keymap.el: Removed. I guess noone use it. + + * egg-jsymbol.el (*-alist): Declare by defconst. + + * egg-misc.el (toggle-egg-mode): Removed. + + * All files: Change the identifier XXX:YYYY --> XXX-YYYY, + and *YYY* ---> YYY. + + * egg-fence.el (enter-fence-mode): Use new API for marker + insertion `set-marker-insertion-type'. + * its.el (its-*buff-e*): Likewise. + + * egg-jsymbol.el: lc-jp --> (charset-id 'japanese-jisx0208) + lc-jp2 --> (charset-id 'japanese-jisx0212). + +1997-02-26 NIIBE Yutaka + + * egg-fence.el (egg:fence-mode-map): Renamed from fence-mode-map. + (egg:fence-mode-esc-prefix): Renamed from egg:fence-mode-esc-map. + (henkan-fence-region-or-single-space): Removed. + + * egg-misc.el (toggle-egg-mode): mc-flag + -> enable-multibyte-characters. + + * its.el (read-current-its-string): New function. Moved from + wnn-egg-misc.el. + (In meny functions): beep --> ding. + + * egg-misc.el (read-hiragana-string): Removed. + (read-kanji-string): Removed. + (egg:special-symbol-input): Renamed from special-symbol-input. + (egg:special-symbol-input-point): Renamed from + special-symbol-input-point. + (si:*global-map*): Remeved. + Removed 'Changes on Global map'. + (its-mode-map): Renamed from mule-keymap. + + * wnn-egg.el (henkan-region-internal): Use new API for undo. + (henkan-kakutei): Likewise. + (henkan-kakutei-first-char): Likewise. + (henkan-kakutei-before-point): Likewise. + (sai-henkan): Likewise. + * egg.el (egg:quit-egg-mode): Likewise. + + * egg-fence.el (egg:*fence-open*, egg:*fence-close*, + egg:*fence-face*): Let them be declared by defvar. + (egg:*fence-open-in-cont*, egg:*fence-close-in-cont*, + egg:*fence-face-in-cont*): Likewise. + + (set-egg-fence-mode-format): Removed. Useless. Don't need to be + interactive. + (set-egg-fence-mode-format-in-cont): Removed. + (egg:*face-alist*): Removed. + + * wnn-egg-misc.el (its:select-mode, its:select-mode-from-menu, + its:next-mode, its:previous-mode): + Removed (Merged into its.el). + + * its.el (its:select-mode, its:select-mode-from-menu, + its:next-mode, its:previous-mode): Call hook of + `its:select-mode-hook'. + + * diced.el: Removed. This depends on wnn. Functions are moved to + wnn-egg-dict.el. + + * wnn-egg-dict.el (remove-regexp-in-string): Removed. + (toroku-region): Don't call `remove-regexp-in-string'. Removing + invalid sequence (TAB?) automatically is not good idea. It should + notify user. Currently, just don't remove. + + * busyu.el (busyu-table): defconst instead of defvar. + (busyu-kaku-alist): defconst instead of defvar. + + * its.el (egg:member): Removed. Not used. + + * wnn-egg-msg.el (*egg-message-alist*): Include asking string in + register-notify and remove-notify. Should also change Korean and + Chinese. + + * egg.el: Removed "Tamago Notification System". + It is useless, as we have *Messages* buffer in GNU Emacs 19. + + * diced.el (diced-execute): Don't use `notify' but `message'. + (set-dict-comment): Likewise. + * its.el (its-defrule**): Likewise. + * wnn-egg-dict.el (egg:toroku-word): Likewise. + * wnn-egg-msg.el (egg:error): Likewise. + * wnn-egg.el (set-wnn-param): Likewise. + (EGG:open-wnn): Likewise. + (close-wnn): Likewise. + (henkan-word-off): Likewise. + (henkan-inspect-bunsetu): Likewise. + + * diced.el (diced-execute): Don't use `notify-yes-or-no-p' but use + plain `yes-or-no-p' and format. + * wnn-egg-dict.el (egg:toroku-word): Likewise. + + * egg.el (notify-yes-or-no-p-internal): IIDESUKA is not good. + it should get the message through egg:get-msg. Currently, use + "OK?". + (notify-y-or-n-p-internal): Likewise. + + * wnn-egg.el: Split into wnn-egg-dict.el, wnn-egg-misc.el, and + wnn-egg-msg.el. + (many functions): remove commented out line of + (open-wnn-if-disconnected). + + * egg.el: Split into egg.el, egg-fence.el, egg-misc.el, + jis-input.el, and modeline.el. + + * wnn-egg.el (egg-default-startup-file): change to eggrc-wnn from + eggrc. + (henkan-region-internal): Use new API for marker insertion + `set-marker-insertion-type'. + +1997-02-13 NIIBE Yutaka + + * menu.el (menu:select-from-menu): Rewritten. diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..2a9d96c --- /dev/null +++ b/Makefile.in @@ -0,0 +1,136 @@ +# Makefile --- Makefile of EGG V4.0 + +# Copyright (C) 1999, 2000 Free Software Foundation, Inc +# Author: NIIBE Yutaka +# TOMURA Satoru +# Maintaner: Satoru Tomura + +.SUFFIXES: +SHELL = @SHELL@ + +#------------------------------------------------ +# Configuration parameters +#------------------------------------------------ +# emacs you use +EMACS = emacs +# emacs lisp installation directory +lispdir = @lispdir@ +#------------------------------------------------ + +prefix = @prefix@ +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_INFO = install-info + +#--------------------------------------- +# (1) make +# ;; compile *.el files +# (2) make install +# ;; install files into the emacs site-lisp directory +# ;; ex. /usr/local/share/emacs/site-lisp/egg + +DEPS = -l ./docomp.el +BATCHFLAGS = -batch -q -no-site-file -no-init-file + +ETCS = Makefile docomp.el \ + AUTHORS ChangeLog README TODO PROBLEMS + +INITELS = eggrc leim-list.el + +SRCS = ${TOPSRCS} ${EGGSRCS} ${ITSSRCS} + +TOPSRCS = \ + egg-util.el \ + menudiag.el its.el egg-edep.el \ + egg-mlh.el egg-cnv.el egg-com.el \ + egg.el \ + +EGGSRCS = \ + egg/cannarpc.el egg/canna.el \ + egg/sj3rpc.el egg/sj3.el \ + egg/wnnrpc.el egg/wnn.el \ + +ITSSRCS = \ + its/ascii.el \ + its/bixing.el \ + its/erpin.el \ + its/hankata.el \ + its/hira.el \ + its/jeonkak.el \ + its/pinyin.el \ + its/hangul.el \ + its/kata.el \ + its/thai.el \ + its/quanjiao.el \ + its/zenkaku.el \ + its/zhuyin.el \ + its-keydef.el \ + +ELCS = ${SRCS:.el=.elc} + +TOPELCS = ${TOPSRCS:.el=.elc} + +EGGELCS = ${EGGSRCS:.el=.elc} + +ITSELCS = ${ITSSRCS:.el=.elc} + +DIST = ${ETCS} ${SRCS} ${INITELS} + + +.SUFFIXES: .el .elc + +.el.elc: + ${EMACS} ${BATCHFLAGS} ${DEPS} -f batch-byte-compile $< + +all: ${ELCS} + +clean: + rm -f ${ELCS} config.* *~ */*~ Makefile + +install: install-site + +install-site: all + echo "Egg system will be installed in ${lispdir}/egg...."; \ + if [ -d ${lispdir}/egg ]; then \ + echo "Clean up the previsous installation...."; \ + rm -rf ${lispdir}/egg/*; \ + else \ + echo "Make the directory ${lispdir}/egg..."; \ + mkdir ${lispdir}/egg; \ + fi; \ +# + for FILE in ${TOPSRCS} ${TOPELCS} ${INITELS}; \ + do \ + ${INSTALL_DATA} $${FILE} ${lispdir}/egg/; \ + done; \ +# + mkdir ${lispdir}/egg/egg ; \ + for FILE in ${EGGSRCS} ${EGGELCS} ; \ + do \ + ${INSTALL_DATA} $${FILE} ${lispdir}/egg/egg; \ + done; \ +# + mkdir ${lispdir}/egg/its ; \ + for FILE in ${ITSSRCS} ${ITSELCS} ; \ + do \ + ${INSTALL_DATA} $${FILE} ${lispdir}/egg/its ; \ + done; \ + + +uninstall-site: + if [ -d ${lispdir}/egg ]; then \ + rm -rf ${lispdir}/egg; \ + fi + +# DEPENDENCIES +egg/sj3rpc.elc: egg-com.elc egg/sj3.elc +egg/wnnrpc.elc: egg-com.elc egg/wnn.elc + +egg.elc its/ascii.elc its/erpin.elc its/hankata.elc \ +its/hira.elc its/jeonkak.elc its/pinyin.elc \ +its/hangul.elc its/kata.elc its/quanjiao.elc \ +its/zenkaku.elc its/zhuyin.elc: its-keydef.elc + + diff --git a/configure b/configure new file mode 100755 index 0000000..a69d693 --- /dev/null +++ b/configure @@ -0,0 +1,903 @@ +#! /bin/sh + +# Guess values for system-dependent variables and create Makefiles. +# Generated automatically using autoconf version 2.13 +# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. +# +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. + +# Defaults: +ac_help= +ac_default_prefix=/usr/local +# Any additions from configure.in: + +# Initialize some variables set by options. +# The variables have the same names as the options, with +# dashes changed to underlines. +build=NONE +cache_file=./config.cache +exec_prefix=NONE +host=NONE +no_create= +nonopt=NONE +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +target=NONE +verbose= +x_includes=NONE +x_libraries=NONE +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datadir='${prefix}/share' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +libdir='${exec_prefix}/lib' +includedir='${prefix}/include' +oldincludedir='/usr/include' +infodir='${prefix}/info' +mandir='${prefix}/man' + +# Initialize some other variables. +subdirs= +MFLAGS= MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} +# Maximum number of lines to put in a shell here document. +ac_max_here_lines=12 + +ac_prev= +for ac_option +do + + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval "$ac_prev=\$ac_option" + ac_prev= + continue + fi + + case "$ac_option" in + -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; + *) ac_optarg= ;; + esac + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case "$ac_option" in + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir="$ac_optarg" ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build="$ac_optarg" ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file="$ac_optarg" ;; + + -datadir | --datadir | --datadi | --datad | --data | --dat | --da) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ + | --da=*) + datadir="$ac_optarg" ;; + + -disable-* | --disable-*) + ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + eval "enable_${ac_feature}=no" ;; + + -enable-* | --enable-*) + ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then + { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } + fi + ac_feature=`echo $ac_feature| sed 's/-/_/g'` + case "$ac_option" in + *=*) ;; + *) ac_optarg=yes ;; + esac + eval "enable_${ac_feature}='$ac_optarg'" ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix="$ac_optarg" ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he) + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat << EOF +Usage: configure [options] [host] +Options: [defaults in brackets after descriptions] +Configuration: + --cache-file=FILE cache test results in FILE + --help print this message + --no-create do not create output files + --quiet, --silent do not print \`checking...' messages + --version print the version of autoconf that created configure +Directory and file names: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [same as prefix] + --bindir=DIR user executables in DIR [EPREFIX/bin] + --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] + --libexecdir=DIR program executables in DIR [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data in DIR + [PREFIX/share] + --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data in DIR + [PREFIX/com] + --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] + --libdir=DIR object code libraries in DIR [EPREFIX/lib] + --includedir=DIR C header files in DIR [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] + --infodir=DIR info documentation in DIR [PREFIX/info] + --mandir=DIR man documentation in DIR [PREFIX/man] + --srcdir=DIR find the sources in DIR [configure dir or ..] + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM + run sed PROGRAM on installed program names +EOF + cat << EOF +Host type: + --build=BUILD configure for building on BUILD [BUILD=HOST] + --host=HOST configure for HOST [guessed] + --target=TARGET configure for TARGET [TARGET=HOST] +Features and packages: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --x-includes=DIR X include files are in DIR + --x-libraries=DIR X library files are in DIR +EOF + if test -n "$ac_help"; then + echo "--enable and --with options recognized:$ac_help" + fi + exit 0 ;; + + -host | --host | --hos | --ho) + ac_prev=host ;; + -host=* | --host=* | --hos=* | --ho=*) + host="$ac_optarg" ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir="$ac_optarg" ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir="$ac_optarg" ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir="$ac_optarg" ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir="$ac_optarg" ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst \ + | --locals | --local | --loca | --loc | --lo) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* \ + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) + localstatedir="$ac_optarg" ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir="$ac_optarg" ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir="$ac_optarg" ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix="$ac_optarg" ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix="$ac_optarg" ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix="$ac_optarg" ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name="$ac_optarg" ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir="$ac_optarg" ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir="$ac_optarg" ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site="$ac_optarg" ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir="$ac_optarg" ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir="$ac_optarg" ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target="$ac_optarg" ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers) + echo "configure generated by autoconf version 2.13" + exit 0 ;; + + -with-* | --with-*) + ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } + fi + ac_package=`echo $ac_package| sed 's/-/_/g'` + case "$ac_option" in + *=*) ;; + *) ac_optarg=yes ;; + esac + eval "with_${ac_package}='$ac_optarg'" ;; + + -without-* | --without-*) + ac_package=`echo $ac_option|sed -e 's/-*without-//'` + # Reject names that are not valid shell variable names. + if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then + { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } + fi + ac_package=`echo $ac_package| sed 's/-/_/g'` + eval "with_${ac_package}=no" ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes="$ac_optarg" ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries="$ac_optarg" ;; + + -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } + ;; + + *) + if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then + echo "configure: warning: $ac_option: invalid host type" 1>&2 + fi + if test "x$nonopt" != xNONE; then + { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } + fi + nonopt="$ac_option" + ;; + + esac +done + +if test -n "$ac_prev"; then + { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } +fi + +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + +# File descriptor usage: +# 0 standard input +# 1 file creation +# 2 errors and warnings +# 3 some systems may open it to /dev/tty +# 4 used on the Kubota Titan +# 6 checking for... messages and results +# 5 compiler messages saved in config.log +if test "$silent" = yes; then + exec 6>/dev/null +else + exec 6>&1 +fi +exec 5>./config.log + +echo "\ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. +" 1>&5 + +# Strip out --no-create and --no-recursion so they do not pile up. +# Also quote any args containing shell metacharacters. +ac_configure_args= +for ac_arg +do + case "$ac_arg" in + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c) ;; + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) + ac_configure_args="$ac_configure_args '$ac_arg'" ;; + *) ac_configure_args="$ac_configure_args $ac_arg" ;; + esac +done + +# NLS nuisances. +# Only set these to C if already set. These must not be set unconditionally +# because not all systems understand e.g. LANG=C (notably SCO). +# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! +# Non-C LC_CTYPE values break the ctype check. +if test "${LANG+set}" = set; then LANG=C; export LANG; fi +if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi +if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi +if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -rf conftest* confdefs.h +# AIX cpp loses on an empty file, so make sure it contains at least a newline. +echo > confdefs.h + +# A filename unique to this package, relative to the directory that +# configure is in, which we can look for to find out if srcdir is correct. +ac_unique_file=egg.el + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then its parent. + ac_prog=$0 + ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` + test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. + srcdir=$ac_confdir + if test ! -r $srcdir/$ac_unique_file; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r $srcdir/$ac_unique_file; then + if test "$ac_srcdir_defaulted" = yes; then + { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } + else + { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } + fi +fi +srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` + +# Prefer explicitly selected file to automatically selected ones. +if test -z "$CONFIG_SITE"; then + if test "x$prefix" != xNONE; then + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" + else + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" + fi +fi +for ac_site_file in $CONFIG_SITE; do + if test -r "$ac_site_file"; then + echo "loading site script $ac_site_file" + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + echo "loading cache $cache_file" + . $cache_file +else + echo "creating cache $cache_file" + > $cache_file +fi + +ac_ext=c +# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. +ac_cpp='$CPP $CPPFLAGS' +ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' +ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +cross_compiling=$ac_cv_prog_cc_cross + +ac_exeext= +ac_objext=o +if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then + # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. + if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then + ac_n= ac_c=' +' ac_t=' ' + else + ac_n=-n ac_c= ac_t= + fi +else + ac_n= ac_c='\c' ac_t= +fi + + + +ac_aux_dir= +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do + if test -f $ac_dir/install-sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f $ac_dir/install.sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + fi +done +if test -z "$ac_aux_dir"; then + { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } +fi +ac_config_guess=$ac_aux_dir/config.guess +ac_config_sub=$ac_aux_dir/config.sub +ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# ./install, which can be erroneously created by make from ./install.sh. +echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 +echo "configure:557: checking for a BSD compatible install" >&5 +if test -z "$INSTALL"; then +if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" + for ac_dir in $PATH; do + # Account for people who put trailing slashes in PATH elements. + case "$ac_dir/" in + /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + if test -f $ac_dir/$ac_prog; then + if test $ac_prog = install && + grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + else + ac_cv_path_install="$ac_dir/$ac_prog -c" + break 2 + fi + fi + done + ;; + esac + done + IFS="$ac_save_IFS" + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL="$ac_cv_path_install" + else + # As a last resort, use the slow shell script. We don't cache a + # path for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the path is relative. + INSTALL="$ac_install_sh" + fi +fi +echo "$ac_t""$INSTALL" 1>&6 + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 +echo "configure:610: checking whether ${MAKE-make} sets \${MAKE}" >&5 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` +if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 +else + cat > conftestmake <<\EOF +all: + @echo 'ac_maketemp="${MAKE}"' +EOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` +if test -n "$ac_maketemp"; then + eval ac_cv_prog_make_${ac_make}_set=yes +else + eval ac_cv_prog_make_${ac_make}_set=no +fi +rm -f conftestmake +fi +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then + echo "$ac_t""yes" 1>&6 + SET_MAKE= +else + echo "$ac_t""no" 1>&6 + SET_MAKE="MAKE=${MAKE-make}" +fi + + + + + + +lispdir=${datadir}/emacs/site-lisp + +trap '' 1 2 15 +cat > confcache <<\EOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs. It is not useful on other systems. +# If it contains results you don't want to keep, you may remove or edit it. +# +# By default, configure uses ./config.cache as the cache file, +# creating it if it does not exist already. You can give configure +# the --cache-file=FILE option to use a different cache file; that is +# what configure does when it calls configure scripts in +# subdirectories, so they share the cache. +# Giving --cache-file=/dev/null disables caching, for debugging configure. +# config.status only pays attention to the cache file if you give it the +# --recheck option to rerun configure. +# +EOF +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, don't put newlines in cache variables' values. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +(set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote substitution + # turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + -e "s/'/'\\\\''/g" \ + -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' + ;; + esac >> confcache +if cmp -s $cache_file confcache; then + : +else + if test -w $cache_file; then + echo "updating cache $cache_file" + cat confcache > $cache_file + else + echo "not updating unwritable cache $cache_file" + fi +fi +rm -f confcache + +trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +# Any assignment to VPATH causes Sun make to only execute +# the first set of double-colon rules, so remove it if not needed. +# If there is a colon in the path, we need to keep it. +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' +fi + +trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 + +# Transform confdefs.h into DEFS. +# Protect against shell expansion while executing Makefile rules. +# Protect against Makefile macro expansion. +cat > conftest.defs <<\EOF +s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g +s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g +s%\[%\\&%g +s%\]%\\&%g +s%\$%$$%g +EOF +DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` +rm -f conftest.defs + + +# Without the "./", some shells look in PATH for config.status. +: ${CONFIG_STATUS=./config.status} + +echo creating $CONFIG_STATUS +rm -f $CONFIG_STATUS +cat > $CONFIG_STATUS </dev/null | sed 1q`: +# +# $0 $ac_configure_args +# +# Compiler output produced by configure, useful for debugging +# configure, is in ./config.log if it exists. + +ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" +for ac_option +do + case "\$ac_option" in + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" + exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; + -version | --version | --versio | --versi | --vers | --ver | --ve | --v) + echo "$CONFIG_STATUS generated by autoconf version 2.13" + exit 0 ;; + -help | --help | --hel | --he | --h) + echo "\$ac_cs_usage"; exit 0 ;; + *) echo "\$ac_cs_usage"; exit 1 ;; + esac +done + +ac_given_srcdir=$srcdir +ac_given_INSTALL="$INSTALL" + +trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 +EOF +cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF +$ac_vpsub +$extrasub +s%@SHELL@%$SHELL%g +s%@CFLAGS@%$CFLAGS%g +s%@CPPFLAGS@%$CPPFLAGS%g +s%@CXXFLAGS@%$CXXFLAGS%g +s%@FFLAGS@%$FFLAGS%g +s%@DEFS@%$DEFS%g +s%@LDFLAGS@%$LDFLAGS%g +s%@LIBS@%$LIBS%g +s%@exec_prefix@%$exec_prefix%g +s%@prefix@%$prefix%g +s%@program_transform_name@%$program_transform_name%g +s%@bindir@%$bindir%g +s%@sbindir@%$sbindir%g +s%@libexecdir@%$libexecdir%g +s%@datadir@%$datadir%g +s%@sysconfdir@%$sysconfdir%g +s%@sharedstatedir@%$sharedstatedir%g +s%@localstatedir@%$localstatedir%g +s%@libdir@%$libdir%g +s%@includedir@%$includedir%g +s%@oldincludedir@%$oldincludedir%g +s%@infodir@%$infodir%g +s%@mandir@%$mandir%g +s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g +s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g +s%@INSTALL_DATA@%$INSTALL_DATA%g +s%@SET_MAKE@%$SET_MAKE%g +s%@lispdir@%$lispdir%g + +CEOF +EOF + +cat >> $CONFIG_STATUS <<\EOF + +# Split the substitutions into bite-sized pieces for seds with +# small command number limits, like on Digital OSF/1 and HP-UX. +ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. +ac_file=1 # Number of current file. +ac_beg=1 # First line for current file. +ac_end=$ac_max_sed_cmds # Line after last line for current file. +ac_more_lines=: +ac_sed_cmds="" +while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file + else + sed "${ac_end}q" conftest.subs > conftest.s$ac_file + fi + if test ! -s conftest.s$ac_file; then + ac_more_lines=false + rm -f conftest.s$ac_file + else + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f conftest.s$ac_file" + else + ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" + fi + ac_file=`expr $ac_file + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_cmds` + fi +done +if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat +fi +EOF + +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF +for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case "$ac_file" in + *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` + ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; + *) ac_file_in="${ac_file}.in" ;; + esac + + # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. + + # Remove last slash and all that follows it. Not all systems have dirname. + ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` + if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then + # The file is in a subdirectory. + test ! -d "$ac_dir" && mkdir "$ac_dir" + ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" + # A "../" for each directory in $ac_dir_suffix. + ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` + else + ac_dir_suffix= ac_dots= + fi + + case "$ac_given_srcdir" in + .) srcdir=. + if test -z "$ac_dots"; then top_srcdir=. + else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; + /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; + *) # Relative path. + srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" + top_srcdir="$ac_dots$ac_given_srcdir" ;; + esac + + case "$ac_given_INSTALL" in + [/$]*) INSTALL="$ac_given_INSTALL" ;; + *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + esac + + echo creating "$ac_file" + rm -f "$ac_file" + configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." + case "$ac_file" in + *Makefile*) ac_comsub="1i\\ +# $configure_input" ;; + *) ac_comsub= ;; + esac + + ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` + sed -e "$ac_comsub +s%@configure_input@%$configure_input%g +s%@srcdir@%$srcdir%g +s%@top_srcdir@%$top_srcdir%g +s%@INSTALL@%$INSTALL%g +" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file +fi; done +rm -f conftest.s* + +EOF +cat >> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF + +exit 0 +EOF +chmod +x $CONFIG_STATUS +rm -fr confdefs* $ac_clean_files +test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 + diff --git a/configure.in b/configure.in new file mode 100644 index 0000000..dde729d --- /dev/null +++ b/configure.in @@ -0,0 +1,18 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(egg.el) + +dnl Checks for programs. +AC_PROG_INSTALL +AC_PROG_MAKE_SET + +dnl Checks for libraries. + +dnl Checks for header files. + +dnl Checks for typedefs, structures, and compiler characteristics. + +dnl Checks for library functions. + +lispdir=${datadir}/emacs/site-lisp +AC_SUBST(lispdir) +AC_OUTPUT(Makefile) diff --git a/egg-cnv.el b/egg-cnv.el index f790937..3995da5 100644 --- a/egg-cnv.el +++ b/egg-cnv.el @@ -569,6 +569,10 @@ next/previous-candidate, if positive number N." (define-key map [left] 'egg-backward-bunsetsu) (define-key map " " 'egg-next-candidate) (define-key map "/" 'egg-exit-conversion) + ;;;(define-key map "\M-h" 'egg-hiragana) + ;;;(define-key map "\M-k" 'egg-katakana) + ;;;(define-key map "\M-<" 'egg-hankaku) + ;;;(define-key map "\M->" 'egg-zenkaku) map) "Keymap for EGG Conversion mode.") diff --git a/egg/sj3.el b/egg/sj3.el index d1d1f56..69b5aa4 100644 --- a/egg/sj3.el +++ b/egg/sj3.el @@ -31,9 +31,22 @@ ;;; Code: - +(require 'egg) (require 'egg-edep) +(defgroup sj3 nil + "SJ3 interface for Tamago 4" + :group 'egg) + +(defcustom sj3-hostname "localhost" + "*Hostname of SJ3 server" + :group 'sj3 :type 'string) + +(defcustom sj3-server-port 3086 + "*Port number of SJ3 server" + :group 'sj3 :type 'integer) + + (eval-when-compile (defmacro SJ3-const (c) (cond ((eq c 'FileNotExist) 35) @@ -54,10 +67,7 @@ (egg-set-finalize-backend '(sj3-finalize-backend)) -(defvar sj3-server-port 3086 "Port number of SJ3 server") (defvar sj3-stdy-size 0 "STDYSIZE of SJ3 server") -(defvar sj3-hostname "localhost" - "Hostname of SJ3 server") (defvar sj3-open-message) diff --git a/install-sh b/install-sh new file mode 100755 index 0000000..e9de238 --- /dev/null +++ b/install-sh @@ -0,0 +1,251 @@ +#!/bin/sh +# +# install - install a program, script, or datafile +# This comes from X11R5 (mit/util/scripts/install.sh). +# +# Copyright 1991 by the Massachusetts Institute of Technology +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of M.I.T. not be used in advertising or +# publicity pertaining to distribution of the software without specific, +# written prior permission. M.I.T. makes no representations about the +# suitability of this software for any purpose. It is provided "as is" +# without express or implied warranty. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. It can only install one file at a time, a restriction +# shared with many OS's install programs. + + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit="${DOITPROG-}" + + +# put in absolute paths if you don't have them in your path; or use env. vars. + +mvprog="${MVPROG-mv}" +cpprog="${CPPROG-cp}" +chmodprog="${CHMODPROG-chmod}" +chownprog="${CHOWNPROG-chown}" +chgrpprog="${CHGRPPROG-chgrp}" +stripprog="${STRIPPROG-strip}" +rmprog="${RMPROG-rm}" +mkdirprog="${MKDIRPROG-mkdir}" + +transformbasename="" +transform_arg="" +instcmd="$mvprog" +chmodcmd="$chmodprog 0755" +chowncmd="" +chgrpcmd="" +stripcmd="" +rmcmd="$rmprog -f" +mvcmd="$mvprog" +src="" +dst="" +dir_arg="" + +while [ x"$1" != x ]; do + case $1 in + -c) instcmd="$cpprog" + shift + continue;; + + -d) dir_arg=true + shift + continue;; + + -m) chmodcmd="$chmodprog $2" + shift + shift + continue;; + + -o) chowncmd="$chownprog $2" + shift + shift + continue;; + + -g) chgrpcmd="$chgrpprog $2" + shift + shift + continue;; + + -s) stripcmd="$stripprog" + shift + continue;; + + -t=*) transformarg=`echo $1 | sed 's/-t=//'` + shift + continue;; + + -b=*) transformbasename=`echo $1 | sed 's/-b=//'` + shift + continue;; + + *) if [ x"$src" = x ] + then + src=$1 + else + # this colon is to work around a 386BSD /bin/sh bug + : + dst=$1 + fi + shift + continue;; + esac +done + +if [ x"$src" = x ] +then + echo "install: no input file specified" + exit 1 +else + true +fi + +if [ x"$dir_arg" != x ]; then + dst=$src + src="" + + if [ -d $dst ]; then + instcmd=: + chmodcmd="" + else + instcmd=mkdir + fi +else + +# Waiting for this to be detected by the "$instcmd $src $dsttmp" command +# might cause directories to be created, which would be especially bad +# if $src (and thus $dsttmp) contains '*'. + + if [ -f $src -o -d $src ] + then + true + else + echo "install: $src does not exist" + exit 1 + fi + + if [ x"$dst" = x ] + then + echo "install: no destination specified" + exit 1 + else + true + fi + +# If destination is a directory, append the input filename; if your system +# does not like double slashes in filenames, you may need to add some logic + + if [ -d $dst ] + then + dst="$dst"/`basename $src` + else + true + fi +fi + +## this sed command emulates the dirname command +dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` + +# Make sure that the destination directory exists. +# this part is taken from Noah Friedman's mkinstalldirs script + +# Skip lots of stat calls in the usual case. +if [ ! -d "$dstdir" ]; then +defaultIFS=' +' +IFS="${IFS-${defaultIFS}}" + +oIFS="${IFS}" +# Some sh's can't handle IFS=/ for some reason. +IFS='%' +set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` +IFS="${oIFS}" + +pathcomp='' + +while [ $# -ne 0 ] ; do + pathcomp="${pathcomp}${1}" + shift + + if [ ! -d "${pathcomp}" ] ; + then + $mkdirprog "${pathcomp}" + else + true + fi + + pathcomp="${pathcomp}/" +done +fi + +if [ x"$dir_arg" != x ] +then + $doit $instcmd $dst && + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi +else + +# If we're going to rename the final executable, determine the name now. + + if [ x"$transformarg" = x ] + then + dstfile=`basename $dst` + else + dstfile=`basename $dst $transformbasename | + sed $transformarg`$transformbasename + fi + +# don't allow the sed command to completely eliminate the filename + + if [ x"$dstfile" = x ] + then + dstfile=`basename $dst` + else + true + fi + +# Make a temp file name in the proper directory. + + dsttmp=$dstdir/#inst.$$# + +# Move or copy the file name to the temp name + + $doit $instcmd $src $dsttmp && + + trap "rm -f ${dsttmp}" 0 && + +# and set any options; do chmod last to preserve setuid bits + +# If any of these fail, we abort the whole thing. If we want to +# ignore errors from any of these, just make sure not to ignore +# errors from the above "$doit $instcmd $src $dsttmp" command. + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && + +# Now rename the file to the real destination. + + $doit $rmcmd -f $dstdir/$dstfile && + $doit $mvcmd $dsttmp $dstdir/$dstfile + +fi && + + +exit 0 diff --git a/its.el b/its.el index 5145c15..cdfae6e 100644 --- a/its.el +++ b/its.el @@ -1308,6 +1308,38 @@ Return last state." (setq its-stroke-input-alist (append alist its-stroke-input-alist)))) +(defun its-hiragana () + ;; hiragana-region for input-buffer + (interactive) + (let* ((inhibit-read-only t) + (start (if (get-text-property (1- (point)) 'its-start) + (point) + (previous-single-property-change (point) 'its-start))) + (end (if (get-text-property (point) 'its-end) + (point) + (next-single-property-change (point) 'its-end))) + (old-str (buffer-substring-no-properties start (1- end))) + (new-str (japanese-hiragana old-str))) + (delete-region start end) + (insert new-str) + (its-put-cursor t))) + +(defun its-katakana () + ;; katakana-region for input-buffer + (interactive) + (let* ((inhibit-read-only t) + (start (if (get-text-property (1- (point)) 'its-start) + (point) + (previous-single-property-change (point) 'its-start))) + (end (if (get-text-property (point) 'its-end) + (point) + (next-single-property-change (point) 'its-end))) + (old-str (buffer-substring-no-properties start (1- end))) + (new-str (japanese-katakana old-str))) + (delete-region start end) + (insert new-str) + (its-put-cursor t))) + (defun its-mode () "\\{its-mode-map}" ;; dummy function to get docstring diff --git a/leim-list.el b/leim-list.el index 70393de..9640797 100644 --- a/leim-list.el +++ b/leim-list.el @@ -97,6 +97,9 @@ (defgroup wnn nil "" :group 'egg :load "egg/wnn") +(defgroup sj3 nil "" + :group 'egg :load "egg/sj3") + (defgroup its nil "" :group 'egg :load "its")