1 ;;; chiezo.el --- supplement file for
\e$B!VCN7CB"#1#9#9#7!W
\e(B
2 ;; Copyright (C) 1999 Lookup Development Team <lookup@ring.gr.jp>
4 ;; Author: Keisuke Nishida <kei@psn.net>
5 ;; Target: ndtp 1.0, ndeb 1.0
7 ;; Version: $Id: chiezo.el,v 1.1 1999-07-23 07:17:35 steveb Exp $
9 ;; This program is free software; you can redistribute it and/or
10 ;; modify it under the terms of the GNU General Public License
11 ;; as published by the Free Software Foundation; either version 2
12 ;; of the License, or (at your option) any later version.
14 ;; This program is distributed in the hope that it will be useful,
15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;; GNU General Public License for more details.
19 ;; You should have received a copy of the GNU General Public License
20 ;; along with this program; if not, write to the Free Software Foundation,
21 ;; Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25 (require 'lookup-package)
27 (defconst chiezo-gaiji-table
28 (lookup-new-gaiji-table
29 '(("ha621" "*") ("ha622" "
\e,00
\e(B") ("ha623" "
\e,Aa
\e(B") ("ha624" "
\e,Ai
\e(B") ("ha625" "
\e,As
\e(B")
30 ("ha626" "
\e,A`
\e(B") ("ha627" "
\e,Ah
\e(B") ("ha628" "
\e,Ab
\e(B") ("ha629" "
\e,Aj
\e(B") ("ha62a" "
\e,An
\e(B")
31 ("ha62b" "
\e,At
\e(B") ("ha62c" "
\e,Ad
\e(B") ("ha62d" "
\e,Ak
\e(B") ("ha62e" "
\e,Av
\e(B") ("ha62f" "
\e,A|
\e(B")
32 ("ha630" "
\e,Aq
\e(B") ("ha634" "
\e,Am
\e(B") ("ha637" "
\e,A{
\e(B") ("ha638" "
\e,Az
\e(B")
33 ("ha63d" nil "2") ("ha63e" nil "3") ("ha63f" nil "0") ("ha640" nil "1")
34 ("ha641" nil "2") ("ha642" nil "3") ("ha643" nil "4") ("ha644" nil "5")
35 ("ha645" nil "6") ("ha646" nil "8") ("ha647" nil "1") ("ha648" nil "4")
36 ("ha649" nil "5") ("ha64a" nil "7") ("ha64b" nil "8") ("ha64c" nil "9")
37 ("ha64d" nil "a") ("ha64e" nil "G") ("ha64f" nil "P") ("ha652" nil "+")
38 ("ha653" nil "-") ("ha654" nil "+") ("ha657" nil "0") ("ha658" nil "6")
39 ("ha659" "
\e,AE
\e(B") ("ha65a" nil "n")
40 ("za423" "
\e$B"N
\e(B") ("za424" nil "<TEL>") ("za428" "(R)") ("za43f" "(C)")
41 ("za44a" "[
\e$B3$
\e(B]") ("za44b" "[
\e$B?7
\e(B]") ("za460" "
\e$B"e
\e(B2"))))
43 (defconst chiezo-arranges
44 '(lookup-arrange-gaijis
45 lookup-arrange-references
46 lookup-arrange-default-headings
47 chiezo-arrange-headings
48 lookup-arrange-fill-lines))
50 (setq lookup-package-dictionary-options
51 (list (cons ':gaiji-table chiezo-gaiji-table)
52 (cons ':arranges chiezo-arranges)))
54 (defun chiezo-arrange-headings (entry)
55 (when (re-search-forward "^<.*>$" nil t)
56 (lookup-make-region-heading (match-beginning 0) (match-end 0) 2)))
58 ;;; chiezo.el ends here