From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: Kenichi Handa <handa@ni.aist.go.jp>
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; describe-char gives wrong information
Date: Thu, 10 Jan 2008 17:38:52 +0100 [thread overview]
Message-ID: <37765195-4505-4662-AE93-5B78556F67F6@Freenet.DE> (raw)
In-Reply-To: <E1JCwhX-00071P-58@etlken.m17n.org>
Am 10.01.2008 um 13:40 schrieb Kenichi Handa:
> Anyway, have you tried the latest code? Does it still try
> to display U+1F48 using the font "...-gb18030.2000-0"?
I can't tell, because now it's just a box. And pressing C-u C-x = on
that box gives the well-known
describe-char-display: Format specifier doesn't match argument type
error. So a change has happened. Using the technique of loading descr-
text.el leads to:
Debugger entered--Lisp error: (error "Format specifier doesn't match
argument type")
format("%04X%04X" "nil" nil)
(setcdr char-font-info (format "%04X%04X" (cadr char-font-info)
(cddr char-font-info)))
(if (integerp (cdr char-font-info)) (setcdr char-font-info (format
"%02X" ...)) (setcdr char-font-info (format "%04X%04X" ... ...)))
(let ((char-font-info ...)) (if (integerp ...) (setcdr char-font-
info ...) (setcdr char-font-info ...)) char-font-info)
(if (display-graphic-p (selected-frame)) (let (...)
(if ... ... ...) char-font-info) (let* (... ...) (if encoded ...)))
describe-char-display(253851 8008)
(let ((display ...)) (if (display-graphic-p ...) (if display ...
"no font available") (if display ... "not encodable for terminal")))
(cond (disp-vector (setq disp-vector ...) (dotimes ... ... ...)
(format "by display table entry [%s] (see below)" ...)) (composition
(let ... ... ... ... ... ...)) (t (let ... ...)))
(list "display" (cond (disp-vector ... ... ...) (composition ...)
(t ...)))
(cons (list "display" (cond ... ... ...)) (append (let ... ...)
(let ... ...)))
(cons (cons "file code" (let* ... ...)) (cons (list "display" ...)
(append ... ...)))
(cons (list "buffer code" (encoded-string-description ... nil))
(cons (cons "file code" ...) (cons ... ...)))
(cons (cons "to input" (let ... ...)) (cons (list "buffer
code" ...) (cons ... ...)))
(cons (cons "category" (let ... ...)) (cons (cons "to input" ...)
(cons ... ...)))
(cons (list "syntax" (let ... ...)) (cons (cons "category" ...)
(cons ... ...)))
(cons (list "code point" (let ... ...)) (cons (list "syntax" ...)
(cons ... ...)))
(cons (list "preferred charset" (\` ...) (format "(%s)" ...))
(cons (list "code point" ...) (cons ... ...)))
(cons (list "character" (format "%s (%d, #o%o, #x%x)" ... char
char char)) (cons (list "preferred charset" ... ...) (cons ... ...)))
(backquote-list* (list "character" (format "%s (%d, #o%o, #x%
x)" ... char char char)) (list "preferred charset" (\` ...) (format
"(%s)" ...)) (list "code point" (let ... ...)) (list
"syntax" (let ... ...)) (cons "category" (let ... ...)) (cons "to
input" (let ... ...)) (list "buffer code" (encoded-string-
description ... nil)) (cons "file code" (let* ... ...)) (list
"display" (cond ... ... ...)) (append (let ... ...) (let ... ...)))
(\` (("character" ...) ("preferred charset" ... ...) ("code
point" ...) ("syntax" ...) ("category" ...) ("to input" ...) ("buffer
code" ...) ("file code" ...) ("display" ...) (\,@ ...) (\,@ ...)))
(setq item-list (\` (... ... ... ... ... ... ... ... ... ... ...)))
(let* ((char ...) (charset ...) (composition ...) (component-chars
nil) (display-table ...) (disp-vector ...) (multibyte-p enable-
multibyte-characters) (overlays ...) (char-description ...) (text-
props-desc ...) item-list max-width code) (setq code (encode-char
char charset)) (setq item-list (\` ...)) (setq max-width
(apply ... ...)) (help-setup-xref nil (interactive-p)) (with-help-
window (help-buffer) (with-current-buffer standard-
output ... ... ... ... ... ... ... ... ... ... ... ...)))
describe-char(253851)
what-cursor-position((4))
call-interactively(what-cursor-position nil nil)
--
Greetings
Pete
"What do you think of Western Civilisation?"
"I think it would be a good idea!"
– Mohandas Karamchand Gandhi
next prev parent reply other threads:[~2008-01-10 16:38 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-31 13:16 23.0.60; describe-char gives wrong information Peter Dyballa
2008-01-08 5:55 ` Kenichi Handa
2008-01-08 13:06 ` Peter Dyballa
2008-01-09 2:51 ` Kenichi Handa
2008-01-09 10:05 ` Peter Dyballa
2008-01-09 11:19 ` Miles Bader
2008-01-09 12:49 ` Peter Dyballa
2008-01-10 12:40 ` Kenichi Handa
2008-01-10 16:38 ` Peter Dyballa [this message]
2008-01-14 1:36 ` Kenichi Handa
2008-01-14 11:33 ` Peter Dyballa
2008-01-15 8:18 ` Kenichi Handa
2008-01-15 9:50 ` Peter Dyballa
2008-01-28 16:40 ` Peter Dyballa
2008-01-30 6:25 ` Kenichi Handa
2008-01-30 12:17 ` Peter Dyballa
2008-01-31 1:19 ` Kenichi Handa
2008-01-31 9:30 ` Peter Dyballa
2008-02-01 5:08 ` Kenichi Handa
2008-02-01 10:32 ` Peter Dyballa
2008-02-01 12:27 ` Peter Dyballa
2008-03-05 22:56 ` Peter Dyballa
2008-01-16 6:38 ` Kenichi Handa
2008-01-16 9:50 ` Peter Dyballa
2008-01-14 15:29 ` Peter Dyballa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=37765195-4505-4662-AE93-5B78556F67F6@Freenet.DE \
--to=peter_dyballa@freenet.de \
--cc=emacs-pretest-bug@gnu.org \
--cc=handa@ni.aist.go.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.