From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; describe-char gives wrong information Date: Thu, 10 Jan 2008 17:38:52 +0100 Message-ID: <37765195-4505-4662-AE93-5B78556F67F6@Freenet.DE> References: <3167E3EC-A084-4229-9531-AC3E5BDF69BB@Freenet.DE> <60200667-2BCD-4D24-BC0F-700361E632A2@Freenet.DE> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1199983256 16740 80.91.229.12 (10 Jan 2008 16:40:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Jan 2008 16:40:56 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 10 17:41:15 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JD0Sn-0004nz-KR for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2008 17:41:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JD0SQ-0007Wc-1Y for ged-emacs-devel@m.gmane.org; Thu, 10 Jan 2008 11:40:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JD0Qw-0005b6-Ka for emacs-devel@gnu.org; Thu, 10 Jan 2008 11:39:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JD0Qt-0005XG-MU for emacs-devel@gnu.org; Thu, 10 Jan 2008 11:39:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JD0Qt-0005X6-GA for emacs-devel@gnu.org; Thu, 10 Jan 2008 11:39:07 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JD0Qt-00025j-E4 for emacs-devel@gnu.org; Thu, 10 Jan 2008 11:39:07 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JD0Qs-0004eG-TQ for emacs-pretest-bug@gnu.org; Thu, 10 Jan 2008 11:39:06 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JD0Qp-00024a-U6 for emacs-pretest-bug@gnu.org; Thu, 10 Jan 2008 11:39:06 -0500 Original-Received: from mout0.freenet.de ([195.4.92.90]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JD0Qp-00023m-EU for emacs-pretest-bug@gnu.org; Thu, 10 Jan 2008 11:39:03 -0500 Original-Received: from [195.4.92.19] (helo=9.mx.freenet.de) by mout0.freenet.de with esmtpa (Exim 4.68) (envelope-from ) id 1JD0Qi-0005SZ-N3; Thu, 10 Jan 2008 17:38:57 +0100 Original-Received: from fce2b.f.ppp-pool.de ([195.4.206.43]:59641 helo=[192.168.1.2]) by 9.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 25) (Exim 4.68 #1) id 1JD0Qi-0004Ck-Cz; Thu, 10 Jan 2008 17:38:56 +0100 In-Reply-To: X-Mailer: Apple Mail (2.753) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:86709 gmane.emacs.pretest.bugs:20579 Archived-At: 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 =3D on =20= 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-=20= text.el leads to: Debugger entered--Lisp error: (error "Format specifier doesn't match =20 argument type") format("%04X%04X" "nil" nil) (setcdr char-font-info (format "%04X%04X" (cadr char-font-info) =20 (cddr char-font-info))) (if (integerp (cdr char-font-info)) (setcdr char-font-info (format =20= "%02X" ...)) (setcdr char-font-info (format "%04X%04X" ... ...))) (let ((char-font-info ...)) (if (integerp ...) (setcdr char-font-=20 info ...) (setcdr char-font-info ...)) char-font-info) (if (display-graphic-p (selected-frame)) (let (...) =20 (if ... ... ...) char-font-info) (let* (... ...) (if encoded ...))) describe-char-display(253851 8008) (let ((display ...)) (if (display-graphic-p ...) (if display ... =20 "no font available") (if display ... "not encodable for terminal"))) (cond (disp-vector (setq disp-vector ...) (dotimes ... ... ...) =20 (format "by display table entry [%s] (see below)" ...)) (composition =20 (let ... ... ... ... ... ...)) (t (let ... ...))) (list "display" (cond (disp-vector ... ... ...) (composition ...) =20 (t ...))) (cons (list "display" (cond ... ... ...)) (append (let ... ...) =20 (let ... ...))) (cons (cons "file code" (let* ... ...)) (cons (list "display" ...) =20= (append ... ...))) (cons (list "buffer code" (encoded-string-description ... nil)) =20 (cons (cons "file code" ...) (cons ... ...))) (cons (cons "to input" (let ... ...)) (cons (list "buffer =20 code" ...) (cons ... ...))) (cons (cons "category" (let ... ...)) (cons (cons "to input" ...) =20 (cons ... ...))) (cons (list "syntax" (let ... ...)) (cons (cons "category" ...) =20 (cons ... ...))) (cons (list "code point" (let ... ...)) (cons (list "syntax" ...) =20 (cons ... ...))) (cons (list "preferred charset" (\` ...) (format "(%s)" ...)) =20 (cons (list "code point" ...) (cons ... ...))) (cons (list "character" (format "%s (%d, #o%o, #x%x)" ... char =20 char char)) (cons (list "preferred charset" ... ...) (cons ... ...))) (backquote-list* (list "character" (format "%s (%d, #o%o, #x%=20 x)" ... char char char)) (list "preferred charset" (\` ...) (format =20 "(%s)" ...)) (list "code point" (let ... ...)) (list =20 "syntax" (let ... ...)) (cons "category" (let ... ...)) (cons "to =20 input" (let ... ...)) (list "buffer code" (encoded-string-=20 description ... nil)) (cons "file code" (let* ... ...)) (list =20 "display" (cond ... ... ...)) (append (let ... ...) (let ... ...))) (\` (("character" ...) ("preferred charset" ... ...) ("code =20 point" ...) ("syntax" ...) ("category" ...) ("to input" ...) ("buffer =20= code" ...) ("file code" ...) ("display" ...) (\,@ ...) (\,@ ...))) (setq item-list (\` (... ... ... ... ... ... ... ... ... ... ...))) (let* ((char ...) (charset ...) (composition ...) (component-chars =20= nil) (display-table ...) (disp-vector ...) (multibyte-p enable-=20 multibyte-characters) (overlays ...) (char-description ...) (text-=20 props-desc ...) item-list max-width code) (setq code (encode-char =20 char charset)) (setq item-list (\` ...)) (setq max-width =20 (apply ... ...)) (help-setup-xref nil (interactive-p)) (with-help-=20 window (help-buffer) (with-current-buffer standard-=20 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!" =96 Mohandas Karamchand Gandhi