[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/international/mule-diag.el
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/international/mule-diag.el |
Date: |
Wed, 25 Sep 2002 04:52:30 -0400 |
Index: emacs/lisp/international/mule-diag.el
diff -c emacs/lisp/international/mule-diag.el:1.80
emacs/lisp/international/mule-diag.el:1.81
*** emacs/lisp/international/mule-diag.el:1.80 Wed Sep 25 04:11:03 2002
--- emacs/lisp/international/mule-diag.el Wed Sep 25 04:52:30 2002
***************
*** 89,94 ****
--- 89,95 ----
(if arg
(list-character-sets-2)
;; Insert header.
+ (insert "Indirectly supported character sets are shown below.\n")
(insert
(substitute-command-keys
(concat "Use "
***************
*** 117,123 ****
(insert "------\t------------\t\t\t--------------\t- -- ----------\n")
;; Insert body sorted by charset IDs.
! (list-character-sets-1 'id)))))
(defun sort-listed-character-sets (sort-key)
(if sort-key
--- 118,145 ----
(insert "------\t------------\t\t\t--------------\t- -- ----------\n")
;; Insert body sorted by charset IDs.
! (list-character-sets-1 'id)
!
! ;; Insert non-directly-supported charsets.
! (insert-char ?- 72)
! (insert "\n\nINDIRECTLY SUPPORTED CHARSETS SETS:\n\n"
! (propertize "CHARSET NAME\tMAPPED TO" 'face 'bold)
! "\n------------\t---------\n")
! (dolist (elt non-iso-charset-alist)
! (insert-text-button (symbol-name (car elt))
! :type 'list-charset-chars
! 'help-args (list (car elt)))
! (indent-to 16)
! (dolist (e (nth 1 elt))
! (when (>= (+ (current-column) 1 (string-width (symbol-name e)))
! ;; This is an approximate value. We don't know
! ;; the correct window width of this buffer yet.
! 78)
! (insert "\n")
! (indent-to 16))
!
! (insert (format "%s " e)))
! (insert "\n"))))))
(defun sort-listed-character-sets (sort-key)
(if sort-key
***************
*** 127,134 ****
(goto-char (point-min))
(re-search-forward "[0-9][0-9][0-9]")
(beginning-of-line)
! (delete-region (point) (point-max))
! (list-character-sets-1 sort-key)))))
(defun charset-multibyte-form-string (charset)
(let ((info (charset-info charset)))
--- 149,161 ----
(goto-char (point-min))
(re-search-forward "[0-9][0-9][0-9]")
(beginning-of-line)
! (let ((pos (point)))
! (search-forward "----------")
! (beginning-of-line)
! (save-restriction
! (narrow-to-region pos (point))
! (delete-region (point-min) (point-max))
! (list-character-sets-1 sort-key)))))))
(defun charset-multibyte-form-string (charset)
(let ((info (charset-info charset)))
***************
*** 249,255 ****
(defvar non-iso-charset-alist
`((mac-roman
! nil
mac-roman-decoder
((0 255)))
(viscii
--- 276,283 ----
(defvar non-iso-charset-alist
`((mac-roman
! (ascii latin-iso8859-1 mule-unicode-2500-33ff
! mule-unicode-0100-24ff mule-unicode-e000-ffff)
mac-roman-decoder
((0 255)))
(viscii