From: tomo Date: Sat, 15 Oct 2005 07:48:06 +0000 (+0000) Subject: (www-ids-find-version): New constant. X-Git-Tag: chise-base-0_23~74 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f98c17963abd1f83849e90f454630c0f0f8414e;p=chise%2Fids.git (www-ids-find-version): New constant. (www-ids-find-ideographic-products-file-name): New variable. (www-batch-ids-find): Display version, Last-modified, copyright; display warning when updating the system; add links for related sites. --- diff --git a/www/www-ids-find.el b/www/www-ids-find.el index 436454c..4688510 100644 --- a/www/www-ids-find.el +++ b/www/www-ids-find.el @@ -15,6 +15,16 @@ (concat dest (substring string i)) coding-system)))) +(defconst www-ids-find-version "0.22.1") + +(defvar www-ids-find-ideographic-products-file-name + (expand-file-name "ideographic-products" + (expand-file-name + "feature" + (expand-file-name + "character" + chise-system-db-directory)))) + (defvar www-ids-find-tang-chars-file-name "~tomo/projects/chise/ids/www/tang-chars.udd") @@ -204,7 +214,20 @@

") (princ (encode-coding-string "CHISE IDS 漢字検索" 'utf-8-jp-er)) - (princ "

+ (princ "") + (princ " +

Version ") + (princ www-ids-find-version) + (princ (format-time-string + " (Last-modified: %Y-%m-%d %H:%M:%S)" + (nth 5 + (file-attributes + www-ids-find-ideographic-products-file-name)))) + (princ " +

+Copyright (C) 2005 MORIOKA Tomohiko +


") @@ -219,6 +242,16 @@
") + (unless (file-newer-than-file-p + www-ids-find-ideographic-products-file-name + (locate-file (car command-line-args) exec-path)) + (princ (encode-coding-string "
+

+現在、システムの更新作業中です。しばらくお待ちください。 +


+" 'utf-8-jp-er)) + ;; (setq components nil) + ) (cond (components ;; (map-char-attribute @@ -254,6 +287,37 @@ 指定した部品を全て含む漢字の一覧を表示します。

CHISE で用いられる実態参照形式(例:&M-00256;)で部品を指定する事もできます。" 'utf-8-jp-er)) + (princ (encode-coding-string " +

+\[Links\] +

+ + +" + 'utf-8-jp-er)) + )) (princ "
") (princ