X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ideo-dump.el;h=1842624b32d8abbcf2ea91d329ba9092347f7902;hb=3578e474bb3d1004cef40eedd8eb9f1096f70bb8;hp=887dc23ec5a83f29eaf29b197e4186b586082438;hpb=acd076fc65d8e74422ca62c3bce4ad5f794250de;p=chise%2Ftomoyo-tools.git 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