comparison lisp/international/mule-diag.el @ 34078:ebb2d5e5973e

(describe-char-after): Fix typo. (describe-character-set, non-iso-charset-alist): Fix typo.
author Kenichi Handa <handa@m17n.org>
date Fri, 01 Dec 2000 06:20:04 +0000
parents ee31f4f9b014
children aeb6db8df2b9
comparison
equal deleted inserted replaced
34077:b9883c4e5688 34078:ebb2d5e5973e
276 NON-ISO-CHARSET is a name (symbol) of the non-ISO charset. 276 NON-ISO-CHARSET is a name (symbol) of the non-ISO charset.
277 277
278 CHARSET-LIST is a list of Emacs' charsets into which characters of 278 CHARSET-LIST is a list of Emacs' charsets into which characters of
279 NON-ISO-CHARSET are mapped. 279 NON-ISO-CHARSET are mapped.
280 280
281 TRANSLATION-METHOD is a translatin table (symbol) to translate a 281 TRANSLATION-METHOD is a translation table (symbol) to translate a
282 character code of NON-ISO-CHARSET to the corresponding Emacs character 282 character code of NON-ISO-CHARSET to the corresponding Emacs character
283 code. It can also be a function to call with one argument, a 283 code. It can also be a function to call with one argument, a
284 character code in NON-ISO-CHARSET. 284 character code in NON-ISO-CHARSET.
285 285
286 CODE-RANGE specifies the valid code ranges of NON-ISO-CHARSET. 286 CODE-RANGE specifies the valid code ranges of NON-ISO-CHARSET.
489 (insert (aref info 13) "\n\n") ; description 489 (insert (aref info 13) "\n\n") ; description
490 (insert "number of contained characters: " 490 (insert "number of contained characters: "
491 (if (= (aref info 2) 1) 491 (if (= (aref info 2) 1)
492 (format "%d\n" (aref info 3)) 492 (format "%d\n" (aref info 3))
493 (format "%dx%d\n" (aref info 3) (aref info 3)))) 493 (format "%dx%d\n" (aref info 3) (aref info 3))))
494 (insert "the final char of ISO2022's desgination sequence: ") 494 (insert "the final char of ISO2022's designation sequence: ")
495 (if (aref info 8) 495 (if (aref info 8)
496 (insert (format "`%c'\n" (aref info 8))) 496 (insert (format "`%c'\n" (aref info 8)))
497 (insert "not assigned\n")) 497 (insert "not assigned\n"))
498 (insert (format "width (how many columns on screen): %d\n" 498 (insert (format "width (how many columns on screen): %d\n"
499 (aref info 4))) 499 (aref info 4)))
500 (insert (format "internal multibyte sequence: %s\n" 500 (insert (format "internal multibyte sequence: %s\n"
501 (charset-multibyte-form-string charset))) 501 (charset-multibyte-form-string charset)))
502 (let ((coding (plist-get (aref info 14) 'preferred-coding-system))) 502 (let ((coding (plist-get (aref info 14) 'preferred-coding-system)))
503 (when coding 503 (when coding
504 (insert (format "prefered coding system: %s\n" coding)) 504 (insert (format "preferred coding system: %s\n" coding))
505 (search-backward (symbol-name coding)) 505 (search-backward (symbol-name coding))
506 (help-xref-button 0 #'describe-coding-system coding 506 (help-xref-button 0 #'describe-coding-system coding
507 "mouse-2, RET: describe this coding system"))) 507 "mouse-2, RET: describe this coding system")))
508 (help-setup-xref (list #'describe-character-set charset) 508 (help-setup-xref (list #'describe-character-set charset)
509 (interactive-p)) 509 (interactive-p))
591 (insert "\n") 591 (insert "\n")
592 (indent-to (1+ max-width))) 592 (indent-to (1+ max-width)))
593 (insert " " clm)) 593 (insert " " clm))
594 (insert "\n"))) 594 (insert "\n")))
595 (when composition 595 (when composition
596 (insert "\nComposed with the following characerter(s) " 596 (insert "\nComposed with the following character(s) "
597 (mapconcat (lambda (x) (format "`%c'" x)) 597 (mapconcat (lambda (x) (format "`%c'" x))
598 (substring composed 1) 598 (substring composed 1)
599 ", ") 599 ", ")
600 " to form `" composed "'") 600 " to form `" composed "'")
601 (if (nth 3 composition) 601 (if (nth 3 composition)