(encode-char char 'ucs))))
(setq item-list
`(("character"
- ,(format "%s (0%o, %d, 0x%x%s)"
+ ,(format "%s (%d, #o%o, #x%x%s)"
(apply 'propertize (if (not multibyte-p)
(single-key-description char)
(if (< char 128)
,@(let ((category-set (char-category-set char)))
(if (not category-set)
'("-- none --")
- (mapcar #'(lambda (x) (format "%c:%s "
+ (mapcar #'(lambda (x) (format "%c:%s"
x (category-docstring x)))
(category-set-mnemonics category-set)))))
,@(let ((props (aref char-code-property-table char))
(if display
(concat
"by this font (glyph code)\n"
- (format " %s (0x%02X)"
+ (format " %s (#x%02X)"
(car display) (cdr display)))
"no font available")
(if display
(insert (logand (car (aref disp-vector i)) #x7ffff) ?:
(propertize " " 'display '(space :align-to 5))
(if (cdr (aref disp-vector i))
- (format "%s (0x%02X)" (cadr (aref disp-vector i))
+ (format "%s (#x%02X)" (cadr (aref disp-vector i))
(cddr (aref disp-vector i)))
"-- no font --")
"\n")
(insert "\n " (car elt) ?:
(propertize " " 'display '(space :align-to 5))
(if (cdr elt)
- (format "%s (0x%02X)" (cadr elt) (cddr elt))
+ (format "%s (#x%02X)" (cadr elt) (cddr elt))
"-- no font --"))))
(insert "these terminal codes:")
(dolist (elt component-chars)