From: tomo Date: Mon, 2 Sep 2002 05:40:37 +0000 (+0000) Subject: (char-db-dump-ideographs): New function. X-Git-Tag: chise-base-0_23~77 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=f6a006be8d5f493b3fcb3d9216f7e40af769a2dd;p=chise%2Ftomoyo-tools.git (char-db-dump-ideographs): New function. --- diff --git a/ideo-dump.el b/ideo-dump.el index 887dc23..1842624 100644 --- a/ideo-dump.el +++ b/ideo-dump.el @@ -1,8 +1,44 @@ -(defvar char-dump-target-directory "/var/tmp") +;;; ideo-dump.el --- Dump utility of Ideograph-R*.el files -(update-ideograph-radical-table) +;; Copyright (C) 2002 MORIOKA Tomohiko -(let ((i 1)) - (while (<= i 214) - (write-ideograph-radical-char-data i char-dump-target-directory) - (setq i (1+ i)))) +;; Author: MORIOKA Tomohiko +;; Keywords: Ideographs, Character Database, UTF-2000, UCS, Unicode + +;; This file is a part of tomoyo-tools. + +;; 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, 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; see the file COPYING. If not, write to +;; the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. + +;;; Code: + +(require 'ideograph-util) + +;;;###autoload +(defun char-db-dump-ideographs (directory) + (interactive "DDump Ideographs : ") + (update-ideograph-radical-table) + (let ((i 1)) + (while (<= i 214) + (write-ideograph-radical-char-data i directory) + (setq i (1+ i))))) + + +;;; @ End. +;;; + +(provide 'ideo-dump) + +;;; ideo-dump.el ends here