* poem-xm.el (char-length): New function.
authoryamaoka <yamaoka>
Mon, 15 Apr 2002 01:45:34 +0000 (01:45 +0000)
committeryamaoka <yamaoka>
Mon, 15 Apr 2002 01:45:34 +0000 (01:45 +0000)
(string-to-char-list): New function.

ChangeLog
poem-xm.el

index b09d4ef..f1e382f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-04-15  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * poem-xm.el (char-length): New function.
+       (string-to-char-list): New function.
+
 2002-03-04  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * pym.el: Add a note that `def*-maybe' might not provide functions
index 7dd4244..798ce14 100644 (file)
@@ -68,6 +68,10 @@ but the contents viewed as characters do change.
   "Return index of character succeeding CHAR whose index is INDEX."
   `(1+ ,index))
 
+(defun-maybe char-length (char)
+  "Return indexing length of multi-byte form of CHAR."
+  1)
+
 
 ;;; @ string
 ;;;
@@ -75,6 +79,9 @@ but the contents viewed as characters do change.
 (defun-maybe string-to-int-list (str)
   (mapcar #'char-int str))
 
+(defun-maybe string-to-char-list (str)
+  (mapcar #'identity str))
+
 (defalias 'looking-at-as-unibyte 'looking-at)